Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
Adds call to vyatta-firewall-trap.pl to end action of firewall
nodes.
|
|
|
|
More efficient to use shell pattern match to test for name length.
|
|
Convert some (but not all) of existing rules using comp_help:
to use val_help:
(cherry picked from commit 77e13fa992a50cc5721bbad64235bff8f8ecd50d)
|
|
|
|
|
|
|
|
|
|
|
|
integration).
|