Work in progress: 181,232 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #5510

S

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.

Visit the blog
30mentions?
14HN people?
2016–2025first – last linked?
Links on Hacker News per year · peak 6 in 2016

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?

  1. Let's code a TCP/IP stack, 1: Ethernet & ARP (2016)
    3 people · 3 mentions · first linked 2018-06-15
  2. Let's code a TCP/IP stack (2016)
    3 people · 3 mentions · first linked 2020-10-03
  3. Let's Code a TCP/IP Stack: TCP Retransmission
    2 people · 2 mentions · first linked 2017-07-05
  4. Paper storage and recovery of GPG keys
    2 people · 2 mentions · first linked 2018-10-16
  5. Let's Code a TCP/IP Stack, 4: TCP Data Flow and Socket API
    2 people · 2 mentions · first linked 2016-12-06

What Hacker News says?

  1. 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)”
  2. Submitted Let's code a TCP/IP stack (2016) as a story · 440 points

    HN discussion
  3. For 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”
  4. Submitted Let's Code a TCP/IP Stack: TCP Retransmission as a story · 385 points

    HN discussion
  5. kureikain · 2020-10-03Recommends
    If 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)”
  6. Submitted Let's code a TCP/IP stack, 1: Ethernet and ARP as a story · 322 points

    HN discussion
  7. In 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)”
  8. Submitted Let’s code a TCP/IP stack, 1: Ethernet and ARP (2016) as a story · 309 points

    HN discussion
  9. A 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”
  10. Submitted Let's code a TCP/IP stack, 1: Ethernet & ARP (2016) as a story · 287 points

    HN discussion
  11. ctnb · 2018-06-30Recommends
    Here'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”
  12. Submitted Gems from the man page trenches (2016) as a story · 62 points

    HN discussion
  13. Submitted OpenVPN puts packets inside your packets as a story · 3 points

    HN discussion
  14. Submitted Paper storage and recovery of GPG keys as a story · 2 points

    HN discussion
  15. Submitted Paper storage and recovery of GPG keys as a story · 2 points

    HN discussion
  16. Submitted Let's Code a TCP/IP Stack: TCP Basics and Handshake as a story · 2 points

    HN discussion
  17. Submitted Let's Code a TCP/IP Stack: IPv4 and ICMPv4 as a story · 2 points

    HN discussion
  18. Submitted Paper storage and recovery of GPG keys as a story · 1 points

    HN discussion
  19. Submitted Let's Code a TCP/IP Stack, 4: TCP Data Flow and Socket API as a story · 1 points

    HN discussion
  20. Submitted Installing Arch Linux on Dell XPS 15 as a story · 1 points

    HN discussion
  21. Submitted OpenVPN puts packets inside your packets as a story · 1 points

    HN discussion

Search all of HN for saminiir.com

Linked by the same people?