-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Report IPv4 and IPv6 addresses resolved for each host
Previously, we would only request IPv4 addresses by default, or only IPv6 when scanning with -6. Now, we'll request both (by not passing an address family in the hints to getaddrinfo) and report them all in the "Other addresses" line. This should encourage more users to scan with -6. Additionally, it allows us to catch and report attempts to scan IPv6-only hosts via IPv4, where previously we would just say "Failed to resolve" Closes #76
- Loading branch information
1 parent
fbbb64a
commit c0628fd
Showing
2 changed files
with
37 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters