From 1f16de1a6887891579be9db7f59e13d08b01afa5 Mon Sep 17 00:00:00 2001 From: salles Date: Fri, 28 Apr 2006 16:42:35 +0200 Subject: [PATCH] Esthtisme :) C'est plus clair comme a darcs-hash:20060428144235-72cb0-e78f579bf95860b04c3ddad3cc331f0370fa42cc.gz --- gestion/gen_confs/firewall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/gen_confs/firewall.py b/gestion/gen_confs/firewall.py index 5e0c894a..78631203 100755 --- a/gestion/gen_confs/firewall.py +++ b/gestion/gen_confs/firewall.py @@ -523,7 +523,7 @@ class firewall_komaz(firewall_crans) : iptables("-t mangle -A PREROUTING -p tcp -j CONNMARK --restore-mark") iptables("-t mangle -A PREROUTING -p tcp -m mark ! --mark 0x0 " + "-j ACCEPT") - iptables("-t mangle -A PREROUTING -p tcp -m ipp2p --ipp2p -j MARK " + + iptables("-t mangle -A PREROUTING -p tcp -m ipp2p --bit -j MARK " + "--set-mark %s" % conf_fw.mark['bittorrent']) iptables("-t mangle -A PREROUTING -p tcp -m mark " + "--mark %s -j CONNMARK --save-mark" % conf_fw.mark['bittorrent'])