summaryrefslogtreecommitdiffhomepage
path: root/peer.go
AgeCommit message (Collapse)Author
2018-09-16global: fix up copyright headersJason A. Donenfeld
2018-05-27Disappointing anti-sticky experimentJason A. Donenfeld
2018-05-21Reasonable punctuation given the spacingJason A. Donenfeld
2018-05-20Fix data races in timersJason A. Donenfeld
2018-05-20Fix race in packetInNonceQueueIsAwaitingKeyJason A. Donenfeld
2018-05-19Add copyright headersMathias Hall-Andersen
2018-05-16Finer-grained start-stop synchronizationJason A. Donenfeld
2018-05-14No need for padding any moreJason A. Donenfeld
2018-05-13Prettier abbreviationJason A. Donenfeld
2018-05-13More refactoringJason 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-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-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-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-04-18Use simple 16-bit integer for persistent keepaliveJason A. Donenfeld
Races for this aren't a huge problem.
2018-04-18Align 64-bit atomicsJason A. Donenfeld
64-bit varibles that are accessed using the Go atomic functions must be 8-byte aligned on 32-bit platforms. Otherwise there are crashes.
2018-02-11TUN status hack was causing spam during shutdownMathias Hall-Andersen
2018-02-04Work on logging formatMathias Hall-Andersen
2018-02-04Removed debugging locksMathias Hall-Andersen
2018-02-04Align with go library layoutMathias Hall-Andersen