Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
03-30-2007, 05:32 PM
|
#1
|
Member
Registered: Aug 2003
Posts: 834
Rep:
|
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.
|
|
|
03-30-2007, 05:44 PM
|
#2
|
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094
|
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.
|
|
|
04-01-2007, 05:44 AM
|
#3
|
Member
Registered: Aug 2003
Posts: 834
Original Poster
Rep:
|
It looks like I do need to run it after every reboot. Thanks.
|
|
|
04-02-2007, 11:15 AM
|
#4
|
LQ Newbie
Registered: Oct 2005
Location: Netherlands
Distribution: Deb'-ian
Posts: 15
Rep:
|
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.
|
|
|
04-04-2007, 08:40 AM
|
#5
|
Senior Member
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274
Rep:
|
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.
|
|
|
04-09-2007, 03:47 PM
|
#6
|
Member
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 769
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 05:52 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|