From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa0-f47.google.com (mail-oa0-f47.google.com [209.85.219.47]) (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 9DCD02007D3 for ; Sun, 28 Apr 2013 11:02:38 -0700 (PDT) Received: by mail-oa0-f47.google.com with SMTP id n9so5330852oag.6 for ; Sun, 28 Apr 2013 11:02:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:x-originating-ip:in-reply-to:references :date:message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=bZYfRL5T1uyUqiSP9mKQnHS8E0k9nefkVSbi2EC7MWM=; b=htQSD/EL0CjHJUVwi6tChjDmrKSLCqw4TURIKp9L9alWCLvBo8ChpVKazZBY8GiP9e E+EMWr2C/vx7LzfWZpNv4+xml/YI1Cj9vJ1GdY25ox3Zbj6IoI8CTrTjre4aYyaarYKA XeMlp5eDh78SLpfx0pk/rzzxZDUjiaI7USdPw5CZuhTVrzUmkeyrDVDywfI+gyHniFm/ hle6GhaOMLtA5j7FnuA+PiwpL7BPxXD3cdGl9xmYv9Dgo6o2fnN8/ESBfYN0KN70FsqC NyexGCGFzPd4FK1bmM+BbntZYWRDNMkvFLWObH6lDCZh56bIj1UqFzQV7amTCAT8F5Qx kOWw== MIME-Version: 1.0 X-Received: by 10.60.136.234 with SMTP id qd10mr7219996oeb.15.1367172157694; Sun, 28 Apr 2013 11:02:37 -0700 (PDT) Received: by 10.76.120.131 with HTTP; Sun, 28 Apr 2013 11:02:37 -0700 (PDT) X-Originating-IP: [77.65.47.165] In-Reply-To: References: Date: Sun, 28 Apr 2013 20:02:37 +0200 Message-ID: From: Maciej Soltysiak To: Rich Brown Content-Type: multipart/alternative; boundary=047d7b33c982ce75fe04db6f92f3 X-Gm-Message-State: ALoCoQlf/J5weWwE9vptApwvB6zpx9LB7ws7tp4nQtcAkX3nEST5jcW02oVeHMgE8OrtsL4iEeuX Cc: codel@lists.bufferbloat.net, "cerowrt-devel@lists.bufferbloat.net" , bloat Subject: Re: [Cerowrt-devel] [Bloat] blip: a tool for seeing internet latency with javascript X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Apr 2013 18:02:38 -0000 --047d7b33c982ce75fe04db6f92f3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable At home with latest cero, I'm getting results similar to Rich. I'm wondering how this will look tomorrow when I run it at company network, which is incredibly complex WAN path, proxied, with things like riverbed and checkpoint along the way. Maciej On Sun, Apr 28, 2013 at 4:56 PM, Rich Brown wrote= : > This is indeed a cool hack. I was astonished for a moment, because it was > a bedrock belief that you can't send pings from Javascript. And in fact, > that is still true. > > Apenwarr's code sends short HTTP queries of the format shown below to eac= h > of two hosts: > > http://gstatic.com/generate_204 > http://apenwarr.ca/blip/ > > The Blip tool shows ~60-70ms for the gstatic host, and ~130 msec for the > latter. Ping times are ~52 msec and 125msec, respectively. These times se= em > to track response times by my eye (no serious analysis) to load both on m= y > primary (bloated) router and CeroWrt. > > Still a cool hack. > > Rich > > ------------------------- > HTTP Request & Response for typical blip "ping" > > OPTIONS /generate_204 HTTP/1.1 > Host: gstatic.com > Connection: keep-alive > Access-Control-Request-Method: GET > Origin: http://gfblip.appspot.com > User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) > AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.65 Safari/537.31 > Access-Control-Request-Headers: accept, origin, x-requested-with > Accept: */* > Referer: http://gfblip.appspot.com/ > Accept-Encoding: gzip,deflate,sdch > Accept-Language: en-US,en;q=3D0.8 > Accept-Charset: ISO-8859-1,utf-8;q=3D0.7,*;q=3D0.3 > > HTTP/1.1 204 No Content > Content-Length: 0 > Content-Type: text/html; charset=3DUTF-8 > Date: Sun, 28 Apr 2013 12:37:17 GMT > Server: GFE/2.0 > > > On Apr 26, 2013, at 7:04 PM, Dave Taht wrote: > > > Apenwarr has developed a really unique tool for seeing latency and > > packet loss via javascript. I had no idea this was possible: > > > > http://apenwarr.ca/log/?m=3D201304#26 > > > > > > > > -- > > Dave T=C3=A4ht > > > > Fixing bufferbloat with cerowrt: > http://www.teklibre.com/cerowrt/subscribe.html > > _______________________________________________ > > Bloat mailing list > > Bloat@lists.bufferbloat.net > > https://lists.bufferbloat.net/listinfo/bloat > > _______________________________________________ > Cerowrt-devel mailing list > Cerowrt-devel@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/cerowrt-devel > --047d7b33c982ce75fe04db6f92f3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
At home with latest cero, I'm getting results sim= ilar to Rich.

I'm wondering how this will look tomorrow when I r= un it at company network, which is incredibly complex WAN path, proxied, wi= th things like riverbed and checkpoint along the way.

Maciej



On Sun, Apr 28, 2013 at 4:56 PM, Rich Brown <richb.= hanover@gmail.com> wrote:
This is indeed a cool hack. I was astonished= for a moment, because it was a bedrock belief that you can't send ping= s from Javascript. And in fact, that is still true.

Apenwarr's code sends short HTTP queries of the format shown below to e= ach of two hosts:

http://gstati= c.com/generate_204
http://apenwarr.ca/b= lip/

The Blip tool shows ~60-70ms for the gstatic host, and ~130 msec for the la= tter. Ping times are ~52 msec and 125msec, respectively. These times seem t= o track response times by my eye (no serious analysis) to load both on my p= rimary (bloated) router and CeroWrt.

Still a cool hack.

Rich

-------------------------
HTTP Request & Response for typical blip "ping"

OPTIONS /generate_204 HTTP/1.1
Host: gstatic.com
Connection: keep-alive
Access-Control-Request-Method: GET
Origin: http://gfbl= ip.appspot.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.= 31 (KHTML, like Gecko) Chrome/26.0.1410.65 Safari/537.31
Access-Control-Request-Headers: accept, origin, x-requested-with
Accept: */*
Referer: http://gf= blip.appspot.com/
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=3D0.8
Accept-Charset: ISO-8859-1,utf-8;q=3D0.7,*;q=3D0.3

HTTP/1.1 204 No Content
Content-Length: 0
Content-Type: text/html; charset=3DUTF-8
Date: Sun, 28 Apr 2013 12:37:17 GMT
Server: GFE/2.0


On Apr 26, 2013, at 7:04 PM, Dave Taht <dave.taht@gmail.com> wrote:

> Apenwarr has developed a really unique tool for seeing latency and
> packet loss via javascript. I had no idea this was possible:
>
> ht= tp://apenwarr.ca/log/?m=3D201304#26
>
>
>
> --
> Dave T=C3=A4ht
>
> Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/sub= scribe.html
> _______________________________________________
> Bloat mailing list
> Bloat@lists.bufferbloat= .net
> https://lists.bufferbloat.net/listinfo/bloat

_______________________________________________
Cerowrt-devel mailing list
Cerowrt-devel@lists.= bufferbloat.net
https://lists.bufferbloat.net/listinfo/cerowrt-devel

--047d7b33c982ce75fe04db6f92f3--