aboutsummaryrefslogtreecommitdiffstats
path: root/device/device.go (follow)
Commit message (Expand)AuthorAgeFilesLines
* device: allow reducing queue constants on iOSJason A. Donenfeld2021-05-221-1/+1
* device: add ID to repeated routinesJason A. Donenfeld2021-05-071-3/+3
* all: make conn.Bind.Open return a slice of receive functionsJosh Bleecher Snyder2021-04-021-9/+8
* device: rename unsafeCloseBind to closeBindLockedJosh Bleecher Snyder2021-03-301-3/+5
* device: get rid of peers.empty boolean in timersActiveJason A. Donenfeld2021-03-061-8/+6
* conn: make binds replacableJason A. Donenfeld2021-02-231-10/+3
* device: return error from Up() and Down()Jason A. Donenfeld2021-02-101-13/+19
* device: handshake routine writes into encryption queueJason A. Donenfeld2021-02-091-0/+1
* device: make RoutineReadFromTUN keep encryption queue aliveJosh Bleecher Snyder2021-02-091-1/+2
* device: clarify device.state.state docs (again)Josh Bleecher Snyder2021-02-091-2/+4
* device: rename unsafeRemovePeer to removePeerLockedJason A. Donenfeld2021-02-091-9/+5
* device: remove deviceStateNewJason A. Donenfeld2021-02-091-8/+6
* device: fix comment typo and shorten state.mu.Lock to state.LockJason A. Donenfeld2021-02-091-8/+7
* 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-091-6/+1
* device: do not log on idempotent device state changeJason A. Donenfeld2021-02-091-1/+0
* device: create channels.goJosh Bleecher Snyder2021-02-081-61/+0
* device: remove device.state.stopping from RoutineTUNEventReaderJosh Bleecher Snyder2021-02-081-1/+1
* device: overhaul device state managementJosh Bleecher Snyder2021-02-081-128/+151
* device: remove device.state.stopping from RoutineHandshakeJosh Bleecher Snyder2021-02-081-1/+0
* device: remove device.state.stopping from RoutineDecryptionJosh Bleecher Snyder2021-02-081-1/+1
* device: tie encryption queue lifetime to the peers that write to itJosh Bleecher Snyder2021-02-031-2/+4
* device: use a waiting sync.Pool instead of a channelJason A. Donenfeld2021-02-021-6/+3
* device: use int64 instead of atomic.Value for time stampJason A. Donenfeld2021-01-291-13/+3
* device: use new model queues for handshakesJason A. Donenfeld2021-01-291-27/+28
* device: simplify peer queue lockingJason A. Donenfeld2021-01-291-14/+14
* global: bump copyrightJason A. Donenfeld2021-01-281-1/+1
* device: do not allow get to run while set runsJason A. Donenfeld2021-01-281-1/+2
* device: avoid deadlock when changing private key and removing self peersJason A. Donenfeld2021-01-271-0/+2
* device: use linked list for per-peer allowed-ip traversalJason A. Donenfeld2021-01-271-1/+0
* device: combine debug and info log levels into 'verbose'Jason A. Donenfeld2021-01-261-5/+5
* device: change logging interface to use functionsJosh Bleecher Snyder2021-01-261-5/+5
* device: serialize access to IpcSetOperationJosh Bleecher Snyder2021-01-251-0/+1
* device: remove unnecessary zeroingJosh Bleecher Snyder2021-01-201-5/+0
* device: put handshake buffer in pool in FlushPacketQueuesJosh Bleecher Snyder2021-01-201-1/+2
* device: use channel close to shut down and drain decryption channelJosh Bleecher Snyder2021-01-201-12/+25
* device: receive: drain decryption queue before exiting RoutineDecryptionJason A. Donenfeld2021-01-071-1/+4
* all: use ++ to incrementJosh Bleecher Snyder2021-01-071-1/+1
* device: add missing colon to error lineJason A. Donenfeld2021-01-071-1/+1
* device: fix data race in peer.timersActiveJosh Bleecher Snyder2021-01-071-2/+4
* device: fix persistent_keepalive_interval data racesJosh Bleecher Snyder2021-01-071-1/+1
* device: use channel close to shut down and drain encryption channelJosh Bleecher Snyder2021-01-071-7/+32
* device: remove starting waitgroupsJosh Bleecher Snyder2021-01-071-11/+0
* device: wait for routines to stop before removing peersDmytro Shynkevych2020-07-041-1/+1
* device: export Bind and remove socketfd shims for androidDavid Crawshaw2020-06-221-0/+6
* global: update header comments and modulesJason A. Donenfeld2020-05-021-1/+1
* conn: introduce new package that splits out the Bind and Endpoint typesDavid Crawshaw2020-05-021-10/+136
* noise: unify zero checking of ecdhJason A. Donenfeld2020-03-171-3/+0
* device: fix private key removal logicJason A. Donenfeld2020-02-041-13/+4
* device: drop lock before expiring keysJason A. Donenfeld2019-08-051-4/+11