NAME
nf-cat - Net::Frame Cat tool
SYNOPSIS
# printf "AAAAAAAAAAA" |nf-cat.pl -i eth0 -2R
# printf "ffffffffffff00000000000088641100000100000021" | \
nf-cat.pl -i eth0 -2L ETH -v
ETH: dst:ff:ff:ff:ff:ff:ff src:00:00:00:00:00:00 type:0x8864
PPPoES: version:1 type:1 code:0x00 sessionId:0x0001
PPPoES: payloadLength:0 pppProtocol:0x0021
DESCRIPTION
This tool is like well-known netcat, but works at various layers. For example, you may send a raw string at layer 2, like in the first example SYNOPSIS.
You may also send fully crafted frames, like in the second example, where we inject an Ethernet frame which encapsulate a PPPoES layer.
AUTHOR
Patrice <GomoR> Auffret
COPYRIGHT AND LICENSE
Copyright (c) 2006-2007, Patrice <GomoR> Auffret
You may distribute this module under the terms of the Artistic license. See LICENSE.Artistic file in the source distribution archive.