<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyatta-cfg-firewall.git, branch equuleus</title>
<subtitle>Configuration templates and scripts for the firewall subsystem. (mirror of https://github.com/vyos/vyatta-cfg-firewall.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyatta-cfg-firewall.git/atom?h=equuleus</id>
<link rel='self' href='https://git.amelek.net/vyos/vyatta-cfg-firewall.git/atom?h=equuleus'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyatta-cfg-firewall.git/'/>
<updated>2024-04-09T15:11:41+00:00</updated>
<entry>
<title>Merge pull request #37 from aslanvyos/equuleus</title>
<updated>2024-04-09T15:11:41+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@poessinger.com</email>
</author>
<published>2024-04-09T15:11:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyatta-cfg-firewall.git/commit/?id=2e2f4cd1a5d9df38780b14e3d4c5d4b3a1afdc15'/>
<id>urn:sha1:2e2f4cd1a5d9df38780b14e3d4c5d4b3a1afdc15</id>
<content type='text'>
T6215: Replace confusing error messages with clear ones</content>
</entry>
<entry>
<title>T6215: Replace confusing error messages with clear ones</title>
<updated>2024-04-09T13:35:41+00:00</updated>
<author>
<name>aslanvyos</name>
<email>126803786+aslanvyos@users.noreply.github.com</email>
</author>
<published>2024-04-09T09:30:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyatta-cfg-firewall.git/commit/?id=572f8dbef0c5a596dfbe7bd9284238016662762e'/>
<id>urn:sha1:572f8dbef0c5a596dfbe7bd9284238016662762e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #35 from zdc/T4869-equuleus</title>
<updated>2023-01-03T15:34:59+00:00</updated>
<author>
<name>zdc</name>
<email>zdc@users.noreply.github.com</email>
</author>
<published>2023-01-03T15:34:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyatta-cfg-firewall.git/commit/?id=49dd3dc21d7069c1934541c05ecb2201bd8313a2'/>
<id>urn:sha1:49dd3dc21d7069c1934541c05ecb2201bd8313a2</id>
<content type='text'>
network-groups: T4869: Fixed operations with /32 and /128 netmasks</content>
</entry>
<entry>
<title>network-groups: T4869: Fixed operations with /32 and /128 netmasks</title>
<updated>2022-12-09T15:19:30+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2022-12-09T15:10:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyatta-cfg-firewall.git/commit/?id=1636db20ee4b3d388a25b62e86bea1de52fcc339'/>
<id>urn:sha1:1636db20ee4b3d388a25b62e86bea1de52fcc339</id>
<content type='text'>
When the configuration script performs operations with network-group items
received from CLI, it gets them in the format fixed by CLI restrictions - always
with netmasks. But inside ipset networks with netmasks /32 for IPv4 and
/128 for IPv6 for some reason represented as items without netmask. This breaks
comparison logic in the configuration script that relies on a direct match
between items.

This commit adds extra normalization for data received from ipset - an
appropriate netmask is added to networks with /32 and /128 netmasks while
preparing a hash with items. This allows using hash keys for matching as it is
intended to be.
</content>
</entry>
<entry>
<title>Merge pull request #34 from zdc/T2189-equuleus</title>
<updated>2022-09-23T05:31:58+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-09-23T05:31:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyatta-cfg-firewall.git/commit/?id=2bc88186b952e32bcf26419af2563c6f1bd7daac'/>
<id>urn:sha1:2bc88186b952e32bcf26419af2563c6f1bd7daac</id>
<content type='text'>
ipset: T2189: optimized firewall groups performance</content>
</entry>
<entry>
<title>ipset: T2189: optimized firewall groups performance</title>
<updated>2022-09-19T17:16:12+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2022-09-12T15:07:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyatta-cfg-firewall.git/commit/?id=d55b9e14c14011577354b69cc569d2652d5e31fd'/>
<id>urn:sha1:d55b9e14c14011577354b69cc569d2652d5e31fd</id>
<content type='text'>
This commit optimizes the speed of interaction with the ipset.

* removed extra `sudo` from `ipset` commands, because scripts that run `ipset`
commands already run under `sudo`. This gives approximately 4x performance
improvement.
* replaced logic in the `member_exists` function for port groups. Instead of
calling `ipset -T` for each port now the whole list is received in one command
and a search process is done inside Perl. This significantly improves speed for
port groups with long port ranges inside.
* delete ip address and port ranges using a single command instead deleting
each element individually.
* added the same ranges validation for address-group as for port-group.
</content>
</entry>
<entry>
<title>Merge pull request #32 from zdc/T4002-equuleus</title>
<updated>2022-03-10T17:03:38+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-03-10T17:03:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyatta-cfg-firewall.git/commit/?id=6de742432786b4035842d3e3f2e4a10df68199f2'/>
<id>urn:sha1:6de742432786b4035842d3e3f2e4a10df68199f2</id>
<content type='text'>
ipset: T4002: Generate a temporary set name from UUID</content>
</entry>
<entry>
<title>ipset: T4002: Generate a temporary set name from UUID</title>
<updated>2022-03-06T13:15:17+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2022-03-06T13:15:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyatta-cfg-firewall.git/commit/?id=2649cb10598e5b3ad605950afabcd6facd4eab70'/>
<id>urn:sha1:2649cb10598e5b3ad605950afabcd6facd4eab70</id>
<content type='text'>
ipset allows assigning set names up to 31 characters long.
Currently, we use a process -PID number as a suffix for generating
temporary set names. But this cuts effective set name to 25 characters
only (`set name in CLI` + `-` + `PID number`), however in CLI we have a
limit set to 31. So, set names with long prefixes cannot be configured.
This commit replaces PID-based temporary name with UUID-based, which
allows configuring set names with full name size.
</content>
</entry>
<entry>
<title>Merge pull request #29 from goodNETnick/default-rule-num</title>
<updated>2022-01-29T18:37:57+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-01-29T18:37:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyatta-cfg-firewall.git/commit/?id=9b750c11011761099f06ccce89a9b7001764629e'/>
<id>urn:sha1:9b750c11011761099f06ccce89a9b7001764629e</id>
<content type='text'>
firewall: T4100: default action number</content>
</entry>
<entry>
<title>firewall: T4100: default action number</title>
<updated>2022-01-12T03:56:33+00:00</updated>
<author>
<name>goodNETnick</name>
<email>pknet@ya.ru</email>
</author>
<published>2022-01-12T03:56:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyatta-cfg-firewall.git/commit/?id=7e00db319e5078c1f290e63a968af0c507c99bd4'/>
<id>urn:sha1:7e00db319e5078c1f290e63a968af0c507c99bd4</id>
<content type='text'>
</content>
</entry>
</feed>
