pcapinfo(1p)

pcapinfo1p

Prints detailed information about the network devices

Usage

pcapinfo

Options

None.

Overview

pcapinfo prints detailed information about the network devices and Pcap library available on the current host. Here is an example:

    Host information
    ----------------
      Hostname      : fangorn.maddingue.net
      Aliases       : fangorn.local fangorn
      Pcap version  : libpcap version 0.8.3
    Devices information
    -------------------
    Device eth0 (default)
      Description       : No description available
      Link type         : Ethernet, no autonegotiation, 10baseT-HD, link ok
      Hardware address  : 00:0c:6e:0a:c3:ca
      Network address   : 10.0.1.51
      Network mask      : 255.255.255.0
      Flags             : up running broadcast multicast
    Device eth1
      Description       : No description available
      Link type         : Ethernet, no autonegotiation, 10baseT-HD, link ok
      Hardware address  : 00:26:54:0a:d8:4d
      Network address   : 192.168.1.51
      Network mask      : 255.255.255.0
      Flags             : up running broadcast multicast

The device marked as "(default)" is the one returned when calling Net::Pcap::lookupdev()

Some information like the link type can only be gathered with administrative privileges.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 7 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13

Author

Sébastien Aperghis-Tramoni, <[email protected]>

From libnet-pcap-perl 0.21-2+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.