Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I would install l7-filter to block P2P torrent, First of all , I have a linux debian. I installed by the below command

apt-get install l7-filter-userspace

And then run command

iptables -I FORWARD -m layer7 --l7proto bittorrent -j DROP 

but face with the error:

iptables v1.4.14: Couldn't load match `layer7':No such file or directory

Try `iptables -h' or 'iptables --help' for more information.

I really don't know what extra should I do ?

share|improve this question

1 Answer 1

To use L7, read the 2 links below:

Option 1 - you will still need to load some kernel modules http://kuscsik.blogspot.com/2008/02/how-to-userspace-l7-filter-on-ubuntu.html

Option 2 - you will need to recompile the the kernel http://www.ph-lwug.org/index.php?option=com_content&view=article&id=71:turn-your-linux-into-layer-7-filtering-appliance-l7-filter

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.