PCAPINFO(1p)
π PCAPINFO(1p) π
User Contributed Perl Documentation β yeah bestie, this one lives in the Perl corner of the man page universe, and it's genuinely adorable. Let's get into it β¨
π¦ NAME π¦
pcapinfo β prints detailed information about the network devices π«Ά
πΈ SYNOPSIS πΈ
pcapinfo
That's it. That's the whole vibe. No args, no drama, just run it π
β¨ OPTIONS β¨
None. π
Not a single flag. Not one. She simply is. Honestly? Iconic. Main character energy. pcapinfo takes zero options, no notes, periodt π
π DESCRIPTION π
Okay so here's the tea β β pcapinfo prints detailed information about the network devices and the Pcap library available on the current host. Like, it's telling you what your machine's networking situation is and what libpcap you're working with. Very thorough of her, ngl π
Here's an example of what it spits out:
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
See that (default) tag next to eth0 up there?? π That's the device that gets returned when you call Net::Pcap::lookupdev() β so if you were wondering "which one does the code actually pick", boom, there's your answer, no cap π
β οΈ Also important, bestie: some information β like the link type β can only be gathered with administrative privileges. So if a field comes back looking empty or shy, that's probably why π
π§ AUTHOR π§
SΓ©bastien Aperghis-Tramoni, <sebastien@aperghis.net> π
π COPYRIGHT π
Copyright (C) 2005, 2006, 2007, 2008, 2009 SΓ©bastien Aperghis-Tramoni. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. π«Ά
Okay and just so you have the receipts, this page came from perl v5.42.3 and it's dated 2026-08-19 β that's the source and the date, all accounted for, we do not gatekeep metadata around here β¨
stay curious, run pcapinfo, check your interfaces, ily π
π¦ where this page comes from
- ubuntu stonking: libnet-pcap-perl 0.21-2build2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms