$VAR1 = { 'len' => 74, 'tv_usec' => 134541, 'tv_sec' => 1235622359, 'caplen' => 74 }; >#®w;!áüE<²@ÿjP ùPZ(Ñ0Hk½9å r[àçÚÌ«½UZP<2E5÷B< panic: sv_setpvn called with negative strlen at /usr/local/lib/perl/5.8.8/Net/RawIP.pm line 500 (#1) (P) An internal error. ^[[?1;2cUncaught exception from user code: panic: sv_setpvn called with negative strlen at /usr/local/lib +/perl/5.8.8/Net/RawIP.pm line 500. at /usr/local/lib/perl/5.8.8/Net/RawIP.pm line 500 Net::RawIP::bset('Net::RawIP=HASH(0x814ec28)', '\x{0}#\x{4}\x{ +ae}w;\x{0}!\x{e1}\x{fc}\x{9f}\x{f1}\x{8}\x{0}E\x{0}\x{0}<\x{7}\x{b2}\ +x{0}\x{0}@\x{11}\x{ff}j\x{14}\x{1}P\x{1b}\x{a}\x{80}\x{4}\x{f9}\x{14} +P\x{14}Z\x{0}(\x{d1}0\x{80}\x{12}\x{93}Hk\x{bd}9\x{e5}\x{9}\x{9f}r[\x +{e0}\x{e7}\x{da}\x{5}\x{cc}\x{ab}\x{11}...', 'eth0') called at readpc +ap.pl line 48 main::handlepacket('Testing', 'HASH(0x840a63c)', '\x{0}#\x{4}\ +x{ae}w;\x{0}!\x{e1}\x{fc}\x{9f}\x{f1}\x{8}\x{0}E\x{0}\x{0}<\x{7}\x{b2 +}\x{0}\x{0}@\x{11}\x{ff}j\x{14}\x{1}P\x{1b}\x{a}\x{80}\x{4}\x{f9}\x{1 +4}P\x{14}Z\x{0}(\x{d1}0\x{80}\x{12}\x{93}Hk\x{bd}9\x{e5}\x{9}\x{9f}r[ +\x{e0}\x{e7}\x{da}\x{5}\x{cc}\x{ab}\x{11}...') called at readpcap.pl +line 33
I also checked that for some dump files the capture length was 1500 and for the other the capture length was 65535 (I found it by using file utility in my unix based system).
for those files which has capture length of 65535 the net::rawip is saying this error
PROBLEM OUTPUT 2
for the second problem I tried increasing the MTU of ethernet interface from 1500 to 65535 but it is saying error$VAR1 = { 'len' => 60, 'tv_usec' => 958875, 'tv_sec' => 1235629906, 'caplen' => 60 }; >Â>ðÌ>ð>ð x< Uncaught exception from user code: sendto() at /usr/lib/perl5/Net/RawIP.pm line 550. at /usr/lib/perl5/Net/RawIP.pm line 550 Net::RawIP::send('Net::RawIP=HASH(0x814ec28)') called +at readpcap.pl line 52 main::handlepacket('Testing', 'HASH(0x8410004)', '\x{1 +}\x{80}\x{c2}\x{0}\x{0}\x{e}\x{0}\x{14}\x{e}>\x{f0}\x{0}\x{88}\x{cc}\ +x{2}\x{7}\x{4}\x{0}\x{14}\x{e}>\x{f0}\x{1}\x{4}\x{7}\x{3}\x{0}\x{14}\ +x{e}>\x{f0}\x{b}\x{6}\x{2}\x{0}x\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x +{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\ +x{0}\x{0}\x{0}') called at readpcap.pl line 35
command: "ifconfig eth2 mtu 65535"
output: "SIOCSIFMTU: Invalid argument"
Any idea about this error and any suggestions to track this problem will be helpful to me.
In reply to Net::RawIP failing in some case by targetsmart
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |