[NETFRAME] Retrieving data from a packet contained in Net::Frame/Net::Packet objects

Brian Manning elspicyjack at gmail.com
Sat Jan 31 04:33:54 CET 2009


On Tue, Jan 27, 2009 at 1:44 AM, GomoR <gomor at gomor.org> wrote:
> I will describe the way to do it using Net::Frame, the now prefered
> framework.

> # Now you gather every packets:
> my ($src, $tcp);

For others who want to try this, do an s/\$tcp/$dst/ on that line and
the example will work.

It seems I have PIM frames (NF_IPv4_PROTOCOL_PIM from
Net::Frame::Layer::IPv4) in my pcap file, since Net::Frame::Simple is
telling me to load or implement a PIM frame module,.

*** Net::Frame::Layer::PIM module not found.
*** Either install it (if avail), or implement it.

I don't see one on CPAN, what's the easiest Net::Frame::Layer module
to subclass/hack to at least keep Net::Frame::Simple happy?

I'd give you the pcap file I have with the PIM frames in it, but I
don't think I can, it's $work stuff.  I may be able to give out the
PIM module if I end up writing one however.

Thanks again,

Brian


More information about the netframe mailing list