LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   PeerGuardian for linux?? (https://www.linuxquestions.org/questions/linux-software-2/peerguardian-for-linux-71386/)

bling bling 07-09-2003 05:15 PM

PeerGuardian for linux??
 
What is a program I can use that is like PeerGuardian for windows that will block unwanted ip's for linux?
And where can I get a list to update it?

contrasutra 07-09-2003 05:29 PM

IPTABLES, the Linux firewall.

You probobly have it installed

man iptables

Quote:

And where can I get a list to update it?
Dont understand ya.

bling bling 07-09-2003 05:51 PM

Ok so how can I MASS add ip's?
Like 5000+

sj26 11-01-2003 08:06 AM

I came across the same problems and so I made my own interpreter for the peerguardian script which made a bash script to run the iptables commands. I cannabalized this bloacklist converter program to do this, take a look if you like:
http://mldonkey.berlios.de/modules.p...download&cid=2 (ipblacklist_convert)

just download the latest peerguardian guarding.p2p, run it through the converter into iptables format, and run the bash script. I don't think there's any customising neccessary. I actually expanded this quite a bit further, including an IP.Prefix file and IPFilter for eMule, al of which were combined and then added using a seperate chain that could be run on input, output and forward, and would auto-update hourly using cron, but this program is the essance of it - you shouldn't have too many problems just using this once or occasionally or even designing your own script. I haven't got anywhere to upload mine atm sorry.

hope this helps.


All times are GMT -5. The time now is 02:48 PM.