<feed xmlns='http://www.w3.org/2005/Atom'>
<title>firewall4/tests/mocks/fs, branch master</title>
<subtitle>OpenWrt nftables firewall</subtitle>
<id>https://git.openwrt.org/project/firewall4/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/firewall4/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/firewall4/'/>
<updated>2022-08-12T12:35:58Z</updated>
<entry>
<title>fw4: support automatic includes</title>
<updated>2022-08-12T12:35:58Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2022-08-11T11:48:14Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/firewall4/commit/?id=a4484d4612931800583a7219271b63224491244c'/>
<id>urn:sha1:a4484d4612931800583a7219271b63224491244c</id>
<content type='text'>
Introduce a new directory tree /usr/share/nftables.d/ which may contain
partial nftables files being included into the rendered ruleset.

The include position is derived from the file path;

 - Files in .../nftables.d/table-pre/ and .../nftables.d/table-post/ are
   included before and after the `table inet fw4 { ... }` declaration
   respectively

 - Files in .../nftables.d/ruleset-pre/ and .../nftables.d/ruleset-post/
   are included before the first chain and after the last chain
   declaration within the fw4 table respectively

 - Files in .../nftables.d/chain-pre/${chain}/ and .../chain-post/${chain}/
   are included before the first and after the last rule within the mentioned
   chain of the fw4 table respectively

Automatic includes can be disabled by setting the `auto_includes` option to
`0` in the global defaults section.

Also adjust testcases accordingly.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>tests: add missing fs.stat) mock data for `nf_conntrack_dummy`</title>
<updated>2022-08-08T19:09:12Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2022-08-08T19:08:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/firewall4/commit/?id=5a02f74ec3bcf34881e6b8b64f7c36303f732e00'/>
<id>urn:sha1:5a02f74ec3bcf34881e6b8b64f7c36303f732e00</id>
<content type='text'>
Fixes: 111a7f7 ("fw4: don't inherit zone family from ct helpers")
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>tests: change mocked wan interface type to PPPoE</title>
<updated>2022-02-12T19:36:46Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2022-02-12T12:16:24Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/firewall4/commit/?id=281b1bcd99f4a65410ae0559da4f6f130a31d4a8'/>
<id>urn:sha1:281b1bcd99f4a65410ae0559da4f6f130a31d4a8</id>
<content type='text'>
Change the WAN interface type in the mock data to PPPoE. PPPoE interfaces
are special because their L3 device differs from the L2 one which becomes
important later for resolving hw offloaded flowtable devices.

Adjust the test cases accordingly.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>fw4: consolidate helper code</title>
<updated>2022-02-05T23:33:04Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2022-02-04T22:44:25Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/firewall4/commit/?id=4d5af8b0196912ab21f1b288f73cafa2eb6a1345'/>
<id>urn:sha1:4d5af8b0196912ab21f1b288f73cafa2eb6a1345</id>
<content type='text'>
 - Move various local helper functions out of main.uc into the fw4 class
 - Rework settype reading to use nft JSON output as terse mode now works
 - Simplify testing flowtable enable conditions
 - Adjust testcases to changed flowtable logic

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.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>
