How can I capture an application's internet activity?


 
Thread Tools Search this Thread
Special Forums IP Networking How can I capture an application's internet activity?
# 1  
Old 11-15-2010
How can I capture an application's internet activity?

I'm running a Windows application under Wine that is accessing the internet, and I would like to capture and log some or all of it's activity.

That is, suppose it is retrieving this:
http://example.com/some.php?user=ken&address=mainstreet..
It's sending data in the request, potentially personal data.

I want to know what it's up to.

I guess I could use strace, but that would generate an enormous amount of data.
Is there any way I can capture just the HTTP traffic?
# 2  
Old 11-15-2010
You might filter strace output real time, using options like -e to keep the load down.

You might install a firewall and set it to log packets.

You might install a web proxy so you can monitor all browsing. HTTP can occur on ports other than 80, so filtering outside a proxy is a bit difficult, as you have to detect and store state on every tcp connection that is started, to see if it turns out to be HTTP, and if not, discard that connection, and if so, remember it until it is finished and include that connection's packets.
# 3  
Old 11-15-2010
You can also use tcpdump, or a full-blown graphical network monitor like wireshark(which, incidentally, can read tcpdump files.)
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Notification Activity

Actually i am working on datastage and my operating system is Unix So I want a script in UNIX env for intimating the datastage log at the time of job abort. Can you please help me out .. Thanks in advance... (2 Replies)
Discussion started by: victory
2 Replies

2. UNIX for Dummies Questions & Answers

Problem using tee to capture activity - nothing happens

Hi, I'm sure this is real simple but in the looking I've done I haven't seen it addressed (or didn't realize it). I've started up a PuTTY connection to our UNIX box and started screen and script - no problems. Then I typed "tee teeKH18.txt" expecting it to start tee and dump all activity into... (2 Replies)
Discussion started by: Mike Welch
2 Replies

3. Linux

SFTP an internet address from a system behind an internet proxy

I was wondering if it is possible to setup SFTP to go through the internet proxy while connecting to an internet location. Problem: Client system is behind internet proxy. SFTP to any internet location fails as there is no documented way to configure SFTP to connect to internet locations through... (4 Replies)
Discussion started by: toobrown1
4 Replies

4. AIX

System activity

Hi, I want to find program's file read,write for a particular time.For example i am executing an application called test1, this will get input from some parameter files(file1,file2,file3) and it will write to some files(file4,file5), so i want to execute one program which will capture these... (3 Replies)
Discussion started by: gnanadurai_it
3 Replies

5. AIX

Disk activity

I'm new on UNIX and i want to display the LV NAME, LPs, PPs, DISTRIBUTION, MOUNT POINT but i don't know what is the command. Thanks, Regards (3 Replies)
Discussion started by: tovohery
3 Replies
Login or Register to Ask a Question