microsoft / microsoft/ethr

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

Open
#178 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
5.9k
Forks
406
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the server command's --ip argument handling and the TCP listener setup, using the reported IPv6 examples as reproduction cases. Verify both an unbracketed IPv6 address and the bracketed form, then run the relevant server tests or reproduce with ./ethr -s; done means a valid IPv6 address is accepted and the server listens without the reported errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.