nf-read - Net::Frame Read tool
# nf-read.pl -f some-llc-frames.pcap *** Net::Frame::Layer::HPEXTLLC module not found. *** Either install it (if avail), or implement it. *** You can also send the pcap file to perl@gomor.org. o Frame number: 1 (length: 98, timestamp: 1175506804.783716) ETH: dst:09:00:09:aa:bb:cc src:00:12:79:aa:bb:cc length:84 LLC: dsap:0x7c ig:0 ssap:0x7c cr:0 control:0x03 LLC: payload:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA... o Frame number: 2 (length: 60, timestamp: 1175506804.789921) ETH: dst:01:80:c2:00:00:00 src:00:12:79:aa:bb:cc length:38 LLC: dsap:0x21 ig:0 ssap:0x21 cr:0 control:0x03 STP: protocolIdentifier:0x0000 protocolVersionIdentifier:0 STP: bpduType:0x00 bpduFlags:0x00 STP: rootIdentifier:32768/00:12:79:aa:bb:cc rootPathCost:0 STP: bridgeIdentifier:32768/00:12:79:aa:bb:cc portIdentifier:0x8003 STP: messageAge:0 maxAge:20 helloTime:2 forwardDelay:15 STP: payload:00000000000000 Padding: 00 *** Net::Frame::Layer::CDP module not found. *** Either install it (if avail), or implement it. *** You can also send the pcap file to perl@gomor.org. o Frame number: 3 (length: 154, timestamp: 1175506804.792671) ETH: dst:01:00:0c:cc:cc:cc src:00:12:79:aa:bb:cc length:140 LLC: dsap:0x55 ig:0 ssap:0x55 cr:0 control:0x03 LLC::SNAP: oui:0x00000c pid:0x2000 LLC::SNAP: payload:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...
This tool implements a twireshark/tethereal like program. It is able to decode all layers that Net::Frame supports at the time of writing.
Patrice <GomoR> Auffret
Copyright (c) 2006-2011, Patrice <GomoR> Auffret
You may distribute this module under the terms of the Artistic license. See LICENSE.Artistic file in the source distribution archive.
To install Net::Frame::Tools, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Frame::Tools
CPAN shell
perl -MCPAN -e shell install Net::Frame::Tools
For more information on module installation, please visit the detailed CPAN module installation guide.