LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-05-2006, 07:09 AM   #1
studioq
Member
 
Registered: Sep 2006
Posts: 42

Rep: Reputation: 15
Guarddog - rc.firewall not stored in rc.d directory


After installing Guarddog, I wanted to veiw the output.. I couldn't find it where I thought it belonged - in the /etc/rc.d/ directory.

Instead it was simply in the /etc/ directory. Wouldn't this render it ineffective? I thought iptables looked for the file in the rc.d directory.
 
Old 10-05-2006, 07:48 AM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Reboot your machine and run iptables -L -n If you don't get the expected output, they don't work.

Sounds like your using slackware. I don't think that iptables looks for anything in /etc/rc.d. rc.iptables (or whatever the script is called) is a script the should be started at boot and for that reason should be in /etc/rc.d

Last edited by Wim Sturkenboom; 10-05-2006 at 07:49 AM.
 
Old 10-05-2006, 08:05 AM   #3
studioq
Member
 
Registered: Sep 2006
Posts: 42

Original Poster
Rep: Reputation: 15
I am using Slack.. I rebooted a couple of times and checked the syslog (only after copying the rc.firewall file from /etc/ to /etc/rc.d/ and there are logs or dropped packets in there - so one would assume on some level it is working.. I just dont know from which file.

I ran the above command and got some references to different chains. If I could remeber how to make the output go page by page (forgot the bash command) I could better tell what is doing what. But I dont know enough to track down which file is running at boot.
 
Old 10-05-2006, 08:54 AM   #4
studioq
Member
 
Registered: Sep 2006
Posts: 42

Original Poster
Rep: Reputation: 15
Now I have gone and removed the rc.firewall file from /etc/rc.d/ and rerun the iptables -L -n command and there are no chains defined. It basically shows an open door.. I think I might have to uninstall Guarddog and go back into the ./configure and see if there aren't some path settings I can set before the install.
 
Old 10-05-2006, 03:53 PM   #5
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,178

Rep: Reputation: 47
I've been using Guarddog on my Slackware machines for a long time. It does indeed install the rc.firewall and rc.firewall~ files to /etc, not /etc/rc.d. I've never had any problems with them being there. As long as it's executable it should function properly.
 
Old 10-05-2006, 10:03 PM   #6
studioq
Member
 
Registered: Sep 2006
Posts: 42

Original Poster
Rep: Reputation: 15
My final solution was this... Uninstall guarddog...Install Dropline Gnome... Install Firestarter... Play with configuration a little bit... Firewall up and running.. Took me a long time, but it seems I have exactly what I wanted without all the fuss..
Thanks.
 
  


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
getting current directory where classes are stored linuxmandrake Programming 2 04-14-2006 07:11 AM
Kanotix firewall vs guarddog theMagus Linux - Networking 0 06-03-2005 05:33 AM
Guarddog Firewall Error leeach Linux - General 1 10-03-2003 02:59 PM
GuardDog/Firewall Question h1tman Linux - Security 2 08-12-2003 01:57 PM
Guarddog Firewall cirkut5732 Linux - Newbie 9 04-24-2003 03:10 PM


All times are GMT -5. The time now is 03:34 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration