The ability to detect proxies can be very useful, and I was looking for a solution a while back, but found nothing. I was just browsing today and stumbled upon this page that offers a solution.
I test their demo script on the site and it seems to work great. I figured I would share this and also ask for others to test the script out to see if there are any faults in it. I am running some tests on it right now and would like to see other's feedback before I try and impliment their script into any of my sites.
Well I realise this, but there seems to be a lot of cheating going on with top game site lists such as mine and one of them is able to filter votes that are made through proxies. They don't just claim to be able to, I have tested it to see if their scripts really do, and in fact the vote was not counted when I was using a proxy.
Also, there could be other uses for proxy detection besides blocking people.
Wow, why do I always get attacked whenever I try to help out and post something that might be useful to someone? I might as well quit, nobody ever appreciates any of it.
This is an issue that people have dealt with for years. What they have ended doing, is use a combination of IP logging and cookies-- which are both easy to get around.
There is no real way to solve this short of having user accounts.
Well that isn't very reliable either. I just tested it with a proxy in firefox and it didn't even show anything for HTTP_X_FORWARDED_FOR. Of course the proxy I am using is high anonymity, sot hat could be the problem.
Yes, thats the problem - for a normal Squid / MS proxy setup it works fine (i've tried it - even behind 1 MS proxy AND 1 squid proxy it still had my internal address)
High anonymity proxies are the problem - there isn't really any way you can detect successfully - trust me, i tried when working on Planetarion.
I suppose you could try opening a socket to 'common' ports on the proxy? (check if it is a proxy by probing ports 3128 / 8080 etc)
Bookmarks