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.
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, anddsnet
prompt to confirm the modified name (as default by pressing enter) or user to enter a new one.