Go Back   NGOHQ.com / Software / General Software and Applications

Reply
 
Old July 19th, 2007, 01:41 AM   #1
Golden Member

Posts: 383
CPU: Athlon64 3200+
GPU: MSI nVidia 6800 Ultra
M/B: Asus A8V-Deluxe
RAM: 1GB (2x512MB)
PSU: 460W Akasa Pax
Send a message via MSN to xiaomhome
Default EasyBlock Interface for linux

All you need is untar, ./configure, make. There is no need of make install, after make command just copy the binary located in /where/you/untared/src anywhere. In order to use it you'll need root privileges, because the program will need iptables and acess to /.
(Im already working on a installer)

MoBlock Description: It replaced peerguardian linux, its used to block ads and p2p.

Important: All the credits goes to peerguardian developers / moblock, all my program does is configure moblock scripts and arrange its folder.
You can find all moblock files / scripts here /usr/sbin/MoBlock and your lists / block logs here /etc/MoBlock.

If you want to add more lists, download them here: B.I.S.S. Forums Downloads
After downloading, untar and add them in this file: /etc/MoBlock/Guarding.p2p

(THIS IS NOT NEEDED ANYMORE IN THE BETA VERSIONS SINCE YOU CAN CHANGE THE LISTS YOU WANT TO USE)


I tryed to keep my code very simple, so even if you are a beginner at programming you'll be able to read / modify it to fit your needs.

What will you need:
Iptables; netfilter/iptables project homepage - The netfilter.org project
wxWidget 2.8.3 or better; wxWidgets
wget; GNU Wget
coreutils; Coreutils - GNU core utilities
kernel 2.6.9 or better ( 2.6.18 or better recommended) (if you built your own kernel it may require additional configuration); The Linux Kernel Archives
gcc 3.4.2 or better; GCC, the GNU Compiler Collection - GNU Project - Free Software Foundation (FSF)
make; GNU Make - GNU Project - Free Software Foundation (FSF)
unzip, zip; Info-ZIP Home Page

Dont worry most of this ( if not all ) can be downloaded / installed with your distro package management tools.

IMPORTANT: MOBLOCK WONT WORK WITH 2.6.23 OR NEWER KERNELS
Im looking for a solution for it, in the meantime avoid using moblock with those kernels.

Bug report can be found here: https://developer.berlios.de/bugs/?f...&group_id=2509

Testing MoBlock:
-Start EasyBlock Interface, download / update your lists and start MoBlock
-Open a console window
-Type in the console window "tail -f /etc/MoBlock/MoBlock.log" to watch what is going on with MoBlock - What is it blocking, internal errors, etc..
-Open another console window or a new console tab
-In the second console type "ping www.riaa.com" or "ping terra.com.br" (make sure you have the AD lists selected) --- Or open your browser and enter this link: RIAA or www.terra.com.br;
-Just watch them getting blocked in the MoBlock log file in your first open console, if its not blocking anything or it just throwed an error read it carefully to see what are you missing.
-If you cant find a solution for your problem post the problem.

It should work on any distro, just give it a try.
Any feedbacks or suggestions are welcome.

Remember using MoBlock is not 100% safe, nothing is safe.
Use it at your own risks.

UPDATE
Moving project to sourceforge...
http://sourceforge.net/projects/easyblockinterf/

You can find a unstable beta version there, the new version is working somewhat faster using more native code rather than bash commands. (I'm still replacing the native linux programs with native code functions, this should speed up things and give me more control on what is happening.)

My main problems now:
- Lack of time - Im only working on this on the weekends
- Bluetack files are getting new mirrors, so I have to keep refreshing the code to keep up with the links in the right place.
- MoBlock hasnt released a version with a fix for the 2.6.23 kernel bug, Im going to fix it myself, but I'll need someone that knows shell scripting very well (it doesnt matter if its bash or sh, but sh should be better).
Attached Thumbnails
easy-moblock-linux-emb.png  
__________________
Live Chat in NGOHQ - http://www.ngohq.com/misc.php?do=flashchat
EasyBlock Interface for linux - http://www.ngohq.com/general-softwar...ock-linux.html
New project page: - http://sourceforge.net/projects/easyblockinterf/
Are you a linux user? http://counter.li.org/ - Get counted.
Need help with linux? http://www.ngohq.com/showthread.php?t=9370

Last edited by xiaomhome; April 12th, 2008 at 01:19 AM.
xiaomhome is offline   Reply With Quote
Old July 19th, 2007, 02:16 AM   #2
Owned :S
 

Posts: 2,743
CPU: Intel E8400
GPU: Gainward 8800GT
M/B: Asus Rampage Formula
RAM: OCZ 2x1GB DDR2-800
PSU: PCP&C Silencer 750w
Default

Just downloaded it. I'm looking forward to dissecting the source code.
__________________
There are 11 kinds of people in this world: Those who understand this statement, those who get laid and the lucky bastards that do both.
Unixlord is online now   Reply With Quote
Old July 24th, 2007, 03:29 AM   #3
Newbie

Posts: 5
CPU: e6600 C2duo
GPU: 2x 8800GTSOC
M/B: Fata1ity FP-I9 SLI
RAM: 4GB Super Talent 667
PSU: 800W
Default

My hats off to you on this awesome app. You may want to post this on Phoenixlabs and Ubuntu Forums as well. I see no reason why it would not work on any other distro.
opieum is offline   Reply With Quote
Old July 24th, 2007, 04:40 AM   #4
Golden Member

Posts: 383
CPU: Athlon64 3200+
GPU: MSI nVidia 6800 Ultra
M/B: Asus A8V-Deluxe
RAM: 1GB (2x512MB)
PSU: 460W Akasa Pax
Send a message via MSN to xiaomhome
Default

Hi opieum,
Im happy to see you liked my application, if you want to tell other people about this go ahead, but if someone really got interested in this kind of program they would have already found it. I would not feel confortable in any other forum, because of my incomplete or informal english.

Yes it should work in any other distro, i think the main problem is getting dependencies up and running to compile the program.
__________________
Live Chat in NGOHQ - http://www.ngohq.com/misc.php?do=flashchat
EasyBlock Interface for linux - http://www.ngohq.com/general-softwar...ock-linux.html
New project page: - http://sourceforge.net/projects/easyblockinterf/
Are you a linux user? http://counter.li.org/ - Get counted.
Need help with linux? http://www.ngohq.com/showthread.php?t=9370
xiaomhome is offline   Reply With Quote
Old July 24th, 2007, 11:36 AM   #5
Owned :S
 

Posts: 2,743
CPU: Intel E8400
GPU: Gainward 8800GT
M/B: Asus Rampage Formula
RAM: OCZ 2x1GB DDR2-800
PSU: PCP&C Silencer 750w
Default

Well I've found a bunch of minor spelling/grammer mistakes in the mouseover texts. I haven't had time for a proper look at the code but form what I've seen it's very clean and just dying to be tweaked. Are you interested in expanding the program to be a complete config tool?
__________________
There are 11 kinds of people in this world: Those who understand this statement, those who get laid and the lucky bastards that do both.
Unixlord is online now   Reply With Quote
Old July 24th, 2007, 11:41 AM   #6
Banned
 

Posts: 6,012
CPU: E6550
GPU: Gainward Bliss 9600GT
M/B: GA-X38-DQ6
RAM: 4G OCZ Reaper X DDR2
PSU: Corsair CMPSU-520HX
Default

Any editing you guys need help with as far as spelling and grammar let me know if I can help
Mac Daddy is offline   Reply With Quote
Old July 24th, 2007, 05:25 PM   #7
Golden Member

Posts: 383
CPU: Athlon64 3200+
GPU: MSI nVidia 6800 Ultra
M/B: Asus A8V-Deluxe
RAM: 1GB (2x512MB)
PSU: 460W Akasa Pax
Send a message via MSN to xiaomhome
Default

Quote:
Originally Posted by Unixlord View Post
Well I've found a bunch of minor spelling/grammer mistakes in the mouseover texts. I haven't had time for a proper look at the code but form what I've seen it's very clean and just dying to be tweaked. Are you interested in expanding the program to be a complete config tool?
Yes, I would like to expand the program, but i think there is no need of tweaking more the code, although i can reduce it for the next version. The last thing i want is make it more complicated with threads, so im avoiding it. I was thinking in adding a log viewer, but since there are no multiple threads user would have to click a refresh button to see the lastest events in the log file, what do you think about it?
Thanks for you Unixlord and Mac Daddy for the answers.

Edit: One question, How to ensure that the user is running the app as root?
__________________
Live Chat in NGOHQ - http://www.ngohq.com/misc.php?do=flashchat
EasyBlock Interface for linux - http://www.ngohq.com/general-softwar...ock-linux.html
New project page: - http://sourceforge.net/projects/easyblockinterf/
Are you a linux user? http://counter.li.org/ - Get counted.
Need help with linux? http://www.ngohq.com/showthread.php?t=9370

Last edited by xiaomhome; July 24th, 2007 at 08:22 PM.
xiaomhome is offline   Reply With Quote
Old July 25th, 2007, 12:19 AM   #8
Owned :S
 

Posts: 2,743
CPU: Intel E8400
GPU: Gainward 8800GT
M/B: Asus Rampage Formula
RAM: OCZ 2x1GB DDR2-800
PSU: PCP&C Silencer 750w
Default

Quote:
How to ensure that the user is running the app as root?
I'm not sure what you mean by ensure. Do you mean to stop the user from running as anything other than root or just making things easier?
Well this can be looked at from a number of angles. If the app is going to remain as source a simple readfirst.txt can warn the user to run as root. If you create an app launcher it's as simple as adding "gksu" to the head of the command. I'm not sure I've answered your question but I was thinking along the lines: A simple installation script that compiles the source and generates a launcher with an icon that asks for the root password (Since the app is about user friendliness because it's a gui to do what you would normally do via text).
__________________
There are 11 kinds of people in this world: Those who understand this statement, those who get laid and the lucky bastards that do both.
Unixlord is online now   Reply With Quote
Old July 25th, 2007, 01:45 AM   #9
Site Staff

Posts: 11,520
CPU: Intel Q6600
GPU: GeForce 8800GT
M/B: Maximus Extreme
RAM: DDR3 1333
PSU: BeQuiet! 750w
Default

Well done. This thread has been sticked, and I will have a word with some guys in other sites, maybe they will like it too. You can host it here via the attachment tab, Rapidshare sucks.
Regeneration is online now   Reply With Quote
Old July 25th, 2007, 01:46 AM   #10
Golden Member

Posts: 383
CPU: Athlon64 3200+
GPU: MSI nVidia 6800 Ultra
M/B: Asus A8V-Deluxe
RAM: 1GB (2x512MB)
PSU: 460W Akasa Pax
Send a message via MSN to xiaomhome
Default

Quote:
Originally Posted by Unixlord View Post
I'm not sure what you mean by ensure. Do you mean to stop the user from running as anything other than root or just making things easier?
Well this can be looked at from a number of angles. If the app is going to remain as source a simple readfirst.txt can warn the user to run as root. If you create an app launcher it's as simple as adding "gksu" to the head of the command. I'm not sure I've answered your question but I was thinking along the lines: A simple installation script that compiles the source and generates a launcher with an icon that asks for the root password (Since the app is about user friendliness because it's a gui to do what you would normally do via text).
Friendliness thats the point, sure I could do that but sadly I dont know how to edit the makefile(Im used to Windows when programming - Maybe i should make an installaler for it instead?). Sorry for my misinformation - and yes the application MUST be run as root since it will need acess to iptables and /usr/sbin + /etc folders right to write.

Edit: Sorry i didnt see your reply Regeneration: Thank you, it would be great. Ill attach it here soon.
Edit2: I cant attach files with bz2 extension, so i renamed it .zip.
Edit3: New beta im testing, works on opensuse and gentoo
__________________
Live Chat in NGOHQ - http://www.ngohq.com/misc.php?do=flashchat
EasyBlock Interface for linux - http://www.ngohq.com/general-softwar...ock-linux.html
New project page: - http://sourceforge.net/projects/easyblockinterf/
Are you a linux user? http://counter.li.org/ - Get counted.
Need help with linux? http://www.ngohq.com/showthread.php?t=9370

Last edited by xiaomhome; July 31st, 2007 at 01:02 AM.
xiaomhome is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are Off

ATI Radeon HD 4870 4850 3850 3870 2900 2600 NVIDIA GeForce 280 260 9800 9600 8800 8600 - NGOHQ.com





eXTReMe Tracker

Copyright © NGOHQ.com - All rights reserved
Reproduction in whole or in part in any form or medium
without written permission of the site's owners is prohibited.
Powered by vBadvanced - Template by ForumMonkeys
Powered by vBulletin from Jelsoft Enterprises Ltd
Copyright © 2000-2007 Jelsoft Enterprises Limited
LinkBacks Enabled by vBSEO 3.1.0

Contact Us - Archive - NGOHQ.com - NGOHQ.org - NGOHQ.net - Privacy Policy & Disclaimer - Top