[firewall_new] EXTERMINATE! EXTERMINATE!

darcs-hash:20111102204255-ffbb2-9d46431eac5d60bd42e2fb268c9ccc02f56f1e86.gz
This commit is contained in:
Nicolas Dandrimont 2011-11-02 21:42:55 +01:00
parent 041242d8bb
commit 675e823b81

View file

@ -1013,8 +1013,8 @@ class firewall_komaz(firewall_crans) :
for filtre in self.filtres_p2p : for filtre in self.filtres_p2p :
iptables('-A FILTRE_P2P -m ipp2p --%s -j LOG --log-prefix "IPP2P=%s "' % (filtre[0], iptables('-A FILTRE_P2P -m ipp2p --%s -j LOG --log-prefix "IPP2P=%s "' % (filtre[0],
filtre[1])) filtre[1]))
#iptables('-A FILTRE_P2P -m ipp2p --%s -j REJECT --reject-with icmp-admin-prohibited' % filtre[0]) iptables('-A FILTRE_P2P -m ipp2p --%s -j REJECT --reject-with icmp-admin-prohibited' % filtre[0])
iptables('-A FILTRE_P2P -m ipp2p --%s -j RETURN' % filtre[0]) #iptables('-A FILTRE_P2P -m ipp2p --%s -j RETURN' % filtre[0])
self.anim.cycle() self.anim.cycle()
for filtre in self.filtres_p2p_bloq: for filtre in self.filtres_p2p_bloq: