ntop / ntop/nProbe

ZMQ not binding on IPv6

Open
#548 1 comment 0 reactions 0 assignees View on GitHub

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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.