81 Commits (7833145289aa58e10d85b9f2de4d8faefc9bab13)

Author SHA1 Message Date
Brad Fitzpatrick 95e2353294 wgengine/wgcfg/nmcfg: coalesce, limit some debug logs
1 year ago
Brad Fitzpatrick 2fc4455e6d all: add Node.HomeDERP int, phase out "127.3.3.40:$region" hack [capver 111]
1 year ago
Nick Khyl da9965d51c cmd/viewer,types/views,various: avoid allocations in pointer field getters whenever possible
1 year ago
Brad Fitzpatrick 4e0fc037e6 all: use iterators over slice views more
2 years ago
Brad Fitzpatrick 964282d34f ipn,wgengine: remove vestigial Prefs.AllowSingleHosts
2 years ago
Maisem Ali af97e7a793 tailcfg,all: add/plumb Node.IsJailed
2 years ago
Claire Wang e0287a4b33
wgengine: add exit destination logging enable for wgengine logger (#11952)
2 years ago
Andrew Dunham b2b49cb3d5 wgengine/wgcfg/nmcfg: skip expired peers
2 years ago
Brad Fitzpatrick 7c1d6e35a5 all: use Go 1.22 range-over-int
2 years ago
Brad Fitzpatrick e1bd7488d0 all: remove LenIter, use Go 1.22 range-over-int instead
2 years ago
Brad Fitzpatrick 8b9474b06a wgengine/wgcfg: don't send UAPI to disable keep-alives on new peers
2 years ago
James Tucker 324f0d5f80 cmd/cloner,*: revert: optimize nillable slice cloner
3 years ago
James Tucker ee90cd02fd cmd/cloner,*: optimize nillable slice cloner
3 years ago
Tom DNetto c08cf2a9c6 all: declare & plumb IPv6 masquerade address for peer
3 years ago
Maisem Ali 4da0689c2c tailcfg: add Node.HasCap helpers
3 years ago
Brad Fitzpatrick 0d991249e1 types/netmap: remove NetworkMap.{Addresses,MachineStatus}
3 years ago
James Tucker 1858ad65c8 cmd/cloner: do not allocate slices when the source is nil
3 years ago
Brad Fitzpatrick 84b94b3146 types/netmap, all: make NetworkMap.SelfNode a tailcfg.NodeView
3 years ago
Maisem Ali 8a5ec72c85 cmd/cloner: use maps.Clone and ptr.To
3 years ago
Brad Fitzpatrick 58a4fd43d8 types/netmap, all: use read-only tailcfg.NodeView in NetworkMap
3 years ago
Brad Fitzpatrick e8551d6b40 all: use Go 1.21 slices, maps instead of x/exp/{slices,maps}
3 years ago
Brad Fitzpatrick 7b1c3dfd28 tailcfg,etc: remove unused tailcfg.Node.KeepAlive field
3 years ago
Maisem Ali 64bbf1738e tailcfg: make SelfNodeV4MasqAddrForThisPeer a pointer
3 years ago
Charlotte Brandhorst-Satzkorn c573bef0aa tailcfg,wgengine: add initial support for WireGuard only peers
3 years ago
Maisem Ali 985535aebc net/tstun,wgengine/*: add support for NAT to routes
3 years ago
Joe Tsai 0d19f5d421
all: replace logtail.{Public,Private}ID with logid.{Public,Private}ID (#7404)
3 years ago
Will Norris 71029cea2d all: update copyright and license headers
3 years ago
Brad Fitzpatrick aad6830df0 util/codegen, all: use latest year, not time.Now, in generated files
3 years ago
Jordan Whited ea5ee6f87c
all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692)
3 years ago
Jordan Whited 76389d8baf
net/tstun, wgengine/magicsock: enable vectorized I/O on Linux (#6663)
3 years ago
Joe Tsai 35c10373b5
types/logid: move logtail ID types here (#6336)
3 years ago
Joe Tsai a3602c28bd
wgengine/netlog: embed the StableNodeID of the authoring node (#6105)
4 years ago
Joe Tsai 82f5f438e0
wgengine/wgcfg: plumb down audit log IDs (#5855)
4 years ago
Andrew Dunham d6c3588ed3
wgengine/wgcfg: only write peer headers if necessary (#5449)
4 years ago
Brad Fitzpatrick a12aad6b47 all: convert more code to use net/netip directly
4 years ago
Brad Fitzpatrick 6a396731eb all: use various net/netip parse funcs directly
4 years ago
Brad Fitzpatrick 7eaf5e509f net/netaddr: start migrating to net/netip via new netaddr adapter package
4 years ago
Maisem Ali e409e59a54 cmd/cloner,util/codegen: refactor cloner internals to allow reuse
4 years ago
James Tucker f9e86e64b7 *: use WireGuard where logged, printed or named
4 years ago
Josh Bleecher Snyder 0868329936 all: use any instead of interface{}
4 years ago
Josh Bleecher Snyder 5f176f24db go.mod: upgrade to the latest wireguard-go
4 years ago
Maisem Ali 72d8672ef7 tailcfg: make Node.Hostinfo a HostinfoView
4 years ago
Josh Bleecher Snyder 85184a58ed wgengine/wgcfg: recover from mismatched PublicKey/Endpoints
5 years ago
David Anderson 41da7620af go.mod: update wireguard-go to pick up roaming toggle
5 years ago
David Anderson 0532eb30db all: replace tailcfg.DiscoKey with key.DiscoPublic.
5 years ago
Josh Bleecher Snyder c467ed0b62 wgengine/wgcfg: always close io.Pipe
5 years ago
David Anderson 7e6a1ef4f1 tailcfg: use key.NodePublic in wire protocol types.
5 years ago
David Anderson ef241f782e wgengine/magicsock: remove uses of tailcfg.DiscoKey.
5 years ago
David Anderson 6e5175373e types/netmap: use new node key type.
5 years ago
David Anderson 3164c7410e wgengine/wgcfg: remove unused helper function.
5 years ago