Skip to content

feat(traceroute6): package skeleton (Config/Protocol/Validate) (#41) - #49

Merged
smallnest merged 1 commit into
mainfrom
feat/issue-41-traceroute6-skeleton
Jun 30, 2026
Merged

smallnest merged 1 commit into
mainfrom
feat/issue-41-traceroute6-skeleton

Conversation

@smallnest

Copy link
Copy Markdown
Contributor

Summary

  • New traceroute6 package mirroring traceroute, adapted for IPv6.
  • Protocol (ICMPv6/UDP/TCP), ParseProtocol, DefaultConfig, Validate.
  • Config carries HopLimit, Queries, Port, Timeout, TrafficClass, Parallel, ResolveDNS, Providers, plus IPv6-only src/dst overrides.
  • Validate rejects: no targets, hop-limit out of [1,255], queries<1, timeout<=0, parallel<1, zero UDP/TCP port, non-IPv6 src/dst, and src-port/fixed-dport on ICMPv6.

Test plan

  • go vet ./traceroute6/...
  • go test ./traceroute6/...

Closes #41

New traceroute6 package mirroring traceroute for IPv6: Protocol
(ICMPv6/UDP/TCP), ParseProtocol, DefaultConfig, and Validate with
IPv6-specific checks (HopLimit range, IPv6-only src/dst overrides,
ICMPv6 rejects src-port/fixed-dport).

Closes #41
@smallnest
smallnest merged commit c52e9e1 into main Jun 30, 2026
1 of 2 checks passed
@smallnest
smallnest deleted the feat/issue-41-traceroute6-skeleton branch June 30, 2026 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

创建 traceroute6 包骨架 (Config/Protocol/Validate)

1 participant