Old 12-02-2007, 08:52 AM   #1
jimtb
 
jimtb's Avatar

Member
Join Date: Nov 2007
Location: Athens, Greece
Country: Greece
Posts: 61
Default Mobloquer - A new moblock GUI

Hi everybody!

I've been developing for some months a Graphical User interface for MoBlock in C++ using Qt4. The project's name is Mobloquer and the latest stable version is 0.5.

The program heavily relies on the moblock-control script written by jre, so the easiest way to get mobloquer working in Ubuntu/Debian at the moment is to install the packages from the moblock-deb repository.

Features:
  • View the IPs which MoBlock blocks in realtime as well as some information about each one.
  • Easily view whois information for each IP blocked.
  • Easily configure moblock to stop blocking an IP.
  • Add/Remove/Enable/Disable blocklists and tweak their settings.
  • Quickly tweak moblock's settings such as automatic startup, blocklist format, automatic updates etc.
  • Whitelist specific ports.
  • Whitelist IPs/hostnames.
  • Remove entries from the blocklists.
  • View the state of moblock daemon.
  • View some information about moblock such as the number of the loaded ranges, the last time the blocklists were updated etc.
  • View the log produced by the moblock-control script in real time.
  • View the current iptables rules to determine if moblock is working.
  • Start/Restart/Stop/Reload/Update MoBlock with just one click.

Screenshots[Click for larger images]:


Links:
Official website
Sourceforge.net project page
Mobloquer on qt-apps.org

Last edited by jimtb : 04-24-2008 at 01:35 AM.
jimtb is offline   Reply With Quote

 
Old 12-02-2007, 09:24 AM   #2
siofwolves
 
siofwolves's Avatar

Moderator
Join Date: Sep 2005
Location: West Midlands.
Country: England
Posts: 1,013
Send a message via ICQ to siofwolves Send a message via MSN to siofwolves
Donor
Default Re: A new moblock GUI

Quite awesome jimtb.

Maybe in the first shot, the actual ip thats being blocked could be displayed as well as the description.

Also, in the 3rd shot add the IANA/bogon list.

I may have to install Linux now, looks very good.
siofwolves is offline   Reply With Quote

 
Old 12-02-2007, 09:47 AM   #3
jimtb
 
jimtb's Avatar

Member
Join Date: Nov 2007
Location: Athens, Greece
Country: Greece
Posts: 61
Default Re: A new moblock GUI

Quote:
Originally Posted by siofwolves View Post
Quite awesome jimtb.

Maybe in the first shot, the actual ip thats being blocked could be displayed as well as the description.

Also, in the 3rd shot add the IANA/bogon list.

I may have to install Linux now, looks very good.
Thanks for the comments siofwolves. The second and third shots are just ideas, the actual interface will be different, so don't worry, all blocklists will be there.

I've finished coding the classes MoblockSettings and MoblockLog, which will allow the program to change the settings using moblock.conf and get the last blocks from moblock.log and right now I'm working on the blocklists class, so I guess I'm going to start creating the real interface sometime during this week, depending on my free time.

PS. I forgot to mention that the program also uses console utility tail to get the last log entry. I think that tail is installed by default in all linux distributions but if it's not please tell me and I'll change this.
PPS. Sorry about the images, I just thought that it wouldn't be a problem because they weren't too big.

Last edited by jimtb : 12-02-2007 at 09:52 AM.
jimtb is offline   Reply With Quote

 
Old 12-05-2007, 10:46 PM   #4
TheBlackSun

Member
Join Date: Dec 2007
Country: United States
Posts: 7
Default Re: A new moblock GUI

This looks to be like a great GUI, I am sincerely looking forward to it.

Here's a few of suggestions for you:
1. A method of viewing the blocklists. Perhaps just opening them in the default editor.
2. A dialog box to enter IP Ranges to a custom blocklist.
3. An update log and the ability to change update parameters.
TheBlackSun is offline   Reply With Quote

 
Old 12-06-2007, 12:53 AM   #5
jimtb
 
jimtb's Avatar

Member
Join Date: Nov 2007
Location: Athens, Greece
Country: Greece
Posts: 61
Default Re: A new moblock GUI

Quote:
Originally Posted by TheBlackSun View Post
This looks to be like a great GUI, I am sincerely looking forward to it.

Here's a few of suggestions for you:
1. A method of viewing the blocklists. Perhaps just opening them in the default editor.
2. A dialog box to enter IP Ranges to a custom blocklist.
3. An update log and the ability to change update parameters.
Thanks for the suggestions!
1. You will be probably be able to view and enable/disable to blocklists from the GUI and I think that the best way to do this is to have all of them appear in a list which will contain just their names and a "More info" button to see the actual url of the blocklist. There is just one small problem I need to correct in the blocklists class to make this possible.
2. Thats a great idea, I will certainly implement it later.
3. The log updates automatically, but I can allow the user to change the update parameters(I have set the update interval around 0.5s in my test GUI).

From now on the project has an official svn repository:
Code:
svn co https://mobloquer.svn.sourceforge.net/svnroot/mobloquer/trunk mobloquer
If I have enough time today, I'll redesign the first real GUI with Qt4-designer and post the screen shots here so you tell me what you think of.

More updates coming soon!

jimtb is offline   Reply With Quote

 
Old 12-06-2007, 05:45 PM   #6
jimtb
 
jimtb's Avatar

Member
Join Date: Nov 2007
Location: Athens, Greece
Country: Greece
Posts: 61
Default Re: A new moblock GUI

I wrote some code to test the MoblockList class...Here's what the latest revision looks like:



jimtb is offline   Reply With Quote

 
Old 12-06-2007, 11:57 PM   #7
TheBlackSun

Member
Join Date: Dec 2007
Country: United States
Posts: 7
Default Re: A new moblock GUI

That looks great, about Number 3, what you said is good too, but i meant something different. I meant a log file that logs when the blocklists are updated and what was updated, and the ability to change how often the blocklists are updated. Also a counter of the total ip's being blocked would be cool.
TheBlackSun is offline   Reply With Quote

 
Old 12-07-2007, 12:54 AM   #8
jimtb
 
jimtb's Avatar

Member
Join Date: Nov 2007
Location: Athens, Greece
Country: Greece
Posts: 61
Default Re: A new moblock GUI

Quote:
Originally Posted by TheBlackSun View Post
That looks great, about Number 3, what you said is good too, but i meant something different. I meant a log file that logs when the blocklists are updated and what was updated, and the ability to change how often the blocklists are updated. Also a counter of the total ip's being blocked would be cool.
Oh, well there is this logfile where I can get those data from, it's /var/log/moblock-control.log . I can and will code a class to get data from this but I don't know if it's possible to change how often the blocklists are updated though. I suppose moblock uses cron to schedule this, so I may try to give the user the ability to change this to.

jimtb is offline   Reply With Quote

 
Old 12-07-2007, 01:26 PM   #9
jre

Senior Member
Join Date: Sep 2005
Posts: 588
Default Re: A new moblock GUI

Nice, keep on your work.
From your last message I guess that you use my moblock-control; I appreciate this (or perhaps you just chose the same name!?).
Caution: You can't use the .php redirects with moblock-control! Use the direct bluetack.co.uk/config links instead.
moblock-control [moblock-deb.sf.net] is not (yet!?) part of the official MoBlock [moblock.berlios.de]. But, yes, it uses cron.daily for the updates. So this might be changed easily.

Greets
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 12-07-2007, 06:42 PM   #10
jimtb
 
jimtb's Avatar

Member
Join Date: Nov 2007
Location: Athens, Greece
Country: Greece
Posts: 61
Default Re: A new moblock GUI

Yes, I am definately going to use moblock-control so thank you for developing it. I know moblock-control is not official at the moment but it would be time consuming to re implement it for my GUI as it works great.

PS. I have some problems with my ISP so I may not be able to upload code so often for a while.

jimtb is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 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 04:18 AM.


  

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