Commit Graph

  • 5cdb862f15 conn: use errors.Is for unwrapping Jason A. Donenfeld 2021-02-09 19:46:57 +0100
  • da32fe328b device: handshake routine writes into encryption queue Jason A. Donenfeld 2021-02-09 19:26:45 +0100
  • 4eab21a7b7 device: make RoutineReadFromTUN keep encryption queue alive Josh Bleecher Snyder 2021-02-09 09:53:00 -0800
  • 30b96ba083 conn: try harder to have v4 and v6 ports agree Jason A. Donenfeld 2021-02-09 18:45:12 +0100
  • 78ebce6932 device: only allocate peer queues once Josh Bleecher Snyder 2021-02-09 09:08:17 -0800
  • cae090d116 device: clarify device.state.state docs (again) Josh Bleecher Snyder 2021-02-09 08:27:48 -0800
  • 465261310b device: run fewer iterations in TestUpDown Josh Bleecher Snyder 2021-02-09 08:20:11 -0800
  • d117d42ae7 device: run fewer trials in TestWaitPool when race detector enabled Josh Bleecher Snyder 2021-02-09 08:18:47 -0800
  • ecceaadd16 device: remove nil elem check in finalizers Josh Bleecher Snyder 2021-02-09 08:15:21 -0800
  • 9e728c2eb0 device: rename unsafeRemovePeer to removePeerLocked Jason A. Donenfeld 2021-02-09 16:11:33 +0100
  • eaf664e4e9 device: remove deviceStateNew Jason A. Donenfeld 2021-02-09 15:39:19 +0100
  • a816e8511e device: fix comment typo and shorten state.mu.Lock to state.Lock Jason A. Donenfeld 2021-02-09 15:35:43 +0100
  • 02138f1f81 device: fix typo in comment Jason A. Donenfeld 2021-02-09 15:32:55 +0100
  • d7bc7508e5 device: fix alignment on 32-bit machines and test for it Jason A. Donenfeld 2021-02-09 15:30:32 +0100
  • d6e76fdbd6 device: do not log on idempotent device state change Jason A. Donenfeld 2021-02-09 15:25:43 +0100
  • 6ac1240821 device: do not attach finalizer to non-returned object Jason A. Donenfeld 2021-02-09 15:09:50 +0100
  • 4b5d15ec2b device: lock elem in autodraining queue before freeing Jason A. Donenfeld 2021-02-09 15:00:59 +0100
  • 6548a682a9 device: remove listen port race in tests Jason A. Donenfeld 2021-02-09 00:59:39 +0100
  • a60e6dab76 device: generate test keys on the fly Jason A. Donenfeld 2021-02-09 00:33:18 +0100
  • d8dd1f254f device: remove mutex from Peer send/receive Josh Bleecher Snyder 2021-02-08 13:02:52 -0800
  • 57aadfcb14 device: create channels.go Josh Bleecher Snyder 2021-02-08 12:38:19 -0800
  • af408eb940 device: print direction when ping transit fails Josh Bleecher Snyder 2021-02-08 11:36:55 -0800
  • 15810daa22 device: separate timersInit from timersStart Josh Bleecher Snyder 2021-02-08 10:01:35 -0800
  • d840445e9b device: don't track device interface state in RoutineTUNEventReader Josh Bleecher Snyder 2021-01-21 09:26:14 -0800
  • 675ff32e6c device: improve MTU change handling Josh Bleecher Snyder 2021-01-21 09:23:45 -0800
  • 3516ccc1e2 device: remove device.state.stopping from RoutineTUNEventReader Josh Bleecher Snyder 2021-02-08 10:19:28 -0800
  • 0bcb822e5b device: overhaul device state management Josh Bleecher Snyder 2021-01-19 09:02:16 -0800
  • da95677203 device: remove unnecessary zeroing in peer.SendKeepalive Josh Bleecher Snyder 2021-02-08 09:21:31 -0800
  • 9c75f58f3d device: remove device.state.stopping from RoutineHandshake Josh Bleecher Snyder 2021-02-02 16:14:54 -0800
  • 84a42aed63 device: remove device.state.stopping from RoutineDecryption Josh Bleecher Snyder 2021-01-19 11:10:05 -0800
  • 4192036acd main: add back version file Jason A. Donenfeld 2021-02-04 15:33:04 +0100
  • 9c7bd73be2 tai64n: add string representation for error messages Jason A. Donenfeld 2021-02-03 17:56:46 +0100
  • 01e176af3c device: take peer handshake when reinitializing last sent handshake Jason A. Donenfeld 2021-02-03 17:52:31 +0100
  • 91617b4c52 device: fix goroutine leak test Josh Bleecher Snyder 2021-02-03 08:26:27 -0800
  • 7258a8973d device: add up/down stress test Jason A. Donenfeld 2021-02-03 17:43:41 +0100
  • d9d547a3f3 device: pass cfg strings around in tests instead of reader Jason A. Donenfeld 2021-02-03 17:29:01 +0100
  • c3bde5f590 device: benchmark the waitpool to compare it to the prior channels Jason A. Donenfeld 2021-02-03 16:54:45 +0100
  • fd63a233c9 device: test that we do not leak goroutines Josh Bleecher Snyder 2021-02-02 10:41:20 -0800
  • 8a374a35a0 device: tie encryption queue lifetime to the peers that write to it Josh Bleecher Snyder 2021-02-02 10:46:34 -0800
  • 4846070322 device: use a waiting sync.Pool instead of a channel Jason A. Donenfeld 2021-02-02 18:37:49 +0100
  • a9f80d8c58 device: reduce number of append calls when padding Jason A. Donenfeld 2021-01-29 20:10:48 +0100
  • de51129e33 device: use int64 instead of atomic.Value for time stamp Jason A. Donenfeld 2021-01-29 18:54:19 +0100
  • beb25cc4fd device: use new model queues for handshakes Jason A. Donenfeld 2021-01-29 18:24:45 +0100
  • 9263014ed3 device: simplify peer queue locking Jason A. Donenfeld 2021-01-29 14:54:11 +0100
  • f0f27d7fd2 device: reduce nesting when staging packet Jason A. Donenfeld 2021-01-28 18:56:58 +0100
  • d4112d9096 global: bump copyright Jason A. Donenfeld 2021-01-28 17:52:15 +0100
  • bf3bb88851 device: remove version string Jason A. Donenfeld 2021-01-28 17:23:39 +0100
  • 6a128dde71 device: do not allow get to run while set runs Jason A. Donenfeld 2021-01-28 15:26:22 +0100
  • 34c047c762 device: avoid hex allocations in IpcGet Jason A. Donenfeld 2021-01-28 00:49:31 +0100
  • d4725bc456 device: the psk is not a chapoly key Jason A. Donenfeld 2021-01-28 14:44:51 +0100
  • 1b092ce584 device: get rid of nonce routine Jason A. Donenfeld 2021-01-27 18:13:53 +0100
  • a11dec5dc1 tun: use %w for errors on linux Jason A. Donenfeld 2021-01-27 15:56:49 +0100
  • ace50a0529 device: avoid deadlock when changing private key and removing self peers Jason A. Donenfeld 2021-01-27 15:53:21 +0100
  • 8cc99631d0 device: use linked list for per-peer allowed-ip traversal Jason A. Donenfeld 2021-01-26 23:44:37 +0100
  • d669c78c43 device: combine debug and info log levels into 'verbose' Jason A. Donenfeld 2021-01-26 23:05:48 +0100
  • 7139279cd0 device: change logging interface to use functions Josh Bleecher Snyder 2021-01-22 14:11:17 -0800
  • 37efdcaccf device: fix shadowing of err in IpcHandle Josh Bleecher Snyder 2021-01-26 10:35:25 -0800
  • d3a2b74df2 device: remove extra error arg Josh Bleecher Snyder 2021-01-26 08:40:15 -0800
  • 8114c9db5f device: reduce allocs in Device.IpcGetOperation Brad Fitzpatrick 2021-01-26 11:11:58 -0800
  • e6ec3852a9 device: add benchmark for UAPI Device.IpcGetOperation Josh Bleecher Snyder 2021-01-26 11:39:48 -0800
  • 23b2790aa0 conn: fix interface parameter name in Bind interface docs Brad Fitzpatrick 2021-01-25 18:52:42 -0800
  • 18e47795e5 device: allow pipelining UAPI requests Jason A. Donenfeld 2021-01-25 19:00:43 +0100
  • a29767dda6 ipc: add missing Windows errno Jason A. Donenfeld 2021-01-25 19:08:41 +0100
  • cecb41515d device: serialize access to IpcSetOperation Josh Bleecher Snyder 2021-01-25 09:35:35 -0800
  • a9ce4b762c device: simplify handling of IPC set endpoint Josh Bleecher Snyder 2021-01-25 09:32:09 -0800
  • d8f2cc87ee device: remove close processing fwmark Josh Bleecher Snyder 2021-01-25 09:27:06 -0800
  • 2b8665f5f9 device: remove unnecessary comment Josh Bleecher Snyder 2021-01-25 09:21:57 -0800
  • 674a4675a1 device: introduce new IPC error message for unknown error Josh Bleecher Snyder 2021-01-25 09:21:51 -0800
  • 87bdcb2ae4 device: correct IPC error number for I/O errors Josh Bleecher Snyder 2021-01-25 09:21:43 -0800
  • 37a239e736 device: simplify IpcHandle error handling Josh Bleecher Snyder 2021-01-25 08:55:08 -0800
  • 6252de0db9 device: split IpcSetOperation into parts Josh Bleecher Snyder 2021-01-15 14:32:34 -0800
  • a029b942ae device: expand IPCError Josh Bleecher Snyder 2021-01-15 13:24:38 -0800
  • db3fa1409c device: remove dead code Josh Bleecher Snyder 2021-01-15 13:59:55 -0800
  • 675aae2423 device: return errors from ipc scanner Josh Bleecher Snyder 2021-01-15 13:54:55 -0800
  • fcc8ad05df netstack: further sequester with own go.mod and go.sum Jason A. Donenfeld 2021-01-21 00:24:01 +0100
  • 1d4eb2727a netstack: introduce new module for gvisor tcp tun adapter Jason A. Donenfeld 2021-01-21 00:02:32 +0100
  • 294d3bedf9 device: allow compiling with Go 1.15 Jason A. Donenfeld 2021-01-20 20:04:31 +0100
  • 86a58b51c0 device: remove unused fields from DummyDatagram and DummyBind Josh Bleecher Snyder 2021-01-19 13:42:45 -0800
  • 6a2ecb581b device: remove unused trie test code Josh Bleecher Snyder 2021-01-19 13:41:47 -0800
  • f07177c762 conn: remove _ method receiver Josh Bleecher Snyder 2021-01-19 13:41:07 -0800
  • b00b2c2951 tun: fix fmt.Errorf format strings Josh Bleecher Snyder 2021-01-19 13:39:48 -0800
  • 7c5d1e355e device: remove unnecessary zeroing Josh Bleecher Snyder 2021-01-19 08:33:12 -0800
  • a86492a567 device: remove QueueInboundElement.dropped Josh Bleecher Snyder 2021-01-17 09:49:39 -0800
  • 7ee95e053c device: remove QueueOutboundElement.dropped Josh Bleecher Snyder 2021-01-17 09:40:18 -0800
  • 291dbcf1f0 tun/wintun/memmod: gofmt Josh Bleecher Snyder 2021-01-15 17:25:34 -0800
  • abc88c82b1 tun/wintun/memmod: fix format verb Josh Bleecher Snyder 2021-01-15 17:25:11 -0800
  • 23642a13be device: check returned errors from NewPeer in TestNoiseHandshake Josh Bleecher Snyder 2021-01-12 17:27:27 -0800
  • 2fe19ce54d device: remove selects from encrypt/decrypt/inbound/outbound enqueuing Josh Bleecher Snyder 2021-01-11 17:21:16 -0800
  • 0cc15e7c7c device: put handshake buffer in pool in FlushPacketQueues Josh Bleecher Snyder 2021-01-12 15:04:32 -0800
  • 48c3b87eb8 device: use channel close to shut down and drain decryption channel Josh Bleecher Snyder 2021-01-11 17:34:02 -0800
  • 675955de5d tun: add tcpip stack tunnel abstraction Jason A. Donenfeld 2021-01-11 16:28:12 +0100
  • ea6c1cd7e6 device: receive: do not exit immediately on transient UDP receive errors Jason A. Donenfeld 2021-01-08 14:25:37 +0100
  • 3b3de758ec conn: linux: do not allow ReceiveIPvX to race with Close Jason A. Donenfeld 2021-01-07 17:00:21 +0100
  • 29b0477585 device: receive: drain decryption queue before exiting RoutineDecryption Jason A. Donenfeld 2021-01-07 15:56:52 +0100
  • 85b4950579 device: add latency and throughput benchmarks Josh Bleecher Snyder 2021-01-05 18:14:59 -0800
  • 8a30415555 device: use LogLevelError for benchmarking Josh Bleecher Snyder 2021-01-05 16:04:38 -0800
  • cdaf4e9a76 device: make test infrastructure usable with benchmarks Josh Bleecher Snyder 2021-01-05 15:03:24 -0800
  • 3d83df9bf3 memmod: apply explicit build tags to _32 and _64 files Jason A. Donenfeld 2020-12-23 17:49:36 +0100
  • d664444928 tun: make customization of WintunPool and requested GUID more obvious Jason A. Donenfeld 2020-12-22 14:09:16 +0100
  • 1481e72107 all: use ++ to increment Josh Bleecher Snyder 2020-12-22 11:38:24 -0800