Changes for version 3.20 - 2006-11-12
- NEW: support for PPPoE, PPP, PPPLCP, LLC, and begin the work for CDP
- NEW: Frame->new can now return an array ref of decoded frames, to handle new layers, and such things as IPv6 within IPv4. See doFrameReturnList from Env. With this new scheme, the behaviour from unpacking VLAN or ICMPv4 has changed. Old behaviour remains the same, but if you set doFrameReturnList to true (not by default), your programs will need updating.
- NEW: all layers: be able to create layers without having the need to build a full frame
- new: Frame: print() and dump() methods, encapsulate attribute
- new: Consts: new constants
- new: Layer: isLayer2(), isLayer3(), isLayer4(), isLayer7(), getPayloadLength()
- new: Utils: debugDeviceList()
- new: Env: doFrameReturnList, noFramePadding, doIPv4Checksum, noFrameComputeChecksums, noFrameComputeLengths, doMemoryOptimizations
- update: all layers: rewrite of print() methods
- update: TCP: optimizations on recv() method
- removed: Frame: noPadding attribute, moved to Env noFramePadding
- removed: Frame: doChecksum attribute, moved to Env doIPv4Checksum
- bugfix: Env: in getSubnet()
- bugfix: Env: mapping between dnet interface and WinPcap interface should now work
- bugfix: Env: no IPv6 under Windows for now
- bugfix: ETH: in isTypeIp()
- bugfix: Frame: do not use Dump and Desc if they do not exist
- bugfix: Frame: getFilter() only when a Frame is competely filled
- bugfix: IPv4: do not use l4 if it does not exist
- bugfix: IPv6: do not use l4 if it does not exist
Modules
a framework to easily send and receive frames from layer 2 to layer 7
Address Resolution Protocol layer 3 object
Cisco Discovery Protocol layer 4 object
base class for Cisco Discovery Protocol extension headers
Cisco Discovery Protocol extension header
all constants used in Net::Packet framework
base class for all desc modules
object for a link layer (layer 2) descriptor
object for a network layer (layer 3) descriptor
object for a transport layer (layer 4) descriptor
a tcpdump-like object providing frame capturing and more
Ethernet/802.3 layer 2 object
environment object used for frame capture/injection
object encapsulator for Net::Packet layers
Internet Control Message Protocol v4 layer 4 object
Internet Protocol v4 layer 3 object
Internet Protocol v6 layer 3 object
Logical-Link Control layer 3 object
base class for all layer modules
base class for all layer 2 modules
base class for all layer 3 modules
base class for all layer 4 modules
application layer object
BSD loopback layer 2 object
Point-to-Point Protocol layer 3 object
PPP Link Control Protocol layer 4 object
PPP-over-Ethernet layer 3 object
empty layer 2 object
Linux cooked capture layer 2 object
Transmission Control Protocol layer 4 object
User Datagram Protocol layer 4 object
useful subroutines used in Net::Packet
802.1Q layer 3 object
Examples
- examples/arp-reply.pl
- examples/arp-request.pl
- examples/arp-scan.pl
- examples/chaos-query.pl
- examples/d3-syn-send.pl
- examples/d4-syn-send.pl
- examples/icmp-dest-unreach.pl
- examples/icmp-echo.pl
- examples/icmp-information.pl
- examples/icmp-mask.pl
- examples/icmp-redirect.pl
- examples/icmp-timestamp.pl
- examples/ip6-syn-send.pl
- examples/ipv4-flags.pl
- examples/read-pcap.pl
- examples/sniffer.pl
- examples/syn-scan.pl
- examples/syn-send.pl
- examples/udp-send.pl
- examples/vlan-craft.pl
- examples/vlan-support.pl