From: Alan Ford <alan@whirlnet.co.uk>
To: lartc@vger.kernel.org
Subject: [LARTC] TOS Header
Date: Tue, 25 Nov 2003 11:57:14 +0000 [thread overview]
Message-ID: <marc-lartc-106976189710993@msgid-missing> (raw)
Hi,
I notice the ultimate traffic shaper script suggests using:
tc filter add dev $DEV parent 1:0 protocol ip prio 10 u32 \
match ip tos 0x10 0xff flowid 1:10
To find high-priority SSH etc traffic by matching on certain flags in
the TOS header.
However, I was under the impression that the TOS header is no longer used,
instead replaced by DSCP. Is this correct? If so, does the above command
actually work? I've certainly not found it to be a particular improvmeent,
nothing like the improvement I get if I match on dport 22.
Is it possible to do similar matching on the DS header? Does anybody have
a reference for what the DS header contains? I'm rather confused about
what it is and whether it's of any use. I've found the IANA DSCP header
allocation list, but the codes given don't mean anything to me :(
Thanks,
--
Alan Ford * alan@whirlnet.co.uk
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next reply other threads:[~2003-11-25 11:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-25 11:57 Alan Ford [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-12-01 6:59 [LARTC] TOS Header Martin A. Brown
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-106976189710993@msgid-missing \
--to=alan@whirlnet.co.uk \
--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.