]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Merge branch 'next' of git://git.ipfire.org/ipfire-2.x into next
authorChristian Schmidt <maniacikarus@ipfire.org>
Wed, 6 Jul 2011 17:30:11 +0000 (19:30 +0200)
committerChristian Schmidt <maniacikarus@ipfire.org>
Wed, 6 Jul 2011 17:30:11 +0000 (19:30 +0200)
config/rootfiles/core/50/filelists/files
config/rootfiles/core/50/filelists/squid [new symlink]
html/cgi-bin/index.cgi
html/cgi-bin/portfw.cgi
html/cgi-bin/vpnmain.cgi
lfs/squid
src/misc-progs/ipsecctrl.c

index 9d397077265cd62c713d49d26428286ec806a341..034310c96113953ddb43a5d50447fbee7770a6a4 100644 (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
diff --git a/config/rootfiles/core/50/filelists/squid b/config/rootfiles/core/50/filelists/squid
new file mode 120000 (symlink)
index 0000000..2dc8372
--- /dev/null
@@ -0,0 +1 @@
+../../../common/squid
\ No newline at end of file
index eec3f9bf361f6a1d463c4e616e16e504c05b3f0a..b325250a58e9b0d37fe316692028e71856e4050f 100644 (file)
@@ -370,7 +370,7 @@ END
                        } else {
                            foreach my $line (@status) {
                                if (($line =~ /\"$confighash{$key}[1]\".*IPsec SA established/) ||
-                                   ($line =~/ $confighash{$key}[1]\{.*INSTALLED/ ))
+                                   ($line =~/$confighash{$key}[1]\{.*INSTALLED/ ))
                                    {
                                    $active = "<table cellpadding='2' cellspacing='0' bgcolor='${Header::colourgreen}' width='100%'><tr><td align='center'><b><font color='#FFFFFF'>$Lang::tr{'capsopen'}</font></b></td></tr></table>";
                                }
index 5583fb88a555eb4136f6383c99abedbdf606749a..199682f44fb81affd96cbaeab90538a3503ec5e7 100644 (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
index 1fa40a827db718884883b6054fd2ef81394d7e7f..177cdf4c27a798754f0f04326796c2723fcf09ea 100644 (file)
@@ -2540,7 +2540,7 @@ END
        my $active = "<table cellpadding='2' cellspacing='0' bgcolor='${Header::colourred}' width='100%'><tr><td align='center'><b><font color='#FFFFFF'>$Lang::tr{'capsclosed'}</font></b></td></tr></table>";
        foreach my $line (@status) {
            if (($line =~ /\"$confighash{$key}[1]\".*IPsec SA established/) ||
-              ($line =~ / $confighash{$key}[1]\{.*INSTALLED/))
+              ($line =~ /$confighash{$key}[1]\{.*INSTALLED/))
            {
                $active = "<table cellpadding='2' cellspacing='0' bgcolor='${Header::colourgreen}' width='100%'><tr><td align='center'><b><font color='#FFFFFF'>$Lang::tr{'capsopen'}</font></b></td></tr></table>";
            }
index bdc164620a72059bedf41951a80fb6ea25ff2866..ef676a2a5f7ce69ada12598b89654c9c1e028ba9 100644 (file)
--- a/lfs/squid
+++ b/lfs/squid
@@ -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)
 
index c500e582ea647e395cfbc00c8b1d57b8da73a9d7..a018289f6f0d2522b23d479ef130a2bda2dd6e93 100644 (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)