aboutsummaryrefslogtreecommitdiffstats
path: root/receive.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* global: begin modularizationJason A. Donenfeld2019-03-031-641/+0
|
* Extend structs rather than embed, when possibleJason A. Donenfeld2019-02-051-7/+7
|
* Update copyrightJason A. Donenfeld2019-02-051-2/+2
|
* Make error messages consistentJason A. Donenfeld2018-12-191-1/+4
|
* receive: make started status uniformJason A. Donenfeld2018-11-011-1/+1
|
* Fix transport message length checkChris Branch2018-09-251-1/+1
| | | | | | wireguard-go has a bad length check in its transport message handling. Although it cannot be exploited because of another length check earlier in the function, this should be fixed regardless.
* Fix shutdown racesJason A. Donenfeld2018-09-241-4/+4
|
* More poolingJason A. Donenfeld2018-09-241-17/+23
|
* Fixup buffer freeingJason A. Donenfeld2018-09-221-4/+19
|
* Change queueing drop order and fix memory leaksJason A. Donenfeld2018-09-161-53/+26
| | | | | | If the queues are full, we drop the present packet, which is better for network traffic flow. Also, we try to fix up the memory leaks with not putting buffers from our shared pool.
* global: fix up copyright headersJason A. Donenfeld2018-09-161-2/+1
|
* Disappointing anti-sticky experimentJason A. Donenfeld2018-05-271-12/+3
|
* Eye before ee except after seeJason A. Donenfeld2018-05-231-1/+1
|
* Move replay into subpackageJason A. Donenfeld2018-05-231-1/+1
|
* Reasonable punctuation given the spacingJason A. Donenfeld2018-05-211-6/+6
|
* Fix data races in timersJason A. Donenfeld2018-05-201-2/+2
|
* Give bind its own wait groupJason A. Donenfeld2018-05-201-2/+2
| | | | In a waitgroup, all waits must come after all adds
* Add copyright headersMathias Hall-Andersen2018-05-191-0/+1
|
* Finer-grained start-stop synchronizationJason A. Donenfeld2018-05-161-0/+4
|
* More refactoringJason A. Donenfeld2018-05-131-63/+15
|
* More odds and endsJason A. Donenfeld2018-05-131-23/+10
|
* Odds and endsJason A. Donenfeld2018-05-131-11/+15
|
* Rework index hashtableJason A. Donenfeld2018-05-131-12/+12
|
* Rewrite timers and related state machinesJason A. Donenfeld2018-05-101-32/+57
|
* Merge branch 'master' of ssh://git.zx2c4.com/wireguard-goMathias Hall-Andersen2018-05-051-18/+3
|\
| * Reorder stopping messages so that logs are coherentJason A. Donenfeld2018-05-051-3/+3
| |
| * More robust solution to close deadlockJason A. Donenfeld2018-05-051-19/+2
| |
| * Fix infinite loop in exit routineJason A. Donenfeld2018-05-051-2/+4
| |
* | Removed remaining signals from peerMathias Hall-Andersen2018-05-051-1/+1
|/ | | | | | 1. Removed remaining signals from peer struct 2. Made needAnotherKeepalive local 3. Removed environment check from warning text (annoying when debugging)
* Removed old signalsMathias Hall-Andersen2018-05-051-10/+10
|
* Merge branch 'master' of ssh://git.zx2c4.com/wireguard-goMathias Hall-Andersen2018-05-051-0/+5
|\
| * global: Add SPDX tags and copyright headerJason A. Donenfeld2018-05-031-0/+5
| | | | | | | | Mathias should probably add his copyright headers to each file too.
* | Initial version of migration to new event modelMathias Hall-Andersen2018-05-051-11/+14
|/ | | | | - Begin move away from global timer state. - Made logging format more consistent
* Add missing locks and fix debug output, and try to flush queuesJason A. Donenfeld2018-05-011-10/+48
| | | | | | Flushing queues on exit is sort of a partial solution, but this could be better. Really what we want is for no more packets to be enqueued after isUp is set to false.
* Fix wrong debug messagesJason A. Donenfeld2018-04-201-1/+3
|
* Fixed read from closed channelMathias Hall-Andersen2018-04-181-3/+7
| | | | | | | A premature waitgroup .Done resulted in reading from closed channel. This caused a nil-pointer deref & crash. Added additional debugging when closing routines.
* Begin work on full device<->device unit-testMathias Hall-Andersen2018-03-081-1/+1
| | | | | To simulate a full interaction between two WireGuard instances without networking, using dummy instances of the interfaces
* Work on logging formatMathias Hall-Andersen2018-02-041-7/+9
|
* Align with go library layoutMathias Hall-Andersen2018-02-041-0/+642