<html><head></head><body>I have a working ping-over-http mobile browser app at  <a href="http://alt.reed.com">alt.reed.com</a>. feel free to try it and look at the underlying packet stream with wireshark. I did a prototype of a RRUL test using Web sockets and a modified nginx websocket   module as a server that could be commanded to generate precise traffic and server end measurements ... it showed this can work up to a few 10 s of Mb/s.<br clear="none">
<br clear="none">
It's slightly tricky and requires a good understanding of the Web sockets protocol stack.<br clear="none">
 <br clear="none"><br clear="none"><div class="gmail_quote">On Sep 12, 2014, Rick Jones <rick.jones2@hp.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k10mail">On 09/11/2014 06:48 PM, Rich Brown wrote:<br clear="none"></pre><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">Jonathan,<br clear="none"><br clear="none"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;">Could we make use of the existing test servers (running netperf) for that demonstration?  How hard is the protocol to fake in Javascript?</blockquote><br clear="none">Not having coded a stitch of this, I *think* it would require the following:<br clear="none"><br clear="none">- Web page on <a shape="rect" href="http://netperf-xxx.bufferbloat.net">netperf-xxx.bufferbloat.net</a> that served out the javascript (required to get around cross-domain protections within the browser)<br clear="none"><br clear="none">- Javascript function to connect back to that host on port 12865 and fake out the netserver with TCP_STREAM or TCP_MAERTS request<br clear="none"><br clear="none">- Javascript that's efficient enough to source/swallow full-rate data stream<br clear="none"><br clear="none">- Cloning the code from <a shape="rect" href="https://github.com/apenwarr/blip">https://github.com/apenwarr/blip</a> to make fake pings from TCP requests<br clear="none"><br clear="none">Anyone know more than I do about this?</blockquote><br clear="none">Not about the javascript stuff, but your high level description of the <br clear="none">netperf side sounds plausible.  There are a few control messages netperf <br clear="none">will exchange with netserver that if you want to leverage a remote <br clear="none">netserver will need to be included.  You can run a netperf command with <br clear="none">a higher debug level to see them.<br clear="none"><br clear="none">rick jones<br clear="none"></blockquote></div><br clear="none">-- Sent from my Android device with <b><a shape="rect" href="https://play.google.com/store/apps/details?id=com.onegravity.k10.pro2">K-@ Mail</a></b>. Please excuse my brevity.</body></html>