Skip to content

The "null" capture module type leaves certain capture devices enabled. #1488

Open
@infrastation

Description

@infrastation

Steps to reproduce:

  1. ./configure --with-pcap=null
  2. Link tcpdump with the resulting libpcap.
  3. Run tcpdump -D and see:
    1.bluetooth-monitor (Bluetooth Linux Monitor) [Wireless]
    2.nflog (Linux netfilter log (NFLOG) interface) [none]
    3.nfqueue (Linux netfilter queue (NFQUEUE) interface) [none]
    4.dbus-system (D-Bus system bus) [none]
    5.dbus-session (D-Bus session bus) [none]
    
  4. Run ldd tcpdump and see libdbus-1.so.3, libsystemd.so.0 etc., also libibverbs if the development package is installed. There is no obvious way to disable linking with libibverbs.

If the intended purpose of the "null" module is to produce a build of libpcap that can read and write savefiles, as well as compile filters, but otherwise stays isolated from all packet capture facilities (and the associated dependencies), this is currently broken.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions