Merge branch 'next' of git://git.ipfire.org/ipfire-2.x into next

This commit is contained in:
Christian Schmidt
2011-07-06 19:30:11 +02:00
7 changed files with 9 additions and 7 deletions

View File

@@ -3,6 +3,7 @@ var/ipfire/langs/
etc/rc.d/init.d/console
usr/local/sbin/setup
var/ipfire/graphs.pl
srv/web/ipfire/cgi-bin/portfw.cgi
srv/web/ipfire/cgi-bin/logs.cgi/log.dat
usr/local/share/GeoIP/GeoIP.dat
usr/share/hwdata/pci.ids

View File

@@ -0,0 +1 @@
../../../common/squid

View File

@@ -1038,7 +1038,7 @@ sub disallowreserved
{
# port 67 and 68 same for tcp and udp, don't bother putting in an array
my $msg = "";
my @tcp_reserved = (81,222,444);
my @tcp_reserved = ();
my $prt = $_[0]; # the port or range
my $ryn = $_[1]; # tells us whether or not it is a port range
my $prot = $_[2]; # protocol

View File

@@ -24,7 +24,7 @@
include Config
VER = 3.1.11
VER = 3.1.13
THISAPP = squid-$(VER)
DL_FILE = $(THISAPP).tar.bz2
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_MD5 = 4b071d2bf4959f2d081344f2f69dd2f1
$(DL_FILE)_MD5 = 78e756135c2bd6bbaf52eb5520f8b934
install : $(TARGET)

View File

@@ -59,9 +59,9 @@ void open_physical (char *interface, int nat_traversal_port) {
// safe_system(str);
// IKE
sprintf(str, "/sbin/iptables -D IPSECINPUT -p udp -i %s --sport 500 --dport 500 -j ACCEPT >/dev/null 2>&1", interface);
sprintf(str, "/sbin/iptables -D IPSECINPUT -p udp -i %s --dport 500 -j ACCEPT >/dev/null 2>&1", interface);
safe_system(str);
sprintf(str, "/sbin/iptables -A IPSECINPUT -p udp -i %s --sport 500 --dport 500 -j ACCEPT", interface);
sprintf(str, "/sbin/iptables -A IPSECINPUT -p udp -i %s --dport 500 -j ACCEPT", interface);
safe_system(str);
if (! nat_traversal_port)