Skip to content

docs(labs): add an IPv6-only discovery exercise - #389

Merged
TMHSDigital merged 1 commit into
TMHSDigital:mainfrom
laozhej:codex/135-ipv6-lab
Nov 16, 2026
Merged

TMHSDigital merged 1 commit into
TMHSDigital:mainfrom
laozhej:codex/135-ipv6-lab

Conversation

@laozhej

@laozhej laozhej commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Description

Add Lab 6 with a dual-stack host, an IPv6-only API and an IPv4-only legacy service, using only documentation IP ranges. The guide supplies commands, questions and answers comparing the default A/AAAA lookups with each address family alone. The existing embed pattern also makes the scenario available to MCP lab_scan.

Add three cases to TestE2ELabs and update the README's exercise count.

Related Issue

Closes #135.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvements
  • Test updates

Checklist

  • I have read the CONTRIBUTING document
  • My code follows the code style of this project
  • I have added/updated appropriate comments to the code
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have updated the documentation accordingly (if applicable)

Ethical Considerations

  • This change maintains or improves the security controls in the tool
  • This change follows the educational/legitimate security testing focus of the project
  • I have considered potential misuse cases and taken appropriate steps to prevent them

Additional Information

Validated on macOS arm64 with Go 1.26.11 and golangci-lint 2.15.0:

  • All three new lab cases fail before adding the scenario and pass afterward.
  • The documented commands were run with the built binary: default finds api/legacy/www, A finds legacy/www, AAAA finds api/www, with the documented addresses.
  • go test -race -shuffle=on ./... passes all 21 packages with tests; make lint reports 0 issues; make build, gofmt and git diff --check pass.
  • All DNS traffic stayed on loopback; no external domain was scanned.

AI assistance: OpenAI Codex implemented the lab, ran the checks and drafted this PR. No separate human review is claimed.

@TMHSDigital
TMHSDigital merged commit 2f372fa into TMHSDigital:main Nov 16, 2026
17 checks passed
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.

Lab 6: contribute a new scenario to the lab zones

2 participants