| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2020-07-27 | cmd/cloner, tailcfg: fix nil vs len 0 issues, add tests, use for Hostinfoclone | Brad Fitzpatrick | 4 | -24/+66 | |
| Also use go:generate and https://golang.org/s/generatedcode header style. | |||||
| 2020-07-27 | version: new week, new version | Brad Fitzpatrick | 1 | -1/+1 | |
| 2020-07-27 | go mod tidy | Brad Fitzpatrick | 2 | -4/+1 | |
| 2020-07-27 | wgengine/magicsock: log better with less spam on transition to stopped state | Brad Fitzpatrick | 2 | -6/+20 | |
| Required a minor test update too, which now needs a private key to get far enough to test the thing being tested. | |||||
| 2020-07-27 | derp/derphttp: don't return all nil from dialRegion when STUNOnly nodes | Brad Fitzpatrick | 1 | -0/+3 | |
| 2020-07-27 | tailcfg: generate some Clone methods | David Crawshaw | 2 | -44/+65 | |
| Signed-off-by: David Crawshaw <crawshaw@tailscale.com> | |||||
| 2020-07-27 | cmd/cloner: tool to generate Clone methods | David Crawshaw | 1 | -0/+264 | |
| Signed-off-by: David Crawshaw <crawshaw@tailscale.com> | |||||
| 2020-07-25 | wgengine/magicsock: remove overkill, slow reflect.DeepEqual of NetworkMap | Brad Fitzpatrick | 1 | -2/+14 | |
| No need to allocate or compare all the fields we don't care about. | |||||
| 2020-07-25 | control/controlclient: remove unused, slow, often-not-what-you-want ↵ | Brad Fitzpatrick | 1 | -21/+0 | |
| NetworkMap.Equal | |||||
| 2020-07-25 | wgengine: add debug knob to disable the watchdog during debugging | Brad Fitzpatrick | 1 | -0/+5 | |
| It launches goroutines and interferes with panic-based debugging, obscuring stacks. | |||||
| 2020-07-24 | wgengine/magicsock: refactor twoDevicePing to make stack construction cleaner. | David Anderson | 1 | -163/+163 | |
| Signed-off-by: David Anderson <danderson@tailscale.com> | |||||
| 2020-07-24 | ipn: add OSVersion, DeviceModel fields to Prefs and propagate to Hostinfos | Elias Naur | 3 | -7/+21 | |
| Needed for Android. Signed-off-by: Elias Naur <mail@eliasnaur.com> | |||||
| 2020-07-24 | wgengine: configure wireguard peers lazily, as needed | Brad Fitzpatrick | 4 | -78/+410 | |
| wireguard-go uses 3 goroutines per peer (with reasonably large stacks & buffers). Rather than tell wireguard-go about all our peers, only tell it about peers we're actively communicating with. That means we need hooks into magicsock's packet receiving path and tstun's packet sending path to lazily create a wireguard peer on demand from the network map. This frees up lots of memory for iOS (where we have almost nothing left for larger domains with many users). We should ideally do this in wireguard-go itself one day, but that'd be a pretty big change. Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> | |||||
| 2020-07-24 | wgengine/magicsock: don't log about disco ping timeouts if we have a working ↵ | Brad Fitzpatrick | 1 | -6/+16 | |
| address Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> | |||||
| 2020-07-24 | go.mod: bump wireguard-go | Brad Fitzpatrick | 2 | -1/+3 | |
| 2020-07-24 | wgengine/tstun: move sync.Pool to package global | Brad Fitzpatrick | 1 | -12/+9 | |
| sync.Pools should almost always be packate globals, even though in this case we only have exactly 1 TUN device anyway, so it matters less. Still, it's unusual to see a Pool that's not a package global, so move it. | |||||
| 2020-07-23 | cmd/tailscaled: always flush logs properly | Dmytro Shynkevych | 1 | -31/+63 | |
| Signed-off-by: Dmytro Shynkevych <dmytro@tailscale.com> | |||||
| 2020-07-23 | cmd/tailscale: rename use-dns to accept-dns | Dmytro Shynkevych | 1 | -3/+3 | |
| Signed-off-by: Dmytro Shynkevych <dmytro@tailscale.com> | |||||
| 2020-07-23 | cmd/tailscale: add corpDNS flag | Dmytro Shynkevych | 1 | -0/+3 | |
| Signed-off-by: Dmytro Shynkevych <dmytro@tailscale.com> | |||||
| 2020-07-23 | wgengine/router: support legacy resolvconf | Dmytro Shynkevych | 1 | -2/+57 | |
| Signed-off-by: Dmytro Shynkevych <dmytro@tailscale.com> | |||||
| 2020-07-23 | control/controlclient: rewrite, test NetworkMap.ConciseDiffFrom | Brad Fitzpatrick | 2 | -63/+300 | |
| It stood out a lot in hello.ipn.dev's profiles for generating a lot of garbage (and thus GC CPU). | |||||
| 2020-07-23 | tailcfg: optimize Node.Equal allocs a bit | Brad Fitzpatrick | 1 | -5/+39 | |
| Noticed while working on something else. | |||||
| 2020-07-23 | control/controlclient: rename uflags, give it a type, remove dead code | Brad Fitzpatrick | 2 | -36/+22 | |
| 2020-07-23 | control/controlclient: generate wireguard config w/o WgQuick text indirection | Brad Fitzpatrick | 1 | -66/+53 | |
| 2020-07-22 | cmd/tailscale: default to not reporting daemon version | Brad Fitzpatrick | 1 | -1/+1 | |
| That's what I meant to do when I added "tailscale version" but apparently I didn't. | |||||
| 2020-07-22 | wgengine/router: don't use 88 or 8888 as table/rule numbers. | David Anderson | 2 | -40/+55 | |
| We originally picked those numbers somewhat at random, but with the idea that 8 is a traditionally lucky number in Chinese culture. Unfortunately, "88" is also neo-nazi shorthand language. Use 52 instead, because those are the digits above the letters "TS" (tailscale) on a qwerty keyboard, so we're unlikely to collide with other users. 5, 2 and 52 are also pleasantly culturally meaningless. Signed-off-by: David Anderson <danderson@tailscale.com> | |||||
| 2020-07-22 | ipn: load hostname in Start. | Dmytro Shynkevych | 1 | -0/+3 | |
| This prevents hostname being forced to os.Hostname despite override when control is contacted for the first time after starting tailscaled. Signed-off-by: Dmytro Shynkevych <dmytro@tailscale.com> | |||||
| 2020-07-22 | ipn: remove unused parameter to func LoadPrefs, fix godoc subject | Brad Fitzpatrick | 2 | -5/+4 | |
| 2020-07-22 | wgengine/router: fix router_test to match the new marks. | David Anderson | 1 | -16/+16 | |
| Signed-off-by: David Anderson <danderson@tailscale.com> | |||||
| 2020-07-22 | wgengine/router: switch packet marks to avoid conflict with Weave Net. | David Anderson | 2 | -3/+3 | |
| Signed-off-by: David Anderson <danderson@tailscale.com> | |||||
| 2020-07-21 | tempfork: add lite fork of net/http/pprof w/o html/template or reflect | Brad Fitzpatrick | 3 | -0/+386 | |
| 2020-07-21 | cmd/tailscale: add "version" subcommand | Brad Fitzpatrick | 2 | -1/+76 | |
| Fixes #448 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> | |||||
| 2020-07-20 | version: new week, new version | Brad Fitzpatrick | 1 | -1/+1 | |
| 2020-07-20 | tailcfg: add Hostinfo.OSVersion, DeviceModel | Brad Fitzpatrick | 2 | -1/+4 | |
| Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> | |||||
| 2020-07-20 | safesocket: gofmt | Brad Fitzpatrick | 1 | -3/+3 | |
| gofmt differences between versions :( | |||||
| 2020-07-20 | safesocket: support connecting to Mac TCP server from within App Sandbox | Brad Fitzpatrick | 2 | -22/+67 | |
| 2020-07-19 | metrics: add LabelMap.GetFloat | Brad Fitzpatrick | 1 | -0/+7 | |
| 2020-07-18 | wgengine/magicsock: fix typo in commentv0.100.0-153 | Brad Fitzpatrick | 1 | -1/+1 | |
| 2020-07-18 | wgengine/magicsock: reduce log verbosity of discovery messages | Brad Fitzpatrick | 1 | -28/+72 | |
| Don't log heartbeat pings & pongs. Track the reason for pings and then only log the ping/pong traffic if it was for initial path discovery. | |||||
| 2020-07-18 | go.sum: update | Brad Fitzpatrick | 1 | -0/+2 | |
| 2020-07-18 | go.mod: bump netaddr. | Dmytro Shynkevych | 2 | -8/+3 | |
| Closes #567. Signed-off-by: Dmytro Shynkevych <dmytro@tailscale.com> | |||||
| 2020-07-18 | wgengine/router: use better NetworkManager API | Dmytro Shynkevych | 2 | -58/+47 | |
| Signed-off-by: Dmytro Shynkevych <dmytro@tailscale.com> | |||||
| 2020-07-17 | Use LittleEndian for correct byte order on DNS IPs | Eduardo Kienetz | 1 | -1/+1 | |
| Nameserver IP 10.11.12.13 would otherwise get written to resolv.conf as 13.12.11.10, as was happening on my client. Signed-off-by: Eduardo Kienetz <eduardo@kienetz.com> | |||||
| 2020-07-16 | derp: fix atomic padding on 32-bit again | Brad Fitzpatrick | 1 | -1/+6 | |
| Broken by earlier OnlyDisco addition. | |||||
| 2020-07-16 | wgengine/magicsock: run test DERP in mode where only disco packets allowed | Brad Fitzpatrick | 3 | -3/+29 | |
| So we don't accidentally pass a NAT traversal test by having DERP pick up our slack when we really just wanted DERP as an OOB messaging channel. | |||||
| 2020-07-16 | github/workflows: add go vet ./... step | Brad Fitzpatrick | 1 | -0/+3 | |
| 2020-07-16 | all: fix vet warnings | Brad Fitzpatrick | 6 | -11/+20 | |
| 2020-07-16 | wgengine/magicsock: update comment, fix earlier commit | Brad Fitzpatrick | 1 | -10/+10 | |
| https://github.com/tailscale/tailscale/commit/891898525c12630b0f896cb9142ff5274e07afc2 had a continue that meant the didCopy synchronization never ran. Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> | |||||
| 2020-07-16 | wgengine/magicsock: gofmt | Brad Fitzpatrick | 1 | -2/+2 | |
| 2020-07-16 | wgengine/magicsock: time.Sleep -> time.After | Dmytro Shynkevych | 1 | -1/+1 | |
| Signed-off-by: Dmytro Shynkevych <dmytro@tailscale.com> | |||||
