aboutsummaryrefslogtreecommitdiffstats
path: root/peer.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix race in packetInNonceQueueIsAwaitingKeyJason A. Donenfeld2018-05-201-1/+1
|
* Add copyright headersMathias Hall-Andersen2018-05-191-0/+1
|
* Finer-grained start-stop synchronizationJason A. Donenfeld2018-05-161-4/+5
|
* No need for padding any moreJason A. Donenfeld2018-05-141-1/+1
|
* Prettier abbreviationJason A. Donenfeld2018-05-131-1/+1
|
* More refactoringJason A. Donenfeld2018-05-131-35/+35
|
* Odds and endsJason A. Donenfeld2018-05-131-12/+12
|
* Rework index hashtableJason A. Donenfeld2018-05-131-3/+3
|
* Rewrite timers and related state machinesJason A. Donenfeld2018-05-101-47/+31
|
* Removed remaining signals from peerMathias Hall-Andersen2018-05-051-35/+19
| | | | | | 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-27/+16
|
* 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-31/+31
|/ | | | | - 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-2/+2
| | | | | | 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.
* Fixed read from closed channelMathias Hall-Andersen2018-04-181-1/+1
| | | | | | | A premature waitgroup .Done resulted in reading from closed channel. This caused a nil-pointer deref & crash. Added additional debugging when closing routines.
* Use simple 16-bit integer for persistent keepaliveJason A. Donenfeld2018-04-181-1/+2
| | | | Races for this aren't a huge problem.
* Align 64-bit atomicsJason A. Donenfeld2018-04-181-1/+1
| | | | | 64-bit varibles that are accessed using the Go atomic functions must be 8-byte aligned on 32-bit platforms. Otherwise there are crashes.
* TUN status hack was causing spam during shutdownMathias Hall-Andersen2018-02-111-10/+3
|
* Work on logging formatMathias Hall-Andersen2018-02-041-2/+10
|
* Removed debugging locksMathias Hall-Andersen2018-02-041-4/+3
|
* Align with go library layoutMathias Hall-Andersen2018-02-041-0/+295