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.
|
![Reply](https://www.linuxquestions.org/questions/images/buttons/reply.gif) |
07-01-2006, 06:53 PM
|
#1
|
Member
Registered: Aug 2003
Posts: 834
Rep:
|
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?
|
|
|
07-02-2006, 01:38 AM
|
#2
|
Member
Registered: May 2006
Posts: 39
Rep:
|
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.
|
|
|
07-02-2006, 01:44 AM
|
#3
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
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:
Last edited by win32sux; 07-02-2006 at 02:19 AM.
|
|
|
07-04-2006, 12:48 PM
|
#4
|
Member
Registered: Aug 2003
Posts: 834
Original Poster
Rep:
|
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?
|
|
|
07-04-2006, 12:55 PM
|
#5
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
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.
|
|
|
07-04-2006, 04:53 PM
|
#6
|
Member
Registered: Aug 2003
Posts: 834
Original Poster
Rep:
|
Thanks. ![Smilie](https://www.linuxquestions.org/questions/images/smilies/smile.gif)
|
|
|
All times are GMT -5. The time now is 06:40 PM.
|
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
|
|