Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 01-31-2007, 12:03 PM   #1
LQ Newbie
Registered: Jan 2007
Distribution: FC, SuSE, Debian
Posts: 4

Rep: Reputation: 0
iptables resets automaticaly

I have tried Googling but not luck in finding the right answer for my problem.

We have FC4 Distro installed on one of our Server box. I have imported the roles that I made with iptables-save -c > /etc/sysconfig/bllbllarules.

It saves it and everything seems fine. After 12 hours or so the rules are set from the ones I saved to some other rules that I made as a temp job by just adding them manually. Once I reload the rules with service iptables restart the rules that I imported come back (i.e reads them from /etc/sysconfig/iptables), but again after some time they revert back to the old rules.

I have checked the init.d and rc3.d (i created a S09iptables symbolic link to start them up) and they all seem to point to the right place including the service script. I have searched for other "iptables" but they too seem to point to only one process.

Just to note rules go back to the old one if you reboot the system.

We have Plesk installed and I have removed its "psa-firewall" module, but that did not help.

This is strange as we have other FC4 boxes and they have same version/modules (identical image), but they work fine.

One other note, if I just hit iptables-save without the > directive it will not save them to /etc/sysconfig/iptables unless that is what iptables-save does? (maybe different default)

The cron has only some system log rotations that we have set (ftp, httpd, smpt, bandwidth etc.). Unless the bandwidth cron has something to do with it, that I have no idea.

Anyhow the story is long but I offered as much insight as possible.
Old 01-31-2007, 07:45 PM   #2
LQ Newbie
Registered: Jan 2007
Distribution: FC, SuSE, Debian
Posts: 4

Original Poster
Rep: Reputation: 0
Problem solved. It was a cron job related after I started looking into some cron-jobs that I never thought they would affect the iptables. Anyhow thanx a bunch.


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
automaticaly set up pc card PhoenixofMT Linux - Hardware 2 01-13-2006 08:53 PM
getting X to start automaticaly (again) matttail Debian 10 10-26-2005 01:33 PM
iptables resets gizza23 Linux - Networking 2 07-09-2005 10:25 AM
Running apps automaticaly Boudewijn Linux - Software 1 03-11-2004 04:47 PM
Cant enter runlevel 3 automaticaly pawn-o-matic Linux From Scratch 3 12-28-2003 03:19 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 01:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration