SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am interested in installing iplist/ipblock. It is available as source, but I am not sure I have resolved the dependencies properly. It starts to make but fails. I intended to build a package using this guide:
That's not a dependency-related error. It's simply compiler errors from code which is no longer valid with your compiler version. Look for patches which fix the problem from fedora, LFS or ubuntu.
Found this on ARCH: http://aur.archlinux.org/packages/ip.../iplist.tar.gz
It contains the patch you need(nfq.patch)
That's not a dependency-related error. It's simply compiler errors from code which is no longer valid with your compiler version. Look for patches which fix the problem from fedora, LFS or ubuntu.
Found this on ARCH: http://aur.archlinux.org/packages/ip.../iplist.tar.gz
It contains the patch you need(nfq.patch)
Okay, I have that patch now, but not sure how to apply it. I dropped it into the src folder of iplist, but this fails to make.
I suppose it's the fact that make returns the word "deprecated", that lets you know its related to outdated code, and to seek out a patch? I looked through the nfq.cc but saw no relative way to apply the contents of the patch.
Thanks for your help. I normally dont have trouble with software making and have installed other things like eclipse and swftools without problem.
Actually I just tried dropping the entire iplist.tar.gz with the patch in it in the main folder of the iplist I was trying to make, and it seems to have finished making. Now it returns only:
Options:
-s start blocking
-d stop blocking
-r restart IPblock
-i restart iptables rules
-p restart iplist
-u update lists
-c convert lists to ipl format
-g start IPblock GUI
-l show status
-v show version and exit
-h show this help
So I feel like it is installed, but all of these options returns the same error:
Quote:
/usr/sbin/ipblock: line 420: LOG_IPTABLES: unreadable variable
I looked into this file, and in fact there is a variable on line 420 called used called LOG_IPTABLES. You know, I looked everywhere in this file, but no where is this variable declared, so maybe it cant read it, simply because it was never declared! I really dont know. I am fairly good at software compilation. I just upgraded and compiled the 3.2.5 kernel manually and enjoyed doing so.
This may be an ipblock problem. perhaps not for this forum.
Try with the slackware stock kernel, it can be you're missing some iptables modules in your custom one (just a guess).
or maybe when running "make oldconfig" I skipped some integral question related to iptables. I am reading up on iptables now to make sure I am not missing something. IPblock failed to work both before and after kernel upgrade. But iplist seems to. I thought it was something to do with java, jre, or some ipblock conf file. Could be a lot of things. I think it is iptables module as you say.
I am not concerned about this program so much! I just helped someone install it on Ubuntu the other day, as they felt they were being monitored for torrent downloads. Then I tried to install it on Slackware just for fun really. I dont need it. Slackware works for me 99% of the time. I managed to install Xmonad and many other things without trouble.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.