-
-
Notifications
You must be signed in to change notification settings - Fork 350
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
nut-scanner
seems to not really handle IPv6 addresses?
#2512
Comments
At least, with
Scanning a single address in a different build than that reported from PR preparation above, no errors were logged but no discovery either:
...and with the square brackets, the address is treated as invalid (so at least got a new inconsistency here):
|
Also problematic is a query for UPDATE: also happens to IPv4, due to handling of ups-listing query |
…tools#2512] Signed-off-by: Jim Klimov <[email protected]>
Signed-off-by: Jim Klimov <[email protected]>
…ostname was expected [networkupstools#2512] Signed-off-by: Jim Klimov <[email protected]>
…etworkupstools#2512] Signed-off-by: Jim Klimov <[email protected]>
…re brackets [networkupstools#2512] Signed-off-by: Jim Klimov <[email protected]>
…dress cases into one [networkupstools#2512] This should apply formatting from nutscan_ip_iter_init() to single-IP scans like it happens for other protocols already. Also take the chance to rectify indentations through parallel threads code. Signed-off-by: Jim Klimov <[email protected]>
…r cidr==null [networkupstools#2512] Signed-off-by: Jim Klimov <[email protected]>
…ackets around first_ip, if any [networkupstools#2512] Signed-off-by: Jim Klimov <[email protected]>
…p/end_ip, if any [networkupstools#2512] Signed-off-by: Jim Klimov <[email protected]>
…assed in square brackets [networkupstools#2512] Signed-off-by: Jim Klimov <[email protected]>
…tools#2512] Signed-off-by: Jim Klimov <[email protected]>
Signed-off-by: Jim Klimov <[email protected]>
…ostname was expected [networkupstools#2512] Signed-off-by: Jim Klimov <[email protected]>
…etworkupstools#2512] Signed-off-by: Jim Klimov <[email protected]>
…re brackets [networkupstools#2512] Signed-off-by: Jim Klimov <[email protected]>
…dress cases into one [networkupstools#2512] This should apply formatting from nutscan_ip_iter_init() to single-IP scans like it happens for other protocols already. Also take the chance to rectify indentations through parallel threads code. Signed-off-by: Jim Klimov <[email protected]>
…r cidr==null [networkupstools#2512] Signed-off-by: Jim Klimov <[email protected]>
…ackets around first_ip, if any [networkupstools#2512] Signed-off-by: Jim Klimov <[email protected]>
…p/end_ip, if any [networkupstools#2512] Signed-off-by: Jim Klimov <[email protected]>
…assed in square brackets [networkupstools#2512] Signed-off-by: Jim Klimov <[email protected]>
…assed in square brackets [networkupstools#2512] Signed-off-by: Jim Klimov <[email protected]>
…ostname was expected - use NUT_STRARG() for safety [networkupstools#2512] Signed-off-by: Jim Klimov <[email protected]>
…ostname was expected - use NUT_STRARG() for safety [networkupstools#2512] Signed-off-by: Jim Klimov <[email protected]>
…ckets [networkupstools#2512] Signed-off-by: Jim Klimov <[email protected]>
… bracketed IPv6 in "port" values [networkupstools#2512] Signed-off-by: Jim Klimov <[email protected]>
…o need for NUT_STRARG() [networkupstools#2512] Signed-off-by: Jim Klimov <[email protected]>
…o need for NUT_STRARG() [networkupstools#2512] Signed-off-by: Jim Klimov <[email protected]>
During work on PR #2509,
nut-scanner
console log got filled by these lines:My first guess is that colon-separated IPv6 addresses are not really recognized by
upscli
?.. (CC @aquette : I would only get to look at this in detail later in the summer)The text was updated successfully, but these errors were encountered: