From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-iy0-f171.google.com (mail-iy0-f171.google.com [209.85.210.171]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id BBDA120017C for ; Sat, 11 Jun 2011 21:43:33 -0700 (PDT) Received: by iyi20 with SMTP id 20so4754977iyi.16 for ; Sat, 11 Jun 2011 22:05:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=3BKkb9PytUHyUn1VhGWW+RWbs2vDET9Or2oLs1GN4NQ=; b=IV69BInYKI50O0AgtR6z+sCQ/Db9K1ix0Tp8ky97uYLdA3l2YH4HjSWwjGUykkAN+0 tlLIHjpKGFyFrf691j6jlSI7yT+n1iYF5AMhPQ5tE4XuGf9cse4j9dlAKIjXFuVfA8er tKoHIUu1HVbG2bLtstRzvTSmneHzLJBxOGUXk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=EhDsZ+eYfk+yopZdZtriF9tUp3tae/zjkR9vu0eqjbnYaJOgi8LT93jMhzGk0Ap87M PH9giTaOdKEjJn28Kt1IWOVft1wTcHvzmTdO/aGHtrOGBwcqx0HKKQFRpLbYX1C4X67y j8Su9Edt15Dtifws9wl/Jmnv2Huzw3OjocY2w= MIME-Version: 1.0 Received: by 10.231.1.14 with SMTP id 14mr4266119ibd.13.1307855144266; Sat, 11 Jun 2011 22:05:44 -0700 (PDT) Received: by 10.231.13.76 with HTTP; Sat, 11 Jun 2011 22:05:44 -0700 (PDT) In-Reply-To: References: Date: Sat, 11 Jun 2011 23:05:44 -0600 Message-ID: From: Dave Taht To: bloat Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Bloat] Three new diffserv codepoints suggested X-BeenThere: bloat@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: General list for discussing Bufferbloat List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jun 2011 04:43:33 -0000 So I sat down and took the fragments of various qos scripts I'd been fiddling with, and came up with a diffserv classifier (doesn't do qos or cope with nat yet) that matches a great deal of traffic somewhat sanely (notably 'IT', 'mice', and ipv6). It should work on any linux box, as well as openwrt - (but note nat & qos caveat above) It's in my github repo at: https://github.com/dtaht/Diffserv (send me your login, I'll give commit access, or you can just do a: git clone git://github.com/dtaht/Diffserv.git cd Diffserv/scripts sudo ./diffserv_dbg up # to turn it on sudo ./diffserv_dbg status # to see some statistics Various iptables rules for ecn matches, etc, in there, too. (the ecn match for ipv6 requires netfilter-head) While the huge problems of classifying traffic on a large scale on the edge seem almost tractable with crowdsourcing, still the plethora of random sources on port 80 seem impossible to cope with. One thing I intend to use this for is to be able to track delays through the network. I can now filter on a given traffic class during real traffic, during a tcp dump, with and without qos enabled, with or without debloating techniques in place. --=20 Dave T=E4ht SKYPE: davetaht US Tel: 1-239-829-5608 http://the-edge.blogspot.com