]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit - src/initscripts/system/firewall
firewall: Fixes bug12981 - add if loop to log or not log dropped hostile traffic
authorAdolf Belka <adolf.belka@ipfire.org>
Sun, 21 Jan 2024 11:45:49 +0000 (12:45 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 7 Feb 2024 11:02:17 +0000 (11:02 +0000)
commit37c5b4b62eb0e6bfb617a7173dd07d473c34f6a5
tree158e0f1b492cc13b6078df3db14689d8b651e901
parentf23555a1c6acb12fbb626a27c2189dee4cb45c0c
firewall: Fixes bug12981 - add if loop to log or not log dropped hostile traffic

- This v3 version now has two if loops allowing logging of incoming drop hostile or
   outgoing drop hostile or both or neither.
- Dependent on the choice in optionsfw.cgi this loop will either log or not log the
   dropped hostile traffic.

Fixes: bug12981
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/initscripts/system/firewall