From: Konrad <kcem@tlen.pl>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Problem with marking packets...
Date: Thu, 26 May 2005 08:39:17 +0000 [thread overview]
Message-ID: <42958B35.2010603@tlen.pl> (raw)
In-Reply-To: <4293A677.2050802@tlen.pl>
Can I use u32 or route filter to throw in to class packets which are
going to some interface(eth0 or eth1)?
This is my route rules...
ip route add 83.17.20.10/29 dev eth0 table dsl1
ip route add default via 83.17.20.12 dev eth0 table dsl1
ip route add 80.53.64.128/29 dev eth1 table dsl2
ip route add default via 80.53.64.130/29 dev eth1 table dsl2
ip rule add fwmark 0x01 table dsl1
ip rule add fwmark 0x02 table dsl2
iptables -t mangle -A PREROUTING -i eth3 -p tcp -sport 80 -j MARK 0x01
iptables -t mangle -A PREROUTING -i eth3 -p tcp -sport 4000:65535 -j
MARK 0x02
... etc.
I must do this on IMQ device (POSTROUTING, AB mode), using whatever (u32
filter, route filter, MARK, CONNMARK, etc.)
Packets are being marked, but some packets on IMQ are being gone on
default interface (I'm not marking all traffic...) and I want to catch
this packets on suitable classes on IMQ.
How can I do this? :/ Any ideas? Anyone can help?
--
Konrad Cempura /Lenthir/
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next prev parent reply other threads:[~2005-05-26 8:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-24 22:11 [LARTC] Problem with marking packets Konrad
2005-05-26 8:39 ` Konrad [this message]
2005-05-26 10:18 ` Andy Furniss
2005-05-26 12:50 ` Konrad
2005-05-26 19:20 ` Andy Furniss
2005-05-26 23:19 ` Konrad
2005-05-30 15:29 ` Andy Furniss
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=42958B35.2010603@tlen.pl \
--to=kcem@tlen.pl \
--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.