From: Stephane Bortzmeyer <bortzmeyer@netaktiv.com>
To: lartc@vger.kernel.org
Subject: [LARTC] MARKing according to both net. interfaces?
Date: Thu, 25 Oct 2001 13:58:49 +0000 [thread overview]
Message-ID: <marc-lartc-100401832718215@msgid-missing> (raw)
[I had no success on the netfilter mailing list so may be here? I
don't think there is a mailing list devoted to tc?]
In order to later shape the traffic with tc, I'm trying to use
iptables to mark traffic with a condition on both network interfaces
(in and out).
iptables -t mangle -A PREROUTING -p tcp -i eth4 -o eth5 -j MARK --set-mark 0x4
is accepted but ipchains -v shows that no packets are marked. I assume
this is because, in PREROUTING, you don't know the output interface
yet.
1) Am I correct?
2) Why is it accepted if it cannot work?
3) Is there a solution, since the mangle table only has OUTPUT (where
-i is not accepted) and PREROUTING? (FreeBSD zealots keep screaming to
me that it works fine with FreeBSD.)
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
next reply other threads:[~2001-10-25 13:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-25 13:58 Stephane Bortzmeyer [this message]
2001-10-26 9:43 ` [LARTC] MARKing according to both net. interfaces? Oskar Andreasson
2001-10-26 9:56 ` Stephane Bortzmeyer
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=marc-lartc-100401832718215@msgid-missing \
--to=bortzmeyer@netaktiv.com \
--cc=lartc@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.