Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-06-04 | device: remove redundant return statements | Matt Layher | |
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> | |||
2019-06-04 | device: use bytes.Equal for equality check, simplify assertEqual | Matt Layher | |
Signed-off-by: Matt Layher <mdlayher@gmail.com> | |||
2019-06-03 | device, ratelimiter: replace uses of time.Now().Sub() with time.Since() | Matt Layher | |
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> | |||
2019-05-30 | device: add SendKeepalivesToPeersWithCurrentKeypair for handover | Jason A. Donenfeld | |
2019-05-29 | device, tun: rearrange code and fix device tests | Matt Layher | |
Signed-off-by: Matt Layher <mdlayher@gmail.com> | |||
2019-05-25 | device: darwin actually doesn't need bound interfaces | Jason A. Donenfeld | |
2019-05-25 | device: make initiations per second match kernel implementation | Jason A. Donenfeld | |
2019-05-24 | device: timers: add jitter on ack failure reinitiation | Jason A. Donenfeld | |
2019-05-17 | device: fail to give bind if it doesn't exist | Jason A. Donenfeld | |
2019-05-17 | version: bump snapshot | Jason A. Donenfeld | |
2019-05-14 | global: regroup all imports | Jason A. Donenfeld | |
2019-05-09 | conn: remove scope when sanity checking IP address format | Jason A. Donenfeld | |
2019-04-18 | device: send: check packet length before freeing element | Jason A. Donenfeld | |
2019-04-13 | conn: linux: RTA_MARK has moved to x/sys | Jason A. Donenfeld | |
2019-04-09 | version: put version in right place | Jason A. Donenfeld | |
2019-03-21 | receive: implement flush semantics | Jason A. Donenfeld | |
2019-03-20 | uapi: remove unhelpful log messages | Jason A. Donenfeld | |
2019-03-19 | uapi: report endpoint error | Jason A. Donenfeld | |
2019-03-10 | uapi: make ipcerror conform to interface | Jason A. Donenfeld | |
2019-03-07 | receive: squelch tear down error | Jason A. Donenfeld | |
2019-03-04 | tun: import mobile particularities | Jason A. Donenfeld | |
2019-03-04 | boundif: introduce API for socket binding | Jason A. Donenfeld | |
2019-03-03 | global: begin modularization | Jason A. Donenfeld | |