moblock on Bubba
Posted: 11 Oct 2008, 15:12
Hi,
As those forums have been of great help for setting up my bubba two, I felt I was in debt, so my first post is a give back: how to set up moblock on Bubba Two.
Moblock is a "Peerguardian for linux". See http://moblock.berlios.de/ or http://phoenixlabs.org/pg2/ . If you don't know about moblock or peerguardian you may not need them.
In my B2 it's quite lightweitgh (except when loading blocklists on start) and I can hardly see it in "top".
So, straight to the point, to install moblock (you may disregard some steps if you know what you're doing):
1) get root privileges, and move to a temp/work dir
2) apt-get install bzip2 gcc g++ build-essential libnetfilter-queue-dev libnetfilter-queue
3) wget http://download.berlios.de/moblock/MoBl ... 86.tar.bz2
4) tar xvjf MoBlock-0.8-i586.tar.bz2
5) cd MoBlock-0.8
6) edit Makefile to remove references to x86 arch (line 10, "-march=i586 -mtune=i686" - just delete them)
7) make
8) make install
At this point you have done the easiest, safest part of the job and you should have a working /usr/bin/moblock, but you'll need a working blocklist file (ie: guarding.p2p or similar) to have moblock do something useful.
(to be continued)
As those forums have been of great help for setting up my bubba two, I felt I was in debt, so my first post is a give back: how to set up moblock on Bubba Two.
Moblock is a "Peerguardian for linux". See http://moblock.berlios.de/ or http://phoenixlabs.org/pg2/ . If you don't know about moblock or peerguardian you may not need them.
In my B2 it's quite lightweitgh (except when loading blocklists on start) and I can hardly see it in "top".
So, straight to the point, to install moblock (you may disregard some steps if you know what you're doing):
1) get root privileges, and move to a temp/work dir
2) apt-get install bzip2 gcc g++ build-essential libnetfilter-queue-dev libnetfilter-queue
3) wget http://download.berlios.de/moblock/MoBl ... 86.tar.bz2
4) tar xvjf MoBlock-0.8-i586.tar.bz2
5) cd MoBlock-0.8
6) edit Makefile to remove references to x86 arch (line 10, "-march=i586 -mtune=i686" - just delete them)
7) make
8) make install
At this point you have done the easiest, safest part of the job and you should have a working /usr/bin/moblock, but you'll need a working blocklist file (ie: guarding.p2p or similar) to have moblock do something useful.
(to be continued)