microsoft / ethr

Ethr is a Comprehensive Network Measurement Tool for TCP, UDP & ICMP.
MIT License
5.77k stars 393 forks source link

Server ip parameter does not accept IPv6 addresses, but says it should: #178

Open grayaw opened 1 year ago

grayaw commented 1 year ago

Examples:

# ./ethr -s --ip  2001:db8:d401:21cd::6

Ethr: Comprehensive Network Performance Measurement Tool (Version: UNKNOWN)
Maintainer: Pankaj Garg (ipankajg @ LinkedIn | GitHub | Gmail | Twitter)

-----------------------------------------------------------
Accepting IP version: ipv4, ipv6
Listening on port 8888 for TCP & UDP
Fatal error running TCP server: listen tcp: address 2001:db8:d401:21cd::6:8888: too many colons in address

# ./ethr -s --ip "[2001:db8:d401:21cd::6]"

Ethr: Comprehensive Network Performance Measurement Tool (Version: UNKNOWN)
Maintainer: Pankaj Garg (ipankajg @ LinkedIn | GitHub | Gmail | Twitter)

Error: Invalid IP address: <[2001:db8:d401:21cd::6]> specified.
Please use "ethr -h" for complete list of command line arguments.
edmundselliot commented 9 months ago

Hitting a similar issue with parsing ipv6 addresses. image