Know Thy Packets: Demystifying Network Fundamentals with Scapy
summary
Shows a real curl to icanhazip that uses ten packets for HTTP and thirteen packets for HTTPS, breaks down DNS lookup, TCP three‑way handshake, TLS 1.3 handshake quirks (client lies about versions, key share, piggybacked encrypted request), and inspects per‑layer fields in Wireshark. Builds a tiny DNS server with Scapy (IP/UDP/DNS stack, flip src/dst, inject answers) used as a dig alias (pyin25) to replay conference talk responses.
AI-written summary · about
chapters (18)
- 0:00Introduction and presenters
- 1:06Talk objectives and story
- 5:52Assumptions and agenda
- 6:14HTTP request breakdown
- 8:02Packet capture crash course
- 8:45DNS and three-way handshake
- 10:09HTTP packet layers explained
- 12:19HTTPS request dissection
- 13:00TLS handshake process
- 16:09Key takeaways from HTTP/HTTPS
- 17:11FTP protocol analysis
- 18:36Telnet and TCP client basics
- 20:26SSH secure communication
- 21:08SFTP over SSH
- 22:36Demo: pyin25 DNS server
- 24:42Scapy packet construction
- 26:06Final takeaways and conclusions
- 27:34Q&A session
