DigiNews

Tech Watch by Johan Denoyer

← Back to articles

What happens if you write a TCP stack in Python? (2014)

Quality: 7/10 Relevance: 8/10

Summary

Julia Evans recounts writing a miniature TCP stack in Python to understand networking, using Scapy to craft packets and performing a TCP handshake with Google. The post covers stepping through the handshake, bypassing the kernel with ARP spoofing, debugging sequence numbers, and the realization that Python is too slow for production TCP, with a nod to the teeceepee open-source project.

🚀 Service construit par Johan Denoyer