Signed-off-by: Peter Müller --- html/cgi-bin/optionsfw.cgi | 96 +++++++++++++++++++++++++++++++------- 1 file changed, 80 insertions(+), 16 deletions(-) diff --git a/html/cgi-bin/optionsfw.cgi b/html/cgi-bin/optionsfw.cgi index 1ecf4f180..481d5bdbd 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'} / -- 2.26.2