All of lore.kernel.org
 help / color / mirror / Atom feed
* /etc/sysconfig/iptables format
@ 2002-11-20  5:21 Arch Harris
  2002-11-24 10:40 ` Patrick Schaaf
  2002-11-24 15:16 ` kernel 2.5 and patch-o-matic laurent.ml
  0 siblings, 2 replies; 7+ messages in thread
From: Arch Harris @ 2002-11-20  5:21 UTC (permalink / raw)
  To: netfilter-devel

I was rather surprised at being unable to find hardly any information on 
the format of the /etc/sysconfig/iptables file.  It seems everyone uses a 
three step approach: execute a bunch of iptables commands, store the
result by executing iptables->save, restore using iptables->restore.
It strikes me as being much easier to just write /etc/sysconfig/iptables
and let /etc/rc.d/init.d/iptables take care of the saving and restoring.

Whether my approach is easier or not, one should be able to find 
documentation that describes the format of the file used by iptables-save
and iptables-restore.  But I could not find that info in any of the HOWTOs 
or in any man pages in the distribution.

I realize the syntax fllows the iptables command arguments.  But there
are some differences.  Things like: *filter, COMMIT, etc.  I think
I have figured most of this stuff out, but a man page and/or HOWTO
chapter describing the file format sure would be nice.

Arch
+------------------------------------------------------+
| Dr. J. Archer Harris     MSC 4103, Computer Science  |
| netfilter02@jah.cs.jmu.edu James Madison University  |
| (540) 568 - 2774         Harrisonburg, VA 22807      |
+------------------------------------------------------+

^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <Pine.LNX.4.44.0211241130360.17298-100000@azalea.cs.jmu.edu>]

end of thread, other threads:[~2002-11-24 20:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-20  5:21 /etc/sysconfig/iptables format Arch Harris
2002-11-24 10:40 ` Patrick Schaaf
2002-11-24 12:28   ` Bart De Schuymer
2002-11-24 11:52     ` Patrick Schaaf
2002-11-24 14:14       ` Bart De Schuymer
2002-11-24 15:16 ` kernel 2.5 and patch-o-matic laurent.ml
     [not found] <Pine.LNX.4.44.0211241130360.17298-100000@azalea.cs.jmu.edu>
2002-11-24 20:06 ` /etc/sysconfig/iptables format Bart De Schuymer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.