X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=blobdiff_plain;f=html%2Fcgi-bin%2Foptionsfw.cgi;h=321642e82e090b3773b6c8297a9c435ebc836926;hp=1ab3c7d7987f0efb0098506a81c2d33f18cc3db3;hb=dccd7e874bf53efd9642756a3ed60abc95df43bb;hpb=2f662bf05894c031754e4e7d9c807709a72bb674 diff --git a/html/cgi-bin/optionsfw.cgi b/html/cgi-bin/optionsfw.cgi index 1ab3c7d798..321642e82e 100644 --- a/html/cgi-bin/optionsfw.cgi +++ b/html/cgi-bin/optionsfw.cgi @@ -1,16 +1,24 @@ #!/usr/bin/perl -# -# SmoothWall CGIs -# -# This code is distributed under the terms of the GPL -# -# (c) The SmoothWall Team -# -# Copyright (C) 01-02-2002 Graham Smith -# -# $Id: optionsfw.cgi,v 1.1.2.10 2005/10/03 00:34:10 gespinasse Exp $ -# -# +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2014-2020 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 # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + # enable only the following on debugging purpose #use warnings; #use CGI::Carp 'fatalsToBrowser'; @@ -120,24 +128,6 @@ $checked{'SHOWTABLES'}{$settings{'SHOWTABLES'}} = "checked='checked'"; $checked{'SHOWDROPDOWN'}{'off'} = ''; $checked{'SHOWDROPDOWN'}{'on'} = ''; $checked{'SHOWDROPDOWN'}{$settings{'SHOWDROPDOWN'}} = "checked='checked'"; -$checked{'CONNTRACK_FTP'}{'off'} = ''; -$checked{'CONNTRACK_FTP'}{'on'} = ''; -$checked{'CONNTRACK_FTP'}{$settings{'CONNTRACK_FTP'}} = "checked='checked'"; -$checked{'CONNTRACK_H323'}{'off'} = ''; -$checked{'CONNTRACK_H323'}{'on'} = ''; -$checked{'CONNTRACK_H323'}{$settings{'CONNTRACK_H323'}} = "checked='checked'"; -$checked{'CONNTRACK_IRC'}{'off'} = ''; -$checked{'CONNTRACK_IRC'}{'on'} = ''; -$checked{'CONNTRACK_IRC'}{$settings{'CONNTRACK_IRC'}} = "checked='checked'"; -$checked{'CONNTRACK_PPTP'}{'off'} = ''; -$checked{'CONNTRACK_PPTP'}{'on'} = ''; -$checked{'CONNTRACK_PPTP'}{$settings{'CONNTRACK_PPTP'}} = "checked='checked'"; -$checked{'CONNTRACK_SIP'}{'off'} = ''; -$checked{'CONNTRACK_SIP'}{'on'} = ''; -$checked{'CONNTRACK_SIP'}{$settings{'CONNTRACK_SIP'}} = "checked='checked'"; -$checked{'CONNTRACK_TFTP'}{'off'} = ''; -$checked{'CONNTRACK_TFTP'}{'on'} = ''; -$checked{'CONNTRACK_TFTP'}{$settings{'CONNTRACK_TFTP'}} = "checked='checked'"; $selected{'FWPOLICY'}{$settings{'FWPOLICY'}}= 'selected'; $selected{'FWPOLICY1'}{$settings{'FWPOLICY1'}}= 'selected'; $selected{'FWPOLICY2'}{$settings{'FWPOLICY2'}}= 'selected'; @@ -206,93 +196,41 @@ END - - - - - - - + + + + + + +
$Lang::tr{'fw logging'}
$Lang::tr{'drop newnotsyn'}on / - off
$Lang::tr{'drop input'}on / - off
$Lang::tr{'drop forward'}on / - off
$Lang::tr{'drop outgoing'}on / - off
$Lang::tr{'drop portscan'}on / - off
$Lang::tr{'drop wirelessinput'}on / - off
$Lang::tr{'drop wirelessforward'}on / - off
$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 blue'}
$Lang::tr{'drop proxy'}on / - off
$Lang::tr{'drop samba'}on / - off
$Lang::tr{'drop proxy'}$Lang::tr{'on'} / + $Lang::tr{'off'}
$Lang::tr{'drop samba'}$Lang::tr{'on'} / + $Lang::tr{'off'}

- - - - -
$Lang::tr{'fw settings'}
$Lang::tr{'fw settings color'}on / - off
$Lang::tr{'fw settings remark'}on / - off
$Lang::tr{'fw settings ruletable'}on / - off
$Lang::tr{'fw settings dropdown'}on / - off
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + +
- $Lang::tr{'application layer gateways'} -
FTP - $Lang::tr{'on'} / - $Lang::tr{'off'} -
H.323 - $Lang::tr{'on'} / - $Lang::tr{'off'} -
IRC - $Lang::tr{'on'} / - $Lang::tr{'off'} -
PPTP - $Lang::tr{'on'} / - $Lang::tr{'off'} -
SIP - $Lang::tr{'on'} / - $Lang::tr{'off'} -
TFTP - $Lang::tr{'on'} / - $Lang::tr{'off'} -
$Lang::tr{'fw settings color'}$Lang::tr{'on'} / + $Lang::tr{'off'}
$Lang::tr{'fw settings remark'}$Lang::tr{'on'} / + $Lang::tr{'off'}
$Lang::tr{'fw settings ruletable'}$Lang::tr{'on'} / + $Lang::tr{'off'}
$Lang::tr{'fw settings dropdown'}$Lang::tr{'on'} / + $Lang::tr{'off'}

@@ -315,7 +253,7 @@ END
- +
@@ -337,7 +275,7 @@ print < - + END print ""; print"

";