ntop / ntop/nProbe

nprobe in agent-mode failed when host have multiple IP addresses per interface

Open
#649 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
1.8k
Forks
51
PR merge metrics
No merged PRs in 30d

Description

Hello dear sirs! Used nprobe last stable released version 10.6.250403 with ntopng version 6.2.

i encounter bug in nprobe. my host have 3 interfaces. and on each interface i have bunch of ip addresses.
when supplying nprobe with command line parameter --agent-mode it will produce in logs single line
[nprobe.c:9545] Packet capture filter set to "host 1.2.3.4"

but interface have "1.2.3.4" and "5.6.7.8" and "9.10.11.12" addresses.

i tried supply my own filtering pattern via
-f="host 1.2.3.4 or host 5.6.7.8 or host 9.10.11.12"
but in agent-mode nprobe completely ignore that param :(

is this a bug or desired program behavior ?
in fact i can't use process monitoring functionality as described in ntopng manual on site.

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 by reproducing the issue with --agent-mode on interfaces that have multiple IP addresses, then inspect the behavior reported at nprobe.c:9545. Check whether the supplied -f filter is ignored in agent mode and compare the capture filter with all interface addresses. Done means the behavior is corrected or clearly documented if it is intentional.

Written by the indexing model from the issue text.

Assessment

Domain
cli, 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.