]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commit
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>
Tue, 6 Feb 2024 17:41:28 +0000 (17:41 +0000)
commitea835959cc0122900464ec6d4817e197294e980a
treeb0e5abf63e3f4a27305bc394996a077e56fd11dc
parent45f99a0e30741b18ad9c3aac2b4940045296773d
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