Joey The Saint has asked for the wisdom of the Perl Monks concerning the following question:

Can anyone point me at a module that will let me build ethernet frames from arbitrary data? I saw NetPacket::Ethernet, but it hasn't been updated since 1999 and the last comment there is that encode() isn't implemented.
-J.
  • Comment on Module to build Ethernet (802.3) frames

Replies are listed 'Best First'.
Re: Module to build Ethernet (802.3) frames
by Big Willy (Scribe) on Jun 01, 2001 at 16:47 UTC
    Although it is not available yet, I am working on a perl module for the packet construction library libnet. It includes ethernet packet construction and injection, but as of yet I have had difficulty implement those functions properly because of issues with XS and struct's and the like as per the question I posted here. If I had any way of resolving these issues that I knew of, it would surely be simple to make it work. But for the time being, you and I are in the same boat :(