summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Temporary work around. Please revert me"0.0.20180519Jason A. Donenfeld2018-05-191-2/+0
| | | | This reverts commit 4312a7c70a58656891ff1398f2d0d36f4ed74c8a.
* timers: no need to clear keepalive in persistent keepaliveJason A. Donenfeld2018-05-191-3/+0
| | | | | | | | | | We do this after sending the keepalive anyway. This is something of a regression, though, since before we'd cancel and then send, but now we send and then cancel, so it introduces a potential race, but hopefully that isn't too big of a deal. Kernel module commit a24b3e6e15ae1ea1291666e5da910caf43eedbaf
* timers: clear send_keepalive timer on sending handshake responseJason A. Donenfeld2018-05-192-10/+14
| | | | | | | | We reorganize this into also doing so on sending keepalives itself, which means the state machine is much more consistent, even if this was already implied. Kernel module commit 30290ef1d2581a3e6ee8ffcdb05d580cfba976be
* Listen for flush in outer selectMathias Hall-Andersen2018-05-191-8/+30
| | | | | | | | Now listen for flushNonceQueue signal in outer select during the RoutineNonce routine. This is needed to handle the edge case where the queue is flushed, but no packets are in the nonce queue. Since the signal has capacity 1 this signal will remain and potentially flush the queue at a later time, with packets meant for transmission.
* Add copyright headersMathias Hall-Andersen2018-05-1938-0/+38
|
* Avoid using v6-mapped-v4Jason A. Donenfeld2018-05-182-4/+14
|
* StyleJason A. Donenfeld2018-05-181-3/+3
|
* Fill out readmeJason A. Donenfeld2018-05-171-5/+51
|
* Finer-grained start-stop synchronizationJason A. Donenfeld2018-05-166-5/+33
|
* Fix dir permissions0.0.20180514Jason A. Donenfeld2018-05-152-2/+2
|
* Temporary work around. Please revert meJason A. Donenfeld2018-05-151-0/+2
|
* Lock timers on modificationJason A. Donenfeld2018-05-151-7/+32
|
* Avoid vendoring tooling as much as possibleJason A. Donenfeld2018-05-153-32/+24
|
* Add vendoring for HomebrewJason A. Donenfeld2018-05-154-1/+58
|
* Do not send keepalive if closedJason A. Donenfeld2018-05-151-1/+1
|
* Fix refactoring mistakesJason A. Donenfeld2018-05-152-3/+3
|
* Improve makefileJason A. Donenfeld2018-05-151-2/+10
|
* Use /dev/null as place holderJason A. Donenfeld2018-05-141-0/+5
|
* Print utun name on darwinJason A. Donenfeld2018-05-142-2/+6
|
* Mask IPs when showing from trieJason A. Donenfeld2018-05-141-16/+6
| | | | | Otherwise intermediate nodes that get collapsed to real nodes will display the wrong value.
* Ugly hack to suppress warning on backgrounded processJason A. Donenfeld2018-05-141-0/+4
|
* Better common bits functionJason A. Donenfeld2018-05-142-56/+44
|
* Fix noise testJason A. Donenfeld2018-05-141-7/+9
|
* Cancelable netlink writes and better response correlationJason A. Donenfeld2018-05-141-18/+22
|
* Netlink sockets can't be shutdownJason A. Donenfeld2018-05-144-25/+69
|
* Cleanup socket fileJason A. Donenfeld2018-05-142-4/+12
|
* Clean moreJason A. Donenfeld2018-05-147-63/+50
|
* No more finalizer for rwcancelJason A. Donenfeld2018-05-141-5/+0
|
* No need for padding any moreJason A. Donenfeld2018-05-141-1/+1
|
* Shorthand for empty channelsJason A. Donenfeld2018-05-143-3/+3
|
* Allow go routine to shutdown in darwin tunJason A. Donenfeld2018-05-141-12/+20
|
* Add rwcancelation to darwinJason A. Donenfeld2018-05-144-17/+73
|
* Smoother netlink shutdownJason A. Donenfeld2018-05-141-20/+29
|
* Optional logging even in backgroundJason A. Donenfeld2018-05-143-6/+16
|
* Fix dummy additionsJason A. Donenfeld2018-05-141-4/+3
|
* Look up route for every peerJason A. Donenfeld2018-05-143-61/+90
|
* Ensure go routines can exitJason A. Donenfeld2018-05-142-49/+52
|
* Send event on erroring kqueueJason A. Donenfeld2018-05-141-0/+5
|
* Introduce rwcancelJason A. Donenfeld2018-05-145-75/+170
|
* Prettier abbreviationJason A. Donenfeld2018-05-131-1/+1
|
* More refactoringJason A. Donenfeld2018-05-139-250/+218
|
* More odds and endsJason A. Donenfeld2018-05-134-36/+44
|
* Fix up testsJason A. Donenfeld2018-05-131-2/+2
|
* Odds and endsJason A. Donenfeld2018-05-1316-164/+139
|
* Cleanup ratelimiterJason A. Donenfeld2018-05-132-14/+14
|
* Rework index hashtableJason A. Donenfeld2018-05-138-85/+75
|
* Rewrite timers and related state machinesJason A. Donenfeld2018-05-1014-578/+429
|
* Merge branch 'master' of ssh://git.zx2c4.com/wireguard-goMathias Hall-Andersen2018-05-053-31/+36
|\
| * Reorder stopping messages so that logs are coherentJason A. Donenfeld2018-05-052-6/+6
| |
| * More robust solution to close deadlockJason A. Donenfeld2018-05-053-31/+33
| |