-
3ed2124356
ipn: Resolve some resource leaks in test.
Avery Pennarun
2020-05-21 16:30:20 -04:00
-
ea8f92b312
ipn/local: get rid of some straggling calls to the log module.
Avery Pennarun
2020-05-21 15:51:22 -04:00
-
af9328c1b7
log rate limiting: reformat limiter messages, and use nonempty burst size.
Avery Pennarun
2020-05-20 11:49:35 -04:00
-
f2db4ac277
cmd/tailscaled: SetGCPercent() if GOGC is not set.
Avery Pennarun
2020-05-20 11:40:34 -04:00
-
db051fb013
ipnserver and logpolicy: configure zstd with low-memory settings.
Avery Pennarun
2020-05-20 10:43:43 -04:00
-
d074ec6571
cmd/tailscaled: eliminate unnecessary use of an init() function.
Avery Pennarun
2020-05-20 10:42:57 -04:00
-
c5fcc38bf1
controlclient tests: fix more memory leaks and add resource checking.
Avery Pennarun
2020-05-20 11:08:24 -04:00
-
d03de31404
controlclient/direct: fix a race condition accessing auth keys.
Avery Pennarun
2020-05-19 02:51:27 -04:00
-
1013cda799
controlclient/auto_test: don't print the s.control object.
Avery Pennarun
2020-05-19 02:05:37 -04:00
-
806de4ac94
portlist: fix "readdirent: no such file or directory" errors on Linux.
Avery Pennarun
2020-05-19 01:48:55 -04:00
-
c97c45f268
ipn: sprinkle documentation and clarity rewrites through LocalBackend.
David Anderson
2020-05-19 02:32:20 +00:00
-
39d20e8a75
go.mod: bump wireguard-go version.
David Anderson
2020-05-18 21:03:48 +00:00
-
cd2f6679bb
go.mod: bump wireguard-go version.
David Anderson
2020-05-15 22:29:27 +00:00
-
7fb33123d3
wgengine/router: warn about another variation of busybox's
ip.
David Anderson
2020-05-15 20:47:46 +00:00
-
bb55694c95
wgengine: log node IDs when peers are added/removed (#381)
Wendi Yu
2020-05-15 14:13:44 -06:00
-
635f7b99f1
wgengine: pass tun.NativeDevice to router
Dmytro Shynkevych
2020-05-15 03:06:30 -04:00
-
9c914dc7dd
wgengine/router: stop using -m comment.
David Anderson
2020-05-15 06:53:03 +00:00
-
3e27b3c33c
wgengine/router: more comments.
David Anderson
2020-05-15 02:58:22 +00:00
-
0fe262f093
ipn: plumb NetfilterMode all the way out to the CLI.
David Anderson
2020-05-15 02:07:06 +00:00
-
c67c8913c3
wgengine/router: add a test for linux router state transitions.
David Anderson
2020-05-14 02:17:19 +00:00
-
292606a975
wgengine/router: support multiple levels of netfilter involvement.
David Anderson
2020-05-13 22:35:22 +00:00
-
cff53c6e6d
tailcfg: add DERP map structures
Brad Fitzpatrick
2020-05-13 22:26:25 -07:00
-
5ec7ac1d02
tstest: document PanicOnLog
Brad Fitzpatrick
2020-05-14 10:05:32 -07:00
-
e6d0c92b1d
wgengine/magicsock: clean up earlier fix a bit
Brad Fitzpatrick
2020-05-14 10:01:48 -07:00
-
d0754760e7
controlclient/auto_test: fix flake "peer OS is not linux" on macOS.
Avery Pennarun
2020-05-14 06:29:14 -04:00
-
8f8607b6bf
control/controlclient/auto_test: clean up logging to defeat 'go test' idiocy.
Avery Pennarun
2020-05-14 05:39:25 -04:00
-
d53e8fc0da
router_darwin_support: we can build this on every platform.
Avery Pennarun
2020-05-14 04:42:36 -04:00
-
3b1ce30967
Merge branch 'master' of github.com:tailscale/tailscale
Avery Pennarun
2020-05-14 02:56:49 -04:00
-
-
286f96e412
control/controlclient: fix a very rare httptest.Server log.Printf.
Avery Pennarun
2020-05-14 01:08:05 -04:00
-
040a0d5121
derp/derphttp: don't use x/net/proxy for SOCKS on iOS
Brad Fitzpatrick
2020-05-13 22:35:17 -07:00
-
fc88e34f42
wgengine/magicsock/tests: wait for home DERP connection before sending packets.
Avery Pennarun
2020-05-13 20:54:27 -04:00
-
4f128745d8
magicsock/test: oops, fix a data race in nested-test logf hack.
Avery Pennarun
2020-05-13 23:44:58 -04:00
-
-
42a0e0c601
wgengine/magicsock/tests: call tstest.ResourceCheck for each test.
Avery Pennarun
2020-05-13 23:03:46 -04:00
-
08acb502e5
Add tstest.PanicOnLog(), and fix various problems detected by this.
Avery Pennarun
2020-05-13 22:59:54 -04:00
-
e0b666c5d2
tstest.ResourceCheck: clarify success message.
Avery Pennarun
2020-05-13 19:56:49 -04:00
-
89a6f27cf8
Merge remote-tracking branch 'origin/master' into base
Avery Pennarun
2020-05-13 23:01:32 -04:00
-
-
a7edf11a40
{ipn,control/controlclient}/tests: pass a logf function to control.New().
Avery Pennarun
2020-05-13 22:43:47 -04:00
-
fe97bedf67
types/logger: add ArgWriter
Brad Fitzpatrick
2020-05-13 14:47:13 -07:00
-
33b2f30cea
wgengine: wrap tun.Device to support filtering and packet injection (#358)
Dmytro Shynkevych
2020-05-13 09:16:17 -04:00
-
-
9ccbcda612
wgengine/router: rename config.Settings to config.Config, make pointer.
David Anderson
2020-05-12 07:08:52 +00:00
-
72cae5504c
wgengine: generate and plumb router.Settings in from ipn.
David Anderson
2020-05-11 21:02:12 +00:00
-
e42ec4efba
derp/derphttp: use SOCKS/etc proxies for derphttp dials
Brad Fitzpatrick
2020-05-12 14:00:54 -07:00
-
3663797815
Reduce logspam from node with no peers
Wendi Yu
2020-05-12 10:14:37 -06:00
-
cd01bcc395
wgengine/router: allow loopback traffic from our own IP(s).
David Anderson
2020-05-11 23:41:29 +00:00
-
64f6104e63
portlist: reduce log spam/scariness for portlist in mac sandbox
Brad Fitzpatrick
2020-05-11 16:12:26 -07:00
-
bfdc8175b1
wgengine/router: add a setting to disable SNAT for subnet routes.
David Anderson
2020-05-11 20:16:52 +00:00
-
8eda667aa1
types/logger: simplify mutex locking in rate-limited logger
Brad Fitzpatrick
2020-05-08 20:37:17 -07:00
-
874be6566d
netcheck: DERP latency over HTTPS when UDP is blocked
halulu
2020-05-11 11:23:09 -04:00
-
8a3e77fc43
ipn, wgengine/filter: remove exported type aliases
Brad Fitzpatrick
2020-05-11 07:19:17 -07:00
-
8b0be7475b
cmd/tailscale: warn subnet route users if IP forwarding is off. #320
David Anderson
2020-05-11 06:07:48 +00:00
-
ad1cfe8bbe
cmd/tailscale: support IPs or CIDRs in -advertise-routes.
David Anderson
2020-05-11 01:47:37 +00:00
-
21ac65d3da
wgengine/router: explicitly detect and complain about busybox's
ip.
David Anderson
2020-05-10 23:53:02 +00:00
-
e00b814a24
Dockerfile: install iproute2 in the container image.
David Anderson
2020-05-10 23:46:09 +00:00
-
381b94d4d1
wgengine/router: include command output if
ip rule list fails.
David Anderson
2020-05-10 23:49:01 +00:00
-
e83d02ffd1
wgengine: don't double-close tundev on setup error.
David Anderson
2020-05-10 22:34:16 +00:00
-
efc1feedc9
wgengine/router: include more information when iptables ops fail.
David Anderson
2020-05-10 22:13:09 +00:00
-
529e2cb31a
ipn: add AllowVersionSkew bool to Notify & Message
Brad Fitzpatrick
2020-05-09 13:50:13 -07:00
-
fde384b359
Fix macOS build
Wendi Yu
2020-05-08 17:04:13 -06:00
-
e16f7e48a3
wgengine: simplify wgcfg.* to netaddr.* conversion.
David Anderson
2020-05-09 03:30:22 +00:00
-
48b1e85e8a
types/logger: fix deadlock in the burst case.
David Anderson
2020-05-09 02:52:03 +00:00
-
ccbd0937d0
wgengine: avoid v6 mapped v4 IPs when converting to netaddr types.
David Anderson
2020-05-08 23:31:31 +00:00
-
74d6ab995d
ipn/ipnstate: improve HTML output
Sylvain Rabot
2020-05-01 23:55:16 +02:00
-
0c69b4e00d
Implement rate limiting on log messages (#356)
Wendi Yu
2020-05-08 13:21:36 -06:00
-
499c8fcbb3
Replace our ratelimiter with standard rate package (#359)
Wendi Yu
2020-05-08 12:30:22 -06:00
-
b01db109f5
wgengine/router: use inet.af/netaddr, not wgcfg.CIDR.
David Anderson
2020-05-08 05:17:30 +00:00
-
b8f01eed34
wgengine/router: remove wireguard-go config from settings.
David Anderson
2020-05-08 01:07:13 +00:00
-
8861bb5a19
wgengine/router: alter API to support multiple addrs, and use on linux.
David Anderson
2020-05-08 00:18:18 +00:00
-
6802481bf5
wgengine/router: don't use gateway routes on linux.
David Anderson
2020-05-07 19:22:50 +00:00
-
78b1ed39ea
wgengine/router: add more documentation.
David Anderson
2020-05-07 18:30:37 +00:00
-
c9de43cd59
wgengine/router: fix typo.
David Anderson
2020-05-07 18:01:46 +00:00
-
89af51b84d
wgengine: plumb locally advertised subnet routes.
David Anderson
2020-05-07 17:48:11 +00:00
-
89198b1691
wgengine/router: rewrite netfilter and routing logic.
David Anderson
2020-05-01 18:55:38 -07:00
-
7618d7e677
wgengine/router: simplify some cmd invocations.
David Anderson
2020-04-30 22:34:49 -07:00
-
e3559d1c45
cmd/netcheck: better DERP latency checking output
Zijie Lu
2020-05-05 15:03:18 -04:00
-
46f4b18fe8
control/controlclient: revert extreneous synchronization.
Dmytro Shynkevych
2020-05-05 12:28:46 -04:00
-
3b94eabee3
control/controlclient: synchronize hostinfo test.
Dmytro Shynkevych
2020-05-05 10:13:24 -04:00
-
44b07aa708
netcheck: STUN less aggressively to known distant servers
Brad Fitzpatrick
2020-05-04 23:22:19 -07:00
-
828aa6dcb0
stunner: add Stunner.MaxTries option
Brad Fitzpatrick
2020-05-04 22:08:08 -07:00
-
495796fff1
derp/derpmap: add World.ForeachServer, check STUN server validity earlier
Brad Fitzpatrick
2020-05-04 22:06:02 -07:00
-
108237798d
controlclient and ipn tests: supply --advertise-tags and --advertise-routes.
Avery Pennarun
2020-05-05 01:42:20 -04:00
-
68a173bc24
cmd/mkpkg: support adding empty directories.
Dmytro Shynkevych
2020-05-04 16:10:14 -04:00
-
3b546dc29a
portlist: make two error paths have unique messages
Brad Fitzpatrick
2020-05-04 07:44:41 -07:00
-
fefd7e10dc
types/structs: add structs.Incomparable annotation, use it where applicable
Brad Fitzpatrick
2020-05-03 13:58:39 -07:00
-
7b901fdbbc
logpolicy: report the correct error
Elias Naur
2020-05-01 10:51:19 +02:00
-
0068e57407
go.mod,go.sum: bump golang.org/x/sys for the Android dup2 fix
Elias Naur
2020-05-01 10:34:58 +02:00
-
9d1f48032a
cmd/tailscale: add --advertise-tags option.
Avery Pennarun
2020-05-01 01:01:27 -04:00
-
5650f1ecf9
controlclient, ipn: adjust tests for tailscale.com keepalive change
David Crawshaw
2020-05-01 13:44:21 +10:00
-
c10f90357e
ipn/e2e_test: fix flaky logout state drain
David Crawshaw
2020-05-01 13:44:02 +10:00
-
657f331e8b
net/dnscache: remove unnecessary lint warning.
David Anderson
2020-04-30 20:31:01 -07:00
-
9396024bd7
portlist: move code around to avoid unused function warnings.
David Anderson
2020-04-30 20:30:47 -07:00
-
755fd9253c
wgengine/router: fix up docstring.
David Anderson
2020-04-30 13:37:30 -07:00
-
1ac570def7
wgengine/router: split out from wgengine.
David Anderson
2020-04-30 13:20:09 -07:00
-
ee3395e63a
wgengine/filter: fix linter warning.
Avery Pennarun
2020-04-30 06:16:53 -04:00
-
5e5e5db75f
Appease the "missing copyright header" check.
Avery Pennarun
2020-04-30 06:15:09 -04:00
-
65fbb9c303
wgengine/filter: support subnet mask rules, not just /32 IPs.
Avery Pennarun
2020-04-30 01:49:17 -04:00
-
d6c34368e8
ipn/local: differentiate Shields Up from Uninitialized in logs.
Avery Pennarun
2020-04-30 03:29:06 -04:00
-
64db026c8b
backoff: add a LogLongerThan configuration.
Avery Pennarun
2020-04-29 05:41:39 -04:00
-
ced9b4008a
ipn: clear the hostinfo.Services list when prefs.ShieldsUp==true.
Avery Pennarun
2020-04-29 05:23:29 -04:00
-
d7429b9a8d
Add prefs.ShieldsUp and --shields-up option.
Avery Pennarun
2020-04-29 02:37:35 -04:00
-
85e675940d
wgengine/filter: allow ICMP response packets.
Avery Pennarun
2020-04-29 03:53:32 -04:00