~/talk

"How to Hijack, Proxy and Smuggle Sockets with Rack/Ruby"

Talkat RubyConfBY 2019 · on Saturday, 2019-04-06· [ruby-on-rails, networking]
slides:none on file

Rack hijacking extracts the raw socket from an HTTP request and repurposes it to carry TCP protocols so an SSH or VNC session runs through an HTTP upgrade. Implementation uses Ruby and a custom epoll wrapper with EPOLLONESHOT for efficient readiness, falls back to IO.select on macOS, and pairs a Rack-embedded proxy with a small native helper so browsers can open a local listener. A demo tunnels SSH and VNC successfully but requires a native browser plugin binary and is described as working proof of concept not yet production hardened.

AI-written summary · about

  1. 0:00Introduction
  2. 0:38Live Demo
  3. 1:30Download
  4. 2:25Manage IQ
  5. 3:02Remote Desktop Sessions
  6. 3:40Remote Consoles
  7. 4:08Virtual Machines
  8. 5:22Proxy
  9. 7:27Buffers
  10. 8:35Nonblocking IO
  11. 13:04Alternatives
  12. 20:43Supported platforms
  13. 21:12WebSockets
  14. 23:22Socket Hijack
  15. 25:09Smuggle Sockets
  16. 26:18Why I am doing this
  17. 27:06Raw Request
  18. 29:06Architecture
  19. 30:30Demo
~/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.