Search code examples
asp.netfiddler

How do I monitor all incoming http requests?


I need to monitor my application from incoming http POST and GET requests originating from outside and sometimes inside the machine.

Is this possible?

Been using fiddler but this only does outgoing not incoming (from outside the machine) or have I configured it incorrectly?

This is for my web app that is meant to be receiving a POST from an external server.


Solution

  • Guys found the perfect way to monitor ALL traffic that is flowing locally between requests from my machine to my machine:

    1. Install Wireshark

    2. When you need to capture traffic that is flowing from a localhost to a localhost then you will struggle to use wireshark as this only monitors incoming traffic on the network card. The way to do this is to add a route to windows that will force all traffic through a gateway and this be captured on the network interface.

      To do this, add a route with <ip address> <gateway>:

       cmd> route add 192.168.20.30 192.168.20.1
      
    3. Then run a capture on wireshark (make sure you select the interface that has bytes flowing through it) Then filter.

    The newly added routes will come up in black. (as they are local addresses)