From: "Gilad Benjamini" <gilad.benjamini@gmail.com>
To: 'Ralf' <rm@amitrader.com>, netfilter@vger.kernel.org
Subject: RE: Error when adding an entry to mangle/PREROUTING
Date: Mon, 9 Feb 2009 12:38:25 -0800 [thread overview]
Message-ID: <49909453.18068e0a.3fb8.fffff08f@mx.google.com> (raw)
In-Reply-To: <gmq2gg$g63$1@ger.gmane.org>
Quoting from man iptables: " This target is only valid in the INPUT,
FORWARD and OUTPUT chains"
Since the validation is done by the kernel module, you don't see the error
message directly, but rather via syslog; e.g. in my case, in
/var/log/messages you see " kernel: ip_tables: REJECT target: only valid in
filter table, not mangle"
> -----Original Message-----
> From: netfilter-owner@vger.kernel.org [mailto:netfilter-
> owner@vger.kernel.org] On Behalf Of Ralf
> Sent: Monday, February 09, 2009 12:08 PM
> To: netfilter@vger.kernel.org
> Subject: Error when adding an entry to mangle/PREROUTING
>
> The following command brings an error ("iptables: Invalid argument"):
>
> $IPTABLES -t mangle -A PREROUTING -p tcp --dport 9999 -j REJECT
>
> What's wrong here?
>
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-02-09 20:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-09 20:08 Error when adding an entry to mangle/PREROUTING Ralf
2009-02-09 20:38 ` Gilad Benjamini [this message]
2009-02-10 9:59 ` Ralf
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=49909453.18068e0a.3fb8.fffff08f@mx.google.com \
--to=gilad.benjamini@gmail.com \
--cc=netfilter@vger.kernel.org \
--cc=rm@amitrader.com \
/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 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.