LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-24-2004, 10:49 PM   #1
fazz
LQ Newbie
 
Registered: Apr 2004
Location: cambridge uk
Distribution: slackware 9.1
Posts: 11

Rep: Reputation: 0
shorewall problem


i hope someone can help me with a shorewall setup problem. i ran the install script - control program installed fine. but an error also came up saying that: could not create regular file /etc/init.d/shorewall, no such file or directory exists.
oh.
i went back to the documentation which says i need iproute package. i did; #which ip
result-
which: no ip in (/usr/local... etc... well, anywhere really)
this is slack9.1 and i'm sure iproute was part of the install.
how can i; 1 extend the search for the elusive iproute, 2 get the damn thing if i haven't got it, 3 get the system to make /etc/init.d/shorewall
?
i would be grateful for the help of someone who knows... this is kind of new to me
cheers
 
Old 04-25-2004, 05:13 AM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
maybe it can't put the script into /etc/init.d because it doesn't exist... slackware uses /etc/rc.d for it's startup scripts... i'm not sure what the procedure would be to get shorewall to deal with this, though...

iproute(2) is NOT part of the official slackware install... you can find it in the "extra" directory on cd2...

or you can download it here:

ftp://planetmirror.com/pub/slackware...try-i386-4.tgz


to install just do a:

installpkg iproute2-2.4.7_now_ss020116_try-i386-4.tgz


i really suggest staying away from shorewall, though... i mean, i think shorewall is great for newbies using red-hat based distros and stuff... but slackware makes setting your firewall VERY simple, naturally (without the need to install special tools)... even if you're a newbie...

for example, you could easily generate a very decent iptables script using a web-based generator like this:

http://easyfwgen.morizot.net/gen/


then just tweak it to your needs, save it as /etc/rc.d/rc.firewall, make it executable (chmod a+x /etc/rc.d/rc.firewall), and you're done... you didn't even need to install anything, since you already have everything you need, iptables...

of course, this is just a suggestion, i'm not saying shorewall sucks or anything like that... plus i used shorewall A LOT before i switched to slackware (from mandrake)...

=)


Last edited by win32sux; 04-25-2004 at 05:21 AM.
 
Old 04-25-2004, 03:26 PM   #3
fazz
LQ Newbie
 
Registered: Apr 2004
Location: cambridge uk
Distribution: slackware 9.1
Posts: 11

Original Poster
Rep: Reputation: 0
thanks win32sux. i did stay from shorewall in the end. i downloaded an rc.firewall from projectfiles.com. and it's also given me a good spring board to understand iptables a little better.
as for iproute, yeh it is on the second disk because i've seen it before having installed slackware a number of times during experiments. somehow it seems to have escaped inclusion this time or i am not looking in the right place. any ideas? cheers.
 
Old 04-25-2004, 08:49 PM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally posted by fazz
somehow it seems to have escaped inclusion this time or i am not looking in the right place. any ideas? cheers.
you can check if iproute2 is installed with a:

ls /var/log/packages | grep iproute2


but you'd have to have manually installed it, as slackware wouldn't install anything "extra" by default (even with a full-install)...

just curious, why is it that you want to install iproute2 now that you're not using shorewall???



Last edited by win32sux; 04-25-2004 at 08:50 PM.
 
Old 04-26-2004, 11:17 AM   #5
fazz
LQ Newbie
 
Registered: Apr 2004
Location: cambridge uk
Distribution: slackware 9.1
Posts: 11

Original Poster
Rep: Reputation: 0
i don't now but i do want to know more than i do about packetfiltering and iprouting and if i was wandering about among the filesystem and found iproute i would want to know what it was and did. thanks for all your help mang.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
shorewall config question with /etc/shorewall/rules peter72 Linux - Networking 3 01-01-2007 09:33 PM
Problem w/Shorewall? eroica Linux - Security 6 12-02-2006 06:37 PM
shorewall problem sanjibgupta Linux - Security 2 12-02-2006 06:24 PM
shorewall problem Kambrian Linux - Security 1 06-09-2005 02:52 PM
shorewall problem with firewall itself peter72 Linux - Networking 1 08-01-2004 01:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration