Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips > Outdated Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Outdated Tutorials & Tips
Outdated Tutorials & Tips

 
Thread Tools Display Modes
Old June 8th, 2006   #1
pelle.k
100% Pure Ubuntu
 
pelle.k's Avatar
 
Join Date: Nov 2005
Location: Scandinavia
Beans: 900
Ubuntu 9.04 Jaunty Jackalope
Moblock (peerguardian linux alternative)

Quote:
MoBlock and Peerguardian are both applications that enable you to block internet traffic based on large lists of ip address ranges in order to protect your privacy
http://moblock-deb.sourceforge.net/

This HOWTO is moved to:
https://help.ubuntu.com/community/MoBlock - i do not maintain it. feel free to edit as you like.


Support thread maintained by JRE, the moblock maintainer.
http://ubuntuforums.org/showthread.php?p=5016102

Last edited by pelle.k; May 22nd, 2008 at 04:32 AM..
pelle.k is offline  
Old June 15th, 2006   #2
pinoyskull
Dipped in Ubuntu
 
pinoyskull's Avatar
 
Join Date: Sep 2005
Location: cloud
Beans: 567
Send a message via ICQ to pinoyskull Send a message via AIM to pinoyskull Send a message via MSN to pinoyskull Send a message via Yahoo to pinoyskull
Re: Moblock (peerguardian linux alternative)

very nice guide, this will replace my old peerguardian installation
__________________
I want to be a Puppet Master
pinoyskull is offline  
Old June 15th, 2006   #3
pinoyskull
Dipped in Ubuntu
 
pinoyskull's Avatar
 
Join Date: Sep 2005
Location: cloud
Beans: 567
Send a message via ICQ to pinoyskull Send a message via AIM to pinoyskull Send a message via MSN to pinoyskull Send a message via Yahoo to pinoyskull
Re: Moblock (peerguardian linux alternative)

i got an issue with moblock, the moblock.log says

---
error during nfq_create_queue()
Ranges loaded: 0
Merged ranges: 0
Skipped useless ranges: 0
NFQUEUE: binding to queue '0'
error during nfq_create_queue()
Ranges loaded: 0
Merged ranges: 0
Skipped useless ranges: 0
NFQUEUE: binding to queue '0'
---
i've highlighted the error
__________________
I want to be a Puppet Master
pinoyskull is offline  
Old June 15th, 2006   #4
jamesford
Has an Ubuntu Drip
 
Join Date: Jul 2005
Beans: 582
Ubuntu 8.04 Hardy Heron
Re: Moblock (peerguardian linux alternative)

can you tell me if this works with firestarter? last time i tried moblock and peerguardian it kept disabling my firewall
__________________
hardy 64 bit
jamesford is offline  
Old June 15th, 2006   #5
bionnaki
Dark Roasted Ubuntu
 
Join Date: Aug 2005
Beans: 1,028
Re: Moblock (peerguardian linux alternative)

is this more stable than peerguardian?
bionnaki is offline  
Old June 15th, 2006   #6
bionnaki
Dark Roasted Ubuntu
 
Join Date: Aug 2005
Beans: 1,028
Re: Moblock (peerguardian linux alternative)

how do you stop/restart moblock? how do you make exceptions for port 80?
bionnaki is offline  
Old June 15th, 2006   #7
pelle.k
100% Pure Ubuntu
 
pelle.k's Avatar
 
Join Date: Nov 2005
Location: Scandinavia
Beans: 900
Ubuntu 9.04 Jaunty Jackalope
Re: Moblock (peerguardian linux alternative)

pinoyskull: Are you using breezy? If so, you should install moblock-ipq instead...
If you are running a kernel > 2.6.15, could you run 'lsmod | grep NFQUEUE'.
Run 'sudo ls /etc/moblock'. I want to see if all files are there.

jamesford: I really don't know if it works alongside firestarter. It would be really nice if you (or somebody else) would try this as i have no need for a software firewall (i'm behind a hardware firewall ATM). Let me know, and i'll update my howto.

bionnaki: MoBlock is actively developed, PG for linux is not. I would say moblock is very easy to handle, and it has a nice and clean structure. You be the judge. I chose MoBlock because almost nothing is happening to PG linux ATM.
MoBlock has a whitelist at the top of /etc/moblock/MoBlock-nfq.sh. There you can add port 80 (80 which is http is already accepted for outgoing connectiond and their counterpart replys > in.)
About restarting moblock; it's in the howto, but anyway... 'sudo /etc/init.d/moblock-nfq restart'

To all of you:
I've been thinking of writing a GUI for MoBlock using python/ruby, which would handle starting/stopping, updating blocklist, live status and letting people cancel certain ips/ports from the blocklist.
It would be a tray app of course.

Last edited by pelle.k; June 15th, 2006 at 01:37 PM..
pelle.k is offline  
Old June 15th, 2006   #8
jamesford
Has an Ubuntu Drip
 
Join Date: Jul 2005
Beans: 582
Ubuntu 8.04 Hardy Heron
Re: Moblock (peerguardian linux alternative)

well it doesent mess with firestarter but maybe thats cos moblock isnt blocking anything it doesent work.
there are no error messages in the log, appears to be running. but not blocking
__________________
hardy 64 bit
jamesford is offline  
Old June 15th, 2006   #9
smartalecks
Way Too Much Ubuntu
 
Join Date: May 2006
Beans: 242
Ubuntu Jaunty Jackalope (testing)
Re: Moblock (peerguardian linux alternative)

thanks for the howto m8.
looking forward to the GUI, if you make it.

is there any equivalent to PG's "pgtext" and Monitor PG?
smartalecks is offline  
Old June 15th, 2006   #10
pelle.k
100% Pure Ubuntu
 
pelle.k's Avatar
 
Join Date: Nov 2005
Location: Scandinavia
Beans: 900
Ubuntu 9.04 Jaunty Jackalope
Re: Moblock (peerguardian linux alternative)

jamesford; could you 'tail -f /var/log/moblock.log' and connect to http://relay.slayradio.org:8000/ using beep-media-player or whatever? I get blocked if I do. A couple of times at least, then i get connected from a different ip.
Also, if i'm not mistaken you can do sudo '/etc/init.d/moblock-nfq status'

Last edited by pelle.k; June 15th, 2006 at 07:52 PM..
pelle.k is offline  

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:43 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry