From: Ralf <rm@amitrader.com>
To: netfilter@vger.kernel.org
Subject: Re: Error when adding an entry to mangle/PREROUTING
Date: Tue, 10 Feb 2009 10:59:06 +0100 [thread overview]
Message-ID: <gmrj5a$i9t$1@ger.gmane.org> (raw)
In-Reply-To: <49909453.18068e0a.3fb8.fffff08f@mx.google.com>
Gilad Benjamini wrote:
> 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"
DROP works, but REJECT does not work.
Maybe it is a bug/oversight, because IMHO I don't see any reason
why REJECT shouldn't be allowed here.
>> -----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?
prev parent reply other threads:[~2009-02-10 9:59 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
2009-02-10 9:59 ` Ralf [this message]
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='gmrj5a$i9t$1@ger.gmane.org' \
--to=rm@amitrader.com \
--cc=netfilter@vger.kernel.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 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.