in reply to RE: simple perl sniffer
in thread simple perl sniffer

HaLLO! i test the script it work fine with me .. someone to now how i can .. decode the nex of the pack.

15 10.8.4.19(33373) -> 10.10.0.28(6667) 00 01 02 03 04 05 06 07 - 08 09 0A 0B 0C 0D 0E 0F 0123456789ABCDEF 00000000 82 5D 1A 0B C9 12 24 11 - 46 3E F8 5D 80 10 65 D0 .]....$.F +>.]..e. 00000010 AC 3D 00 00 01 01 08 0A - 00 5E 08 95 DD 5D 9D F5 .=....... +^...]..
that is one of the pkg. and it is not encripted ... but i dont now how to decode it ...
Thenks

Code tags added by GrandFather

Replies are listed 'Best First'.
Re^3: simple perl sniffer
by lhoward (Vicar) on Jan 26, 2006 at 13:05 UTC
    Check out Net::Packet. It has parsers for certain protocols above layer 3. If not, you may have to write your own parser, or figure out a way to pass the captured data off to a program like Etheral that has more advanced parsing capability for the upper levels of the protocol stack.

    L