Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: TCP or SOCKET or HTTP ... track everything my computer is doing

by NetWallah (Abbot)
on Dec 21, 2012 at 00:38 UTC ( #1009824=note: print w/ replies, xml ) Need Help??


in reply to TCP or SOCKET or HTTP ... track everything my computer is doing

What OS are you working on ? Linux has a built-in "tcpdump" program that can (selectively) capture what you want. There are options in Windows, both Open source (windump) and MS-specific (I believe the MS network monitor is now a part of SMS).

If you want to capture this info in perl, use the Net::Pcap series of modules.

             "By three methods we may learn wisdom: First, by reflection, which is noblest; Second, by imitation, which is easiest; and third by experience, which is the bitterest."           -Confucius


Comment on Re: TCP or SOCKET or HTTP ... track everything my computer is doing
Replies are listed 'Best First'.
Re^2: TCP or SOCKET or HTTP ... track everything my computer is doing
by Anonymous Monk on Dec 21, 2012 at 01:01 UTC

    Thanks for the quick reply! This is exactly what I needed to get started.

    Ideally, the resulting script will be cross-platform, which is why I want to use Perl.

    I'll post back after I've had a chance to do some appropriate research/experimenting.

    Thanks again!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1009824]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (15)
As of 2015-07-28 15:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (257 votes), past polls