]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - html/cgi-bin/iptables.cgi
BUG 11786 - squid: Remove setting for filter processes the number of Squid processes
[ipfire-2.x.git] / html / cgi-bin / iptables.cgi
index 886330d0e2a6ab3b7b36b8c163871ae7254f42ae..b52d74fcfbac81006efa0e33fc4642e91abd39a6 100644 (file)
@@ -80,7 +80,7 @@ if ( $cgiparams{'selectedchain'} ne "" ){
 
 print <<END
 
-<DIV align='left'>
+<div align='left'>
 END
 ;
 
@@ -88,7 +88,7 @@ END
 # start with an Chain the the name, start- and endline of the
 # chain is extracted into a hash
 
-       open (FILE, '/srv/web/ipfire/html/iptables.txt');
+       open (FILE, '/var/tmp/iptables.txt');
        while (<FILE>){
 
                $iplines[$lines] = $_;
@@ -150,8 +150,8 @@ END
        print "</tr>\n";
 
        print "<tr>\n";
-       print "   <td width='0'></td>\n   <td width='35'></td>\n   <td width='35'></td>\n";
-       print "   <td width='130'></td>\n   <td width='30'></td>\n";
+       print "   <td width='0'></td>\n   <td width='60'></td>\n   <td width='60'></td>\n";
+       print "   <td width='150'></td>\n   <td width='30'></td>\n";
        print "   <td width='30'></td>\n   <td width='40'></td>\n";
        print "   <td width='40'></td>\n   <td width='95'></td>\n";
        print "   <td width='95'></td>\n   <td width='260'></td>\n";
@@ -182,7 +182,7 @@ END
                }
                print "</td>\n</tr>\n";
        }
-print "</table></DIV><br />";
+print "</table></div><br />";
 &Header::closebox();
 
 ## MANGLE
@@ -202,7 +202,7 @@ if ( $cgiparams{'selectedchain'} ne "" ){
 
 print <<END
 
-<DIV align='left'>
+<div align='left'>
 END
 ;
 
@@ -210,7 +210,7 @@ END
 # start with an Chain the the name, start- and endline of the
 # chain is extracted into a hash
 
-       open (FILE, '/srv/web/ipfire/html/iptablesmangle.txt');
+       open (FILE, '/var/tmp/iptablesmangle.txt');
        while (<FILE>){
 
                $ipmlines[$manlines] = $_;
@@ -272,8 +272,8 @@ END
        print "</tr>\n";
 
        print "<tr>\n";
-       print "   <td width='0'></td>\n   <td width='35'></td>\n   <td width='35'></td>\n";
-       print "   <td width='130'></td>\n   <td width='30'></td>\n";
+       print "   <td width='0'></td>\n   <td width='60'></td>\n   <td width='60'></td>\n";
+       print "   <td width='150'></td>\n   <td width='30'></td>\n";
        print "   <td width='30'></td>\n   <td width='40'></td>\n";
        print "   <td width='40'></td>\n   <td width='95'></td>\n";
        print "   <td width='95'></td>\n   <td width='260'></td>\n";
@@ -309,7 +309,7 @@ END
                }
                print "</td>\n</tr>\n";
        }
-print "</table></DIV><br />";
+print "</table></div><br />";
 &Header::closebox();
 
 ## NAT
@@ -329,7 +329,7 @@ if ( $cgiparams{'selectedchain'} ne "" ){
 
 print <<END
 
-<DIV align='left'>
+<div align='left'>
 END
 ;
 
@@ -337,7 +337,7 @@ END
 # start with an Chain the the name, start- and endline of the
 # chain is extracted into a hash
 
-       open (FILE, '/srv/web/ipfire/html/iptablesnat.txt');
+       open (FILE, '/var/tmp/iptablesnat.txt');
        while (<FILE>){
 
                $ipnatlines[$natlines] = $_;
@@ -399,8 +399,8 @@ END
        print "</tr>\n";
 
        print "<tr>\n";
-       print "   <td width='0'></td>\n   <td width='35'></td>\n   <td width='35'></td>\n";
-       print "   <td width='130'></td>\n   <td width='30'></td>\n";
+       print "   <td width='0'></td>\n   <td width='60'></td>\n   <td width='60'></td>\n";
+       print "   <td width='150'></td>\n   <td width='30'></td>\n";
        print "   <td width='30'></td>\n   <td width='40'></td>\n";
        print "   <td width='40'></td>\n   <td width='95'></td>\n";
        print "   <td width='95'></td>\n   <td width='260'></td>\n";
@@ -429,11 +429,11 @@ END
                }
                print "</td>\n</tr>\n";
        }
-print "</table></DIV><br />";
+print "</table></div><br />";
 &Header::closebox();
 &Header::closebigbox();
 &Header::closepage();
 
-system(rm -f "/srv/web/ipfire/html/iptables.txt");
-system(rm -f "/srv/web/ipfire/html/iptablesmangle.txt");
-system(rm -f "/srv/web/ipfire/html/iptablesnat.txt");
\ No newline at end of file
+system("rm -f /var/tmp/iptables.txt");
+system("rm -f /var/tmp/iptablesmangle.txt");
+system("rm -f /var/tmp/iptablesnat.txt");