pcap-file-list Option is ignored
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 1.8k
- Forks
- 51
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to extract NetFlow statistics from a list of pcap files. The file has been formatted as follows:
/path/to/pcap/file1.pcap
/path/to/pcap/file2.pcap
/path/to/pcap/file3.pcap
and is passed as an argument to nprobe in this way:
nprobe.exe /c --pcap-file-list "C:\Users\user\nprobe\pcap.list" -V 10 -n none -T "%FIRST_SWITCHED%LAST_SWITCHED%IPV4_SRC_ADDR%L4_SRC_PORT%IPV4_DST_ADDR%L4_DST_PORT%PROTOCOL%L7_PROTO%IN_BYTES%IN_PKTS%OUT_BYTES%OUT_PKTS%TCP_FLAGS%FLOW_DURATION_MILLISECONDS%SRC_TO_DST_AVG_THROUGHPUT%DST_TO_SRC_AVG_THROUGHPUT" --dump-format t --csv-separator ";"
However, the statistics are calculated from the packets captured on the WiFi interface and not from the pcap files.
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 with the nProbe command invocation and the --pcap-file-list option shown in the issue, then trace how the input source is selected. Reproduce the command using the listed PCAP paths and verify that the resulting NetFlow statistics come from those files rather than the WiFi interface.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- cli, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100