Tested ok against (only x86 architectures supported for now):
FreeBSD 5.2
OpenBSD 3.2
NetBSD  1.6.2
Linux 2.4 (Red Hat 7.2 with RPM updates)
Linux 2.6 (Debian)

Net::Packet version 1.27
====================

This module is a unified framework to craft, send and receive packets at layers 
2, 3, 4 and 7 (but 4 and 7 are just here for completeness, they have not been 
thoroughly tested. And you should use IO::Socket for layer 7, anyway).

Basically, you forge each layer of a frame (Net::Packet::IPv4 for layer 3, 
Net::Packet::TCP for layer 4 ; for example), and pack all of this into a 
Net::Packet::Frame object. Then, you can write it to the network, and use 
Net::Packet::Dump to receive responses.

If you want some layer 2, 3 or 4 protocol encoding/decoding to be added, just ask, and give a corresponding .pcap file ;)

INSTALLATION

To install this module type the following:

   perl Makefile.PL
   make
   make test
   make install

Eventually, you will have to pass -I and -L directives for the compilation to work. This is done like that:

   perl Makefile.PL INC="-I/somewhere/far/pcap/include" \
      LIBS="-L/somewhere/far/pcap/lib -lpcap"

DEPENDENCIES

This module requires these other modules and libraries:

  Perl v5.6.1
  Net::Pcap
  IO::Interface
  Time::HiRes
  libpcap

LIMITATIONS

Does NOT work under Microsoft Windows.

If auto* subs do not work, you will need to set $Net::Packet::Dev, 
$Net::Packet::Ip, $Net::Packet::Mac globals manually for each of your 
Net::Packet programs.

Performances (memory usage, object creation speed) maye be quite limited for 
now. I will work on it in the near (or not) future.

COPYRIGHT AND LICENSE

You may distribute this module under the terms of the Artistic license.
See Copying file in the source distribution archive.

Copyright (c) 2004, Patrice <GomoR> Auffret

