Go Back   Phoenix Labs > Projects > PeerGuardian Linux
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes

 
Old 03-22-2009, 03:11 PM   #1
jre

Senior Member
Join Date: Sep 2005
Posts: 588
Default blockcontrol, previously moblock-control

I just released blockcontrol 1.3. blockcontrol was previously known as moblock-control. It's designed to do all tasks related to IP block daemons (MoBlock or NFBlock).

The MoBlock GUI mobloquer is based on blockcontrol. So I adapted the mobloquer code and made a release, too: mobloquer 0.6. I'm sorry to say, that we still miss an active developer for mobloquer.

NFBlock is now fully supported by blockcontrol. Therefore I added nfblock 0.6.2 to the Debian (and Ubuntu) repository, see below.

Features:
  • Start and stop IP block daemon. Or let init do this automatically.
  • Update your blocklist from online sources and local blocklists. Or let cron do this automatically on a regular basis.
  • Remove lines by keyword from the blocklists.
  • Handle your iptables rules: use a default setup, easily allow all traffic on specific ports and use an allow list, or add your own sophisticated iptables rules.
  • Allow all LAN traffic and the DNS server automatically. If you are on a public LAN, you probably want to disable this feature.
  • Check the status and test the IP block daemon.
  • Detects if kernel modules are needed and loads them if necessary.
  • Set verbosity and logging options.
  • Provides LSB 3.1 compatible init script.
  • Daily rotation of the logfiles.

NEWS:
  • Full support for Moblock and NFBlock.
  • New option "search": Examine your selected blocklists by searching the single blocklists for keywords.
  • All user configuration is now done in /etc/blockcontrol/blockcontrol.conf. Not any more in /etc/default/...

Download/packages:
blockcontrol is available at http://moblock-deb.sourceforge.net
You can get Debian (and Ubuntu) packages of blockcontrol, MoBlock, mobloquer and NFBlock at http://moblock-deb.sourceforge.net
There are some RPM specs in this thread: http://forums.phoenixlabs.org/showthread.php?t=17623

jre
__________________
Code:
Please post your logfiles and output of commands wrapped in
[ CODE ] tags. You find them in the advanced editing mode: #
Maintainer of http://moblock-deb.sourceforge.net: MoBlock, mobloquer, blockcontrol and NFBlock Debian packages.
Author of blockcontrol, previously moblock-control.
jre is offline   Reply With Quote

 
Old 03-23-2009, 02:18 PM   #2
Digger50

Member
Join Date: Sep 2007
Posts: 21
Default Re: blockcontrol, previously moblock-control

M8 you killed mobloquer.

Can I even get the source from somewhere and try to compile it myself?

Thanks
Attached Images
File Type: jpg moblo1.jpg (36.0 KB, 6 views)

Last edited by Digger50 : 03-23-2009 at 02:24 PM.
Digger50 is offline   Reply With Quote

 
Old 03-23-2009, 02:38 PM   #3
jre

Senior Member
Join Date: Sep 2005
Posts: 588
Default Re: blockcontrol, previously moblock-control

What's your distribution? What are your entries in /etc/apt/sources.list?
Please post your "dpkg --print-architecture".
I will check the repository then.

The pre-compiled packages are in http://moblock-deb.sourceforge.net/d...n/m/mobloquer/

The source is also on moblock-deb.sourceforge.net
__________________
Code:
Please post your logfiles and output of commands wrapped in
[ CODE ] tags. You find them in the advanced editing mode: #
Maintainer of http://moblock-deb.sourceforge.net: MoBlock, mobloquer, blockcontrol and NFBlock Debian packages.
Author of blockcontrol, previously moblock-control.
jre is offline   Reply With Quote

 
Old 03-23-2009, 02:44 PM   #4
Digger50

Member
Join Date: Sep 2007
Posts: 21
Default Re: blockcontrol, previously moblock-control

According to "sudo blockcontrol test" moblock is working.

However

Code:
$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libmp4v2-0 moblock-control
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up blockcontrol (1.3-2) ...
[: 1099: missing ]
mv: cannot move `/var/spool/moblock/Bluetack_badpeers' to `/var/spool/blockcontrol/Bluetack_badpeers': Directory not empty
mv: cannot move `/var/spool/moblock/Bluetack_rangetest' to `/var/spool/blockcontrol/Bluetack_rangetest': Directory not empty
mv: cannot move `/var/spool/moblock/TBG_Bogon' to `/var/spool/blockcontrol/TBG_Bogon': Directory not empty
mv: cannot move `/var/spool/moblock/TBG_Hijacked' to `/var/spool/blockcontrol/TBG_Hijacked': Directory not empty
mv: cannot move `/var/spool/moblock/TBG_Primary_Threats' to `/var/spool/blockcontrol/TBG_Primary_Threats': Directory not empty
dpkg: error processing blockcontrol (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of moblock-control:
 moblock-control depends on blockcontrol; however:
  Package blockcontrol is not configured yet.
dpkg: error processing moblock-control (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 blockcontrol
 moblock-control
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any Idea what's wrong or how to fix it?
Digger50 is offline   Reply With Quote

 
Old 03-23-2009, 02:48 PM   #5
Digger50

Member
Join Date: Sep 2007
Posts: 21
Default Re: blockcontrol, previously moblock-control

Kubuntu hardy i386

Quote:
Originally Posted by Sources.list
deb http://gb.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu/ hardy partner
deb-src http://archive.canonical.com/ubuntu/ hardy partner
deb http://archive.ubuntu.com/ubuntu/ hardy main universe restricted multiverse
#Addedby software-properties
deb-src http://archive.ubuntu.com/ubuntu/ hardy main universe restricted multiverse
deb http://security.ubuntu.com/ubuntu/ hardy-security universe main multiverse restricted
deb-src http://security.ubuntu.com/ubuntu/ hardy-security universe main multiverse restricted
deb http://archive.ubuntu.com/ubuntu/ hardy-updates universe main multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu/ hardy-updates universe main multiverse restricted
deb http://archive.ubuntu.com/ubuntu/ hardy-proposed universe main multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu/ hardy-proposed universe main multiverse restricted
deb http://archive.ubuntu.com/ubuntu/ hardy-backports universe main multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu/ hardy-backports universe main multiverse restricted
deb http://moblock-deb.sourceforge.net/debian/ hardy main
deb-src http://moblock-deb.sourceforge.net/debian/ hardy main
deb http://ppa.launchpad.net/msn-pecan/ubuntu hardy main
deb-src http://ppa.launchpad.net/msn-pecan/ubuntu hardy main
deb http://ppa.launchpad.net/paul-climbing/ubuntu hardy main
deb-src http://ppa.launchpad.net/paul-climbing/ubuntu hardy main
Edit: I just tried installing mobloquer_0.6-1_i386.deb but I get dependency problems

Code:
dpkg -i '///home/digger/Download/mobloquer_0.6-1_i386.deb' ;echo RESULT=$?
Selecting previously deselected package mobloquer.
(Reading database ... 181471 files and directories currently installed.)
Unpacking mobloquer (from .../mobloquer_0.6-1_i386.deb) ...
dpkg: dependency problems prevent configuration of mobloquer:
 mobloquer depends on libqtcore4 (>= 4.4.3); however:
  Version of libqtcore4 on system is 4.4.0-1ubuntu5~hardy1.
 mobloquer depends on libqtgui4 (>= 4.4.3); however:
  Version of libqtgui4 on system is 4.4.0-1ubuntu5~hardy1.
 mobloquer depends on blockcontrol; however:
  Package blockcontrol is not configured yet.
dpkg: error processing mobloquer (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 mobloquer
One of these days I will learn not to upgrade lol

Last edited by Digger50 : 03-23-2009 at 02:59 PM.
Digger50 is offline   Reply With Quote

 
Old 03-23-2009, 03:34 PM   #6
Digger50

Member
Join Date: Sep 2007
Posts: 21
Default Re: blockcontrol, previously moblock-control

OK I completely removed moblock and then installed blockcontrol and moblock

the errors thrown up by "sudo apt-get install -f" have now gone.

My only issue now is mobloquer which won't install because of the dependency problems posted above.
Digger50 is offline   Reply With Quote

 
Old 03-23-2009, 04:24 PM   #7
jre

Senior Member
Join Date: Sep 2005
Posts: 588
Default Re: blockcontrol, previously moblock-control

Yes, I dropped gutsy and hardy, because the packages don't build any more there.

I can either try to remove the new trouble-making parts from the code and build the packages again,
or you install newer libqt packages from hardy backports: http://packages.ubuntu.com/hardy-backports/
__________________
Code:
Please post your logfiles and output of commands wrapped in
[ CODE ] tags. You find them in the advanced editing mode: #
Maintainer of http://moblock-deb.sourceforge.net: MoBlock, mobloquer, blockcontrol and NFBlock Debian packages.
Author of blockcontrol, previously moblock-control.
jre is offline   Reply With Quote

 
Old 03-23-2009, 04:37 PM   #8
Digger50

Member
Join Date: Sep 2007
Posts: 21
Default Re: blockcontrol, previously moblock-control

unfortunately its the backports versions I have, which are no good.

Dont suppose you still have the previous packages kicking around?
Digger50 is offline   Reply With Quote

 
Old 03-23-2009, 04:49 PM   #9
jre

Senior Member
Join Date: Sep 2005
Posts: 588
Default Re: blockcontrol, previously moblock-control

I'm just uploading the old repository. Simply change your moblock-deb entries in /etc/apt/sources.list to contain 20090109 instead of debian:
Code:
deb http://moblock-deb.sourceforge.net/20090109 hardy main
__________________
Code:
Please post your logfiles and output of commands wrapped in
[ CODE ] tags. You find them in the advanced editing mode: #
Maintainer of http://moblock-deb.sourceforge.net: MoBlock, mobloquer, blockcontrol and NFBlock Debian packages.
Author of blockcontrol, previously moblock-control.

Last edited by jre : 03-23-2009 at 05:02 PM.
jre is offline   Reply With Quote

 
Old 03-23-2009, 05:09 PM   #10
Digger50

Member
Join Date: Sep 2007
Posts: 21
Default Re: blockcontrol, previously moblock-control

Thanks, I really appreciate your hard work.

How long before the repo is ready? I just tried it and got a 403 Forbidden message.

I'm not trying to rush you, just trying to get an idea of when to try again.

Thanks much
Digger50 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 3 (0 members and 3 guests)
 
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:46 PM.


  

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© Phoenix Labs Staff