WorkShop n°12 : Turning TcpCatcher into a transparent web proxy
In some situation, you may want to use TcpCatcher as a transparent web proxy (ie the client application is not aware that it is talking to a proxy). For example, you may want to monitor a communication without any change at client level code.
- For demonstration purposes, we are going to transparently monitor our SSL communication between our browser and our secured gmail web mail (https://mail.google.com)
- First let's start TcpCatcher, check the option 'Transparent Proxy Mode' (note that TcpCatcher is now ready to open port 80 and 443 which are classical port HTTP and HTTPS) and check 'Monitor SSL' and then click on 'Apply settings and start'.

- Let's add an entry in our etc\hosts file to map mail.google.com to our localhost (assuming TcpCatcher is running on local host) so TcpCatcher will still receive all the requests targeting mail.google.com. Because we have checked the 'Transparent Proxy' option, TcpCatcher will ignore this network redirection and will still resolve the actual gmail ip.
C:\Windows\System32\drivers\etc\hosts file or for Linux users /etc/hosts file
- Now , let's remove any proxy configuration in our browser settings, so our browser is not aware of any proxy in the middle anymore. Let's restart our browser and visit https://mail.google.com.
- Accept security warnings (about the certificate not matching gmail and being self signed, because our browser is receiving TcpCatcher's certificate and not gmail's) and now your SSL communication is being transparently monitored
This comment form is powered by GentleSource Comment Script. It can be included in PHP or HTML files and allows visitors to leave comments on the website.