Commit Graph

  • 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
  • 26a56a652e Allow determining name Jason A. Donenfeld 2018-04-18 16:39:14 +0200
  • 0b940a7568 Use socketcall on x86 Jason A. Donenfeld 2018-04-18 07:54:39 +0200
  • eb6728400b Use simple 16-bit integer for persistent keepalive Jason A. Donenfeld 2018-04-18 07:24:33 +0200
  • 099219be2a Align 64-bit atomics Jason A. Donenfeld 2018-04-18 06:54:21 +0200
  • 6cecaf3157 Begin work on full device<->device unit-test Mathias Hall-Andersen 2018-03-08 16:44:27 +0100
  • fd248c6cb1 Support nopi mode Jason A. Donenfeld 2018-02-28 12:40:56 +0100
  • 09de7d1342 Close tun fd when bringing down tunnel Jason A. Donenfeld 2018-02-18 22:54:33 +0100
  • 519c5d200a Fix timer typo Jason A. Donenfeld 2018-02-18 20:58:43 +0100
  • 9de17e6c9c Seperated fwmark update code into function Mathias Hall-Andersen 2018-02-18 20:49:03 +0100
  • 8f1d1b8c54 MPLv2 for App Store Jason A. Donenfeld 2018-02-13 19:43:47 +0100
  • fa37039c3b Reimplemented bind_rtmgrp in pure Go Dominik Süß 2018-02-13 16:43:07 +0100
  • ff8f3a412e Use relative imports Jason A. Donenfeld 2018-02-12 23:48:09 +0100
  • ea4ea6f933 Revert "Don't use modules" Mathias Hall-Andersen 2018-02-12 22:29:11 +0100
  • bffe99aead Don't use modules Jason A. Donenfeld 2018-02-12 20:10:44 +0100
  • 77285c99aa Moved test-processes to background Mathias Hall-Andersen 2018-02-11 23:31:53 +0100
  • 6cba91999c TUN status hack was causing spam during shutdown Mathias Hall-Andersen 2018-02-11 23:26:54 +0100
  • 04ded4c631 Added missing mutex acquisition Mathias Hall-Andersen 2018-02-11 23:07:07 +0100
  • 8bdadaae59 Removed exported methods from ratelimiter package Mathias Hall-Andersen 2018-02-11 23:01:55 +0100
  • 5f0a91a127 Moved ratelimiter to internal package Mathias Hall-Andersen 2018-02-11 22:53:39 +0100
  • 1cf23c0005 Moved tai64n into sub-package Mathias Hall-Andersen 2018-02-11 19:25:33 +0100
  • 743364f647 Fixed tabs Mathias Hall-Andersen 2018-02-11 19:02:50 +0100
  • 73cb1a1155 Reverted event changes Mathias Hall-Andersen 2018-02-11 18:55:30 +0100
  • b461343171 Started migration to sub-packages Mathias Hall-Andersen 2018-02-09 18:56:00 +0100
  • 51a6001bb9 Go treats underscores specially Jason A. Donenfeld 2018-02-07 18:58:38 +0100
  • ceccd39420 Work on logging format Mathias Hall-Andersen 2018-02-04 19:18:44 +0100
  • 283e7117cf Merge branch 'master' into timer-teardown Mathias Hall-Andersen 2018-02-04 16:48:03 +0100
  • 9c5083bd19 Removed debugging locks Mathias Hall-Andersen 2018-02-04 16:46:24 +0100
  • a0f54cbe5a Align with go library layout Mathias Hall-Andersen 2018-02-04 16:08:26 +0100
  • 5871ec04de Fixed tests Mathias Hall-Andersen 2018-02-02 20:45:25 +0100
  • 4f97b52ea6 Clear cryptographic state when interface down Mathias Hall-Andersen 2018-02-02 17:24:29 +0100
  • 029410b118 Rework of entire locking system Mathias Hall-Andersen 2018-02-02 16:40:14 +0100
  • 1e42b14022 Merge branch 'timer-teardown' of git.zx2c4.com:wireguard-go into timer-teardown Mathias Hall-Andersen 2018-02-01 11:20:36 +0100
  • a57c790e36 Added binary to .gitignore Mathias Hall-Andersen 2018-01-31 10:11:36 +0100
  • f73d2fb2d9 Added initial version of peer teardown Mathias Hall-Andersen 2018-01-26 22:52:32 +0100
  • 068d932f2c Fixed potential DoS issue Mathias Hall-Andersen 2018-01-16 14:57:12 +0100