Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
* [Cake] best way at getting at tcp ack data?
@ 2017-10-01  3:10 Dave Taht
  2017-10-01  5:22 ` Jonathan Morton
  0 siblings, 1 reply; 8+ messages in thread
From: Dave Taht @ 2017-10-01  3:10 UTC (permalink / raw)
  To: Cake List

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-10-04  3:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-01  3:10 [Cake] best way at getting at tcp ack data? Dave Taht
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox