News for hackers. Stuff that matters.
Re:Ultrafast single TCP packet audio/visual experience by richdougherty on Monday September 18, 2017 @09:26PM (#15281115)
For those you are wondering, this is a webserver that serves an HTML page in a single TCP packet. I guess ≤ 1500 bytes to avoid fragmentation - shows as 1.1KB in Chrome's network view. The HTML contains embedded JavaScript that runs a simple demo with animated ASCII and playing a LOUD changing audio tone.

You can visit the demonstration website here: http://packet.city/

You can see a screenshot of the demo here: http://www.p01.org/128b_raytraced_checkboard/

Re:Ultrafast single TCP packet audio/visual experience by ConfucianNardin on Tuesday September 19, 2017 @04:39AM (#15282778)
The limit is 1460 - the IP and TCP headers occupy 40 bytes.

Out of those another 63 are consumed by the HTTP headers.

The full TCP payload is only 1226 bytes though, and the full HTTP payload 1163 bytes. The decoded HTML document is 1546 bytes.

Re:Ultrafast single TCP packet audio/visual experience by jstimpfle on Tuesday September 19, 2017 @09:48AM (#15284529)
IP header has flexible size, up to 60 bytes: https://networkengineering.stackexchange.com/questions/6855/...
Re:Ultrafast single TCP packet audio/visual experience by bogomipz on Tuesday September 19, 2017 @10:43AM (#15285059)
Sure but on the actual internet how often are IP headers larger than 20 bytes because options are turned on? Not very often. The 20 bytes each for TCP and IPv4 is a pretty good assumption.

From the paper "IP Options are not an option" which is good quick read:

"We have studied the dependability of IP options-enabled network packets in the Internet. We found that overall, approximately half of Internet paths drop packets with options"[1]

[1] https://www2.eecs.berkeley.edu/Pubs/TechRpts/2005/EECS-2005-...

Re:Ultrafast single TCP packet audio/visual experience by jstimpfle on Tuesday September 19, 2017 @11:07AM (#15285273)
Thanks, that's good to know. I've wondered if these options are used in the past.
Re:Ultrafast single TCP packet audio/visual experience by bogomipz on Tuesday September 19, 2017 @07:19AM (#15283541)
>"Out of those another 63 are consumed by the HTTP headers"

I am curious how you ended up at 63 for that, can you elaborate?

Re:Ultrafast single TCP packet audio/visual experience by coldtea on Tuesday September 19, 2017 @07:55AM (#15283783)
Viewed the http headers and counted?

Which you can do with curl, Chrome/Safari/FF dev tools, and lots of other tools besides.

Re:Ultrafast single TCP packet audio/visual experience by bogomipz on Tuesday September 19, 2017 @10:28AM (#15284886)
Sure I know how to view them. I guess the commenter meant the HTTP headers for just this site were 63 bytes. I thought they were speaking on average like they were for 40 bytes for TCP/IP headers.
Re:Ultrafast single TCP packet audio/visual experience by ed on Monday September 18, 2017 @09:43PM (#15281188)
Caution: loud
Re:Ultrafast single TCP packet audio/visual experience by federicoponzi on Tuesday September 19, 2017 @04:02AM (#15282616)
Opened this on my phone with headphones. I had an heartattack.
Re:Ultrafast single TCP packet audio/visual experience by limaoscarjuliet on Tuesday September 19, 2017 @08:28AM (#15284008)
Counts as experience :)
Re:Ultrafast single TCP packet audio/visual experience by addHocker on Tuesday September 19, 2017 @11:20AM (#15285397)
Branded with bleeding ears. Dolby.
Re:Ultrafast single TCP packet audio/visual experience by Dangeranger on Monday September 18, 2017 @11:34PM (#15281596)
This would be really great without the audio. Due to the sound of the audio my initial reaction is to be fascinated, followed immediately by discomfort.
Re:Ultrafast single TCP packet audio/visual experience by isostatic on Tuesday September 19, 2017 @02:11AM (#15282169)
Over the last 5 years I've learnt to set the default sound level on my computer to "mute"
Re:Ultrafast single TCP packet audio/visual experience by TCM on Tuesday September 19, 2017 @02:27PM (#15287418)
You can also set your browser windows to automatically mute on chrome. I think in high sierra macOS will do it by default.
Re:Ultrafast single TCP packet audio/visual experience by makapuf on Tuesday September 19, 2017 @09:47AM (#15284522)
one settings I'd like to have is "unmute for the next 15 minutes" to be able to hear a funny vid without forgetting to reset it back to muted
Re:Ultrafast single TCP packet audio/visual experience by gizmo385 on Tuesday September 19, 2017 @12:54PM (#15286363)
That audio demo is CRAZY loud. I had my headphones on my desk since I'm on the phone and thought it was playing music through my laptop speakers.
Re:Ultrafast single TCP packet audio/visual experience by mrdoob2 on Monday September 18, 2017 @10:38PM (#15281368)
So they're using p01's effect and they want to put ADs around it?
Re:Ultrafast single TCP packet audio/visual experience by microcolonel on Tuesday September 19, 2017 @01:31AM (#15282030)
Here's hoping it's a joke. ;- )
Re:Ultrafast single TCP packet audio/visual experience by homero on Tuesday September 19, 2017 @07:37AM (#15283674)
Wow how'd it autoplay audio on my mobile chrome