[NETFRAME] Net::Frame issue

GomoR gomor at gomor.org
Tue Nov 24 17:36:27 CET 2009


On Tue, Nov 24, 2009 at 05:33:43PM +0100, Roman Pierce wrote:
[..]
> Instead, if i set firstLayer to IPv4 i get:
> 
> Unable to unpack next layer, not yet implemented in layer: 0:IPv4
> substr outside of string at /Library/Perl/5.10.0/Net/Frame/Simple.pm line
> 239.
> type ->3
> code ->3

Ok, it may be related to the truncation if the payload of the ICMPv4 
message. Could you add something like:

print unpack('H*', $raw)."\n";

Juste before Net::Frame::Simple->new() and send me the output ?

-- 
  ^  ___  ___             http://www.GomoR.org/          <-+
  | / __ |__/               Research Engineer              |
  | \__/ |  \     ---[ zsh$ alias psed='perl -pe ' ]---    |
  +-->  Net::Frame <=> http://search.cpan.org/~gomor/  <---+


More information about the netframe mailing list