Top all-time · #5510
saminiir's hacker blog
Personal blog · saminiir.comprogrammingsystems
saminiir's hacker blog is a personal blog at saminiir.com about programming and systems. Since 2016, 14 different Hacker News readers have linked it 30 times, most often “Let's code a TCP/IP stack, 1: Ethernet & ARP (2016)”. The last post was in 2018, but the archive is still widely read.
Too few sampled comments (6) to say how often HN recommends it.?
Why HN links it
HN readers link saminiir's five-part "Let's code a TCP/IP stack" series, which builds a TCP/IP stack in code from Ethernet and ARP through TCP data flow and retransmission.
Summarised by Claude from a sample of 6 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Yet Another Hacker Blog (YAHB). UNIX, Networking, Self-Improvement.
Most-linked posts?
- Let's code a TCP/IP stack, 1: Ethernet & ARP (2016)3 people · 3 mentions · first linked 2018-06-15
- Let's code a TCP/IP stack (2016)3 people · 3 mentions · first linked 2020-10-03
- Let's Code a TCP/IP Stack: TCP Retransmission2 people · 2 mentions · first linked 2017-07-05
- Paper storage and recovery of GPG keys2 people · 2 mentions · first linked 2018-10-16
- Let's Code a TCP/IP Stack, 4: TCP Data Flow and Socket API2 people · 2 mentions · first linked 2016-12-06
What Hacker News says?
ARP's fun but it's arguably the least fun bit of the TCP/IP stack. Here are the other articles from the series. https://www.saminiir.com/lets-code-tcp-ip-stack-2-ipv4-icmpv... https://www.saminiir.com/lets-code-tcp-ip-stack-3-tcp-handsh... https://www.saminiir.com/lets-code-tcp-ip-stack-4-tcp-data-f... https://www.saminiir.com/lets-code-tcp-ip-stack-5-tcp-retran...
Comment linking /lets-code-tcp-ip-stack-5-tcp-retransmission/
on “Let's code a TCP/IP stack (2016)”Submitted Let's code a TCP/IP stack (2016) as a story · 440 points
HN discussionFor reference, here are links to the first four parts: http://www.saminiir.com/lets-code-tcp-ip-stack-1-ethernet-ar... http://www.saminiir.com/lets-code-tcp-ip-stack-2-ipv4-icmpv4... http://www.saminiir.com/lets-code-tcp-ip-stack-3-tcp-handsha... http://www.saminiir.com/lets-code-tcp-ip-stack-4-tcp-data-fl...
Comment linking /lets-code-tcp-ip-stack-4-tcp-data-flow-socket-api/
on “Let's Code a TCP/IP Stack: TCP Retransmission”Submitted Let's Code a TCP/IP Stack: TCP Retransmission as a story · 385 points
HN discussionIf anyone wants to see how to write a simple userspace tcp stack, here is a good one https://www.saminiir.com/lets-code-tcp-ip-stack-1-ethernet-a...
Comment linking /lets-code-tcp-ip-stack-1-ethernet-arp/
on “Why do we use the Linux kernel's TCP stack? (2016)”Submitted Let's code a TCP/IP stack, 1: Ethernet and ARP as a story · 322 points
HN discussionIn case you didn't realize it at first (I didn't until I happened to click on "/home"), this is the first of a 5-part series: 1. Ethernet & ARP (this post) 2. IPv4 & ICMPv4: http://www.saminiir.com/lets-code-tcp-ip-stack-2-ipv4-icmpv4... 3. TCP Basics & Handshake: http://www.saminiir.com/lets-code-tcp-ip-stack-3-tcp-handsha... 4. TCP Data Flow & Socket API: http://www.saminiir.com/lets-code-tcp-ip-stack-4-tcp-data-f…
Comment linking /lets-code-tcp-ip-stack-5-tcp-retransmission/
on “Let's code a TCP/IP stack, 1: Ethernet & ARP (2016)”Submitted Let’s code a TCP/IP stack, 1: Ethernet and ARP (2016) as a story · 309 points
HN discussionA good way to internalize how everything works is to mess around with pcaps and Wireshark. Try using libpcap (or even just scapy) to decode protocols and see if you can match the Wireshark output, then move up to reconstructing streams and dealing with quirks like fragmentation, etc. If you're looking for something more structured and/or in-depth, try implementing a basic userspace tcp/ip stack. We had a few project…
Comment linking /lets-code-tcp-ip-stack-1-ethernet-arp/
on “Computer Networking: Principles, Protocols and Practice”Submitted Let's code a TCP/IP stack, 1: Ethernet & ARP (2016) as a story · 287 points
HN discussionHere's one of three parts on coding your own TCP/IP stack. I haven't gotten around to it, but it looks solid. http://www.saminiir.com/lets-code-tcp-ip-stack-1-ethernet-ar...
Comment linking /lets-code-tcp-ip-stack-1-ethernet-arp/
on “Show HN: Tiny Shell”Submitted Gems from the man page trenches (2016) as a story · 62 points
HN discussionSubmitted OpenVPN puts packets inside your packets as a story · 3 points
HN discussionSubmitted Paper storage and recovery of GPG keys as a story · 2 points
HN discussionSubmitted Paper storage and recovery of GPG keys as a story · 2 points
HN discussionSubmitted Let's Code a TCP/IP Stack: TCP Basics and Handshake as a story · 2 points
HN discussionSubmitted Let's Code a TCP/IP Stack: IPv4 and ICMPv4 as a story · 2 points
HN discussionSubmitted Paper storage and recovery of GPG keys as a story · 1 points
HN discussionSubmitted Let's Code a TCP/IP Stack, 4: TCP Data Flow and Socket API as a story · 1 points
HN discussionSubmitted Installing Arch Linux on Dell XPS 15 as a story · 1 points
HN discussionSubmitted OpenVPN puts packets inside your packets as a story · 1 points
HN discussion