Skip to content

fix: support IPv6 connection monitor targets#362

Merged
itsDNNS merged 1 commit intomainfrom
fix/connection-monitor-ipv6
Apr 25, 2026
Merged

fix: support IPv6 connection monitor targets#362
itsDNNS merged 1 commit intomainfrom
fix/connection-monitor-ipv6

Conversation

@itsDNNS
Copy link
Copy Markdown
Owner

@itsDNNS itsDNNS commented Apr 24, 2026

Summary

  • Adds IPv6 support to Connection Monitor probing for IPv6 literals, IPv6-only hostnames, and dual-stack targets.
  • Updates TCP probing to resolve with AF_UNSPEC and try usable IPv4/IPv6 addresses instead of assuming IPv4.
  • Extends the setuid ICMP helper to support ICMPv6 and dual-stack fallback while preserving the existing icmp/tcp probe method values.
  • Adds regression coverage for IPv6 TCP/ICMP behavior, clean DNS failures, dual-stack fallback, and helper timeout planning.

Tests

  • pytest tests/modules/connection_monitor -q - 172 passed
  • gcc -O2 -Wall -Werror -o /tmp/docsight-icmp-helper-test tools/icmp_probe_helper.c
  • git diff --check origin/main

Closes #361

@itsDNNS itsDNNS merged commit efcc2dd into main Apr 25, 2026
8 checks passed
@itsDNNS itsDNNS deleted the fix/connection-monitor-ipv6 branch April 25, 2026 06:20
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.

fix: support IPv6 targets in Connection Monitor

1 participant