From: Pablo Neira <pablo@eurodev.net>
To: Geert van der Ploeg <netfilter@geert.triple-it.nl>
Cc: netfilter@lists.netfilter.org
Subject: Re: iptables-restore: commit not at end of table
Date: Wed, 09 Mar 2005 14:45:20 +0100 [thread overview]
Message-ID: <422EFDF0.7000302@eurodev.net> (raw)
In-Reply-To: <422EE146.1070808@geert.triple-it.nl>
Geert van der Ploeg wrote:
> Hi all,
>
> After updating a firewall from iptables 1.2.7a to a later version, my
> ruleset doesn't work anymore.
> It fails on COMMIT-lines that are not at the end of a table definition.
> I used commits for cutting my (sometimes quite large) rulesets into
> smaller parts and make sure I always keep a working configuration, even
> if some rules fail.
>
> For example:
> - define management-access definitions (allow SSH from
> management-stations, etc)
> - COMMIT
> - define other rules that get changed a lot and thus have a larger
> chance of containing errors.
>
>
> Having looked at the source-code, I discovered that it is caused by some
> extra checks on 'in_table' (in iptables-restore.c), which got inserted
> between 1.2.7a and 1.2.8. The changelog doesn't say why.
Could you try to reproduce such error with lastest iptables 1.3.1? If
so, please post the complaining section of rules, it could be useful for
debugging.
--
Pablo
next prev parent reply other threads:[~2005-03-09 13:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-09 11:43 iptables-restore: commit not at end of table Geert van der Ploeg
2005-03-09 13:45 ` Pablo Neira [this message]
2005-03-11 13:45 ` Geert van der Ploeg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=422EFDF0.7000302@eurodev.net \
--to=pablo@eurodev.net \
--cc=netfilter@geert.triple-it.nl \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox