<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tailscale/util/linuxfw/iptables_runner_test.go, branch awly/deadcode-linuxfwtest</title>
<subtitle>The easiest, most secure way to use WireGuard and 2FA</subtitle>
<id>http://git.waynecole.info/tailscale/atom?h=awly%2Fdeadcode-linuxfwtest</id>
<link rel='self' href='http://git.waynecole.info/tailscale/atom?h=awly%2Fdeadcode-linuxfwtest'/>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/'/>
<updated>2026-04-14T20:45:06Z</updated>
<entry>
<title>util/linuxfw,wgengine/router: allow incoming CGNAT range traffic with nodeattr</title>
<updated>2026-04-14T20:45:06Z</updated>
<author>
<name>Naman Sood</name>
<email>mail@nsood.in</email>
</author>
<published>2026-04-14T20:45:06Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=6301a6ce4b7b98fcf76d673b2ed74d156d4fc48a'/>
<id>urn:sha1:6301a6ce4b7b98fcf76d673b2ed74d156d4fc48a</id>
<content type='text'>
Clients with the newly added node attribute
`"disable-linux-cgnat-drop-rule"` will not automatically drop inbound
traffic on non-Tailscale network interfaces with the source IP in the
CGNAT IP range. This is an initial proof-of-concept for enabling
connectivity with off-Tailnet CGNAT endpoints.

Fixes tailscale/corp#36270.

Signed-off-by: Naman Sood &lt;mail@nsood.in&gt;</content>
</entry>
<entry>
<title>util/linuxfw: fix nil pointer panic in connmark rules without IPv6 (#18946)</title>
<updated>2026-03-10T19:19:15Z</updated>
<author>
<name>Mike O'Driscoll</name>
<email>mikeo@tailscale.com</email>
</author>
<published>2026-03-10T19:19:15Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=021de2e1bc8d5d4ab66d4f4f5c560dc585ae3ae0'/>
<id>urn:sha1:021de2e1bc8d5d4ab66d4f4f5c560dc585ae3ae0</id>
<content type='text'>
When IPv6 is unavailable on a system, AddConnmarkSaveRule() and
DelConnmarkSaveRule() would panic with a nil pointer dereference.
Both methods directly iterated over []iptablesInterface{i.ipt4, i.ipt6}
without checking if ipt6 was nil.

Use `getTables()` instead to properly retrieve the available tables
on a given system

Fixes #3310

Signed-off-by: Mike O'Driscoll &lt;mikeo@tailscale.com&gt;</content>
</entry>
<entry>
<title>all: remove AUTHORS file and references to it</title>
<updated>2026-01-23T23:49:45Z</updated>
<author>
<name>Will Norris</name>
<email>will@tailscale.com</email>
</author>
<published>2026-01-23T21:21:57Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=3ec5be3f510f74738179c1023468343a62a7e00f'/>
<id>urn:sha1:3ec5be3f510f74738179c1023468343a62a7e00f</id>
<content type='text'>
This file was never truly necessary and has never actually been used in
the history of Tailscale's open source releases.

A Brief History of AUTHORS files
---

The AUTHORS file was a pattern developed at Google, originally for
Chromium, then adopted by Go and a bunch of other projects. The problem
was that Chromium originally had a copyright line only recognizing
Google as the copyright holder. Because Google (and most open source
projects) do not require copyright assignemnt for contributions, each
contributor maintains their copyright. Some large corporate contributors
then tried to add their own name to the copyright line in the LICENSE
file or in file headers. This quickly becomes unwieldy, and puts a
tremendous burden on anyone building on top of Chromium, since the
license requires that they keep all copyright lines intact.

The compromise was to create an AUTHORS file that would list all of the
copyright holders. The LICENSE file and source file headers would then
include that list by reference, listing the copyright holder as "The
Chromium Authors".

This also become cumbersome to simply keep the file up to date with a
high rate of new contributors. Plus it's not always obvious who the
copyright holder is. Sometimes it is the individual making the
contribution, but many times it may be their employer. There is no way
for the proejct maintainer to know.

Eventually, Google changed their policy to no longer recommend trying to
keep the AUTHORS file up to date proactively, and instead to only add to
it when requested: https://opensource.google/docs/releasing/authors.
They are also clear that:

&gt; Adding contributors to the AUTHORS file is entirely within the
&gt; project's discretion and has no implications for copyright ownership.

It was primarily added to appease a small number of large contributors
that insisted that they be recognized as copyright holders (which was
entirely their right to do). But it's not truly necessary, and not even
the most accurate way of identifying contributors and/or copyright
holders.

In practice, we've never added anyone to our AUTHORS file. It only lists
Tailscale, so it's not really serving any purpose. It also causes
confusion because Tailscalars put the "Tailscale Inc &amp; AUTHORS" header
in other open source repos which don't actually have an AUTHORS file, so
it's ambiguous what that means.

Instead, we just acknowledge that the contributors to Tailscale (whoever
they are) are copyright holders for their individual contributions. We
also have the benefit of using the DCO (developercertificate.org) which
provides some additional certification of their right to make the
contribution.

The source file changes were purely mechanical with:

    git ls-files | xargs sed -i -e 's/\(Tailscale Inc &amp;\) AUTHORS/\1 contributors/g'

Updates #cleanup

Change-Id: Ia101a4a3005adb9118051b3416f5a64a4a45987d
Signed-off-by: Will Norris &lt;will@tailscale.com&gt;
</content>
</entry>
<entry>
<title>tsconst, util/linuxfw, wgengine/router: move Linux fw consts to tsconst</title>
<updated>2025-09-28T15:02:50Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@tailscale.com</email>
</author>
<published>2025-09-27T20:07:05Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=475b520aa2d1cced66f6134712991944068287c9'/>
<id>urn:sha1:475b520aa2d1cced66f6134712991944068287c9</id>
<content type='text'>
Now cmd/derper doesn't depend on iptables, nftables, and netlink code :)

But this is really just a cleanup step I noticed on the way to making
tsnet applications able to not link all the OS router code which they
don't use.

Updates #17313

Change-Id: Ic7b4e04e3a9639fd198e9dbeb0f7bae22a4a47a9
Signed-off-by: Brad Fitzpatrick &lt;bradfitz@tailscale.com&gt;
</content>
</entry>
<entry>
<title>util/linuxfw, feature/buildfeatures: add ts_omit_iptables to make IPTables optional</title>
<updated>2025-09-27T18:39:15Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@tailscale.com</email>
</author>
<published>2025-09-26T23:19:12Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=dd615c8fdd6c225ae9da777a47dbbecf08478472'/>
<id>urn:sha1:dd615c8fdd6c225ae9da777a47dbbecf08478472</id>
<content type='text'>
Updates #12614

Change-Id: Ic0eba982aa8468a55c63e1b763345f032a55b4e2
Signed-off-by: Brad Fitzpatrick &lt;bradfitz@tailscale.com&gt;
</content>
</entry>
<entry>
<title>cmd/containerboot,util/linuxfw: create a SNAT rule for dst/src only once, clean up if needed (#13658)</title>
<updated>2024-10-03T19:15:00Z</updated>
<author>
<name>Irbe Krumina</name>
<email>irbe@tailscale.com</email>
</author>
<published>2024-10-03T19:15:00Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=9bd158cc09d926c4dd6a9311c3fd68a4ed01a6b1'/>
<id>urn:sha1:9bd158cc09d926c4dd6a9311c3fd68a4ed01a6b1</id>
<content type='text'>
The AddSNATRuleForDst rule was adding a new rule each time it was called including:
- if a rule already existed
- if a rule matching the destination, but with different desired source already existed

This was causing issues especially for the in-progress egress HA proxies work,
where the rules are now refreshed more frequently, so more redundant rules
were being created.

This change:
- only creates the rule if it doesn't already exist
- if a rule for the same dst, but different source is found, delete it
- also ensures that egress proxies refresh firewall rules
if the node's tailnet IP changes

Updates tailscale/tailscale#13406

Signed-off-by: Irbe Krumina &lt;irbe@tailscale.com&gt;</content>
</entry>
<entry>
<title>util/linuxfw,go.{mod,sum}: don't log errors when deleting non-existant chains and rules (#11852)</title>
<updated>2024-04-23T20:08:18Z</updated>
<author>
<name>Irbe Krumina</name>
<email>irbe@tailscale.com</email>
</author>
<published>2024-04-23T20:08:18Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=add62af7c6031d174e5e5747025441d0e5c856d4'/>
<id>urn:sha1:add62af7c6031d174e5e5747025441d0e5c856d4</id>
<content type='text'>
This PR bumps iptables to a newer version that has a function to detect
'NotExists' errors and uses that function to determine whether errors
received on iptables rule and chain clean up are because the rule/chain
does not exist- if so don't log the error.

Updates corp#19336

Signed-off-by: Irbe Krumina &lt;irbe@tailscale.com&gt;</content>
</entry>
<entry>
<title>util/linuxfw: move fake runner into pkg</title>
<updated>2023-10-11T18:48:43Z</updated>
<author>
<name>Maisem Ali</name>
<email>maisem@tailscale.com</email>
</author>
<published>2023-10-11T17:11:56Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=aad35843190a75a0ec0a5355cbd62f72cdeb8983'/>
<id>urn:sha1:aad35843190a75a0ec0a5355cbd62f72cdeb8983</id>
<content type='text'>
This allows using the fake runner in different packages
that need to manage filter rules.

Updates #cleanup

Signed-off-by: Maisem Ali &lt;maisem@tailscale.com&gt;
</content>
</entry>
<entry>
<title>util/linuxfw: add missing input rule to the tailscale tun</title>
<updated>2023-10-11T00:22:47Z</updated>
<author>
<name>James Tucker</name>
<email>james@tailscale.com</email>
</author>
<published>2023-08-25T01:15:03Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=ba6ec42f6d5558d04b683755aca63f88b1f2d5fc'/>
<id>urn:sha1:ba6ec42f6d5558d04b683755aca63f88b1f2d5fc</id>
<content type='text'>
Add an explicit accept rule for input to the tun interface, as a mirror
to the explicit rule to accept output from the tun interface.

The rule matches any packet in to our tun interface and accepts it, and
the rule is positioned and prioritized such that it should be evaluated
prior to conventional ufw/iptables/nft rules.

Updates #391
Fixes #7332
Updates #9084

Signed-off-by: James Tucker &lt;james@tailscale.com&gt;
</content>
</entry>
<entry>
<title>util/linuxfw: decoupling IPTables logic from linux router</title>
<updated>2023-06-27T23:54:27Z</updated>
<author>
<name>KevinLiang10</name>
<email>kevinliang@tailscale.com</email>
</author>
<published>2023-06-16T18:54:58Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=243ce6ccc1a3e032e3d4a014e7dd09a9379c3c42'/>
<id>urn:sha1:243ce6ccc1a3e032e3d4a014e7dd09a9379c3c42</id>
<content type='text'>
This change is introducing new netfilterRunner interface and moving iptables manipulation to a lower leveled iptables runner.

For #391

Signed-off-by: KevinLiang10 &lt;kevinliang@tailscale.com&gt;
</content>
</entry>
</feed>
