Top all-time · #24774
Learning by practicing
Personal blog · securitynik.blogspot.comsecuritysystems
Learning by practicing is a personal blog at securitynik.blogspot.com about security and systems. Since 2014, 3 different Hacker News readers have linked it 3 times. It is still writing: the last post was on 2026-09-18, and you can follow it by feed.
Too few sampled comments (1) to say how often HN recommends it.?
Why HN links it
HN readers link this blog's post about writing a TCP stack in Python, using raw sockets and Scapy for packet crafting. The one comment on it disputes the post's account of TCP/IP.
Summarised by Claude from a sample of 1 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Learning is an ongoing activity ... practicing makes it fun
What Hacker News says?
You don't need to spoof a different MAC or IP to implement your own stack on a raw socket, Python is not too slow to handle negotiating a connection, and your interpretation of how tcp/ip works is flawed. I highly recommend you read a good book about tcp/ip and learn how the kernel works with network applications of different types. In terms of using Scapy for your packet crafting, here are some guides with examples…
Comment linking /2014/05/building-your-own-tcp-3-way-handshake.html
on “What happens if you write a TCP stack in Python?”Submitted Docker Networking Internals: How Docker Uses Linux Iptables and Interfaces as a story · 2 points
HN discussionSubmitted Container Connectivity in Docker Swarm and Overlay Networks as a story · 2 points
HN discussion