I’d like to determine whether the proxy at a given IP address is transparent or anonymous. Transparent proxies connect to websites with your real IP in headers like HTTP_X_FORWARDED_FOR or HTTP_VIA. I would like to check these proxies, but all solutions I found are developed to work on server side, to test incoming connections for proxyness. My plan is to make a web request to an example page via the proxy. How do I check the headers sent by the proxy, preferably using the WebRequest class?
EDIT: So is there some free web API that will allow me to do this? I’m not keen on setting up a script on my own small server that will be bombarded with requests.
That is technically impossible since the client only sees what the proxy returns back to the client – the proxy can do whatever it wants when communicating with the target server and transform your request and the answer from the server anyway it wants…
To really know what the proxy does you NEED see what the server gets and sends back without any interference from the proxy…