From: Patrick McHardy <kaber@trash.net>
To: Peter Lenci <peterlenci@yahoo.ca>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: CLASSIFY target in POSTROUTING only?
Date: Fri, 04 Mar 2005 12:45:38 +0100 [thread overview]
Message-ID: <42284A62.6040305@trash.net> (raw)
In-Reply-To: <20050304112306.29481.qmail@web90007.mail.scd.yahoo.com>
Peter Lenci wrote:
> Hi all
>
> The CLASSIFY extension can only be used in the POSTROUTING chain of the
> mangle table. Is there a technical reason for this or is it just an aid
> to prevent misconfiguration? In particular I'd like to use the CLASSIFY
> target in the PREROUTING table (in combination with ingress tcp shaping
> with the IMQ device).
The CLASSIFY target is useable in LOCAL_OUT/FORWARD/POST_ROUTING.
PRE_ROUTING is not possible because the value will be overwritten
in ip_forward(). For IMQ you could simply remove that restriction.
Regards
Patrick
prev parent reply other threads:[~2005-03-04 11:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-04 11:23 CLASSIFY target in POSTROUTING only? Peter Lenci
2005-03-04 11:30 ` Jonas Berlin
2005-03-04 11:45 ` Patrick McHardy [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=42284A62.6040305@trash.net \
--to=kaber@trash.net \
--cc=netfilter-devel@lists.netfilter.org \
--cc=peterlenci@yahoo.ca \
/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.