PCAPINFO(1)
π
PCAPINFO(1) β like, the pcapinfo manual, bestie π
okay so real quick β this is the page from the User Contributed Perl Documentation section of the manual, and it's about pcapinfo. let's get into it β¨
πΈ NAME πΈ
pcapinfo β prints detailed information about the network devices π¦
β¨ SYNOPSIS β¨
pcapinfo
literally that's it. no flags, no args, just vibes π
π OPTIONS π
None.
like... none none. zero. not a single one. iconic honestly π
π DESCRIPTION π
okay so pcapinfo prints detailed information about the network devices and the Pcap library that's available on the current host π
here's an example so you can see exactly what it's giving:
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 device marked as "(default)"? π that's the one that gets returned when you call Net::Pcap::lookupdev(). she's the main character π
β οΈ heads up bestie β some info, like the link type, can only be gathered with administrative privileges. so if you're getting blanks, that's why π no cap.
π«Ά AUTHOR π«Ά
SΓ©bastien Aperghis-Tramoni, <sebastien@aperghis.net> β ty king πβ¨
β 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. πͺπ
and that's the whole page!! πΈ bye bestie, go check your network devices, ily π¦π
β this one's from perl v5.40.2, dated 2025-01-18 πβ¨
π¦ where this page comes from
- epel 10: perl-Net-Pcap 0.21-8.el10_1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms