Repository navigation
[docs] network-doctor: add NET-005 published host-service DNAT finding - #11397
Conversation
Co-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
The change adds NET-005 to the canonical registry without updating the required generated diagnosis consumers, leaving CI freshness checks failing and the finding unavailable to runtime and portable consumers.
1 open issue
What changed in this PR
Adds the NET-005 network diagnosis for host-published service connections rejected after Docker DNAT, documenting the affected conditions, probe, remediation, and provenance.
Changes:
- Adds the canonical NET-005 finding and updates the diagnostics index and symptom lookup table.
- Generated workflow and portable-agent diagnosis consumers still require regeneration to synchronize the published finding.
| File | Description |
|---|---|
| docs/diagnostics/README.md | Updates the generated diagnostics index and symptom lookup table to include NET-005. |
| docs/diagnostics/findings/network/NET-005.json | Defines the NET-005 host-service DNAT diagnosis, including its scope, probe, remediation, references, and review metadata. |
Review effort: Lite (auto)
| @@ -0,0 +1,33 @@ | |||
| { | |||
| "$schema": "../../schema.json", | |||
| "id": "NET-005", | |||
|
@copilot address review feedback |
|
✅ Copilot review passed with no inline comments. @github-actions[bot] Add the |
Documentation PreviewDocumentation has been built for this PR. To view locally:
Built from commit 136ec11 |
✅ Coverage Check PassedOverall Coverage
📁 Per-file Coverage Changes (1 files)
Coverage comparison generated by |

Caution
Protected files were modified in this change.
This pull request is in
request-reviewmode and requires explicit human scrutiny before merge.Protected files:
README.mdAllow intentional protected-file changes
If this workflow is intended to modify these files, add specific filenames or folder prefixes to
safe-outputs.create-pull-request.protected-files.excludein the workflow Markdown frontmatter. For example, to allow.changeset/*, exclude the folder using.changeset/:Keep your existing policy and exclusions. Folder exclusions use path prefixes, not glob patterns, and allow all files beneath that folder, including subfolders. Other protected files still require review. If
allowed-filesis configured, these paths must also match it. Rungh aw compileafter updating the workflow.Network doctor update
Coverage: the intake window scanned merged PRs from 2026-11-03 to 2026-11-10, with the historical cursor at 2026-11-03 and the floor at 2025-10-16. The first-time queue has 108 candidates and the deferred queue is empty. I triaged all 108 titles. Only #11083 was network-relevant, and I reviewed it in depth. The other 107 were not opened individually. Their titles indicate CI, pricing, model catalogue, NVX, enclave, Cloud Hypervisor, workflow and docs work outside this boundary, so I treated them as unreviewed and none carries a receipt. The backlog is therefore still 107 items. The freshness check reports no overdue network records.
NET-005 (new, boundary: network)
unknown. The behavior was observed on Ubuntu 26.04 / Docker 29 runners, and other Docker versions are unverified.--allow-host-service-portsis still rejected or times out when the service is reached through the host gateway.DOCKER-USER. The gateway-destination ACCEPT rules therefore saw the translated container address and fell through to the default reject.grep -n -- '--ctorigdst' src/host-iptables-rules.ts. It is read-only, sends no traffic and dumps no environment.src/host-iptables-rules.ts(addHostAccessRules, conntrackDNAT/ORIGINAL/--ctorigdst/--ctorigdstportrule).src/host-iptables-host-access.test.tscovers rule scoping, remapped port ranges, relocated gateway, ordering before REJECT, and no rule when host access is disabled.@lpcox. The linked issue--allow-host-service-portsconnections refused on ubuntu-26.04 runners; smoke tests pass despite failing #11082 was not readable under the integrity filter, so the record cites the PR instead.Validation
npm run diagnostics:validatepasses with 23 findings.npm run diagnostics:renderregenerateddocs/diagnostics/README.md. I left the generated prompt and agent consumers to trusted CI or a reviewer.