]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
optionsfw.cgi: Fix bug12981 - Add option to log or not log dropped hostile traffic
authorAdolf Belka <adolf.belka@ipfire.org>
Sun, 21 Jan 2024 11:45:47 +0000 (12:45 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 7 Feb 2024 11:02:17 +0000 (11:02 +0000)
commit89645d1bbfbb26bdf0351fe01b69978f73fc0074
treee65764fd8c7e979773287163208cafee7bda177d
parent7d0f48668b681b4b788f8adffd5a6d0ad56d02a5
optionsfw.cgi: Fix bug12981 - Add option to log or not log dropped hostile traffic

- This v3 version has split the logging choice for drop hostile to separate the logging of
   incoming drop hostile and outgoing drop hostile.
- The bug originator had no port forwards so all hostile would be dropped normally anyway.
   However the logs were being swamped by the logging of drop hostile making analysis
   difficult. So incoming drop hostile was desired to not be logged. However logging of
   outgoing drop hostile was desired to identify if clients on the internal lan were
   infected with malware trying to reach home.
- Added option with drop hostile section to decide if the dropped traffic should be
   logged or not.

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>
Tested-by: Bernhard Bitsch <bbitsch@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/optionsfw.cgi