52 Commits (156cd53e7734407dc42e30af2f12cf6956cd9e24)

Author SHA1 Message Date
Brad Fitzpatrick 60d19fa00d all: use Go 1.21's binary.NativeEndian 1 year ago
Irbe Krumina 9bd158cc09
cmd/containerboot,util/linuxfw: create a SNAT rule for dst/src only once, clean up if needed (#13658) 2 years ago
Irbe Krumina 096b090caf
cmd/containerboot,kube,util/linuxfw: configure kube egress proxies to route to 1+ tailnet targets (#13531) 2 years ago
Brad Fitzpatrick cec779e771 util/slicesx: add FirstElementEqual and LastElementEqual 2 years ago
Maisem Ali 4d6a8224d5 util/linuxfw: fall back to nftables when iptables not found 2 years ago
Maisem Ali a917718353 util/linuxfw: return nil interface not concrete type 2 years ago
Brad Fitzpatrick c6af5bbfe8 all: add test for package comments, fix, add comments as needed 2 years ago
Tom Proctor 01a7726cf7
cmd/containerboot,cmd/k8s-operator: enable IPv6 for fqdn egress proxies (#12577) 2 years ago
Irbe Krumina 24a40f54d9
util/linuxfw: verify that IPv6 if available if (#12598) 2 years ago
Brad Fitzpatrick 909a292a8d util/linuxfw: don't try cleaning iptables on gokrazy 2 years ago
Irbe Krumina 7ef2f72135
util/linuxfw: fix IPv6 availability check for nftables (#12009) 2 years ago
Andrew Dunham 25e32cc3ae util/linuxfw: fix table name in DelStatefulRule 2 years ago
Anton Tolchanov ac638f32c0 util/linuxfw: fix stateful packet filtering in nftables mode 2 years ago
Andrew Lytvynov c28f5767bf
various: implement stateful firewalling on Linux (#12025) 2 years ago
Irbe Krumina add62af7c6
util/linuxfw,go.{mod,sum}: don't log errors when deleting non-existant chains and rules (#11852) 2 years ago
Irbe Krumina 3af0f526b8
cmd{containerboot,k8s-operator},util/linuxfw: support ExternalName Services (#11802) 2 years ago
James Tucker db760d0bac cmd/tailscaled: move cleanup to an implicit action during startup 2 years ago
Irbe Krumina 1fbaf26106
util/linuxfw: fix chain comparison (#11639) 2 years ago
Irbe Krumina 92ca770b8d
util/linuxfw: fix MSS clamping in nftables mode (#11588) 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
James Tucker 055117ad45
util/linuxfw: fix support for containers without IPv6 iptables filters (#11381) 2 years ago
James Tucker 43fba6e04d
util/linuxfw: correct logical error in NAT table check (#11380) 2 years ago
Irbe Krumina 90c4067010
util/linuxfw: add container-friendly IPv6 NAT check (#11353) 2 years ago
Irbe Krumina 097c5ed927
util/linuxfw: insert rather than append nftables DNAT rule (#11303) 2 years ago
Brad Fitzpatrick 2bd3c1474b util/cmpx: delete now that we're using Go 1.22 2 years ago
James Tucker 0b16620b80 .github/workflows: add privileged tests workflow 2 years ago
Andrew Lytvynov 2716250ee8
all: cleanup unused code, part 2 (#10670) 2 years ago
Irbe Krumina 0cdc8e20d6
util/linuxfw: return created chain (#10563) 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
Maisem Ali 62d580f0e8 util/linuxfw: add missing error checks in tests 3 years ago
Maisem Ali c3a8e63100 util/linuxfw: add additional nftable detection logic 3 years ago
Maisem Ali b47cf04624 util/linuxfw: fix broken tests 3 years ago
Maisem Ali fbfee6a8c0 cmd/containerboot: use linuxfw.NetfilterRunner 3 years ago
Maisem Ali aad3584319 util/linuxfw: move fake runner into pkg 3 years ago
Maisem Ali 05a1f5bf71 util/linuxfw: move detection logic 3 years ago
James Tucker ba6ec42f6d util/linuxfw: add missing input rule to the tailscale tun 3 years ago
James Tucker 2066f9fbb2 util/linuxfw: fix crash in DelSNATRule when no rules are found 3 years ago
Craig Rodrigues 8452d273e3 util/linuxfw: Fix comment which lists supported linux arches 3 years ago
Craig Rodrigues 8683ce78c2 client/web, clientupdate, util/linuxfw, wgengine/magicsock: Use %v verb for errors 3 years ago
Brad Fitzpatrick 1b223566dd util/linuxfw: fix typo in unexported doc comment 3 years ago
KevinLiang10 b040094b90 util/linuxfw: reorganize nftables rules to allow it to work with ufw 3 years ago
Brad Fitzpatrick 7a5263e6d0 util/linuxfw: rename ErrorFWModeNotSupported 3 years ago
KevinLiang10 ae63c51ff1 wgengine/router: add auto selection heuristic for iptables/nftables 3 years ago
Brad Fitzpatrick 88cc0ad9f7 util/linuxfw: remove yet-unused code to fix linux/arm64 crash 3 years ago
KevinLiang10 a3c7b21cd1 util/linuxfw: add nftables support 3 years ago
KevinLiang10 6ebd87c669 util/linuxfw: add new arch build constraints 3 years ago
KevinLiang10 243ce6ccc1 util/linuxfw: decoupling IPTables logic from linux router 3 years ago
Brad Fitzpatrick eefee6f149 all: use cmpx.Or where it made sense 3 years ago