Commit Graph

  • 2b7562abbb uapi: Simpler function signature Jason A. Donenfeld 2019-01-23 22:05:07 +01:00
  • 89d2c5ed7a Extend structs rather than embed, when possible Jason A. Donenfeld 2019-01-03 19:04:00 +01:00
  • dff424baf8 Update copyright Jason A. Donenfeld 2019-01-02 01:55:51 +01:00
  • 6e61c369e8 Properly bubble up setsockopt error from closure Jason A. Donenfeld 2018-12-25 22:56:36 +01:00
  • 8fde8334dc version: bump snapshot Jason A. Donenfeld 2018-12-22 17:34:23 +01:00
  • a8326ae753 Make error messages consistent Jason A. Donenfeld 2018-12-19 00:35:53 +01:00
  • 05cc0c8298 Freebsd is finally normal in sys/unix Jason A. Donenfeld 2018-12-11 18:33:13 +01:00
  • c967f15e44 Separate out mark setting for Windows Jason A. Donenfeld 2018-12-11 18:21:11 +01:00
  • 5ace0fdfe2 Use upstream's xchacha20poly1305 Jason A. Donenfeld 2018-12-10 04:23:17 +01:00
  • 849fa400e9 Update go x/ libraries Jason A. Donenfeld 2018-12-10 02:00:03 +01:00
  • 651744561e tun: remove nonblock hack for linux Jason A. Donenfeld 2018-12-06 17:17:51 +01:00
  • 4fd55daafe tai64n: use proper nanoseconds offset Jason A. Donenfeld 2018-11-08 03:58:01 +01:00
  • 276bf973e8 Use darwin tun on ios Jason A. Donenfeld 2018-11-06 16:24:35 +01:00
  • c37c4ece9e uapi: typo Jason A. Donenfeld 2018-11-05 05:46:27 +01:00
  • b803276061 receive: make started status uniform Jason A. Donenfeld 2018-11-01 19:54:25 +01:00
  • 8be1fc9c00 send: do not unlock already freed object Jason A. Donenfeld 2018-10-18 18:15:24 +02:00
  • 738d027f0b version: bump snapshot Jason A. Donenfeld 2018-10-18 02:38:29 +02:00
  • 60848b9c72 Makefile: rename default to all Jason A. Donenfeld 2018-10-17 21:45:16 +02:00
  • 2e772194cf tun: only call .Fd() once Jason A. Donenfeld 2018-10-17 21:26:53 +02:00
  • 85b2378a07 Use go modules always Jason A. Donenfeld 2018-10-12 01:45:33 +02:00
  • fddb949002 Do not build if nothing to do Jason A. Donenfeld 2018-10-12 01:12:00 +02:00
  • 5d6083df7e Switch to go modules Jason A. Donenfeld 2018-10-09 18:11:36 +02:00
  • b41922e5c8 version: bump snapshot Jason A. Donenfeld 2018-10-01 17:58:31 +02:00
  • dbb72402f2 Adding missing queueconstants file Jason A. Donenfeld 2018-10-01 16:11:31 +02:00
  • 7c971d7ef4 Fix transport message length check Chris Branch 2018-09-20 13:28:53 +01:00
  • 70bcf9ecb8 Make it easy to restrict queue sizes more Jason A. Donenfeld 2018-09-25 02:31:02 +02:00
  • ebc7541953 Fix shutdown races Jason A. Donenfeld 2018-09-24 01:52:02 +02:00
  • 833597b585 More pooling Jason A. Donenfeld 2018-09-22 06:29:02 +02:00
  • cf81a28dd3 Fixup buffer freeing Jason A. Donenfeld 2018-09-17 00:43:23 +02:00
  • 942abf948a send: more precise padding calculation Jason A. Donenfeld 2018-09-16 23:42:31 +02:00
  • 47d1140361 device: preallocated buffers scheme Jason A. Donenfeld 2018-09-16 23:10:19 +02:00
  • 39d6e4f2f1 Change queueing drop order and fix memory leaks Jason A. Donenfeld 2018-09-16 21:50:58 +02:00
  • 1c02557013 send: use accessor function for buffer pool Jason A. Donenfeld 2018-09-16 17:30:46 +02:00
  • 32d2148835 Fixed port overwrite issue on kernels without ipv6 Mathias Hall-Andersen 2018-09-16 15:05:08 +02:00
  • 5be541d147 global: fix up copyright headers Jason A. Donenfeld 2018-09-05 15:54:31 -06:00
  • 063becdc73 uapi: insert peer version placeholder Jason A. Donenfeld 2018-09-02 23:04:47 -06:00
  • 15da869b31 Fix duplicate copyright line Jason A. Donenfeld 2018-07-30 05:14:17 +02:00
  • 3ad3e83c7a uapi: allow overriding socket directory at compile time Jason A. Donenfeld 2018-07-24 14:32:02 +02:00
  • 2e13b7b0fb send: better debug message for failed data packet Jason A. Donenfeld 2018-07-16 16:05:21 +02:00
  • 6b3b1c3b91 version: bump snapshot Jason A. Donenfeld 2018-06-13 16:21:59 +02:00
  • 6a5d0e2bcd Support IPv6-less kernels Jason A. Donenfeld 2018-06-11 19:04:38 +02:00
  • 0ba551807f Do not build tun device on ios Jason A. Donenfeld 2018-06-09 03:31:17 +02:00
  • 99d5aeeb27 Fix duplicated wording Jason A. Donenfeld 2018-06-02 17:36:35 +02:00
  • a050431f26 Makefile: export PWD for OpenBSD's ksh(1) Jason A. Donenfeld 2018-06-02 16:25:19 +02:00
  • 0c976003c8 version: bump snapshot Jason A. Donenfeld 2018-05-31 02:26:07 +02:00
  • 955e89839f Print version number in log Jason A. Donenfeld 2018-05-30 01:09:18 +02:00
  • a4cd0216c0 Update deps Jason A. Donenfeld 2018-05-28 01:39:37 +02:00
  • 1d7845a600 Fix typo in timers Jason A. Donenfeld 2018-05-27 22:55:01 +02:00
  • 5079298ce2 Disable broadcast mode on *BSD Jason A. Donenfeld 2018-05-27 02:26:56 +02:00
  • fc3a7635e5 Disappointing anti-sticky experiment Jason A. Donenfeld 2018-05-26 02:59:26 +02:00
  • 2496cdd8e6 Fix tests Jason A. Donenfeld 2018-05-24 19:58:16 +02:00
  • 4365b4583f Trick for being extra sensitive to route changes Jason A. Donenfeld 2018-05-24 18:00:45 +02:00
  • bbf320c477 Back to sticky sockets on android Jason A. Donenfeld 2018-05-24 17:53:00 +02:00
  • 625d59da14 Do not build on Linux Jason A. Donenfeld 2018-05-24 16:41:42 +02:00
  • 2f2eca8947 Catch EINTR Jason A. Donenfeld 2018-05-24 15:29:16 +02:00
  • 66f6ca3e4a Remove old makefile artifact Jason A. Donenfeld 2018-05-24 03:13:46 +02:00
  • e6657638fc version: bump snapshot Jason A. Donenfeld 2018-05-24 02:25:51 +02:00
  • 4a9de3218e Add undocumented --version flag Jason A. Donenfeld 2018-05-24 01:52:22 +02:00
  • 28a167e828 Eye before ee except after see Jason A. Donenfeld 2018-05-23 19:00:00 +02:00
  • 99c6513d60 No zero sequence numbers Jason A. Donenfeld 2018-05-23 18:30:55 +02:00
  • 8a92a9109a Don't cause a new fake gopath to call dep Jason A. Donenfeld 2018-05-23 17:30:35 +02:00
  • 0b647d1ca7 Infoleak ifnames and be more permissive Jason A. Donenfeld 2018-05-23 15:38:24 +02:00
  • 588b9f01ae Adopt GOPATH Jason A. Donenfeld 2018-05-23 03:17:51 +02:00
  • f70bd1fab3 Remove more windows cruft Jason A. Donenfeld 2018-05-23 04:35:37 +02:00
  • 40d5ff0c70 Cleanup Jason A. Donenfeld 2018-05-23 02:41:41 +02:00
  • 5a2228a5c9 Move replay into subpackage Jason A. Donenfeld 2018-05-23 02:32:02 +02:00
  • 0a63188afa Move tun to subpackage Jason A. Donenfeld 2018-05-23 02:10:54 +02:00
  • 65a74f3175 Avoid sticky sockets on Android Jason A. Donenfeld 2018-05-22 19:40:51 +02:00
  • b4cef2524f Fix integer conversions Jason A. Donenfeld 2018-05-22 18:33:50 +02:00
  • 7038de95e1 Bump dependencies for OpenBSD Jason A. Donenfeld 2018-05-22 17:58:34 +02:00
  • 82d12e85bb Fix markdown Jason A. Donenfeld 2018-05-22 16:47:15 +02:00
  • d6b694e161 Add OpenBSD tun driver support Jason A. Donenfeld 2018-05-22 15:17:35 +02:00
  • 794e494802 Fix code duplication Jason A. Donenfeld 2018-05-22 14:59:29 +02:00
  • dd663a7ba4 Notes on FreeBSD limitations Jason A. Donenfeld 2018-05-22 01:30:16 +02:00
  • 8462c08cf2 Just in case darwin changes, we also shutdown Jason A. Donenfeld 2018-05-22 01:27:29 +02:00
  • b8c9e13c6e Call shutdown on route socket on freebsd Jason A. Donenfeld 2018-05-22 01:26:47 +02:00
  • bc05eb1c3c Minor main.go signal fixes Filippo Valsorda 2018-05-20 23:39:25 -04:00
  • 7a527f7c89 Fix Sscanf use in tun_darwin Filippo Valsorda 2018-05-20 23:38:58 -04:00
  • 84f52ce0d6 Make successful tests silent Filippo Valsorda 2018-05-20 23:18:25 -04:00
  • 7bdc5eb54e Properly close DummyTUN to avoid deadlock in TestNoiseHandshake Filippo Valsorda 2018-05-20 23:12:55 -04:00
  • 1c666576d5 User cookie is closer to fwmark than setfib Jason A. Donenfeld 2018-05-21 20:13:39 +02:00
  • 2ae22ac65d Remove broken windows cruft Jason A. Donenfeld 2018-05-21 19:00:58 +02:00
  • ff3f2455e5 Rework freebsd support Jason A. Donenfeld 2018-05-21 17:27:18 +02:00
  • b962d7d791 Add FreeBSD support Brady OBrien 2018-05-17 17:58:54 -05:00
  • 837a12c841 Close events channel when no status listener Jason A. Donenfeld 2018-05-21 14:16:46 +02:00
  • 7472930d4e Straighten out UAPI logging Jason A. Donenfeld 2018-05-21 03:38:50 +02:00
  • 6307bfcdf4 Close hack listener before closing channel Jason A. Donenfeld 2018-05-21 03:31:44 +02:00
  • e28d70f5b2 ratelimiter: do not run GC with nothing to do Jason A. Donenfeld 2018-05-21 03:18:56 +02:00
  • 84c5357cf3 Reasonable punctuation given the spacing Jason A. Donenfeld 2018-05-21 02:50:39 +02:00
  • acb5481246 Fix data races in timers Jason A. Donenfeld 2018-05-20 06:50:07 +02:00
  • 18f43705ec Fix race with closing event channel Jason A. Donenfeld 2018-05-20 06:38:39 +02:00
  • 058cedcf66 Style Jason A. Donenfeld 2018-05-20 06:29:46 +02:00
  • c5fa3de24c Remove unused mtu variable Jason A. Donenfeld 2018-05-20 06:25:39 +02:00
  • 1068d6b92b Give bind its own wait group Jason A. Donenfeld 2018-05-20 06:19:29 +02:00
  • 5e924e5407 Avoid deadlock when the mutex isn't required, since these are atomics Jason A. Donenfeld 2018-05-20 05:55:52 +02:00
  • b290cf05e3 Use proper status listener on Darwin Jason A. Donenfeld 2018-05-20 05:43:22 +02:00
  • b95a4c61a5 Reduce the hack listener to once a second Jason A. Donenfeld 2018-05-20 04:03:11 +02:00
  • a5b3340e5b Fix race in netlink peer correlator Jason A. Donenfeld 2018-05-20 03:37:33 +02:00
  • 7c21a3de0a Fix race in lock pending Jason A. Donenfeld 2018-05-20 03:31:27 +02:00
  • 0a68c1ab17 Fix race in stats Jason A. Donenfeld 2018-05-20 03:26:46 +02:00