Hi all !
I was successful used used ipp2p to block p2p traffic with the
following kernel versions: 2.6.10 in my Slackware 10.1 box
I using the 0.80 rc3 ipp2p version and iptables 1.3.3 .
I was successful blocked the p2p traficc (Ares included).
But I can`t shaper the p2p traffic.
I using a bridge setup for shaper and this script to enable ipp2p:
#######
iptables -t mangle -A PREROUTING -p tcp -j CONNMARK --restore-mark
iptables -t mangle -A PREROUTING -p tcp -m mark ! --mark 0 -j
ACCEPT
iptables -t mangle -A PREROUTING -p tcp -m ipp2p --ipp2p -j MARK
--set-mark 1
iptables -t mangle -A PREROUTING -p tcp -m mark --mark 1 -j
CONNMARK --save-mark
iptables -t mangle -N MARKED
iptables -t mangle -A POSTROUTING -m mark --mark 1 -j MARKED
iptables -t mangle -A MARKED -m physdev --physdev-out eth0 -j
CLASSIFY --set-class 1:12
iptables -t mangle -A MARKED -m physdev --physdev-out eth1 -j
CLASSIFY --set-class 2:12
########
When I execute the script I have this error:
iptables: Chain already exists
Can somebody help me ?
Excuse my english (I not english speaker)
roberto
--
Ing. Roberto Pereyra
ContenidosOnline
Hosting y Servidores BSD Unix/Linux
http://www.contenidosonline.com.ar