OpenWrt Forum Archive

Topic: IPP2P - p2p filter not working !?

The content of this topic has been archived on 12 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi!
I try to stop all p2p traffic (bittorrent,edonkey,...) from passing the wan iface.

The following iptables rule doesn't work for me.

iptables -A FORWARD -m ipp2p --ipp2p -j DROP

The rule is accepted and shows up in the list, but there seem to be no p2p packages dropped.
I have tried emule and azureus downloading a linux iso but I still get the full speed of >800 kB and there isn't even a slowdown.

Is there something wrong with the rule or does the ipp2p module not work at all?
(I am using Kamikaze 7.09 on a WRT54GS V3)

ipp2p has additional options to specify which protocols should be matched. not sure what it is using by default.

also even if this filter rule works, at best it will only drop new connections.

trying to stop ALL p2p traffic is futile because not all p2p traffic can be detected in the first place.

The discussion might have continued from here.