Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
From: Jonathan Morton <chromatix99@gmail.com>
To: "Mike O'Dell" <mo@ccr.org>
Cc: cerowrt-devel@lists.bufferbloat.net
Subject: Re: [Cerowrt-devel] Cerowrt-devel Digest, Vol 44, Issue 24
Date: Sun, 19 Jul 2015 22:24:35 +0300	[thread overview]
Message-ID: <CAJq5cE3qsuYgZMtaDj0Zw1STxVy5gBA2Lbibs4DcCttLskzAdg@mail.gmail.com> (raw)
In-Reply-To: <33363.1437323022@ccr.org>

[-- Attachment #1: Type: text/plain, Size: 1776 bytes --]

> We were on the verge of enabling it on our (the UUNET) end when
Louis Mamakos identified the fundamental show-stopper to doing it.
>
> It gives DOS attacks nuclear weapons.
>
> Simply set the DOS packets to the highest priority and pound away.

I identified this problem when designing cake, and came up with a
solution:  Every request for higher priority (low latency) is also
interpreted as a relinquishment of rights over high bandwidth.

In an early version, this tenet was enforced using hard limits. This worked
as designed, but caused problems for users attempting to tune their
bandwidth setting using best effort traffic, since there was also a least
effort class below that.

In the current version, a bandwidth threshold is used instead. If the
traffic in the class remains below the threshold, then they get the (non
strict) priority requested. If it strays above, the priority is demoted
below other classes instead. In the absence of competing traffic, any class
can use the full available bandwidth, but there's always room for other
classes to start up.

None of this behaviour is specified, suggested or even identified as
desirable in the relevant RFCs. I had to invent it out of whole cloth,
after recognising that Diffserv is simply not specified in a way that can
be practically implemented, or from an implementor's point of view. The old
version of the TOS byte was much clearer in that respect - three bits of
precedence, three or four bits of routing preferences (although the latter
was also poorly specified, it was at least clear what it meant).

Frankly I think IETF dropped the ball there. "Rough consensus and working
code." I find it difficult to believe that they had working code
implementing a complete Diffserv system.

- Jonathan Morton

[-- Attachment #2: Type: text/html, Size: 1962 bytes --]

  reply	other threads:[~2015-07-19 19:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3.1437246001.9264.cerowrt-devel@lists.bufferbloat.net>
2015-07-19 16:23 ` Mike O'Dell
2015-07-19 19:24   ` Jonathan Morton [this message]
2015-07-20  7:17     ` Mikael Abrahamsson
2015-07-20  7:51       ` Jonathan Morton
2015-07-21 17:47     ` Mike O'Dell

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/cerowrt-devel.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJq5cE3qsuYgZMtaDj0Zw1STxVy5gBA2Lbibs4DcCttLskzAdg@mail.gmail.com \
    --to=chromatix99@gmail.com \
    --cc=cerowrt-devel@lists.bufferbloat.net \
    --cc=mo@ccr.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox