aboutsummaryrefslogtreecommitdiffstats
path: root/device/device.go (follow)
Commit message (Expand)AuthorAgeFilesLines
* device: fix possible deadlock in close methodHEADmasterMartin Basovnik2023-12-111-2/+2
* device: change Peer.endpoint locking to reduce contentionJordan Whited2023-12-111-10/+2
* device: move Queue{In,Out}boundElement Mutex to container typeJordan Whited2023-10-101-5/+5
* device: wait for and lock ipc operations during closeJames Tucker2023-06-271-0/+2
* conn, device, tun: implement vectorized I/O plumbingJordan Whited2023-03-101-4/+23
* device: uniformly check ECDH output for zerosJason A. Donenfeld2023-02-161-1/+1
* global: bump copyright yearJason A. Donenfeld2023-02-071-1/+1
* global: bump copyright yearJason A. Donenfeld2022-09-201-1/+1
* all: use Go 1.19 and its atomic typesBrad Fitzpatrick2022-09-041-17/+15
* device: align 64-bit atomic member in DeviceJason A. Donenfeld2021-11-161-5/+6
* device: make new peers inherit broken mobile semanticsJason A. Donenfeld2021-11-151-0/+1
* device: defer state machine transitions until configuration is completeJason A. Donenfeld2021-11-151-0/+5
* 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