Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bug Report: NFStreamer Live Capture Fails to Detect Traffic on Debian #208

Open
@Gino-Copilot

Description

@Gino-Copilot

NFStreamer fails to capture any live network traffic on a Debian-based system, despite the network interface being active and traffic clearly present, as verified by tcpdump. The issue persists across different versions of NFStreamer (6.5.3 and 6.5.2), with no flows detected during live capture, although PCAP analysis using NFStreamer works as expected.

System Information
Operating System: Debian (Kernel Version: please specify the exact version)
Python Version: 3.11 (using a virtual environment)
NFStreamer Versions Tested: 6.5.3, 6.5.2
Network Interface: wlp0s20f3 (Wi-Fi interface)
Other Installed Packages:
cffi 1.17.0
psutil 6.0.0
dpkt 1.9.8
numpy 2.0.1
pandas 2.2.2

pip install nfstream

Attempt to capture live network traffic using the following Python script

from nfstream import NFStreamer

interface = "wlp0s20f3"
print(f"Checking network interface: {interface}")

try:
streamer = NFStreamer(source=interface,
promiscuous_mode=True,
n_dissections=0,
statistical_analysis=False)

print(f"Successfully opened interface {interface}.")print("Capturing network data in real-time...")captured_flows = 0for flow in streamer:    captured_flows += 1    print(f"Captured Flow: {flow}")    if captured_flows >= 10:        breakif captured_flows == 0:    print("No network data captured. Possible reasons:")    print("1. No traffic is present.")    print("2. The interface is not correctly selected.")    print("3. The Python environment does not have access to the network interface.")

except Exception as e:
print(f"Error opening the interface or capturing data: {str(e)}")

this is one out of 20 scrippts I tried :(

Despite active traffic (verified with tcpdump), no flows are detected.

for help I would be more then thankfull - if all works I would even donate - I need this for my bachelorthesis and I spend already sooo much time

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp