Skip to content

fix: use 'host' instead of 'hostname' for --allow-net docs#3036

Merged
bartlomieju merged 1 commit into
mainfrom
fix/allow-net-host-terminology-2702
May 13, 2026
Merged

fix: use 'host' instead of 'hostname' for --allow-net docs#3036
bartlomieju merged 1 commit into
mainfrom
fix/allow-net-host-terminology-2702

Conversation

@bartlomieju
Copy link
Copy Markdown
Member

Summary

  • Changes --allow-net terminology from "IP addresses or hostnames" to "hosts" (hostname or IP, optionally with a port)
  • Updates definition placeholder from <IP_OR_HOSTNAME> to <HOST> for both --allow-net and --deny-net

Closes #2702

Test plan

  • Verify the security page renders correctly

🤖 Generated with Claude Code

The --allow-net flag accepts hosts (hostname or IP, optionally with a port),
not just hostnames. Updated terminology and definition to reflect this.

Closes #2702

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

@lunadogbot lunadogbot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Terminology change is correct — --allow-net accepts host[:port] and the existing examples on lines 271/274 already use ports. The <HOST> placeholder is consistent across both --allow-net and --deny-net. Closes #2702.

  • nit: last_modified: 2026-03-26 in the frontmatter isn't bumped; small fix but the page changed.

@lunadogbot
Copy link
Copy Markdown
Contributor

@bartlomieju this is ready to merge

@bartlomieju bartlomieju merged commit 7871a7f into main May 13, 2026
2 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.

Feedback: /runtime/fundamentals/security/ - Needs Improvement

2 participants