Commit Graph

120 Commits (7f83f9fc832b17626e94de308cf37a29e04cd555)

Author SHA1 Message Date
Andrew Dunham 5708fc0639 wgengine/router: print Docker warning when stateful filtering is enabled 2 years ago
Andrew Lytvynov c28f5767bf
various: implement stateful firewalling on Linux (#12025) 2 years ago
Brad Fitzpatrick 745931415c health, all: remove health.Global, finish plumbing health.Tracker 2 years ago
Brad Fitzpatrick 952e06aa46 wgengine/router: don't attempt route cleanup on Synology 2 years ago
James Tucker db760d0bac cmd/tailscaled: move cleanup to an implicit action during startup 2 years ago
Joonas Kuorilehto fe0cfec4ad wgengine/router: enable ip forwarding on gokrazy 2 years ago
Irbe Krumina 5fb721d4ad
util/linuxfw,wgengine/router: skip IPv6 firewall configuration in partial iptables mode (#11546) 2 years ago
James Tucker 3f7313dbdb util/linuxfw,wgengine/router: enable IPv6 configuration when netfilter is disabled 2 years ago
Jason Barnett 4d668416b8 wgengine/router: fix ip rule restoration 2 years ago
Andrew Lytvynov 1302bd1181
all: cleanup unused code, part 1 (#10661) 2 years ago
Naman Sood d46a4eced5
util/linuxfw, wgengine: allow ingress to magicsock UDP port on Linux (#10370) 2 years ago
Naman Sood 0a59754eda linuxfw,wgengine/route,ipn: add c2n and nodeattrs to control linux netfilter 2 years ago
James Tucker 215f657a5e wgengine/router: create netfilter runner in setNetfilterMode 2 years ago
Maisem Ali 05a1f5bf71 util/linuxfw: move detection logic 3 years ago
KevinLiang10 93cab56277 wgengine/router: fall back and set iptables as default again 3 years ago
KevinLiang10 7ed3681cbe tailcfg: Add FirewallMode to NetInfo to record wether host using iptables or nftables 3 years ago
Brad Fitzpatrick 25a8daf405 wgengine/router: always use nftables mode on gokrazy 3 years ago
KevinLiang10 411e3364a9 wgengine/router: use iptablesRunner when no firewall tool is available: 3 years ago
KevinLiang10 ae63c51ff1 wgengine/router: add auto selection heuristic for iptables/nftables 3 years ago
KevinLiang10 a3c7b21cd1 util/linuxfw: add nftables support 3 years ago
KevinLiang10 243ce6ccc1 util/linuxfw: decoupling IPTables logic from linux router 3 years ago
Brad Fitzpatrick a874f1afd8 all: adjust case of "IPv4" and "IPv6" 3 years ago
Mihai Parparita 4722f7e322 all: move network monitoring from wgengine/monitor to net/netmon 3 years ago
James Tucker 7b73c9628d version/distro,wgengine/router: raise WSL eth0 MTU when too low 3 years ago
Will Norris 71029cea2d all: update copyright and license headers 3 years ago
Jordan Whited ea5ee6f87c
all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692) 3 years ago
Maisem Ali 74637f2c15 wgengine/router: [linux] add before deleting interface addrs 4 years ago
Josh Soref d4811f11a0 all: fix spelling mistakes 4 years ago
Tom DNetto ab591906c8 wgengine/router: Increase range of rule priorities when detecting mwan3 4 years ago
Eng Zer Jun f0347e841f refactor: move from io/ioutil to io and os packages 4 years ago
Brad Fitzpatrick 74674b110d envknob: support changing envknobs post-init 4 years ago
Tom DNetto f6da2220d3 wgengine: set fwmark masks in netfilter & ip rules 4 years ago
Tom DNetto ed2b8b3e1d wgengine/router: reduce routing rule priority for openWRT + mwan3 4 years ago
Brad Fitzpatrick 4950fe60bd syncs, all: move to using Go's new atomic types instead of ours 4 years ago
Brad Fitzpatrick a12aad6b47 all: convert more code to use net/netip directly 4 years ago
Brad Fitzpatrick 7eaf5e509f net/netaddr: start migrating to net/netip via new netaddr adapter package 4 years ago
Brad Fitzpatrick 469c30c33b ipn/localapi: define a cert dir for Synology DSM6 4 years ago
Brad Fitzpatrick 53588f632d Revert "wgengine/router,util/kmod: load & log xt_mark" 4 years ago
James Tucker 8d6793fd70 wgengine/router,util/kmod: load & log xt_mark 4 years ago
Brad Fitzpatrick 0ce67ccda6 wgengine/router: make supportsV6NAT check catch more cases 4 years ago
Josh Bleecher Snyder 0868329936 all: use any instead of interface{} 4 years ago
Brad Fitzpatrick 26f27a620a wgengine/router: delete legacy netfilter rule cleanup [Linux] 4 years ago
Brad Fitzpatrick 41fd4eab5c envknob: add new package for all the strconv.ParseBool(os.Getenv(..)) 4 years ago
Brad Fitzpatrick 946dfec98a wgengine/router: fix checkIPRuleSupportsV6 to actually use IPv6 4 years ago
Brad Fitzpatrick 9259377a7f wgengine/router: don't assume Linux was built with IP_MULTIPLE_TABLES 4 years ago
Brad Fitzpatrick 0350cf0438 wgengine{,/router}: annotate some more errors 4 years ago
Brad Fitzpatrick d24ed3f68e wgengine/router: add debug knob to resort to Linux "ip" command usage 4 years ago
Josh Bleecher Snyder 3fd5f4380f util/multierr: new package 5 years ago
Brad Fitzpatrick 408b0923a6 wgengine/router: remove last non-test "ip" command usage on Linux 5 years ago
Brad Fitzpatrick ff1954cfd9 wgengine/router: use netlink for ip rules on Linux 5 years ago