Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
From: moeller0 <moeller0@gmx.de>
To: David Lang <david@lang.hm>
Cc: Jonathan Morton <chromatix99@gmail.com>, cake@lists.bufferbloat.net
Subject: Re: [Cake] Fwd: [Codel] fq_codel_drop vs a udp flood
Date: Fri, 6 May 2016 11:36:02 +0200	[thread overview]
Message-ID: <5AC664B7-6D4C-45A4-8C6B-46D6DA2CB019@gmx.de> (raw)
In-Reply-To: <alpine.DEB.2.02.1605060158390.3021@nftneq.ynat.uz>


> On May 6, 2016, at 11:00 , David Lang <david@lang.hm> wrote:
> 
> On Fri, 6 May 2016, moeller0 wrote:
> 
>> Hi Jonathan,
>> 
>>> On May 6, 2016, at 06:44 , Jonathan Morton <chromatix99@gmail.com> wrote:
>>>> On 6 May, 2016, at 07:35, Dave Taht <dave.taht@gmail.com> wrote:
>>>> this would be a pretty nifty feature for cake to have in this hostile universe.
>>> Yes, but difficult to implement since the trailing fragments lose the proto/port information, and thus get sorted into a different queue than the leading fragment.  We would essentially need to implement the same tracking mechanisms as for actual reassembly.
>> 
>> 	But the receiver needs to be able to re-segment the fragments so all required information needs to be there; what about looking at src and dst address and the MF flag in the header as well as the fragment offset and scrape proto/port from the leading fragment and “virtually” apply it to all following fragments, that way cake will do the right thing. All of this might be too costly in implementation and computation to be feasible…
> 
> wait a minute here. If the fragments are going to go over the network as separate packets, each fragment must include source/dest ip and source/dest port, otherwise the recipient isn’t going to be able to figure out what to do with it.

	That is what I thought as well, but as I understand now fragmentation happens on the IP level independent of the “payload” so fragmentation is all the same for UDP/TCP/ICMP. According to https://en.wikipedia.org/wiki/IPv4#Fragmentation_and_reassembly all packets in a fragment group should have the same IP identification value, so matching fragmented packets should be even easier, just use the SRCIP, DSTIP PROTOCOL IDENTIFICATION quadruple (all values that live in the IP header, or use these values to find the matching port from the first fragments protocol header… For sanity checking one might even require for all but the last packet to have the MF flag set and the fragment offsets to be monotonically increasing. But this will require to at least look at the MF flag to notice fragments at all… But I guess https://tools.ietf.org/html/rfc6864 says all of this more distinctively…

Best Regards
	Sebastian

> 
> David Lang


  reply	other threads:[~2016-05-06  9:36 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAA93jw6QLyx9EaS+ntB0D3duoysu_Z-UYyQfHnRa=pfqPDfWOw@mail.gmail.com>
     [not found] ` <1462125592.5535.194.camel@edumazet-glaptop3.roam.corp.google.com>
     [not found]   ` <865DA393-262D-40B6-A9D3-1B978CD5F6C6@gmail.com>
     [not found]     ` <1462128385.5535.200.camel@edumazet-glaptop3.roam.corp.google.com>
     [not found]       ` <C5D365DA-18EE-446E-9D25-41F48B1C583E@gmail.com>
     [not found]         ` <1462136140.5535.219.camel@edumazet-glaptop3.roam.corp.google.com>
     [not found]           ` <CACiydbKUu11=zWitkDha0ddgk1-G_Z4-e1+=9ky776VktF5HHg@mail.gmail.com>
     [not found]             ` <1462201620.5535.250.camel@edumazet-glaptop3.roam.corp.google.com>
     [not found]               ` <CACiydbKeKUENncrc-NmYRcku-DGVeGqqzYMqsCqKdxPsR7yUOQ@mail.gmail.com>
     [not found]                 ` <1462205669.5535.254.camel@edumazet-glaptop3.roam.corp.google.com>
     [not found]                   ` <CACiydbL26Jj3EcEL4EmqaH=1Dm-Q0dpVwoWxqUSZ7ry10bRgeg@mail.gmail.com>
     [not found]                     ` <CAA93jw5Y3DSzuOZo=S6_dsUqJvy_3ThNe6tMic2ZJ14kQPnFHg@mail.gmail.com>
     [not found]                       ` <CACiydb+kOLNBwEn+gDU3fZrXEQxp5FMFLH_mDS1ZO5J8r9yiBA@mail.gmail.com>
     [not found]                         ` <2D83E4F6-03DD-4421-AAE0-DD3C6A8AFCE0@gmail.com>
     [not found]                           ` <CAA93jw6Aj3Rcsm=Q=KZVrW_TGThVwu6pRAN3nNQ4tvSODY_zUg@mail.gmail.com>
2016-05-06  4:35                             ` Dave Taht
2016-05-06  4:44                               ` Jonathan Morton
2016-05-06  4:57                                 ` Dave Taht
2016-05-06  8:49                                 ` moeller0
2016-05-06  9:00                                   ` David Lang
2016-05-06  9:36                                     ` moeller0 [this message]
2016-05-06 15:31                                     ` Stephen Hemminger
2016-05-06 18:50                                       ` David Lang
2016-05-06 18:53                                         ` Jonathan Morton
2016-05-06 19:14                                           ` David Lang
2016-05-06 19:33                                             ` Jonathan Morton
2016-05-06 19:54                                               ` David Lang
2016-05-06 19:58                                                 ` David Lang
2016-05-06 23:14                                         ` Benjamin Cronce
2016-05-07  2:09                                           ` David Lang

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=5AC664B7-6D4C-45A4-8C6B-46D6DA2CB019@gmx.de \
    --to=moeller0@gmx.de \
    --cc=cake@lists.bufferbloat.net \
    --cc=chromatix99@gmail.com \
    --cc=david@lang.hm \
    /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