Revision: 7340 http://sourceforge.net/p/ipcop/svn/7340 Author: owes Date: 2014-03-17 06:57:10 +0000 (Mon, 17 Mar 2014) Log Message: ----------- Drop definition for colourovpn. css is used instead.
Modified Paths: -------------- ipcop/trunk/src/libs/firewall-lib.pl ipcop/trunk/updates/2.1.3/ROOTFILES.i486-2.1.3 Modified: ipcop/trunk/src/libs/firewall-lib.pl =================================================================== --- ipcop/trunk/src/libs/firewall-lib.pl 2014-03-17 06:33:16 UTC (rev 7339) +++ ipcop/trunk/src/libs/firewall-lib.pl 2014-03-17 06:57:10 UTC (rev 7340) @@ -1,28 +1,31 @@ #!/usr/bin/perl # -# This file is a library file for the BlockOutTraffic Addon. +# This file is part of the IPCop Firewall. # -# Copyright (C) 2004 Achim Weber <dotzb...@users.sourceforge.net> -# -# $Id$ -# -# This program is free software; you can redistribute it and/or modify +# IPCop 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 2 of the License, or # (at your option) any later version. # -# This program is distributed in the hope that it will be useful, +# IPCop 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, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# along with IPCop. If not, see <http://www.gnu.org/licenses/>. # +# firewall-lib.pl was created for the BlockOutTraffic Addon. +# Copyright (C) 2004 Achim Weber <dotzb...@users.sourceforge.net> +# # 6 May 2006 Achim Weber: # Re-worked code to use it in IPCop 1.5, renamed all variables, keys, etc. # from "BOT" to "FW". +# +# (c) 2007-2014, the IPCop team +# +# $Id$ +# package FW; @@ -45,17 +48,13 @@ $ifaceCounts{'ORANGE'} = 0; $ifaceCounts{'RED'} = 0; -unless (defined $Header::colourovpn) { - $Header::colourovpn = '#339999'; -} - &DATA::setup_default_interfaces(\%FW::interfaces, \%ifaceCounts); -$FW::settingsfile = "${General::swroot}/firewall/settings"; +$FW::settingsfile = '/var/ipcop/firewall/settings'; $FW::settingsCGI = '/cgi-bin/fwrulesadm.cgi'; $FW::configCGI = '/cgi-bin/fwrules.cgi'; $FW::advConfCGI = '/cgi-bin/fwadvconf.cgi'; -$FW::timeframeLogfile = "/var/log/fw_timeframe_log"; +$FW::timeframeLogfile = '/var/log/fw_timeframe_log'; sub readValidSettings { Modified: ipcop/trunk/updates/2.1.3/ROOTFILES.i486-2.1.3 =================================================================== --- ipcop/trunk/updates/2.1.3/ROOTFILES.i486-2.1.3 2014-03-17 06:33:16 UTC (rev 7339) +++ ipcop/trunk/updates/2.1.3/ROOTFILES.i486-2.1.3 2014-03-17 06:57:10 UTC (rev 7340) @@ -4,6 +4,7 @@ /home/httpd/cgi-bin/proxy.cgi /home/httpd/cgi-bin/updates.cgi /home/httpd/cgi-bin/urlfilter.cgi +/usr/lib/ipcop/firewall-lib.pl /usr/local/bin/emailhelper /usr/local/bin/makegraphs.pl /usr/local/bin/vpn-watch This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Ipcop-svn mailing list Ipcop-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipcop-svn