LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-30-2007, 05:32 PM   #1
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Rep: Reputation: 30
Do I need to re-run Guarddog after every reboot?


Do I need to re-run Guarddog after every reboot or does it store the settings through a reboot?

Also, is there an IPTables command (or switch) that would show me if Guarddog is actually working?

Thank You.
 
Old 03-30-2007, 05:44 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
iptables -L (list the iptables that have been loaded). If you see stuff, it's probably all okay. If everything is blank, then you need to re run guarddog.
 
Old 04-01-2007, 05:44 AM   #3
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
It looks like I do need to run it after every reboot. Thanks.
 
Old 04-02-2007, 11:15 AM   #4
Lawrentium
LQ Newbie
 
Registered: Oct 2005
Location: Netherlands
Distribution: Deb'-ian
Posts: 15

Rep: Reputation: 0
Quote:
Originally Posted by M$ISBS
It looks like I do need to run it after every reboot. Thanks.
That shouldnt be necessary. I used Guarddog for a while, and was quite pleased with it. You should see something like Guarddog IPTables script initialized or something when you are booting Linux. If its not working right, you might want to try Firestarter. That's what I'm using now.
 
Old 04-04-2007, 08:40 AM   #5
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
I've been using Guarddog since I started using Linux. It creates a file called rc.firewall, which is just an iptables script, in the /etc directory. Make sure it's there and that it's executable. When you do run Guarddog and click ok or apply after making any changes watch the scrolling messages. If there are no errors you see something like this:

Quote:
Using iptables.
Resetting firewall rules.
Loading kernel modules.
Setting kernel parameters.
Configuring firewall rules.
Finished.
Note: Guarddog needs to be started with root permission to function properly.
 
Old 04-09-2007, 03:47 PM   #6
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 769

Rep: Reputation: 65
to expand on what dracolich said, guarddog installs by default in /etc/rc.firewall. Slackware by default looks for rc.firewall in /etc/rc.d/rc.firewall, and that is why you dont get it loaded at boot.

There is more than one way to fix this, see here:

http://www.linuxquestions.org/questi...d.php?t=534114

tobyl
 
  


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
reboot freezes after yast update run, reboot for kernel update sparkbot Linux - Software 2 11-15-2006 06:34 PM
Always have to run alsaconf on reboot!!* Gordog MEPIS 6 07-07-2006 12:49 AM
How can I make guarddog retain changes through reboot? M$ISBS Linux - Security 5 07-04-2006 03:53 PM
How do I login as root so I can run guarddog? M$ISBS Linux - Software 7 03-28-2006 11:29 PM
Guarddog won't run due to "Bus error" jonr Mandriva 0 08-06-2004 12:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:52 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