Bug 13076 - IPv6 failure with "nc -v -u [fda0::1f:1c:6405:8075:2b02] 32000"
Summary: IPv6 failure with "nc -v -u [fda0::1f:1c:6405:8075:2b02] 32000"
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Networking (show other bugs)
Version: 1.31.x
Hardware: PC Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-17 09:47 UTC by Jim
Modified: 2020-12-17 10:18 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim 2020-07-17 09:47:18 UTC
root:/opt/iprf# nc -v -u [fda0::1f:1c:6405:8075:2b02] 32000
Error: Couldn't resolve host "[fda0::1f:1c:6405:8075:2b02]"
root:/opt/iprf# nc -v -u fda0::1f:1c:6405:8075:2b02 32000
Error: Couldn't resolve host "fda0::1f:1c:6405:8075:2b02"

The expected behavior should be data read from stdin to be forwarded to UDP traffic on fda0::1f:1c:6405:8075:2b02's port 32000, and responses to come back to be written to stdout.

bb ping works with the IPv6 address.

even adding fda0::1f:1c:6405:8075:2b02 to the /etc/hosts to allow a named address did not help.
Comment 1 Denys Vlasenko 2020-12-17 10:18:03 UTC
Works for me.
What version do you see it on, and what .config?