 |

 |
|
 |
| |
09-15-2009, 12:55 PM
|
#1
|
|
|
Installing Moblock on CentOS 5.3
Hi,
I'm trying to install Moblock on CentOS 5.3 and it's really difficult to find packages for it or even compile in the source.
I have discovered these pages:
http://forums.phoenixlabs.org/showth...ghlight=centos
http://forums.phoenixlabs.org/showth...ghlight=centos
and attempted the second one! Of which I get errors on both the cron.daily script and init.d script.
In fact something is not right as checking the logs doesn't show any action what so ever
I grabbed rpm's from rpm search website which I managed to mix and match Fedora 10 and RedHat el5 ones for the netfilter bits and attempted to install the script in the Moblock downloads section.
Basically what I ended up with is a mess!!!
Upon trying to remove the Fedora 10 rpm I used rpm -e which claimed that the package isn't installed however when attempting the Fedora 7 rpm from the first link it claims that it is.....
I am lost, if anyone can assist me in removing and helping me identify which rpm's would work on my system I'd be really grateful!!
Many thanks!
|
|
|
| |
09-15-2009, 04:38 PM
|
#2
|
|
|
Re: Installing Moblock on CentOS 5.3
Hmm, for unistallation I guess you better ask in a CentOS forum. (Of course, if anybody here can help, I´d welcome that.)
For installation, I´m not really sure what to suggest. - AFAIK most rpm packages are outdated. Especially moblock 0.8 should not be used with multiple blocklists, although only using the ipfilter.dat list is ok. Further that can´t be integrated with most other firewalls (see "marking packets").
- Instead moblock 0.9 cvs version should be used. I offer that together with blockcontrol at moblock-deb.sourceforge.net. But there are no RPMs. So you have to install from source (once you have the relevant netfilter development files that is an average task, but still doable.)
- You may also use iplist instead. IIRC iplist.sourceforge.net has RPM packages.
Other solutions are in work, but not available yet.
__________________
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.
|
|
|
| |
09-16-2009, 08:27 AM
|
#3
|
|
|
Re: Installing Moblock on CentOS 5.3
Many thanks jre,
I have Google'd some more and come across this:
http://forums.clarkconnect.com/showf...93&Main=103266
which also says to use iplist in conjunction with Moblock.....
Therefor I click on the link you gave for iplist only the Fedora 9 rpm I tried didn't work, so I'm wondering which version of iplist will run on my system??
Well in mean time of writing this I found one for Fedora Core 8.... I will try in a sec.
Is this a GUI tool??? Basically, since my server is CLI only based I need something to run in background to work like Peer Guardian on Win but without GUI or remote X over SSH tunnel for it.
Well any more suggestions would be much appreciated!
|
|
|
| |
09-16-2009, 08:32 AM
|
#4
|
|
|
Re: Installing Moblock on CentOS 5.3
Manage to install iplist Fedora Core 8 no problems...
Now just need to know how to load it into Moblock:
My adapted Moblock Makefile
Code:
# To use the old-soon-to-be-deprecated libipq interface
# uncomment the following line and comment the NFQUEUE one,
# then comment the gcc line with netfilter_queue and
# uncomment the following one.
#QUEUE_LIB=LIBIPQ
#QUEUE_LIB=NFQUEUE
CFLAGS=-Wall -O2 -march=i586 -mtune=i686 -fomit-frame-pointer -ffast-math \
-D_GNU_SOURCE -D$(QUEUE_LIB) -L/usr/include/libipq
CC=gcc
all: moblock
moblock: MoBlock.o rbt.o
gcc -o $@ MoBlock.o rbt.o -lnetfilter_queue -lnfnetlink
#gcc -o $@ MoBlock.o rbt.o -lipq
strip $@
moblock-static: MoBlock.o rbt.o
gcc -static -o $@ MoBlock.o rbt.o -lnetfilter_queue -lnfnetlink
#gcc -static -o $@ MoBlock.o rbt.o -lipq
strip $@
clean:
rm -f *.o *~ *# moblock
install:
install -m 755 moblock $(DESTDIR)/usr/bin
.PHONY: clean
|
|
|
| |
09-16-2009, 05:26 PM
|
#5
|
|
|
Re: Installing Moblock on CentOS 5.3
No, it is either iplist or moblock! These are complete alternatives!
Iplist may also be used console only, without the GUI. But I can´t give any further advice, because I´ve never used it.
__________________
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.
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:04 AM.
 |
|
 |
|
 |