Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Peer name validation to RFC 1123 #91

Open
frillip opened this issue Oct 23, 2023 · 0 comments
Open

Peer name validation to RFC 1123 #91

frillip opened this issue Oct 23, 2023 · 0 comments

Comments

@frillip
Copy link
Collaborator

frillip commented Oct 23, 2023

Peer names should be validated to RFC 1123, as these should be considered hostnames.

Suggest that characters that are not [a-zA-Z0-9\-\.] be either removed entirely or replaced with -, and anything over 63 characters be truncated, and dsnet prompt to confirm the modified name (as default by pressing enter) or user to enter a new one.

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

No branches or pull requests

1 participant