Skip to content

feat!: add IPv6 scanning support - #154

Merged
v-byte-cpu merged 1 commit into
masterfrom
feat/ipv6-scanning
Aug 11, 2026
Merged

feat!: add IPv6 scanning support#154
v-byte-cpu merged 1 commit into
masterfrom
feat/ipv6-scanning

Conversation

@v-byte-cpu

Copy link
Copy Markdown
Owner

Why

The scanner previously supported only IPv4 address generation, ARP resolution, routing, and raw packet handling.

What Changed

  • Add NDP scanning and IPv6 neighbor-cache entries.
  • Support IPv6 in ICMP, TCP, UDP, and SOCKS scans.
  • Support scoped link-local addresses such as fe80::1%en0.
  • Add family-aware interface, gateway, BPF, and packet handling.
  • Replace ARP-specific caching with a shared neighbor cache.
  • Migrate address APIs from net.IP/net.IPNet to netip types.
  • Document IPv6 usage and the /96 generated-range limit.

Breaking Changes

  • Public scan and IP APIs now use netip.Addr and netip.Prefix.
  • ARP cache APIs moved from pkg/scan/arp to pkg/scan/neighbor.

Add NDP neighbor discovery and dual-stack support for ICMP, TCP,
UDP, and SOCKS scans, including scoped link-local addresses.

Replace the ARP-specific cache with a shared neighbor cache and add
family-aware interface, routing, BPF, and packet handling.

BREAKING CHANGE: Public scan and IP APIs now use netip.Addr and
netip.Prefix. ARP cache APIs moved from pkg/scan/arp to
pkg/scan/neighbor.
@v-byte-cpu
v-byte-cpu merged commit 3e907f6 into master Aug 11, 2026
8 checks passed
@v-byte-cpu
v-byte-cpu deleted the feat/ipv6-scanning branch August 11, 2026 23:36
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