Commit graph

  • ff3f2455e5 Rework freebsd support Jason A. Donenfeld 2018-05-21 17:27:18 +0200
  • b962d7d791 Add FreeBSD support Brady OBrien 2018-05-17 17:58:54 -0500
  • 837a12c841 Close events channel when no status listener Jason A. Donenfeld 2018-05-21 14:16:46 +0200
  • 7472930d4e Straighten out UAPI logging Jason A. Donenfeld 2018-05-21 03:38:50 +0200
  • 6307bfcdf4 Close hack listener before closing channel Jason A. Donenfeld 2018-05-21 03:31:44 +0200
  • e28d70f5b2 ratelimiter: do not run GC with nothing to do Jason A. Donenfeld 2018-05-21 03:18:56 +0200
  • 84c5357cf3 Reasonable punctuation given the spacing Jason A. Donenfeld 2018-05-21 02:50:39 +0200
  • acb5481246 Fix data races in timers Jason A. Donenfeld 2018-05-20 06:50:07 +0200
  • 18f43705ec Fix race with closing event channel Jason A. Donenfeld 2018-05-20 06:38:39 +0200
  • 058cedcf66 Style Jason A. Donenfeld 2018-05-20 06:29:46 +0200
  • c5fa3de24c Remove unused mtu variable Jason A. Donenfeld 2018-05-20 06:25:39 +0200
  • 1068d6b92b Give bind its own wait group Jason A. Donenfeld 2018-05-20 06:19:29 +0200
  • 5e924e5407 Avoid deadlock when the mutex isn't required, since these are atomics Jason A. Donenfeld 2018-05-20 05:55:52 +0200
  • b290cf05e3 Use proper status listener on Darwin Jason A. Donenfeld 2018-05-20 05:43:22 +0200
  • b95a4c61a5 Reduce the hack listener to once a second Jason A. Donenfeld 2018-05-20 04:03:11 +0200
  • a5b3340e5b Fix race in netlink peer correlator Jason A. Donenfeld 2018-05-20 03:37:33 +0200
  • 7c21a3de0a Fix race in lock pending Jason A. Donenfeld 2018-05-20 03:31:27 +0200
  • 0a68c1ab17 Fix race in stats Jason A. Donenfeld 2018-05-20 03:26:46 +0200
  • e04f9543c0 Fix race in packetInNonceQueueIsAwaitingKey Jason A. Donenfeld 2018-05-20 03:24:14 +0200
  • fa003b6933 Discourage building for Linux Jason A. Donenfeld 2018-05-20 03:18:47 +0200
  • 75cdc5986a Revert "Temporary work around. Please revert me" Jason A. Donenfeld 2018-05-19 02:35:56 +0200
  • 5a267f0b8c timers: no need to clear keepalive in persistent keepalive Jason A. Donenfeld 2018-05-19 01:52:17 +0200
  • 870734ab5e timers: clear send_keepalive timer on sending handshake response Jason A. Donenfeld 2018-05-19 01:19:53 +0200
  • 2a432523ed Listen for flush in outer select Mathias Hall-Andersen 2018-05-19 00:35:49 +0200
  • 38accea986 Add copyright headers Mathias Hall-Andersen 2018-05-19 00:34:56 +0200
  • 125976edce Avoid using v6-mapped-v4 Jason A. Donenfeld 2018-05-18 05:02:35 +0200
  • 52d797ce1a Style Jason A. Donenfeld 2018-05-18 03:56:27 +0200
  • 711f929879 Fill out readme Jason A. Donenfeld 2018-05-16 23:25:59 +0200
  • 846d721dfd Finer-grained start-stop synchronization Jason A. Donenfeld 2018-05-16 22:20:15 +0200
  • 23eca94508 Fix dir permissions Jason A. Donenfeld 2018-05-15 19:57:43 +0200
  • 4312a7c70a Temporary work around. Please revert me Jason A. Donenfeld 2018-05-15 19:56:06 +0200
  • 207fd644e8 Lock timers on modification Jason A. Donenfeld 2018-05-15 18:38:18 +0200
  • ab02aacdd6 Avoid vendoring tooling as much as possible Jason A. Donenfeld 2018-05-15 15:26:06 +0200
  • 0e4ebfa194 Add vendoring for Homebrew Jason A. Donenfeld 2018-05-15 14:21:33 +0200
  • cf161f270e Do not send keepalive if closed Jason A. Donenfeld 2018-05-15 13:29:52 +0200
  • 27091c3284 Fix refactoring mistakes Jason A. Donenfeld 2018-05-15 06:28:42 +0200
  • 08d7602dc3 Improve makefile Jason A. Donenfeld 2018-05-15 02:15:16 +0200
  • 115a2e3946 Use /dev/null as place holder Jason A. Donenfeld 2018-05-14 20:06:33 +0200
  • 28c7eb4335 Print utun name on darwin Jason A. Donenfeld 2018-05-14 19:23:44 +0200
  • 7a1a537f43 Mask IPs when showing from trie Jason A. Donenfeld 2018-05-14 17:57:58 +0200
  • a62c770a99 Ugly hack to suppress warning on backgrounded process Jason A. Donenfeld 2018-05-14 15:58:40 +0200
  • 09235d48d8 Better common bits function Jason A. Donenfeld 2018-05-14 15:49:20 +0200
  • 7f1c9d1cc2 Fix noise test Jason A. Donenfeld 2018-05-14 14:47:31 +0200
  • 021724a535 Cancelable netlink writes and better response correlation Jason A. Donenfeld 2018-05-14 14:18:26 +0200
  • 795f76cffa Netlink sockets can't be shutdown Jason A. Donenfeld 2018-05-14 14:08:03 +0200
  • 2dfd4e7d8c Cleanup socket file Jason A. Donenfeld 2018-05-14 12:46:06 +0200
  • 355e9bd619 Clean more Jason A. Donenfeld 2018-05-14 12:27:29 +0200
  • 8b30278ce6 No more finalizer for rwcancel Jason A. Donenfeld 2018-05-14 06:10:08 +0200
  • 17262dfd62 No need for padding any more Jason A. Donenfeld 2018-05-14 04:36:20 +0200
  • 25df2e6942 Shorthand for empty channels Jason A. Donenfeld 2018-05-14 04:19:25 +0200
  • b76ab82539 Allow go routine to shutdown in darwin tun Jason A. Donenfeld 2018-05-14 04:14:57 +0200
  • 5f5503afa8 Add rwcancelation to darwin Jason A. Donenfeld 2018-05-14 03:55:46 +0200
  • f738c45a68 Smoother netlink shutdown Jason A. Donenfeld 2018-05-14 03:43:56 +0200
  • c1e097d6d0 Optional logging even in background Jason A. Donenfeld 2018-05-14 03:38:06 +0200
  • e75d2d4496 Fix dummy additions Jason A. Donenfeld 2018-05-14 03:29:21 +0200
  • 0fb14232fa Look up route for every peer Jason A. Donenfeld 2018-05-14 03:00:40 +0200
  • 659106bd6d Ensure go routines can exit Jason A. Donenfeld 2018-05-14 02:14:33 +0200
  • 29b0453cf1 Send event on erroring kqueue Jason A. Donenfeld 2018-05-14 00:37:22 +0200
  • 7e10ebe101 Introduce rwcancel Jason A. Donenfeld 2018-05-14 00:28:30 +0200
  • e21ea58db3 Prettier abbreviation Jason A. Donenfeld 2018-05-13 23:27:28 +0200
  • b56af1829d More refactoring Jason A. Donenfeld 2018-05-13 23:14:43 +0200
  • 729773fdf3 More odds and ends Jason A. Donenfeld 2018-05-13 19:50:58 +0200
  • 680a57faae Fix up tests Jason A. Donenfeld 2018-05-13 19:35:11 +0200
  • 2326d6a4d7 Odds and ends Jason A. Donenfeld 2018-05-13 19:33:41 +0200
  • e94185681f Cleanup ratelimiter Jason A. Donenfeld 2018-05-13 18:42:06 +0200
  • 2c27ab205c Rework index hashtable Jason A. Donenfeld 2018-05-13 18:23:40 +0200
  • 233f079a94 Rewrite timers and related state machines Jason A. Donenfeld 2018-05-07 22:27:03 +0200
  • 375dcbd4ae Merge branch 'master' of ssh://git.zx2c4.com/wireguard-go Mathias Hall-Andersen 2018-05-05 22:10:22 +0200
  • abe2651ad5 Removed remaining signals from peer Mathias Hall-Andersen 2018-05-05 22:07:58 +0200
  • c29428b075 Reorder stopping messages so that logs are coherent Jason A. Donenfeld 2018-05-05 06:09:30 +0200
  • a46401bbb1 More robust solution to close deadlock Jason A. Donenfeld 2018-05-05 06:00:38 +0200
  • 09a9bc2899 Fix infinite loop in exit routine Jason A. Donenfeld 2018-05-05 05:33:29 +0200
  • 34891d92cd Merge branch 'master' of ssh://git.zx2c4.com/wireguard-go Mathias Hall-Andersen 2018-05-05 04:42:44 +0200
  • 8ba28be732 Use Int32n for jitter Mathias Hall-Andersen 2018-05-05 04:42:17 +0200
  • beab52258a Merge branch 'master' of ssh://git.zx2c4.com/wireguard-go Jason A. Donenfeld 2018-05-05 04:20:16 +0200
  • d8d592787d Merge branch 'master' of ssh://git.zx2c4.com/wireguard-go Mathias Hall-Andersen 2018-05-05 04:15:41 +0200
  • 7a83f2565a Removed old signals Mathias Hall-Andersen 2018-05-05 04:15:07 +0200
  • 36659454ce tun: simplify and combine creation logic on Linux Jason A. Donenfeld 2018-05-05 03:36:09 +0200
  • 142e53f698 Style Jason A. Donenfeld 2018-05-05 02:48:21 +0200
  • 4d9f3a2f53 Merge branch 'master' of ssh://git.zx2c4.com/wireguard-go Mathias Hall-Andersen 2018-05-05 02:47:59 +0200
  • 4a177de09c tun: account for null termination on Linux Jason A. Donenfeld 2018-05-05 02:47:35 +0200
  • edbce6b400 Merge branch 'master' of ssh://git.zx2c4.com/wireguard-go Mathias Hall-Andersen 2018-05-05 02:23:03 +0200
  • 6db41d5a26 Initial version of migration to new event model Mathias Hall-Andersen 2018-05-05 02:20:52 +0200
  • e1de0f229a uapi: use kqueue for sock deletion on darwin Jason A. Donenfeld 2018-05-04 21:51:55 +0200
  • ac898bb35a tun: print automatically assigned interface name to stdout Jason A. Donenfeld 2018-05-04 21:20:19 +0200
  • de7ecc571b tun: allow darwin to auto assign names Jason A. Donenfeld 2018-05-04 21:11:38 +0200
  • 0f322f83f5 warning: put into main Jason A. Donenfeld 2018-05-04 19:50:08 +0200
  • a040786645 global: Add SPDX tags and copyright header Jason A. Donenfeld 2018-05-03 15:04:00 +0200
  • 209dd22ea0 Daemonize with environment variable Jason A. Donenfeld 2018-05-03 14:50:57 +0200
  • 258a9223b9 Start to dust off Darwin Jason A. Donenfeld 2018-05-03 04:49:35 +0200
  • 168ef61a63 Add missing locks and fix debug output, and try to flush queues Jason A. Donenfeld 2018-05-01 16:59:13 +0200
  • b34604245e Clear src cache if route changes to new ifindex Jason A. Donenfeld 2018-04-27 05:21:45 +0200
  • 92261b770f Fix error handling and cleanup of netlink listener Jason A. Donenfeld 2018-04-27 02:23:48 +0200
  • 0715bdf353 Fix wrong debug messages Jason A. Donenfeld 2018-04-20 07:13:40 +0200
  • 5ba84696e2 Rework sticky sockets Jason A. Donenfeld 2018-04-20 04:05:11 +0200
  • f5c256affd Check for correct first nibble Jason A. Donenfeld 2018-04-20 05:30:22 +0200
  • 4973ea0c9e Signal using select and a pipe for bringing down TUN reader Jason A. Donenfeld 2018-04-19 07:46:27 +0200
  • 676bb91434 We can determine the interface name ourselves Jason A. Donenfeld 2018-04-19 15:54:33 +0200
  • ab875491c0 Do not hard code MTU default Jason A. Donenfeld 2018-04-19 15:52:59 +0200
  • ac9912345b Fixed read from closed channel Mathias Hall-Andersen 2018-04-18 20:29:48 +0200