summaryrefslogtreecommitdiffhomepage
path: root/receive.go
AgeCommit message (Collapse)Author
2019-02-05Extend structs rather than embed, when possibleJason A. Donenfeld
2019-02-05Update copyrightJason A. Donenfeld
2018-12-19Make error messages consistentJason A. Donenfeld
2018-11-01receive: make started status uniformJason A. Donenfeld
2018-09-25Fix transport message length checkChris Branch
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.
2018-09-24Fix shutdown racesJason A. Donenfeld
2018-09-24More poolingJason A. Donenfeld
2018-09-22Fixup buffer freeingJason A. Donenfeld
2018-09-16Change queueing drop order and fix memory leaksJason A. Donenfeld
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.
2018-09-16global: fix up copyright headersJason A. Donenfeld
2018-05-27Disappointing anti-sticky experimentJason A. Donenfeld
2018-05-23Eye before ee except after seeJason A. Donenfeld
2018-05-23Move replay into subpackageJason A. Donenfeld
2018-05-21Reasonable punctuation given the spacingJason A. Donenfeld
2018-05-20Fix data races in timersJason A. Donenfeld
2018-05-20Give bind its own wait groupJason A. Donenfeld
In a waitgroup, all waits must come after all adds
2018-05-19Add copyright headersMathias Hall-Andersen
2018-05-16Finer-grained start-stop synchronizationJason A. Donenfeld
2018-05-13More refactoringJason A. Donenfeld
2018-05-13More odds and endsJason A. Donenfeld
2018-05-13Odds and endsJason A. Donenfeld
2018-05-13Rework index hashtableJason A. Donenfeld
2018-05-10Rewrite timers and related state machinesJason A. Donenfeld
2018-05-05Merge branch 'master' of ssh://git.zx2c4.com/wireguard-goMathias Hall-Andersen
2018-05-05Removed remaining signals from peerMathias Hall-Andersen
1. Removed remaining signals from peer struct 2. Made needAnotherKeepalive local 3. Removed environment check from warning text (annoying when debugging)
2018-05-05Reorder stopping messages so that logs are coherentJason A. Donenfeld
2018-05-05More robust solution to close deadlockJason A. Donenfeld
2018-05-05Fix infinite loop in exit routineJason A. Donenfeld
2018-05-05Removed old signalsMathias Hall-Andersen
2018-05-05Merge branch 'master' of ssh://git.zx2c4.com/wireguard-goMathias Hall-Andersen
2018-05-05Initial version of migration to new event modelMathias Hall-Andersen
- Begin move away from global timer state. - Made logging format more consistent
2018-05-03global: Add SPDX tags and copyright headerJason A. Donenfeld
Mathias should probably add his copyright headers to each file too.
2018-05-01Add missing locks and fix debug output, and try to flush queuesJason A. Donenfeld
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.
2018-04-20Fix wrong debug messagesJason A. Donenfeld
2018-04-18Fixed read from closed channelMathias Hall-Andersen
A premature waitgroup .Done resulted in reading from closed channel. This caused a nil-pointer deref & crash. Added additional debugging when closing routines.
2018-03-08Begin work on full device<->device unit-testMathias Hall-Andersen
To simulate a full interaction between two WireGuard instances without networking, using dummy instances of the interfaces
2018-02-04Work on logging formatMathias Hall-Andersen
2018-02-04Align with go library layoutMathias Hall-Andersen