summaryrefslogtreecommitdiffstats
path: root/device/peer.go (follow)
Commit message (Expand)AuthorAgeFilesLines
* device: get rid of peers.empty boolean in timersActiveJason A. Donenfeld2021-03-061-1/+0
* conn: make binds replacableJason A. Donenfeld2021-02-231-7/+2
* device: use container/list instead of open coding itJason A. Donenfeld2021-02-101-10/+11
* device: flush peer queues before starting deviceJason A. Donenfeld2021-02-101-0/+2
* device: create peer queues at peer creation timeJason A. Donenfeld2021-02-101-6/+3
* device: only allocate peer queues onceJosh Bleecher Snyder2021-02-091-4/+4
* device: fix comment typo and shorten state.mu.Lock to state.LockJason A. Donenfeld2021-02-091-5/+5
* device: do not attach finalizer to non-returned objectJason A. Donenfeld2021-02-091-4/+4
* device: remove mutex from Peer send/receiveJosh Bleecher Snyder2021-02-081-10/+13
* device: separate timersInit from timersStartJosh Bleecher Snyder2021-02-081-1/+2
* device: overhaul device state managementJosh Bleecher Snyder2021-02-081-4/+4
* device: take peer handshake when reinitializing last sent handshakeJason A. Donenfeld2021-02-031-1/+4
* device: tie encryption queue lifetime to the peers that write to itJosh Bleecher Snyder2021-02-031-0/+2
* device: simplify peer queue lockingJason A. Donenfeld2021-01-291-44/+13
* global: bump copyrightJason A. Donenfeld2021-01-281-1/+1
* device: get rid of nonce routineJason A. Donenfeld2021-01-271-22/+7
* device: use linked list for per-peer allowed-ip traversalJason A. Donenfeld2021-01-271-0/+1
* device: combine debug and info log levels into 'verbose'Jason A. Donenfeld2021-01-261-2/+2
* device: change logging interface to use functionsJosh Bleecher Snyder2021-01-261-2/+2
* device: remove unnecessary zeroingJosh Bleecher Snyder2021-01-071-1/+0
* device: call wg.Add outside the goroutineJosh Bleecher Snyder2021-01-071-0/+2
* device: fix alignment of peer stats memberJason A. Donenfeld2021-01-071-1/+2
* device: fix data race in peer.timersActiveJosh Bleecher Snyder2021-01-071-0/+1
* device: fix races from changing private_keyJosh Bleecher Snyder2021-01-071-3/+4
* device: use channel close to shut down and drain outbound channelJosh Bleecher Snyder2021-01-071-2/+1
* device: fix persistent_keepalive_interval data racesJosh Bleecher Snyder2021-01-071-1/+1
* device: prevent spurious errors while closing a deviceJosh Bleecher Snyder2021-01-071-0/+5
* device: remove starting waitgroupsJosh Bleecher Snyder2021-01-071-7/+1
* device: add write queue mutex for peerHaichao Liu2020-11-181-1/+5
* device: format a few thingsJason A. Donenfeld2020-11-061-1/+0
* device: remove global for roaming escape hatchJason A. Donenfeld2020-10-141-2/+2
* global: update header comments and modulesJason A. Donenfeld2020-05-021-1/+1
* device: use atomic access for unlocked keypair.nextJason A. Donenfeld2020-05-021-3/+3
* conn: introduce new package that splits out the Bind and Endpoint typesDavid Crawshaw2020-05-021-2/+4
* device: add test to ensure Peer fields are safe for atomic access on 32-bitDavid Anderson2020-05-021-1/+5
* noise: unify zero checking of ecdhJason A. Donenfeld2020-03-171-7/+2
* uapi: skip peers with invalid keysJason A. Donenfeld2019-08-051-3/+10
* device: immediately rekey all peers after changing device private keyJason A. Donenfeld2019-07-111-0/+19
* device: update transfer counters correctlyJason A. Donenfeld2019-06-111-1/+6
* boundif: introduce API for socket bindingJason A. Donenfeld2019-03-041-2/+2
* global: begin modularizationJason A. Donenfeld2019-03-031-0/+270