Commit Graph

101 Commits (869b34ddeb4175df2b08cdc3d6cd9a350ec81059)

Author SHA1 Message Date
Anton Tolchanov ef6a6e94f1 derp/derphttp: use a getter method to read server key 2 years ago
Brad Fitzpatrick b2b836214c derp/derphttp: fix derptrack fix 2 years ago
Anton Tolchanov c3313133b9 derp/derphttp: close DERP client to avoid data race in test 2 years ago
Anton Tolchanov 3114a1c88d derp/derphttp: add watch reconnection tests from #9719 3 years ago
Brad Fitzpatrick 3d7fb6c21d derp/derphttp: fix race in mesh watcher 3 years ago
Thomas Kosiewski b2ae8fdf80
derp/derphttp: strip port numbers from URL hostname 3 years ago
David Anderson 8b492b4121 net/wsconn: accept a remote addr string and plumb it through 3 years ago
Brad Fitzpatrick 3bce9632d9 derp/derphttp: fix data race and crash in proxy dial error path 3 years ago
Brad Fitzpatrick 6c791f7d60 derp: include src IPs in mesh watch messages 3 years ago
Brad Fitzpatrick 5ebb271322 derp/derphttp: add optional Client.BaseContext hook 3 years ago
Claire Wang 90a7d3066c
derp: use tstime (#8634) 3 years ago
Brad Fitzpatrick eefee6f149 all: use cmpx.Or where it made sense 3 years ago
Mihai Parparita 7330aa593e all: avoid repeated default interface lookups 3 years ago
Mihai Parparita edb02b63f8 net/sockstats: pass in logger to sockstats.WithSockStats 3 years ago
valscale 7bfb7744b7
derp,magicsock: add debug envknobs for HTTP and derp server name (#7744) 3 years ago
valscale 74eb99aed1
derp, derphttp, magicsock: send new unknown peer frame when destination is unknown (#7552) 3 years ago
Anton Tolchanov 654b5a0616 derp: add optional debug logging for prober clients 3 years ago
Kyle Carberry 3862a1e1d5 derp/derphttp: cleanup WebSocket connection on close 3 years ago
Mihai Parparita 6ac6ddbb47 sockstats: switch label to enum 3 years ago
Mihai Parparita 9cb332f0e2 sockstats: instrument networking code paths 3 years ago
Brad Fitzpatrick cf8dd7aa09 all: use Go 1.20's bytes.Clone 3 years ago
Brad Fitzpatrick b1248442c3 all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork 3 years ago
Will Norris 71029cea2d all: update copyright and license headers 3 years ago
Mihai Parparita 33520920c3 all: use strs.CutPrefix and strs.CutSuffix more 3 years ago
Brad Fitzpatrick da8def8e13 all: remove old +build tags 4 years ago
Mihai Parparita 9d04ffc782 net/wsconn: add back custom wrapper for turning a websocket.Conn into a net.Conn 4 years ago
Mihai Parparita b2855cfd86 derp/derphttp: fix nil pointer dereference when closing a netcheck client 4 years ago
Josh Soref d4811f11a0 all: fix spelling mistakes 4 years ago
Eng Zer Jun f0347e841f refactor: move from io/ioutil to io and os packages 4 years ago
Maisem Ali a9f6cd41fd all: use syncs.AtomicValue 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
Charlotte Brandhorst-Satzkorn 4c0feba38e
derp: plumb '/derp' request context through (#5083) 4 years ago
Mihai Parparita edc90ebc61 net/wsconn: remove homegrown wrapper for turning a websocket.Conn into a net.Conn 4 years ago
Mihai Parparita a9f32656f5 control/controlhttp: allow client and server to communicate over WebSockets 4 years ago
Tom DNetto c8f4dfc8c0 derp/derphttp,net/netcheck: improve netcheck behavior under MITM proxies 4 years ago
Brad Fitzpatrick 730aa1c89c derp/derphttp, wgengine/magicsock: prefer IPv6 to DERPs when IPv6 works 4 years ago
Brad Fitzpatrick 70d71ba1e7 cmd/derpprobe: check derper TLS certs too 4 years ago
Brad Fitzpatrick 41fd4eab5c envknob: add new package for all the strconv.ParseBool(os.Getenv(..)) 4 years ago
Brad Fitzpatrick 2c94e3c4ad wgengine/magicsock: don't unconditionally close DERP connections on rebind 4 years ago
Brad Fitzpatrick 535b925d1b derp/derphttp: add Client.Ping, SendPing methods 4 years ago
Brad Fitzpatrick 434af15a04 derp: support client->server ping (and server->client pong) 4 years ago
Josh Bleecher Snyder 758c37b83d net/netns: thread logf into control functions 4 years ago
David Anderson 37c150aee1 derp: use new node key type. 5 years ago
Brad Fitzpatrick eebe7afad7 derp/derphttp: only log about a weird upgrade if any was specified 5 years ago
Brad Fitzpatrick 505f844a43 cmd/derper, derp/derphttp: add websocket support 5 years ago
Brad Fitzpatrick 7cf8ec8108 net/tlsdial: bake in LetsEncrypt's ISRG Root X1 root 5 years ago
Brad Fitzpatrick e422e9f4c9 cmd/derper: mesh over VPC network 5 years ago
Brad Fitzpatrick e299300b48 net/dnscache: cache all IPs per hostname 5 years ago