Linux Horizon

Block P2P File Sharing

Hacker Emblem

p2p-grab v.0.1.3
p2p-grab Sourceforge Project Homepage

This script (p2p-grab) will make a log which is useful to generate an IP list. This list is inserted in cbq (www.p2pwatchdog.com/linux.html) to shape the bandwidth for the users that use P2P programs like Kazaa, eMule, DC++, eDokey and so on. If you use HTB or other programs to shape the bandwidth you can use the IP list generated by this program, but you are on your own. Also the IP list can be inserted in an iptables firewall script...

WHAT YOU NEED TO WORK:
1. p2pmon (www.p2pwatchdog.com/linux.html)
2. cbq (https://sourceforge.net/projects/cbqinit)
3. Few information about shell scripting and linux configuration

My script is cbq.init based. If you wanna use a different traffic shaper you can still use the IP list but you must know what you do...

KNOWN BUGS:
The previous bug (incomplete IP dumped) was fixed.

Also the archive content have other files (crontab and rc.local) that I used to make it to work. The other two script files will made you life easyer. Open and read inside for more info.

For more scripting help go to http://www.tldp.org and search for it. Or if you need my help write me at linuxhorizon@linuxhorizon.ro

Click to download (from sourceforge.net)
p2p-grab-v0.1.3.tar.gz

LiNUX Horizon it is a NetXpert Partner Site Meter

LiNUX Horizon Main Page | LiNUX Horizon Online Shop | LiNUX Horizon Forum


Advertising links: Laptop Notebook | Calculatoare | PDA GPS


No Banana Union - No Software Patents Say NO to software patents!

Valid XHTML 1.0! Valid CSS! Viewable With Any Browser