jablonka.czprosek.czf

hotsanic

Subversion Repositories:
[/] [trunk/] [modules/] [networks/] [init] - Diff between revs 6 and 8

Show entire file Ignore whitespace

Rev 6 Rev 8
Line 31... Line 31...
   
print "\nclearing old and setting up new accounting chains\n"; print "\nclearing old and setting up new accounting chains\n";
foreach $prt ("tcp","udp","other") { foreach $prt ("tcp","udp","other") {
system("$IPTABLES -F acct_ext_$prt > /dev/null"); system("$IPTABLES -F acct_ext_$prt > /dev/null");
system("$IPTABLES -X acct_ext_$prt > /dev/null"); system("$IPTABLES -X acct_ext_$prt > /dev/null");
system("$IPTABLES -F acct_int_$prt > /dev/null "); system("$IPTABLES -F acct_int_$prt > /dev/null");
system("$IPTABLES -X acct_int_$prt > /dev/null"); system("$IPTABLES -X acct_int_$prt > /dev/null");
system("$IPTABLES -N acct_ext_$prt > /dev/null"); system("$IPTABLES -N acct_ext_$prt > /dev/null");
system("$IPTABLES -N acct_int_$prt > /dev/null"); system("$IPTABLES -N acct_int_$prt > /dev/null");
} }
   

Powered by WebSVN 2.2.1