Skip to content

feat(icmp): add IPv6 multicast neighbor discovery - #155

Merged
v-byte-cpu merged 1 commit into
masterfrom
feat/icmp-ipv6-multicast-discovery
Aug 12, 2026
Merged

feat(icmp): add IPv6 multicast neighbor discovery#155
v-byte-cpu merged 1 commit into
masterfrom
feat/icmp-ipv6-multicast-discovery

Conversation

@v-byte-cpu

Copy link
Copy Markdown
Owner

Why

Provide a fast, best-effort way to discover IPv6 neighbors without scanning a link-local address range through NDP.

What Changed

  • add sx icmp discover --iface <interface> [group]
  • default discovery to the ff02::1 all-nodes multicast group
  • map IPv6 multicast destinations to Ethernet multicast addresses
  • correlate Echo Replies using identifier, sequence, and random nonce
  • emit ARP/NDP-compatible ip, mac, and vendor results
  • select link-local source addresses for link-local multicast targets
  • restrict captured traffic with an ICMPv6 Echo Reply BPF filter
  • document best-effort semantics and neighbor-cache usage

Add an ICMPv6 discovery subcommand that sends a correlated echo
request to a link-local multicast group and emits neighbor-cache
compatible results.

Select link-local source addresses for link-local multicast targets
and filter incoming traffic to matching echo replies.
@v-byte-cpu
v-byte-cpu force-pushed the feat/icmp-ipv6-multicast-discovery branch from ab336a1 to a1dfde1 Compare August 12, 2026 20:33
@v-byte-cpu
v-byte-cpu merged commit 81253fb into master Aug 12, 2026
8 checks passed
@v-byte-cpu
v-byte-cpu deleted the feat/icmp-ipv6-multicast-discovery branch August 12, 2026 20:39
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.

1 participant