Skip to content

v0.15.3

Choose a tag to compare

@github-actions github-actions released this 09 Apr 09:24
· 9 commits to main since this release
fix(traceroute): use IPv4PacketConn() instead of ipv4.NewPacketConn()

ipv4.NewPacketConn() internally asserts the argument to net.Conn, but
*icmp.PacketConn only implements net.PacketConn (no Read method), causing
a runtime panic that crashes the server on every traceroute request.

icmp.PacketConn.IPv4PacketConn() returns the *ipv4.PacketConn directly,
bypassing the broken type assertion.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>