From: Dave Taht <dave.taht@gmail.com>
To: Cake List <cake@lists.bufferbloat.net>
Subject: [Cake] best way at getting at tcp ack data?
Date: Sat, 30 Sep 2017 20:10:43 -0700 [thread overview]
Message-ID: <CAA93jw50hzBAuPX=YXaL9x-dEUk8bztNmQ1hAft2tnYbVU6TFA@mail.gmail.com> (raw)
I was thinking about how I'd go about adding saner ack filtering [1]
to cake (or maybe to a tc filter), and perhaps it is way simple, now.
Merely using the skb_flow_dissect stuff gives me all the flow related
fields, from potentially deeply encapsulated packets - and seems to
have grown FLOW_DISSECTOR_KEY_TCP at some point since I last looked.
Seems promising. Not sure how to get at it in the context of cake?
....
The infamous wondershaper filter looks like this:
tc filter add dev $DEV parent 1: protocol ip prio 12 u32 \
match ip protocol 6 0xff \
match u8 0x05 0x0f at 0 \
match u16 0x0000 0xffc0 at 2 \
match u8 0x10 0xff at 33 \
flowid 1:10
And that filter is wrong for encapsulated traffic, and ipv6.
[1] https://tools.ietf.org/html/rfc3449
--
Dave Täht
CEO, TekLibre, LLC
http://www.teklibre.com
Tel: 1-669-226-2619
next reply other threads:[~2017-10-01 3:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-01 3:10 Dave Taht [this message]
2017-10-01 5:22 ` Jonathan Morton
2017-10-01 5:25 ` Dave Taht
2017-10-02 1:08 ` Jonathan Morton
2017-10-02 2:40 ` Dave Taht
2017-10-04 3:17 ` Noah Causin
2017-10-04 3:22 ` Jonathan Morton
2017-10-04 3:23 ` Jonathan Morton
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
List information: https://lists.bufferbloat.net/postorius/lists/cake.lists.bufferbloat.net/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAA93jw50hzBAuPX=YXaL9x-dEUk8bztNmQ1hAft2tnYbVU6TFA@mail.gmail.com' \
--to=dave.taht@gmail.com \
--cc=cake@lists.bufferbloat.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox