ZMQ not binding on IPv6
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Lua
- Stars
- 1.8k
- Forks
- 51
- PR merge metrics
- No merged PRs in 30d
Description
When using the config flag --zmq "tcp://*:5556" nprobe binds on all IPv4 interfaces only.
And if there is an attempt to bind specifically on a IPv6 address such as --zmq "tcp://[2001:db8:1234::1]:5556"
There is an error [util.c:6370] Unable to bind ZMQ endpoint
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at util.c:6370 and trace how the --zmq endpoint is parsed and bound. Reproduce both the wildcard and explicit IPv6 examples from the issue, then verify that wildcard binding includes IPv6 and that the explicit IPv6 endpoint binds without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100