From: Peter Müller Date: Sat, 18 Dec 2021 13:49:01 +0000 (+0100) Subject: optionsfw.cgi: Make logging of spoofed/martians packets and the DROP_HOSTILE filter... X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f871a115f4061fa43c8bdbcc991541bf71c6374e;p=people%2Fstevee%2Fipfire-2.x.git optionsfw.cgi: Make logging of spoofed/martians packets and the DROP_HOSTILE filter configurable Signed-off-by: Peter Müller --- diff --git a/html/cgi-bin/optionsfw.cgi b/html/cgi-bin/optionsfw.cgi index 1ecf4f180c..481d5bdbd2 100644 --- a/html/cgi-bin/optionsfw.cgi +++ b/html/cgi-bin/optionsfw.cgi @@ -2,7 +2,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2014-2020 IPFire Team # +# Copyright (C) 2014-2021 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -110,6 +110,12 @@ $checked{'DROPWIRELESSINPUT'}{$settings{'DROPWIRELESSINPUT'}} = "checked='checke $checked{'DROPWIRELESSFORWARD'}{'off'} = ''; $checked{'DROPWIRELESSFORWARD'}{'on'} = ''; $checked{'DROPWIRELESSFORWARD'}{$settings{'DROPWIRELESSFORWARD'}} = "checked='checked'"; +$checked{'DROPSPOOFEDMARTIAN'}{'off'} = ''; +$checked{'DROPSPOOFEDMARTIAN'}{'on'} = ''; +$checked{'DROPSPOOFEDMARTIAN'}{$settings{'DROPSPOOFEDMARTIAN'}} = "checked='checked'"; +$checked{'DROPHOSTILE'}{'off'} = ''; +$checked{'DROPHOSTILE'}{'on'} = ''; +$checked{'DROPHOSTILE'}{$settings{'DROPHOSTILE'}} = "checked='checked'"; $checked{'DROPPROXY'}{'off'} = ''; $checked{'DROPPROXY'}{'on'} = ''; $checked{'DROPPROXY'}{$settings{'DROPPROXY'}} = "checked='checked'"; @@ -195,24 +201,82 @@ END
- - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
$Lang::tr{'fw logging'}
$Lang::tr{'drop newnotsyn'}$Lang::tr{'on'} / - $Lang::tr{'off'}
$Lang::tr{'drop input'}$Lang::tr{'on'} / - $Lang::tr{'off'}
$Lang::tr{'drop forward'}$Lang::tr{'on'} / - $Lang::tr{'off'}
$Lang::tr{'drop outgoing'}$Lang::tr{'on'} / - $Lang::tr{'off'}
$Lang::tr{'drop portscan'}$Lang::tr{'on'} / - $Lang::tr{'off'}
$Lang::tr{'drop wirelessinput'}$Lang::tr{'on'} / - $Lang::tr{'off'}
$Lang::tr{'drop wirelessforward'}$Lang::tr{'on'} / - $Lang::tr{'off'}
$Lang::tr{'fw logging'}
$Lang::tr{'drop newnotsyn'} + $Lang::tr{'on'} / + $Lang::tr{'off'} +
$Lang::tr{'drop input'} + $Lang::tr{'on'} / + $Lang::tr{'off'} +
$Lang::tr{'drop forward'} + $Lang::tr{'on'} / + $Lang::tr{'off'} +
$Lang::tr{'drop outgoing'} + $Lang::tr{'on'} / + $Lang::tr{'off'} +
$Lang::tr{'drop portscan'} + $Lang::tr{'on'} / + $Lang::tr{'off'} +
$Lang::tr{'drop wirelessinput'} + $Lang::tr{'on'} / + $Lang::tr{'off'} +
$Lang::tr{'drop wirelessforward'} + $Lang::tr{'on'} / + $Lang::tr{'off'} +
$Lang::tr{'drop spoofed martians'} + $Lang::tr{'on'} / + $Lang::tr{'off'} +

+ + + + + + + + +
$Lang::tr{'fw red'}
$Lang::tr{'drop hostile'} + $Lang::tr{'on'} / + $Lang::tr{'off'} +
+
+
$Lang::tr{'fw blue'}
$Lang::tr{'drop proxy'}$Lang::tr{'on'} /