Net::Frame::Dump(3pm)
π Net::Frame::Dump π
okay bestie, gather round, because this is Net::Frame::Dump, a page straight out of the User Contributed Perl Documentation (section 3pm, if you're keeping track π). It's the base-class for a tcpdump-like implementation, and honestly? she's the blueprint. the moment. the origin story. πΈ
β¨ NAME β¨
Net::Frame::Dump β the base-class for a tcpdump like implementation. no cap. π«Ά
π¦ DESCRIPTION π¦
So here's the tea: Net::Frame::Dump is the base class for all dump modules. every single one of them. she's the mother, the template, the whole entire vibe. π
And with those dump modules, you can do three iconic things:
- open a device for live capture π₯
- do some offline analysis π΅οΈββοΈ
- or create a pcap file π
that's the range. that's the versatility. we love a multi-hyphenate.
If you want the specific usage deets, go read Net::Frame::Dump::Offline, Net::Frame::Dump::Online, and Net::Frame::Dump::Writer. they're the specialized girlies. this one is the blueprint they all built on. iykyk. π
β METHODS β
new (%h)β the base-class object constructor. it takes a hash of stuff (%h, literally) and hands you back an object. that's it. that's the whole method. iconic minimalism, periodt. β¨
π CONSTANTS π
You gotta load them first, bestie β they don't just show up:
use Net::Frame::Dump qw(:consts);
and then you get all of these lovely link layer constants:
NF_DUMP_LAYER_NULLNF_DUMP_LAYER_ETHNF_DUMP_LAYER_RAWNF_DUMP_LAYER_SLLNF_DUMP_LAYER_PPPNF_DUMP_LAYER_80211_RADIOTAPNF_DUMP_LAYER_80211
These are the various supported link layers. so when you're picking what kind of link layer situation you're working with, these are your options. collect them all like PokΓ©mon cards. ππ
π SEE ALSO π
go check out her sisters, fr fr:
Net::Frame::Dump::OnlineNet::Frame::Dump::OfflineNet::Frame::Dump::Writer
π AUTHOR π
Patrice <GomoR> Auffret β the legend, the main character, the one who wrote all of this. we stan. π«Άβ¨
π COPYRIGHT AND LICENSE π
Copyright (c) 2006-2020, Patrice <GomoR> Auffret. π
You may distribute this module under the terms of the Artistic license. See the LICENSE.Artistic file in the source distribution archive for the full legal situation. (yes, actually read it, bestie, it's giving responsible. π)
and that's the whole page!! you're now fully caught up on Net::Frame::Dump. go forth and dump those frames. slay. π
πΈ
this little gem shipped with perl v5.36.0, last touched on 2022-11-19, and yes, she's still out here as Net::Frame::Dump(3pm). bye bestie, ily!! ππ¦β¨ππ
π¦ where this page comes from
- debian bookworm: libnet-frame-dump-perl 1.18-2 Β· Artistic-1.0-Perl
- debian trixie: libnet-frame-dump-perl 1.18-2 Β· Artistic-1.0-Perl
- ubuntu noble: libnet-frame-dump-perl 1.18-2 Β· Artistic-1.0-Perl
- ubuntu resolute: libnet-frame-dump-perl 1.18-2 Β· Artistic-1.0-Perl
- ubuntu stonking: libnet-frame-dump-perl 1.18-2 Β· Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms