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 07-24-2003, 05:37 PM   #1
budzynm
LQ Newbie
 
Registered: Jul 2003
Location: Woodbridge, NJ
Distribution: Redhat 7
Posts: 13

Rep: Reputation: 0
Question iptables-restore error on COMMIT


I'm a firewall newbie.

I have what was originally a RH 7.0 box; but I rolled my own kernel which is now 2.4.21; I've also installed netfiler v.1.2.8 and have disabled ipchains.

Everything appears to be working, I'm able to hand enter rules and test them and it all works fine; except for iptables-restore.

When I generate a rule-set from iptables-save and then pass it to iptables-restore it always fails on the line that the 'COMMIT' directive appears on. If I comment out the COMMIT directive; iptables-restore happily accepts what I feed it.

Anybody have any thoughts, ideas, suggestions, etc; anything that would solve this problem. It would be most appreciated.

Thanks in advance!
-mark
 
Old 08-01-2003, 04:21 PM   #2
budzynm
LQ Newbie
 
Registered: Jul 2003
Location: Woodbridge, NJ
Distribution: Redhat 7
Posts: 13

Original Poster
Rep: Reputation: 0
fixed it

somehow when I recompiled the kernel it lost track of iptables. When I reinstalled iptables everything was happy.

Imagine that.
 
  


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
An error occured getting IPtables status from the command /etc/rc.d/init.d/iptables s CrazyMAzeY Linux - Newbie 10 08-12-2010 06:25 AM
kernel panic: journal commit I/O error scott.anderson Red Hat 6 01-09-2008 10:48 AM
iptables-restore fails with quite ordinary (i think) configuration Prommy Linux - General 5 02-17-2004 07:37 AM
restoring iptables-restore Zaius Linux - Newbie 7 01-22-2004 12:55 PM
why i'm getting this when i commit a file glalu Linux - General 1 08-03-2002 07:08 PM


All times are GMT -5. The time now is 11:22 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration