Projects / iptables-p2p


iptables-p2p is a P2P match module for iptables. It supports the detection of the following protocols: Fasttrack, eDonkey, Direct Connect, Gnutella, OpenFT, and BitTorrent. It can be used to limit or block P2P traffic.

Operating Systems

Recent releases

  •  07 Mar 2004 05:54

    Release Notes: This release fixes iptables-save/iptables-restore, and compilation with kernels that have module versioning enabled.

    •  15 Feb 2004 04:51

      Release Notes: This version removes the iptables patch, so that it only needs headers installed. It adds the ability to specify specific protocols to match. The FastTrack match was updated for new version of FastTrack. The eDonkey match was updated. There is support for OpenFT and support for Shareazza/Gnutella2 in the Gnutella match. There are also fixes to the kernel 2.6 support.

      •  10 Nov 2003 20:37

        Release Notes: eDonkey match has been updated for the new version of eDonkey Hybrid. An iptables-1.2.9 patch has been added.

        •  29 Oct 2003 18:46

          Release Notes: An error in examples/ has been fixed.

          •  18 Oct 2003 22:38

            No changes have been submitted for this release.

            Recent comments

            08 Apr 2006 07:27 rockuchi

            Compilation problem Kernel 2.6.10

            When I compile my Kernel 2.6.10, I´ this problem .....

            Can You help me and tell me why??

            LD net/ipv4/netfilter/iptables-p2p/built-in.o

            CC [M] net/ipv4/netfilter/iptables-p2p/main.o

            net/ipv4/netfilter/iptables-p2p/main.c:25:39: linux/modversions.h: No such file or directory

            net/ipv4/netfilter/iptables-p2p/main.c: In function `match':

            net/ipv4/netfilter/iptables-p2p/main.c:100: warning: unused variable `ret'

            make[4]: *** [net/ipv4/netfilter/iptables-p2p/main.o] Error 1

            make[3]: *** [net/ipv4/netfilter/iptables-p2p] Error 2

            make[2]: *** [net/ipv4/netfilter] Error 2

            make[1]: *** [net/ipv4] Error 2

            make: *** [net] Error 2

            PD.: I am using:




            Thanks you very much.


            15 Feb 2005 06:21 hikaijo

            it is work perfect, drop p2p for me at full speed !

            great !

            04 May 2004 13:24 rikunj

            Excellent piece of work. Keep it up.

            Just trying to understand what does this mean "iptables: match `p2p' v1.2.6a (I'm v1.2.9)."

            21 Oct 2003 07:48 hmgr

            Nice job Filipe, I was looking for something like this!
            Keep the good working!

            21 Oct 2003 05:13 mccc_mail_pt

            Great work. Just what I needed to sanitize my network.
            This must be the single most important little piece of sotware that I installed on my network. A note of caution: Not for the faint of heart. The instalation is not very straightforward. But it just works. Brilliant.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.