Bug 13076

Summary: IPv6 failure with "nc -v -u [fda0::1f:1c:6405:8075:2b02] 32000"
Product: Busybox Reporter: Jim <jhanley>
Component: NetworkingAssignee: unassigned
Status: NEW ---    
Severity: normal CC: busybox-cvs
Priority: P5    
Version: 1.31.x   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:

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?