Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Detect if user is behind a proxy server

Tags:

php

proxy

I know this question has been asked a few times but I just can't find a solution! I own a dating site and have issues with people signing up through proxies (I assume) and spamming my users and creates fake account.

How can I detect if a user is behind proxies like Vtunnel, Hidemyass, TOR etc. I understand there is no guaranteed way but sites like pof.com (plenty of fish) have excellent proxy detection.

I just need to start somewhere.. even if I can just detect the most popular proxy sites.

like image 284
hdlmsa Avatar asked Jun 02 '13 20:06

hdlmsa


People also ask

Can we track the real IP behind a proxy?

A high anonymity proxy offers the highest level of privacy and security you can probably get with a proxy server. Not only does the server you connect to not receive any information about your IP address, but it also can't even tell that you are connected using a proxy.


1 Answers

Unless a proxy uses special header, like X-Forwarded-For, you can't differentiate it from a normal user. As those 'black' proxies are not so naive (their purpose is to protect their users, remember), your only choice are IP blacklists - like the ones provided by Project Honeypot.

like image 176
raina77ow Avatar answered Nov 02 '22 17:11

raina77ow