Monday, March 14, 2011

Using tcpmon to sniff HTTP traffic

This tool can be used as I have posted before to debug SOAP but it is not limited to that of course.

I was asked the question about step by step instructions on how to install it. Here they are for OSX. If using windows translate bash to DOS batch and for Linux it should be pretty straightforward after reading the below.

  1. Download tcpmon
  2. Uncompress in a folder of your choice, let us say in your home directory
  3. Create a bash script for example /usr/sbin/tcpmon with the below content:
    #!/bin/bash
    
    cd /Users/nestor/tcpmon-1.0-bin/build
    ./tcpmon.sh
    
  4. Run tcpmon from command line:
    tcpmon &
    

No comments:

Followers