Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Sniffing binary data, heuristics?

by DrHyde (Prior)
on May 26, 2004 at 07:38 UTC ( #356481=note: print w/replies, xml ) Need Help??


in reply to Sniffing binary data, heuristics?

I'm writing a packet sniffer

Why? There are decent sniffers already written. You're better off, IMO, using one of them and then using perl to grovel over their log files rather than spending valuable time writing the sniffer as well.

Replies are listed 'Best First'.
Re: Re: Sniffing binary data, heuristics?
by Ryszard (Priest) on May 26, 2004 at 07:58 UTC
    Quite simply, because i can. its an interesting thing to do for me.. :-)
      Take a look at Net::Pcap and Net::Packet as these may make your life a lot easier.

      I made a start on this but the semantics of separating TCP/IP streams between multiple clients and multiple servers in real time got very complicated.

      I can probably did out some ugly code if you want :)

      The 'Cat

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://356481]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (1)
As of 2016-12-09 04:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (148 votes). Check out past polls.