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-07-2007, 01:26 PM   #7
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   #8
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

 
Old 12-09-2007, 11:46 AM   #9
jimtb
 
jimtb's Avatar

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

I finished the MoblockControl class which I think works great as well as the MoblockInfo class, and I made some changes to the GUI to test them.





Having finished all the necessary classes for now, I've started developing the final GUI from scratch. However I would be grateful if someone could test the old one, just to make sure my classes work.

Here is the link for the latest code:
http://rapidshare.com/files/75411518...1a.tar.gz.html

You need to have the packages libqt4-core, libqt4-gui and libqt4-dev to compile it. Use the following commands to compile and run the program.
Code:
tar -xvf mobloquer-0.01a.tar.gz
cd mobloquer
qmake
make
./mobloquer
PS. The program does NOT change the blocklists.list at the moment, it just creates a file named templists.list in the working directory with the new settings.
jimtb is offline   Reply With Quote

 
Old 12-11-2007, 03:07 PM   #10
jimtb
 
jimtb's Avatar

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

Screenshots of the upcoming GUI:





The first tab is almost fully functional(the button doesn't work yet) and I will soon work on the others. Suggestions are welcome once again.

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 09:01 PM.


  

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