in reply to Re^12: p0fq.pl and pack
in thread p0fq.pl and pack?
I tried your script, but it got:
I have never used Convert::Binary::C. I didn't even have it installed. I figured you'd be able to sort out the details.
the strange thing is that the pack method seems eat up the src_ip, dst_ip, from the query hex dump
Ah, of course! You're feeding it the string "\xC0\xA8\x00\x01" (packed) where it's expecting the number (0xC0<<24)|(0xA8<<16)|(0x00<<8)|(0x01) (unpacked).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^14: p0fq.pl and pack
by Anonymous Monk on Feb 26, 2007 at 00:58 UTC | |
by ikegami (Patriarch) on Feb 26, 2007 at 01:31 UTC | |
by macli (Beadle) on Feb 26, 2007 at 02:34 UTC | |
by ikegami (Patriarch) on Feb 26, 2007 at 03:11 UTC | |
by macli (Beadle) on Feb 26, 2007 at 04:22 UTC | |
|