4 ms·
Is there an HTTPS service planned? Without it, you may just be seeing the IP of a transparent proxy server.
by billpg 16y ago
Is there an HTTPS service planned? Without it, you may just be seeing the IP of a transparent proxy server.
- pmjordan 16y agoHTTPS can be proxied, too, transparent or not, and you'll end up with the proxy's IP. (as the HTTP headers are encrypted along with everything else, the proxy can't even include an 'X-Forwarded-For:' header) Still useful for maintaining the full 'lock' icon when embedding in other websites, though including jsonp in an https site somewhat defeats the purpose. You'd need CORS on the server for it to be useful.
- billpg 16y agoAn HTTPS proxy can only work when the client explicitly configures it. A proxy that can't cache or modify traffic is more like a NAT router than a proxy. (I imagine getting the IP of the other side of any NAT router is point of this service.)
- pmjordan 16y agoYou can transparently proxy arbitrary network traffic. See https://github.com/apenwarr/sshuttle https://github.com/apenwarr/sshuttle for an example. FWIW, I'm only pointing out that HTTPS wins you exactly nothing compared to HTTP for this particular purpose. The concept of the "correct" IP address in the context of NAT and proxies is hazy at best anyway.
- billpg 16y agoThere are ISPs that will route all (or some) port 80 traffic into a bank of caching proxies but route traffic for all other ports normally. (GRC.COM's 'Shields Up' service makes a point of using HTTPS to make sure it's testing your external IP rather than a random proxy server.) I suppose it depends on what you actually want to use the returned IP for. As you say, the concept is hazy.
- dedward 16y agoWhich might be exactly what you want if you are troubleshooting HTTP issues with customers "Go to page X and tell me what it says" rather than "what is your IP" is much more reliable. If there's a proxy, there's a proxy - but I can't troubleshoot the customer's connectivity issue without that.