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

Accept underscore as valid char in hostname strings #430

Merged
merged 1 commit into from
Jan 28, 2021

Conversation

jjnicola
Copy link
Member

@jjnicola jjnicola commented Jan 28, 2021

What:
Accept underscore as valid char in hostname strings

Why:
Underscore is allowed for domain names, but not for hostnames. Despite it is not recommended at all, it can be desirable to use it. Under the premise "the scanner must do the best it can" it is now allowed.
RFC for hostnames: https://tools.ietf.org/html/rfc819
RFC for domain name syntax https://tools.ietf.org/html/rfc2181

How:
Scan a target which includes a host with an underscore in the name

Checklist:

@bjoernricks bjoernricks merged commit a406413 into greenbone:gvm-libs-20.08 Jan 28, 2021
@jjnicola jjnicola deleted the underscore branch January 28, 2021 09:43
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.

2 participants