Skip to content

DNS: Allow assignment of restricted IPs#3414

Merged
sporksmith merged 3 commits intoshadow:mainfrom
sporksmith:allow-private-ips
Sep 19, 2024
Merged

DNS: Allow assignment of restricted IPs#3414
sporksmith merged 3 commits intoshadow:mainfrom
sporksmith:allow-private-ips

Conversation

@sporksmith
Copy link
Copy Markdown
Contributor

The comment that was here indicated intent to allow restricted IP addresses as long as they were unique (or local), but the code rejected them.

I think we want to reject any non-unique + non-local IP address assignment, and don't otherwise care if it's in a restricted range.

@github-actions github-actions bot added the Component: Main Composing the core Shadow executable label Sep 18, 2024
@github-actions github-actions bot added the Component: Documentation In-repository documentation, under docs/ label Sep 18, 2024
Copy link
Copy Markdown
Member

@robgjansen robgjansen left a comment

Choose a reason for hiding this comment

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

I'm not seeing any harm in being more flexible in IP address assignment, as long as all addresses are routable in the network graph.

There are some changes needed, but I don't need to review them afterwords.

The comment that was here indicated intent to allow restricted IP
addresses as long as they were unique (or local), but the code rejected
them.

I *think* we want to reject any non-unique + non-local IP address
assignment, and don't otherwise care if it's in a restricted range.
@sporksmith
Copy link
Copy Markdown
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Documentation In-repository documentation, under docs/ Component: Main Composing the core Shadow executable

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants