Implementing ping from the Ethernet layer (ARP,IPv4,ICMP in user space)
I built a user-space implementation of ping that constructs Ethernet frames, performs ARP resolution, builds IPv4 headers, and sends ICMP echo requests manually using AF_PACKET. - ARP (packet format, cache with aging, re-ARP, conflict handling) - IPv4 header construction and checksum - DF handling and ICMP Fragmentation Needed (Type 3 Code 4) - IP fragment reassembly - ICMP echo request/reply parsing - A basic ping loop with loss statistics The goal was to understand how packets actually move from Layer 2 upward.
Does the same job
all alternatives →- CNCap'n Proto, by the ex-maintainer of Protocol Buffers2013 · kentonv.github.com · ▲286
Openstatus MCP Health Checker May 2026 · ▲207Test MCP servers like a real AI client, not just a ping
- BABiboumi – An XMPP-to-IRC gateway2017 · biboumi.louiz.org · ▲76
- OAOuroboros – A Decentralized Packet Network2020 · ouroboros.rocks · ▲116
- NDNTP diag tool, as is Ping for ICMP2025 · github.com · ▲7

More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 1d ago · opentrailpaper.com
