|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 5,344
|
blocking proxy hits
i'm trying to build a very simply a trading script in PHP
I'm looking to do some anti cheating features, how do I detect proxy hits? is there anything 100% bullet proof? i'm already ignoring hits I can't plant cookies on or can't get the IP address from |
|
|
|
|
|
#2 |
|
Too lazy to set a custom title
Join Date: Jun 2003
Location: Freeport 7
Posts: 6,132
|
If proxy is not "high anonimity", you can analyze HTTP reqests and detect them if there are parameters like "Via:", etc. In case of "high anonimity" proxies you have no means to detect except if you have the full list of "high anonimity" proxies in the internet.
|
|
|
|
|
|
#3 |
|
So Fucking Banned
Join Date: Aug 2002
Posts: 5,579
|
Http_via =
Http_x_forwarded_for = Http_from = |
|
|
|
|
|
#4 | |
|
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 5,344
|
Quote:
|
|
|
|
|
|
|
#5 | |
|
Confirmed User
Join Date: Dec 2002
Location: Sweden/Spain you sum bitch!
Posts: 6,576
|
Quote:
lolol no I dont think so better just go with: Http_via = Http_x_forwarded_for = Http_from = |
|
|
|
|
|
|
#6 |
|
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 5,344
|
any other methods of cheating I should know about?
|
|
|
|
|
|
#7 | |
|
Confirmed User
Join Date: Nov 2004
Location: Scottsdale, AZ
Posts: 5,167
|
Quote:
What you could theoretically do is, run a batch script that scans through your log of whatever type, extracts the IP address, and attempts to connect to it as if it was a proxy server (check all ports for an open HTTP/Socks proxy). This can be a slow process, which is why you should never do it on-the-fly and only in batch. Also, you shouldn't wait too long before you check an IP, as proxy servers tend to die fast and your `evidence` will be lost. EDIT: Needless to say, when a proxy is found you can cancel that specific hit/sale or do whatever you want with your findings. |
|
|
|
|
|
|
#8 | |
|
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 5,344
|
Quote:
thanks for that idea now are there any other methods of cheating/faking hits besides the usage of proxy? |
|
|
|
|
|
|
#9 | |
|
Confirmed User
Join Date: Nov 2004
Location: Scottsdale, AZ
Posts: 5,167
|
Quote:
![]() |
|
|
|
|
|
|
#10 | |
|
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 5,344
|
Quote:
|
|
|
|
|
|
|
#11 | |
|
Confirmed User
Join Date: Nov 2004
Location: Scottsdale, AZ
Posts: 5,167
|
Quote:
|
|
|
|
|
|
|
#12 | |
|
Confirmed User
Join Date: Nov 2004
Location: Scottsdale, AZ
Posts: 5,167
|
Quote:
Cheaters customize their behvaior based on what the need is, so I can't give a general answer. If they try to cheat pay-per-click systems, then in addition to getting unique IPs by using proxies, they will also try to trick users into hitting your pages. |
|
|
|
|
|
|
#13 |
|
Confirmed User
Join Date: Nov 2004
Location: Scottsdale, AZ
Posts: 5,167
|
These days it's not so easy to detect SOCKS proxies as it used to be. Back in the day you knew it's a SOCKS if port 1080 was open. Now you'll see all kinds of different ports - 44444, 323232, 34000, etc.
|
|
|
|
|
|
#14 |
|
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 5,344
|
come to think of it: MSNTV is a proxy, AOL is a proxy, Earthlink is a proxy...Most cable modems are proxies....
|
|
|
|
|
|
#15 | |
|
Confirmed User
Join Date: Nov 2004
Location: Scottsdale, AZ
Posts: 5,167
|
Quote:
|
|
|
|
|
|
|
#16 |
|
Confirmed User
Join Date: Nov 2004
Location: Scottsdale, AZ
Posts: 5,167
|
If you tell me what you're trying to do, I'll have more specific ideas for you. Hit me up if you don't want to post it here.
|
|
|
|
|
|
#17 | |
|
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 5,344
|
Quote:
while (list($key, $val) = each($_SERVER)) { echo "$key => $val<br>"; } accessing the page myself I got: HTTP_VIA => 1.1 PTK-CACHE-218B (NetCache NetApp/5.6.1D21) HTTP_X_FORWARDED_FOR => 86.179.229.242 so did I miss something? |
|
|
|
|
|
|
#18 |
|
Confirmed User
Join Date: Jul 2003
Location: chicago
Posts: 1,135
|
A lot of proxies dont expose them as being proxies, what you can do however is attempt to connect to the remote host on the common ports that proxies run on.
So you could possible do something like this provided you are running PHP: PHP Code:
|
|
|
|