<feed xmlns='http://www.w3.org/2005/Atom'>
<title>firewall4/tests/mocks/uci, branch master</title>
<subtitle>OpenWrt nftables firewall</subtitle>
<id>https://git-03.infra.openwrt.org/project/firewall4/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/project/firewall4/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/firewall4/'/>
<updated>2022-11-02T15:24:20Z</updated>
<entry>
<title>config: drop input traffic by default</title>
<updated>2022-11-02T15:24:20Z</updated>
<author>
<name>Baptiste Jonglez</name>
</author>
<published>2022-11-02T15:06:47Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/firewall4/commit/?id=6443ec7805295de07f6051662065a16b4a194f19'/>
<id>urn:sha1:6443ec7805295de07f6051662065a16b4a194f19</id>
<content type='text'>
This is necessary with firewall4 to avoid a hard-to-diagnose race
condition during boot, causing DNAT rules not to be taken into account
correctly.

The root cause is that, during boot, the ruleset is mostly empty, and
interface-related rules (including DNAT rules) are added incrementally.
If a packet hits the input chain before the DNAT rules are setup, it can
create buggy conntrack entries that will persist indefinitely.

This new default should be safe because firewall4 explicitly accepts
authorized traffic and rejects the rest.  Thus, in normal operations, the
default policy is not used.

Fixes: #10749
Ref: https://github.com/openwrt/openwrt/issues/10749
Signed-off-by: Baptiste Jonglez &lt;git@bitsofnetworks.org&gt;
</content>
</entry>
<entry>
<title>tests: add test for unknown rule option</title>
<updated>2022-01-09T13:22:25Z</updated>
<author>
<name>Stijn Tintel</name>
</author>
<published>2022-01-07T12:56:16Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/firewall4/commit/?id=69a89d60cae16fe128a547ac27d2498938effbf9'/>
<id>urn:sha1:69a89d60cae16fe128a547ac27d2498938effbf9</id>
<content type='text'>
Signed-off-by: Stijn Tintel &lt;stijn@linux-ipv6.be&gt;
Reviewed-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>tests: add test for deprecated rule option</title>
<updated>2022-01-09T13:22:20Z</updated>
<author>
<name>Stijn Tintel</name>
</author>
<published>2022-01-07T12:54:36Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/firewall4/commit/?id=47c5a5b225d9ced1ee40594b1a8ea850508d26a3'/>
<id>urn:sha1:47c5a5b225d9ced1ee40594b1a8ea850508d26a3</id>
<content type='text'>
Signed-off-by: Stijn Tintel &lt;stijn@linux-ipv6.be&gt;
Reviewed-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>tests: add test for unknown defaults option</title>
<updated>2022-01-09T13:22:16Z</updated>
<author>
<name>Stijn Tintel</name>
</author>
<published>2022-01-07T12:45:49Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/firewall4/commit/?id=550df40ec76f81c0d355d3be6b36bcd98cf93097'/>
<id>urn:sha1:550df40ec76f81c0d355d3be6b36bcd98cf93097</id>
<content type='text'>
Signed-off-by: Stijn Tintel &lt;stijn@linux-ipv6.be&gt;
Reviewed-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>tests: enable flow offloading in tests</title>
<updated>2022-01-09T13:22:10Z</updated>
<author>
<name>Stijn Tintel</name>
</author>
<published>2022-01-07T08:50:14Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/firewall4/commit/?id=f121383b6d4dc038ac3cb634fcd897067fe0b7d7'/>
<id>urn:sha1:f121383b6d4dc038ac3cb634fcd897067fe0b7d7</id>
<content type='text'>
As flow offloading is a popular feature, it makes sense to cover it in
the tests. This would have caught the issue fixed in b68cf6701945
("main.uc: fix device gathering").

Signed-off-by: Stijn Tintel &lt;stijn@linux-ipv6.be&gt;
Reviewed-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>tests: expand testing</title>
<updated>2021-03-31T20:10:04Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2021-03-31T20:09:01Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/firewall4/commit/?id=29fba840201287b9265888adba6298779b750af5'/>
<id>urn:sha1:29fba840201287b9265888adba6298779b750af5</id>
<content type='text'>
 - Rewrite test framework
 - Add initial rule test coverage

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>Initial commit</title>
<updated>2021-03-19T18:26:04Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2021-03-19T18:26:04Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/firewall4/commit/?id=59dbb982b7fefa480196dec03ba51c4f8c4dd7ae'/>
<id>urn:sha1:59dbb982b7fefa480196dec03ba51c4f8c4dd7ae</id>
<content type='text'>
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
</feed>
