LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-01-2006, 06:53 PM   #1
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Rep: Reputation: 30
How can I make guarddog retain changes through reboot?


Slackware 10.2, Xfce
I use Guarddog GUI for iptables. Is there a way to make it startup at boot?
 
Old 07-02-2006, 01:38 AM   #2
crash88
Member
 
Registered: May 2006
Posts: 39

Rep: Reputation: 15
I use a rc.firewall script in /etc/rc.d
rc.inet2 checks for that script and runs it if it's there. As for guarddog, I guess you could script what you need in rc.firewall to have the program run on startup as you need.
 
Old 07-02-2006, 01:44 AM   #3
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
if the program has a "save" feature, then it probably calls "iptables-save", which would indeed save your settings across reboots... what makes you think it's not saving changes?? keep in mind that once iptables settings are saved, your guarddog won't need to be running anymore...

you can check your iptables settings before and after reboot with a:
Code:
iptables -L

Last edited by win32sux; 07-02-2006 at 02:19 AM.
 
Old 07-04-2006, 12:48 PM   #4
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Thanks but ive got another problem. When I run guarddog and click apply to save the changes, I get Gawk command not found. What does that mean?
 
Old 07-04-2006, 12:55 PM   #5
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by M$ISBS
Thanks but ive got another problem. When I run guarddog and click apply to save the changes, I get Gawk command not found. What does that mean?
it means you need to install gawk...

check your distro's cds, it's probably there...

EDIT: wait, you're using slackware 10.2... then yeah, it's *definitely* on the CDs... it's on CD #1... or download the package from here:

ftp://ftp.oregonstate.edu/pub/slackw...1.5-i486-1.tgz

Last edited by win32sux; 07-04-2006 at 12:57 PM.
 
Old 07-04-2006, 04:53 PM   #6
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
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
Make a script run at reboot Braynid Linux - Newbie 10 06-26-2006 11:10 AM
I need to reboot to make eth0 work. why? ccico Linux - Networking 9 10-11-2005 05:12 AM
How to make Virtual IP address permenant with every reboot-------------- pal Linux - Newbie 2 06-10-2005 02:34 AM
ifconfig , how to make it last when reboot ? kernelvn Linux - Networking 1 05-04-2005 11:30 AM
How to make a command execute on it every reboot? peterguo Linux - Software 5 11-04-2004 08:23 PM

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

All times are GMT -5. The time now is 06:40 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
Open Source Consulting | Domain Registration