Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | version: bump snapshot0.0.20190908 | Jason A. Donenfeld | 2019-09-08 | 1 | -1/+1 |
| | |||||
* | device: getsockname on linux to determine port | Jason A. Donenfeld | 2019-08-25 | 1 | -0/+10 |
| | | | | | It turns out Go isn't passing the pointer properly so we wound up with a zero port every time. | ||||
* | version: bump snapshot0.0.20190805 | Jason A. Donenfeld | 2019-08-05 | 1 | -1/+1 |
| | |||||
* | device: drop lock before expiring keys | Jason A. Donenfeld | 2019-08-05 | 1 | -4/+11 |
| | |||||
* | uapi: skip peers with invalid keys | Jason A. Donenfeld | 2019-08-05 | 2 | -4/+16 |
| | |||||
* | device: do not crash on nil'd bind in windows binding | Jason A. Donenfeld | 2019-07-18 | 1 | -0/+5 |
| | |||||
* | device: immediately rekey all peers after changing device private key | Jason A. Donenfeld | 2019-07-11 | 2 | -0/+25 |
| | | | | Reported-by: Derrick Pallas <derrick@pallas.us> | ||||
* | device: receive: uniform message for source address check | Jason A. Donenfeld | 2019-07-01 | 1 | -1/+1 |
| | |||||
* | device: receive: simplify flush loop | Jason A. Donenfeld | 2019-07-01 | 1 | -35/+12 |
| | |||||
* | tun: remove TUN prefix from types to reduce stutter elsewhere | Matt Layher | 2019-06-14 | 3 | -15/+14 |
| | | | | Signed-off-by: Matt Layher <mdlayher@gmail.com> | ||||
* | device: update transfer counters correctly | Jason A. Donenfeld | 2019-06-11 | 3 | -4/+9 |
| | | | | | The rule is to always update them to the full packet size minus UDP/IP encapsulation for all authenticated packet types. | ||||
* | device: remove redundant return statements | Matt Layher | 2019-06-04 | 1 | -3/+0 |
| | | | | | | | | | | | More staticcheck fixes: $ staticcheck ./... | grep S1023 device/noise-helpers.go:45:2: redundant return statement (S1023) device/noise-helpers.go:54:2: redundant return statement (S1023) device/noise-helpers.go:64:2: redundant return statement (S1023) Signed-off-by: Matt Layher <mdlayher@gmail.com> | ||||
* | device: use bytes.Equal for equality check, simplify assertEqual | Matt Layher | 2019-06-04 | 1 | -2/+2 |
| | | | | Signed-off-by: Matt Layher <mdlayher@gmail.com> | ||||
* | device, ratelimiter: replace uses of time.Now().Sub() with time.Since() | Matt Layher | 2019-06-03 | 4 | -9/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | Simplification found by staticcheck: $ staticcheck ./... | grep S1012 device/cookie.go:90:5: should use time.Since instead of time.Now().Sub (S1012) device/cookie.go:127:5: should use time.Since instead of time.Now().Sub (S1012) device/cookie.go:242:5: should use time.Since instead of time.Now().Sub (S1012) device/noise-protocol.go:304:13: should use time.Since instead of time.Now().Sub (S1012) device/receive.go:82:46: should use time.Since instead of time.Now().Sub (S1012) device/send.go:132:5: should use time.Since instead of time.Now().Sub (S1012) device/send.go:139:5: should use time.Since instead of time.Now().Sub (S1012) device/send.go:235:59: should use time.Since instead of time.Now().Sub (S1012) device/send.go:393:9: should use time.Since instead of time.Now().Sub (S1012) ratelimiter/ratelimiter.go:79:10: should use time.Since instead of time.Now().Sub (S1012) ratelimiter/ratelimiter.go:87:10: should use time.Since instead of time.Now().Sub (S1012) Change applied using: $ find . -type f -name "*.go" -exec sed -i "s/Now().Sub(/Since(/g" {} \; Signed-off-by: Matt Layher <mdlayher@gmail.com> | ||||
* | device: add SendKeepalivesToPeersWithCurrentKeypair for handover | Jason A. Donenfeld | 2019-05-30 | 1 | -0/+17 |
| | |||||
* | device, tun: rearrange code and fix device tests | Matt Layher | 2019-05-29 | 2 | -10/+86 |
| | | | | Signed-off-by: Matt Layher <mdlayher@gmail.com> | ||||
* | device: darwin actually doesn't need bound interfaces | Jason A. Donenfeld | 2019-05-25 | 1 | -44/+0 |
| | |||||
* | device: make initiations per second match kernel implementation | Jason A. Donenfeld | 2019-05-25 | 1 | -1/+1 |
| | |||||
* | device: timers: add jitter on ack failure reinitiation | Jason A. Donenfeld | 2019-05-24 | 1 | -1/+1 |
| | |||||
* | device: fail to give bind if it doesn't exist | Jason A. Donenfeld | 2019-05-17 | 2 | -2/+13 |
| | |||||
* | version: bump snapshot0.0.20190517 | Jason A. Donenfeld | 2019-05-17 | 1 | -1/+1 |
| | |||||
* | global: regroup all imports | Jason A. Donenfeld | 2019-05-14 | 15 | -23/+38 |
| | |||||
* | conn: remove scope when sanity checking IP address format | Jason A. Donenfeld | 2019-05-09 | 1 | -1/+7 |
| | |||||
* | device: send: check packet length before freeing element | Jason A. Donenfeld | 2019-04-18 | 1 | -3/+3 |
| | |||||
* | conn: linux: RTA_MARK has moved to x/sys | Jason A. Donenfeld | 2019-04-13 | 1 | -1/+1 |
| | |||||
* | version: put version in right place0.0.20190409 | Jason A. Donenfeld | 2019-04-09 | 1 | -1/+1 |
| | |||||
* | receive: implement flush semantics | Jason A. Donenfeld | 2019-03-21 | 5 | -93/+119 |
| | |||||
* | uapi: remove unhelpful log messages | Jason A. Donenfeld | 2019-03-20 | 1 | -7/+0 |
| | |||||
* | uapi: report endpoint error | Jason A. Donenfeld | 2019-03-19 | 1 | -1/+1 |
| | |||||
* | uapi: make ipcerror conform to interface | Jason A. Donenfeld | 2019-03-10 | 1 | -2/+2 |
| | |||||
* | receive: squelch tear down error | Jason A. Donenfeld | 2019-03-07 | 1 | -1/+1 |
| | |||||
* | tun: import mobile particularities | Jason A. Donenfeld | 2019-03-04 | 3 | -2/+36 |
| | |||||
* | boundif: introduce API for socket binding | Jason A. Donenfeld | 2019-03-04 | 8 | -21/+155 |
| | |||||
* | global: begin modularization | Jason A. Donenfeld | 2019-03-03 | 34 | -0/+6482 |