<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/data/templates/firewall, branch rolling</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-1x.git/atom?h=rolling</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=rolling'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2026-10-30T16:15:15+00:00</updated>
<entry>
<title>firewall: T9549: Fix default-firewall jump for VRF zone in local zone</title>
<updated>2026-10-30T16:15:15+00:00</updated>
<author>
<name>Nataliia Solomko</name>
<email>natalirs1985@gmail.com</email>
</author>
<published>2026-10-30T16:15:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=1e49a03309b6a7d661022d0559f180fe93c303fc'/>
<id>urn:sha1:1e49a03309b6a7d661022d0559f180fe93c303fc</id>
<content type='text'>
A local zone combined with a VRF-member zone that has default-firewall
failed to commit: the jump for the VRF device rendered with no target
("jump NAME_"), which nftables rejects. The rule now jumps to the
configured default-firewall.
</content>
</entry>
<entry>
<title>Merge pull request #5573 from c-po/firewall-fixes</title>
<updated>2026-10-19T19:02:41+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-10-19T19:02:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=040fab5100ac07a00246ee6cbe5440a8e52a19e7'/>
<id>urn:sha1:040fab5100ac07a00246ee6cbe5440a8e52a19e7</id>
<content type='text'>
firewall: T9474: multiple issues in rule processing (time based rules, fragment matching and failing commits)</content>
</entry>
<entry>
<title>nat66: T9475: rebuild NAT66 table when rule file and table drift apart</title>
<updated>2026-10-17T19:53:22+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-10-17T19:53:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=c01cf102163c93891b17a663790db6c2b8433301'/>
<id>urn:sha1:c01cf102163c93891b17a663790db6c2b8433301</id>
<content type='text'>
The NAT66 ruleset only deleted the existing table when its rule file in /run
was present. A table removed while the file stayed made the delete, and with
it every following commit, fail.

The table is now declared right before it is deleted, so each commit
rebuilds it regardless of what is currently loaded.
</content>
</entry>
<entry>
<title>nat: T9475: declare FQDN sets only once</title>
<updated>2026-10-17T19:53:02+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-10-17T19:53:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=8dd4034d984414ab168a60681aa822703cdca033'/>
<id>urn:sha1:8dd4034d984414ab168a60681aa822703cdca033</id>
<content type='text'>
The FQDN sets used by NAT rules were declared twice in the NAT table.
</content>
</entry>
<entry>
<title>nat: T9475: recover from stale nftables rule files</title>
<updated>2026-10-17T19:52:56+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-10-17T19:52:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=7e7839dc4c76e53d22b5557f022fa87fb152c35a'/>
<id>urn:sha1:7e7839dc4c76e53d22b5557f022fa87fb152c35a</id>
<content type='text'>
Whether the NAT tables already exist was derived from the rendered rule
files in /run. A failed commit could leave such a file behind without the
table, every later NAT commit then tried to delete a missing table and
failed with "Configuration file errors encountered!" until reboot.

The NAT and static NAT tables are now declared before they are deleted,
which succeeds whether or not they exist.
</content>
</entry>
<entry>
<title>firewall: T9474: keep fragment matching working alongside packet marks</title>
<updated>2026-10-17T19:43:07+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-10-17T19:43:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=dbde15e2dc1a0cfacdc7f8893434a3257a75a7e1'/>
<id>urn:sha1:dbde15e2dc1a0cfacdc7f8893434a3257a75a7e1</id>
<content type='text'>
Fragments were detected by overwriting the whole packet mark with a fixed
value before reassembly. Any later mark - a raw "set mark" or a policy route
"set table" - replaced it, so "fragment match-frag" no longer matched, and
marks already present on fragments were lost.

Fragments now only get bit 31 of the mark, which no configurable firewall or
routing policy mark uses:
- fragment matching tests the bit, mark matching ignores it
- firewall and policy route mark writers keep it
- policy route and local-route ip rules mask it while fragments are routed
- it is cleared after the forward and input filters, so later consumers such
  as QoS or IPVS see the original mark

WAN load-balancing still overwrites the mark and keeps the previous
behaviour for fragments.
</content>
</entry>
<entry>
<title>policy: T9474: rebuild PBR mangle tables when rule file and table drift apart</title>
<updated>2026-10-17T19:42:29+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-10-17T19:42:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=cc9e15daa0a8e766b32ad6aa0baea26675eaf9a6'/>
<id>urn:sha1:cc9e15daa0a8e766b32ad6aa0baea26675eaf9a6</id>
<content type='text'>
The policy route ruleset only deleted the existing mangle tables when its
rule file in /run was present. A table removed while the file stayed made
the delete, and with it every following commit, fail.

Both mangle tables are now declared right before they are deleted, so each
commit rebuilds them regardless of what is currently loaded.
</content>
</entry>
<entry>
<title>firewall: T9474: rebuild filter tables when rule file and table drift apart</title>
<updated>2026-10-17T19:42:20+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-10-17T19:42:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=514bd888a645667fdc2990b2e075a5e22f6e61bb'/>
<id>urn:sha1:514bd888a645667fdc2990b2e075a5e22f6e61bb</id>
<content type='text'>
The generated ruleset only deleted the existing tables when the rule file in
/run was present. If the file and the loaded tables drifted apart, e.g. a
table was removed while the file stayed, the delete failed and every
following commit failed with it.

The tables are now declared right before they are deleted, so the delete
succeeds whether or not the table exists and each commit rebuilds them from
scratch.
</content>
</entry>
<entry>
<title>T9152: Refactor source-validation to use vmaps</title>
<updated>2026-09-24T15:22:59+00:00</updated>
<author>
<name>l0crian1</name>
<email>ryan.claridge13@gmail.com</email>
</author>
<published>2026-08-11T02:53:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d15fb0e60f8f61fe8b965df571c74bf1c9e09fad'/>
<id>urn:sha1:d15fb0e60f8f61fe8b965df571c74bf1c9e09fad</id>
<content type='text'>
 - Reduced rule processing of source-validation rules through hashable objects
</content>
</entry>
<entry>
<title>T9152: Refactor source-validation to use vmaps</title>
<updated>2026-09-24T15:22:59+00:00</updated>
<author>
<name>l0crian1</name>
<email>ryan.claridge13@gmail.com</email>
</author>
<published>2026-08-01T21:56:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=3aed4c9c216375ff4f5ad3b0a000b6fd30836846'/>
<id>urn:sha1:3aed4c9c216375ff4f5ad3b0a000b6fd30836846</id>
<content type='text'>
 - Refactor source-validation to use vmaps
 - Update broken source-validation tests
 - Fix source-validation failing to remove rules when interface is removed (T9153)
</content>
</entry>
</feed>
