PeerGuardian BlockList Filter

From NAS-Central Buffalo - The Linkstation Wiki

(Difference between revisions)
Jump to: navigation, search
(Installation of Linblock)
Line 9: Line 9:
Linblock requieres some Perl Library. It could be install with cpan, just run :
Linblock requieres some Perl Library. It could be install with cpan, just run :
-
{{{
+
 
-
cpan -i LWP Net::IP IPTables::IPv4   
+
* cpan -i LWP Net::IP IPTables::IPv4   
-
}}}
+
 
I have had some make error with the IPTables::IPv4 library, so I install it manualy ( http://search.cpan.org/~dpates/IPTables-IPv4-0.98/IPv4.pm )
I have had some make error with the IPTables::IPv4 library, so I install it manualy ( http://search.cpan.org/~dpates/IPTables-IPv4-0.98/IPv4.pm )
-
{{{
+
 
-
tar -xzvf IPTables-IPv4-0.98.tar
+
*tar -xzvf IPTables-IPv4-0.98.tar
cd IPTables-IPv4-0.98
cd IPTables-IPv4-0.98
perl Makefile.pl
perl Makefile.pl
make
make
make install
make install
-
}}}
+
 
Download (http://dessent.net/linblock/) et chmod linblock
Download (http://dessent.net/linblock/) et chmod linblock
-
{{{
+
* chmod 755 linblock.pl
-
chmod 755 linblock.pl
+
-
}}}
+
= Using =
= Using =

Revision as of 17:52, 1 October 2006

Introduction

I find two way of using peerguardian blocklist file under Unix. The first was the official peerguadian under unix project ( http://moblock.berlios.de/ ) but i have had problems with library. If someone would try make it work it could be great. The second was a to use Linblock ( http://dessent.net/linblock/) witch was use under Linkstation.

Installation of Linblock

Linblock requieres some Perl Library. It could be install with cpan, just run :


* cpan -i LWP Net::IP IPTables::IPv4  


I have had some make error with the IPTables::IPv4 library, so I install it manualy ( http://search.cpan.org/~dpates/IPTables-IPv4-0.98/IPv4.pm )


*tar -xzvf IPTables-IPv4-0.98.tar

cd IPTables-IPv4-0.98 perl Makefile.pl make make install


Download (http://dessent.net/linblock/) et chmod linblock

* chmod 755 linblock.pl

Using

Linblock requiered p2p peerguardian file format. You can find it on peerguardian forum ( ) then just run : {{{ linblock -i yourfile.p2p }}} It will parse and then insert the rules inside iptables. It's take really long time...

Personal tools