[prev in list] [next in list] [prev in thread] [next in thread]
List: ipcop-svn
Subject: [Ipcop-svn] SF.net SVN: ipcop:[4982] ipcop/trunk
From: owes () users ! sourceforge ! net
Date: 2010-09-28 17:23:28
Message-ID: E1P0dto-00078T-L2 () sfp-svn-5 ! v30 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Revision: 4982
http://ipcop.svn.sourceforge.net/ipcop/?rev=4982&view=rev
Author: owes
Date: 2010-09-28 17:23:28 +0000 (Tue, 28 Sep 2010)
Log Message:
-----------
Also check on proto combinations, otherwise it is possible to set gui/ssh to tcp/53
Modified Paths:
--------------
ipcop/trunk/src/libs/DataAccess.pl
ipcop/trunk/updates/1.9.16/ROOTFILES.i486-1.9.16
Modified: ipcop/trunk/src/libs/DataAccess.pl
===================================================================
--- ipcop/trunk/src/libs/DataAccess.pl 2010-09-28 09:12:12 UTC (rev 4981)
+++ ipcop/trunk/src/libs/DataAccess.pl 2010-09-28 17:23:28 UTC (rev 4982)
@@ -983,7 +983,7 @@
#######################################################
-# Check if a protocol+port combination s reserved for IPCop itself
+# Check if a protocol+port combination is reserved for IPCop itself
#######################################################
sub isReservedPort
{
@@ -1005,7 +1005,7 @@
my $proto_ipcop = $ipcopServices{$key}{'PROTOCOL'};
my $port_ipcop = $ipcopServices{$key}{'PORT_NR'};
- if($proto_ipcop eq $proto) {
+ if((index($proto_ipcop, $proto) != -1) || (index($proto, $proto_ipcop) != \
-1)) { if($isRange) {
if($range[0] <= $port_ipcop && $port_ipcop <= $range[1]){
return 1;
Modified: ipcop/trunk/updates/1.9.16/ROOTFILES.i486-1.9.16
===================================================================
--- ipcop/trunk/updates/1.9.16/ROOTFILES.i486-1.9.16 2010-09-28 09:12:12 UTC (rev \
4981)
+++ ipcop/trunk/updates/1.9.16/ROOTFILES.i486-1.9.16 2010-09-28 17:23:28 UTC (rev \
4982) @@ -13,6 +13,7 @@
/var/ipcop/firewall/defaultservices
/var/ipcop/traffic/empty-aggregate.db
/var/ipcop/traffic/empty-ulogd.db
+/usr/lib/ipcop/DataAccess.pl
/usr/lib/ipcop/traffic-lib.pl
/usr/lib/ipcop/vpn-functions.pl
/usr/local/bin/accountingctrl
This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic