summaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
...
* device: create peer queues at peer creation timeJason A. Donenfeld2021-02-101-6/+3
* device: return error from Up() and Down()Jason A. Donenfeld2021-02-104-20/+36
* rwcancel: add an explicit close callJason A. Donenfeld2021-02-094-0/+8
* rwcancel: use errors.Is for unwrappingJason A. Donenfeld2021-02-091-11/+1
* tun: use errors.Is for unwrappingJason A. Donenfeld2021-02-092-18/+6
* conn: use errors.Is for unwrappingJason A. Donenfeld2021-02-091-16/+4
* device: handshake routine writes into encryption queueJason A. Donenfeld2021-02-092-1/+5
* device: make RoutineReadFromTUN keep encryption queue aliveJosh Bleecher Snyder2021-02-092-1/+3
* conn: try harder to have v4 and v6 ports agreeJason A. Donenfeld2021-02-092-0/+14
* device: only allocate peer queues onceJosh Bleecher Snyder2021-02-091-4/+4
* device: clarify device.state.state docs (again)Josh Bleecher Snyder2021-02-091-2/+4
* device: run fewer iterations in TestUpDownJosh Bleecher Snyder2021-02-091-2/+2
* device: run fewer trials in TestWaitPool when race detector enabledJosh Bleecher Snyder2021-02-093-0/+24
* device: remove nil elem check in finalizersJosh Bleecher Snyder2021-02-091-6/+0
* device: rename unsafeRemovePeer to removePeerLockedJason A. Donenfeld2021-02-091-9/+5
* device: remove deviceStateNewJason A. Donenfeld2021-02-093-20/+9
* device: fix comment typo and shorten state.mu.Lock to state.LockJason A. Donenfeld2021-02-092-13/+12
* device: fix typo in commentJason A. Donenfeld2021-02-091-1/+1
* device: fix alignment on 32-bit machines and test for itJason A. Donenfeld2021-02-092-8/+2
* device: do not log on idempotent device state changeJason A. Donenfeld2021-02-091-1/+0
* device: do not attach finalizer to non-returned objectJason A. Donenfeld2021-02-095-20/+22
* device: lock elem in autodraining queue before freeingJason A. Donenfeld2021-02-091-0/+2
* device: remove listen port race in testsJason A. Donenfeld2021-02-091-63/+43
* device: generate test keys on the flyJason A. Donenfeld2021-02-091-6/+21
* device: remove mutex from Peer send/receiveJosh Bleecher Snyder2021-02-084-16/+80
* device: create channels.goJosh Bleecher Snyder2021-02-082-61/+69
* device: print direction when ping transit failsJosh Bleecher Snyder2021-02-081-3/+9
* device: separate timersInit from timersStartJosh Bleecher Snyder2021-02-082-5/+7
* device: don't track device interface state in RoutineTUNEventReaderJosh Bleecher Snyder2021-02-081-7/+4
* device: improve MTU change handlingJosh Bleecher Snyder2021-02-081-8/+15
* device: remove device.state.stopping from RoutineTUNEventReaderJosh Bleecher Snyder2021-02-082-2/+1
* device: overhaul device state managementJosh Bleecher Snyder2021-02-088-139/+188
* device: remove unnecessary zeroing in peer.SendKeepaliveJosh Bleecher Snyder2021-02-081-1/+0
* device: remove device.state.stopping from RoutineHandshakeJosh Bleecher Snyder2021-02-082-5/+1
* device: remove device.state.stopping from RoutineDecryptionJosh Bleecher Snyder2021-02-082-5/+3
* main: add back version fileJason A. Donenfeld2021-02-041-0/+3
* tai64n: add string representation for error messagesJason A. Donenfeld2021-02-031-0/+4
* device: take peer handshake when reinitializing last sent handshakeJason A. Donenfeld2021-02-031-1/+4
* device: fix goroutine leak testJosh Bleecher Snyder2021-02-031-8/+9
* device: add up/down stress testJason A. Donenfeld2021-02-031-0/+35
* device: pass cfg strings around in tests instead of readerJason A. Donenfeld2021-02-031-9/+7
* device: benchmark the waitpool to compare it to the prior channelsJason A. Donenfeld2021-02-031-0/+23
* device: test that we do not leak goroutinesJosh Bleecher Snyder2021-02-031-0/+31
* device: tie encryption queue lifetime to the peers that write to itJosh Bleecher Snyder2021-02-033-4/+6
* device: use a waiting sync.Pool instead of a channelJason A. Donenfeld2021-02-024-67/+116
* device: reduce number of append calls when paddingJason A. Donenfeld2021-01-291-5/+2
* device: use int64 instead of atomic.Value for time stampJason A. Donenfeld2021-01-292-13/+27
* device: use new model queues for handshakesJason A. Donenfeld2021-01-292-79/+52
* device: simplify peer queue lockingJason A. Donenfeld2021-01-294-147/+70
* device: reduce nesting when staging packetJason A. Donenfeld2021-01-281-6/+6