Subject: | Net-Pcap-Reassemble can't handle Linux cooked capture |
Date: | Thu, 13 May 2010 16:35:12 +0800 |
To: | bug-Net-Pcap-Reassemble [...] rt.cpan.org |
From: | Paul Wise <pabs3 [...] bonedaddy.net> |
When using sniff2sipp, an app to convert pcap files to traces for the
SIPp tool used to test SIP servers, I got this warning:
Undefined subroutine &Net::Pcap::Reassemble::croak called
at /usr/share/perl5/Net/Pcap/Reassemble.pm line 108.
This is due to the file being a Linux cooked capture:
$ file sip.pcap
sip.pcap: tcpdump capture file (little-endian) - version 2.4 (Linux "cooked", capture length 65535)
$ file samples/call.cap
samples/call.cap: tcpdump capture file (little-endian) - version 2.4 (Ethernet, capture length 65535)
My packet capture scenario seems to create this format, it would be nice
if Net::Pcap::Reassemble could handle it so that sniff2sipp would work.
--
bye,
pabs
http://bonedaddy.net/pabs3/
Message body not shown because it is not plain text.