~/talk

making our own napster so we can party like it’s 1999!

Talkat !!Con 2021 · 2021-05-15..05-22· [python, security]
slides:none on file

Recreates a tiny Napster: reverse-engineers opennap protocol, implements length/type/data packets and hex headers, uses Python sockets over TCP, encodes data with ASCII, and implements a single-byte ACK plus file transfer in 1024-byte chunks. Central index model is simulated, about a handful of the original ~130 Napster messages are used, and the toy server is actually deployed to AWS and successfully downloads an MP3 that plays in Winamp.

AI-written summary · about

  1. 0:00Introduction
  2. 1:02Napster and peer-to-peer
  3. 2:27Sockets power the internet
  4. 3:10TCP sockets and HTTP
  5. 4:54Napster protocol with sockets
  6. 6:38Binary vs ASCII in messages
  7. 7:39Core Napster messages
  8. 8:41Downloading MP3 peer-to-peer
  9. 10:07Live demo
  10. 11:12Closing thoughts
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.