Author: arekm
Date: Thu Mar 23 18:29:51 2006
New Revision: 7295

Modified:
   wireless-net/trunk/sbin/gen-wlan-files.py
Log:
Drop on connlimit.

Modified: wireless-net/trunk/sbin/gen-wlan-files.py
==============================================================================
--- wireless-net/trunk/sbin/gen-wlan-files.py   (original)
+++ wireless-net/trunk/sbin/gen-wlan-files.py   Thu Mar 23 18:29:51 2006
@@ -195,10 +195,10 @@
         run("iptables -A packets -d %s -m ipp2p --ipp2p -j packets_%s" % (ip, 
nr))
 
     if is_p2p:
-           run("iptables -A peer2peer -p tcp -s %s -m connlimit 
--connlimit-above 10 -m p2p --p2p all -j REJECT" % (ip))
+           run("iptables -A peer2peer -p tcp -s %s -m connlimit 
--connlimit-above 10 -m p2p --p2p all -j DROP" % (ip))
 
     if is_ipp2p:
-           run("iptables -A peer2peer -p tcp -s %s -m connlimit 
--connlimit-above 10 -m ipp2p --ipp2p -j REJECT" % (ip))
+           run("iptables -A peer2peer -p tcp -s %s -m connlimit 
--connlimit-above 10 -m ipp2p --ipp2p -j DROP" % (ip))
 
     if passwd == "apuser":
        for iface in ap_iface:
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to