aboutsummaryrefslogtreecommitdiff
path: root/device/device.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert "device: use wgcfg key types"David Crawshaw2020-04-071-14/+13
| | | | | | More cleanup work of wgcfg to do before bringing this in. This reverts commit 83ca9b47b63b4d07630c4d579faf1111e42537d3.
* device: use wgcfg key typesDavid Crawshaw2020-04-021-13/+14
| | | | Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
* conn: new package that splits out the Bind and Endpoint typesDavid Crawshaw2020-03-301-10/+136
| | | | | | | | | | The sticky socket code stays in the device package for now, as it reaches deeply into the peer list. This is the first step in an effort to split some code out of the very busy device package. Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
* noise: unify zero checking of ecdhJason A. Donenfeld2020-03-171-3/+0
|
* device: fix private key removal logicJason A. Donenfeld2020-02-041-13/+4
|
* device: drop lock before expiring keysJason A. Donenfeld2019-08-051-4/+11
|
* device: immediately rekey all peers after changing device private keyJason A. Donenfeld2019-07-111-0/+6
| | | | Reported-by: Derrick Pallas <derrick@pallas.us>
* tun: remove TUN prefix from types to reduce stutter elsewhereMatt Layher2019-06-141-3/+2
| | | | Signed-off-by: Matt Layher <mdlayher@gmail.com>
* device: add SendKeepalivesToPeersWithCurrentKeypair for handoverJason A. Donenfeld2019-05-301-0/+17
|
* device: fail to give bind if it doesn't existJason A. Donenfeld2019-05-171-0/+1
|
* global: regroup all importsJason A. Donenfeld2019-05-141-2/+3
|
* global: begin modularizationJason A. Donenfeld2019-03-031-0/+396