Commit graph

  • 6cd5922a04
    all: adjust build tags for plan9 Brad Fitzpatrick 2023-08-24 14:39:23 -07:00
  • 88b11b4a0d
    tun: AMD64 optimized checksum Adrian Dewhurst 2023-03-30 21:48:43 -04:00
  • ec6f23b33e
    tun: checksum tests and benchmarks Adrian Dewhurst 2023-05-18 10:09:53 -04:00
  • cc7b29b8c6
    device: move Queue{In,Out}boundElement Mutex to container type Jordan Whited 2023-04-05 15:40:40 -07:00
  • ceb9a09d03
    tun: reduce redundant checksumming in tcpGRO() Jordan Whited 2023-04-04 13:07:35 -07:00
  • 915962ded2
    tun: unwind summing loop in checksumNoFold() Jordan Whited 2023-04-04 13:07:11 -07:00
  • d831fef379
    device: distribute crypto work as slice of elements Jordan Whited 2023-04-04 13:06:08 -07:00
  • e06231b861
    conn, device: use UDP GSO and GRO on Linux Jordan Whited 2023-04-04 13:04:30 -07:00
  • e26adb828d
    go.mod,tun/netstack: bump gvisor James Tucker 2023-09-27 16:15:09 -07:00
  • bd7e9d35d1
    all: rename module (#7) Jordan Whited 2023-03-28 13:40:31 -07:00
  • 469159ecf7 netstack: fix typo Dimitri Papadopoulos Orfanos 2023-05-17 09:16:27 +02:00
  • 6e755e132a all: adjust build tags for wasip1/wasm Brad Fitzpatrick 2023-06-11 16:10:38 -07:00
  • 1f25eac395 conn: windows: add missing return statement in DstToString AF_INET springhack 2023-06-15 14:41:19 +08:00
  • 25eb973e00 conn: store IP_PKTINFO cmsg in StdNetendpoint src James Tucker 2023-04-18 22:29:55 -07:00
  • b7cd547315 device: wait for and lock ipc operations during close James Tucker 2023-05-05 16:11:38 -07:00
  • 052af4a807 tun: use correct IP header comparisons in tcpGRO() and tcpPacketsCanCoalesce() Jordan Whited 2023-03-24 16:23:42 -07:00
  • aad7fca9c5 tun: disqualify tcp4 packets w/IP options from coalescing Jordan Whited 2023-03-24 15:09:47 -07:00
  • 6f895be10d conn: move booleans to bottom of StdNetBind struct Jason A. Donenfeld 2023-03-24 16:21:46 +01:00
  • 6a07b2a355 conn: use ipv6 message pool for ipv6 receiving Jason A. Donenfeld 2023-03-24 16:20:16 +01:00
  • 334b605e72 conn: fix StdNetEndpoint data race by dynamically allocating endpoints Jordan Whited 2023-03-23 16:57:21 -07:00
  • 3a9e75374f conn: disable sticky sockets on Android Jason A. Donenfeld 2023-03-23 18:38:34 +01:00
  • cc20c08c96 global: remove old style build tags Jason A. Donenfeld 2023-03-23 18:33:31 +01:00
  • 1417a47c8f tun: replace ErrorBatch() with errors.Join() Jordan Whited 2023-03-16 13:27:51 -07:00
  • 7f511c3bb1 go.mod: bump to Go 1.20 Jordan Whited 2023-03-16 15:40:04 -07:00
  • 07a1e55270 conn: fix getSrcFromControl() iteration Jordan Whited 2023-03-14 20:28:07 -07:00
  • fff53afca7 conn: use CmsgSpace() for ancillary data buf sizing Jordan Whited 2023-03-14 20:02:24 -07:00
  • 0ad14a89f5 global: buff -> buf Jason A. Donenfeld 2023-03-13 17:55:05 +01:00
  • 7d327ed35a conn: use right cmsghdr len types on 32-bit in sticky test Jason A. Donenfeld 2023-03-10 16:18:01 +01:00
  • f41f474466 conn: make StdNetBind.BatchSize() return 1 for non-Linux Jordan Whited 2023-03-09 13:02:17 -08:00
  • 5819c6af28 tun/netstack: enable TCP Selective Acknowledgements Jordan Whited 2023-03-09 11:06:01 -08:00
  • 6901984f6a conn: ensure control message size is respected in StdNetBind Jordan Whited 2023-03-09 10:46:12 -08:00
  • 2fcdaf9799 conn: fix StdNetBind fallback on Windows Jordan Whited 2023-03-06 15:58:32 -08:00
  • dbd949307e conn: inch BatchSize toward being non-dynamic Jason A. Donenfeld 2023-03-04 15:25:46 +01:00
  • f26efb65f2 conn: set SO_{SND,RCV}BUF to 7MB on the Bind UDP socket Jordan Whited 2023-03-02 15:25:19 -08:00
  • f67c862a2a go.mod: bump deps Jason A. Donenfeld 2023-03-03 14:58:10 +01:00
  • 9e2f386022 conn, device, tun: implement vectorized I/O on Linux Jordan Whited 2023-03-02 15:08:28 -08:00
  • 3bb8fec7e4 conn, device, tun: implement vectorized I/O plumbing Jordan Whited 2023-03-02 14:48:02 -08:00
  • 21636207a6 version: bump snapshot Jason A. Donenfeld 2023-02-23 19:12:33 +01:00
  • c7b76d3d9e device: uniformly check ECDH output for zeros Jason A. Donenfeld 2023-02-16 15:51:30 +01:00
  • 1e2c3e5a3c tun: guard Device.Events() against chan writes Jordan Whited 2023-02-08 10:42:07 -08:00
  • ebbd4a4330 global: bump copyright year Jason A. Donenfeld 2022-09-20 17:21:32 +02:00
  • 0ae4b3177c tun/netstack: make http examples communicate with each other Soren L. Hansen 2021-10-06 10:40:01 +00:00
  • 077ce8ecab tun/netstack: bump gvisor Colin Adler 2023-02-06 16:35:59 -06:00
  • bb719d3a6e global: bump copyright year Jason A. Donenfeld 2022-09-20 17:21:32 +02:00
  • fde0a9525a tun/netstack: ensure (*netTun).incomingPacket chan is closed Colin Adler 2022-09-12 22:03:55 -05:00
  • b51010ba13 all: use Go 1.19 and its atomic types Brad Fitzpatrick 2022-08-30 07:43:11 -07:00
  • d1d08426b2 tun/netstack: remove separate module Jason A. Donenfeld 2022-08-29 12:04:27 -04:00
  • 3381e21b18 tun/netstack: bump to latest gvisor Shengjing Zhu 2022-08-19 01:27:28 +08:00
  • c31a7b1ab4 conn, device, tun: set CLOEXEC on fds Brad Fitzpatrick 2022-07-01 21:28:52 -07:00
  • 6a08d81f6b tun: use ByteSliceToString from golang.org/x/sys/unix Tobias Klauser 2022-06-01 11:33:54 +02:00
  • ef5c587f78 conn: remove the final alloc per packet receive Josh Bleecher Snyder 2022-03-22 11:23:56 -07:00
  • 193cf8d6a5 conn: use netip for std bind Jason A. Donenfeld 2022-03-17 22:23:02 -06:00
  • ee1c8e0e87 version: bump snapshot Jason A. Donenfeld 2022-03-16 21:32:14 -06:00
  • 95b48cdb39 tun/netstack: bump mod Jason A. Donenfeld 2022-03-16 17:58:35 -06:00
  • 5aff28b14c mod: bump packages and remove compat netip Jason A. Donenfeld 2022-03-16 17:51:47 -06:00
  • 46826fc4e5 all: use any in place of interface{} Josh Bleecher Snyder 2022-03-16 16:40:24 -07:00
  • 42c9af45e1 all: update to Go 1.18 Josh Bleecher Snyder 2022-03-16 16:09:48 -07:00
  • ae6bc4dd64 tun/netstack: check error returned by SetDeadline() Alexander Neumann 2022-03-04 10:38:10 +01:00
  • 2cec4d1a62 tun/netstack: update to latest wireguard-go Alexander Neumann 2022-03-04 10:36:15 +01:00
  • 3b95c81cc1 tun/netstack: simplify read timeout on ping socket Jason A. Donenfeld 2022-02-02 23:30:31 +01:00
  • b9669b734e tun/netstack: implement ICMP ping Thomas H. Ptacek 2022-01-31 16:55:36 -06:00
  • e0b8f11489 version: bump snapshot Jason A. Donenfeld 2022-01-17 17:37:42 +01:00
  • 114a3db918 ipc: bsd: try again if kqueue returns EINTR Jason A. Donenfeld 2022-01-14 16:10:43 +01:00
  • 9c9e7e2724 global: apply gofumpt Jason A. Donenfeld 2021-12-09 17:55:50 +01:00
  • 2dd424e2d8 device: handle peer post config on blank line Jason A. Donenfeld 2021-11-29 12:31:54 -05:00
  • 387f7c461a device: reduce peer lock critical section in UAPI Josh Bleecher Snyder 2021-11-18 15:37:24 -08:00
  • 4d87c9e824 device: remove code using unsafe Josh Bleecher Snyder 2021-11-08 11:15:06 -08:00
  • ef8d6804d7 global: use netip where possible now Jason A. Donenfeld 2021-11-05 01:52:54 +01:00
  • de7c702ace device: only propagate roaming value before peer is referenced elsewhere Jason A. Donenfeld 2021-11-16 21:13:55 +01:00
  • fc4f975a4d device: align 64-bit atomic member in Device Jason A. Donenfeld 2021-11-16 21:07:15 +01:00
  • 9d699ba730 device: start peers before running handshake test Jason A. Donenfeld 2021-11-16 21:04:54 +01:00
  • 425f7c726b Makefile: don't use test -v because it hides failures in scrollback Jason A. Donenfeld 2021-11-16 20:59:40 +01:00
  • 3cae233d69 device: fix nil pointer dereference in uapi read David Anderson 2021-11-16 11:27:44 -08:00
  • 111e0566dc device: make new peers inherit broken mobile semantics Jason A. Donenfeld 2021-11-11 03:13:20 +01:00
  • e3134bf665 device: defer state machine transitions until configuration is complete Jason A. Donenfeld 2021-11-11 03:12:37 +01:00
  • 63abb5537b device: do not consume handshake messages if not running Jason A. Donenfeld 2021-11-11 03:11:29 +01:00
  • 851efb1bb6 tun: move wintun to its own repo Jason A. Donenfeld 2021-11-04 12:53:44 +01:00
  • c07dd60cdb namedpipe: rename from winpipe to keep in sync with CL299009 Jason A. Donenfeld 2021-10-30 02:39:56 +02:00
  • eb6302c7eb device: timers: use pre-seeded per-thread unlocked fastrandn for jitter Jason A. Donenfeld 2021-10-28 13:47:50 +02:00
  • 60683d7361 device: timers: seed unsafe rng before use for jitter Jason A. Donenfeld 2021-10-28 13:34:21 +02:00
  • e42c6c4bc2 wintun: align 64-bit argument on ARM32 Jason A. Donenfeld 2021-10-26 14:51:44 +02:00
  • 828a885a71 README: raise minimum Go to 1.17 Jason A. Donenfeld 2021-10-25 17:53:11 +02:00
  • f1f626090e tun/netstack: update gvisor Mikael Magnusson 2021-10-22 00:04:20 +02:00
  • 82e0b734e5 ipc, rwcancel: compile on js/wasm Brad Fitzpatrick 2021-10-20 08:56:39 -07:00
  • fdf57a1fa4 wintun: allow retrieving DLL version Jason A. Donenfeld 2021-10-20 12:13:44 -06:00
  • f87e87af0d version: bump snapshot Jason A. Donenfeld 2021-10-16 23:27:13 -06:00
  • ba9e364dab wintun: remove memmod option for dll loading Jason A. Donenfeld 2021-10-16 22:49:38 -06:00
  • dfd688b6aa global: remove old-style build tags Jason A. Donenfeld 2021-10-12 12:02:10 -06:00
  • c01d52b66a global: add newer-style build tags Jason A. Donenfeld 2021-10-12 11:46:53 -06:00
  • 82d2aa87aa wintun: use new swdevice-based API for upcoming Wintun 0.14 Jason A. Donenfeld 2021-10-12 00:26:46 -06:00
  • 982d5d2e84 conn,wintun: use unsafe.Slice instead of unsafeSlice Jason A. Donenfeld 2021-10-11 14:57:53 -06:00
  • 642a56e165 memmod: import from wireguard-windows Jason A. Donenfeld 2021-10-11 14:53:36 -06:00
  • bb745b2ea3 rwcancel: use unix.Poll again but bump x/sys so it uses ppoll under the hood Jason A. Donenfeld 2021-09-27 14:18:38 -06:00
  • fcc601dbf0 rwcancel: use ppoll on Linux for Android Jason A. Donenfeld 2021-09-26 17:15:58 -06:00
  • 217ac1016b tun: make operateonfd.go build tags more specific Tobias Klauser 2021-09-23 12:07:19 +02:00
  • eae5e0f3a3 tun: avoid leaking sock fd in CreateTUN error cases Tobias Klauser 2021-09-23 12:05:13 +02:00
  • 2ef39d4754 global: add new go 1.17 build comments Jason A. Donenfeld 2021-09-05 16:00:43 +02:00
  • 3957e9b9dd memmod: register exception handler tables Jason A. Donenfeld 2021-08-05 14:56:48 +02:00
  • bad6caeb82 memmod: fix protected delayed load the right way Jason A. Donenfeld 2021-07-29 01:27:40 +02:00
  • c89f5ca665 memmod: disable protected delayed load for now Jason A. Donenfeld 2021-07-29 01:01:46 +02:00