Amule: Difference between revisions
Jump to navigation
Jump to search
(→Usage) |
(→iplist: removing bogon.bz) |
||
Line 39: | Line 39: | ||
* Type <tt>sudo ipblock -g</tt> to start the GUI. At first boot, it will creates the '''rc.d''' entry. |
* Type <tt>sudo ipblock -g</tt> to start the GUI. At first boot, it will creates the '''rc.d''' entry. |
||
* Configuration file is at '''<tt>/etc/ipblock.conf</tt>'''. All lists URL is at '''<tt>/etc/ipblock.list</tt>'''. |
* Configuration file is at '''<tt>/etc/ipblock.conf</tt>'''. All lists URL is at '''<tt>/etc/ipblock.list</tt>'''. |
||
==== Troubleshoot ==== |
|||
* If like me, your dhcp server gives you an address in the range <tt>172.19.xxx.yyy</tt>, all internet connections will be blocked by ''iplist''. To prevent this, an easy (but heavy) workaround is simply to remove list ''bogon.gz''. |
|||
=== Netfilter === |
=== Netfilter === |
Revision as of 21:34, 5 October 2008
Privacy
MoBlock
- Homepage: http://moblock.berlios.de/
- To make on openSUSE: http://forums.phoenixlabs.org/showthread.php?t=16461
- Need package: libnetfilter_queue-0.0.15.tar.bz2, libnfnetlink-0.0.33.tar.bz2.
iplist
- iplist is a list based packet handler which uses the netfilter netlink-queue library (kernel 2.6.14 or later). It filters by IP-address and is optimized for thousands of IP-address ranges. It is an alternative to MoBlock.
- Homepage
- Post on openSUSE: http://forums.opensuse.org/applications/388841-iplist-peerguardian-linux-must-have-p2p.html
Installation
- Download required netfilter packages from Netfilter page
- Download iplist from IPList page. There is openSUSE prebuilt RPMs.
- First build libnfnetlink:
tar -xvfj libnfnetlink-0.0.39.tar.bz2
cd libnfnetlink-0.0.39
./configure --prefix=/usr # install libs in /usr/lib instead of /usr/local/lib
make
sudo make install
- Then build libnetfilter_queue:
tar -xvfj libnetfilter_queue-0.0.16.tar.bz2
cd libnetfilter_queue-0.0.16
./configure --prefix=/usr # install libs in /usr/lib instead of /usr/local/lib
make
sudo make install
- Finally, install iplist, but ignore dependencies:
sudo rpm -ivh --nodeps iplist-0.22-0.suse11.i586.rpm
Usage
- Type sudo ipblock -g to start the GUI. At first boot, it will creates the rc.d entry.
- Configuration file is at /etc/ipblock.conf. All lists URL is at /etc/ipblock.list.
Troubleshoot
- If like me, your dhcp server gives you an address in the range 172.19.xxx.yyy, all internet connections will be blocked by iplist. To prevent this, an easy (but heavy) workaround is simply to remove list bogon.gz.
Netfilter
- Homepage
- Used by other filtering application above (usually libnfnetlink, and libnetfilter_queue)
- ipset is an alternative to iplist but requires more hand works.