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
* kernel 2.5 and patch-o-matic
@ 2002-11-24 15:38 laurent.ml
  0 siblings, 0 replies; 7+ messages in thread
From: laurent.ml @ 2002-11-24 15:38 UTC (permalink / raw)
  To: netfilter-devel


Hi,

I'm wondering how to use patch-o-matic(cvs) with kernel 2.5.
I've tested the runme from patch-o-matic_2.5 (cvs). it doesn't work.
I've tested with the last patch posted in that mailing-list, it
doesn't work either.
Could you tell me where I can find a working runme or give me some advice ?

Thanks in advance.

<ERRORS>
/usr/src/linux-2.5.49/../737c36473fcb3498c35a0412415654394916b91f187dc2606a1863b07ae6c057/net/ipv6/netfilter/Config.help
or /usr/src/linux-2.5.49/../737c36473fcb3498c35a0412415654394916b91f187dc2606a1863b07ae6c057/Documentation/Configure.help
fgrep: /usr/src/linux-2.5.49/../737c36473fcb3498c35a0412415654394916b91f187dc2606a1863b07ae6c057/net/ipv6/netfilter/Config.in: No such file or directory
Could not find place to slot in Config.in line
TEST FAILED: patch NOT applied.
</ERRORS>

-- 
Laurent
 
[sorry, I re-post with good headers]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-11-24 15:38 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
  -- strict thread matches above, loose matches on Subject: below --
2002-11-24 15:38 laurent.ml

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.