Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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?
[Discipulus]: LA something a little more perlish? @mts = map {qx!mp3info -p $_!} glob '/path/*.mp3 (hazarded code)
[Discipulus]: many monks want to be hired tonight, other haired and some aired
[Lady_Aleena]: Discipulus, do glob recurse?
[Lady_Aleena]: s/do/does/;
LanX wants to be fired
[Discipulus]: i fear no
[Discipulus]: i invented also 'gired'
[Lady_Aleena]: Discipulus, then that is a problem. I wanted to find total seconds of my entire .mp3 collection to do some math on it to see how many days of continuous music i have.

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2017-04-23 20:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (432 votes). Check out past polls.