Item Title

Item Description

Anti Proxy

15 years ago  #1
Level 2
Status: offline
Prison: New Jersey
Incarcerated: 15 years, 10 months
Posts: 2

I suggest, to add an "anti-proxy" feature to PrisonBlock.

I coded a simple "Anti-Proxy" for this. It would block proxy access.

Code:

http://paste2.org/p/911687

Demo:

I tested it on my site:

Screenshot without proxy:

Screenshot with proxy:

You can add "anti-proxy" to your site, by just including it to homepage (index.php or whatever)

Of course, you can customize it to show text instead of "bad request error"

15 years ago  #2
Level 29
Status: offline
Gang: Evil Empire
Prison: Louisiana
Incarcerated: 17 years, 2 months
Posts: 6,855

problem is, any decent proxy (non-transparent) won't show a forwarded for, AND some browser plugins and such sometimes erroneously flag people as using proxies

15 years ago  #3
Level 26
Status: offline
Gang: The Syndicate
Prison: South Dakota
Incarcerated: 16 years, 1 month
Posts: 7,947

When you deal with something as liquid as proxies, you'll never get the perfect solution.. $_SERVER["HTTP_X_FORWARDED_FOR"] is the most sophisticated detection you gonna get! I wouldn't try personally because I've seen a lot of these scripts block non-proxies. I'm guessing it has to do with the ISP on that one though.

The Syndicate will forever rule (The Tiger Blood Gang)™ You earn 81,144,471 EXP! ~~~~~~~~~~ Inspriational quote, “id destroy your dad i would actually fuck him” — Bigsi
15 years ago  #4
Level 39
Status: online
Gang: The V_GUNs
Prison: South Dakota
Incarcerated: 16 years, 5 months
Posts: 23,346

You boys are all so fancy... with your proxies and servers and detections and your flags and hmmmm plug ins... lol...

15 years ago  #5
Level 22
Status: offline
Gang: The Syndicate
Prison: South Dakota
Incarcerated: 16 years, 3 months
Posts: 2,311

Originally posted by hanako You boys are all so fancy... with your proxies and servers and detections and your flags and hmmmm plug ins... lol...

Lets slowly walk away Hana :P....

The Syndicate will forever rule (The Tiger Blood Gang)™
15 years ago  #6
Level 39
Status: online
Gang: The V_GUNs
Prison: South Dakota
Incarcerated: 16 years, 5 months
Posts: 23,346

Originally posted by Sandin
Originally posted by hanako You boys are all so fancy... with your proxies and servers and detections and your flags and hmmmm plug ins... lol...

Lets slowly walk away Hana :P....

(follows sandin... slowly feeling confused)...

15 years ago  #7
Level 26
Status: offline
Gang: The Syndicate
Prison: South Dakota
Incarcerated: 16 years, 1 month
Posts: 7,947

I've got Sandin my shoe.

Endless puns, endless puns.

The Syndicate will forever rule (The Tiger Blood Gang)™ You earn 81,144,471 EXP! ~~~~~~~~~~ Inspriational quote, “id destroy your dad i would actually fuck him” — Bigsi
15 years ago  #8
Level 29
Status: offline
Gang: Evil Empire
Prison: Louisiana
Incarcerated: 17 years, 2 months
Posts: 6,855

Originally posted by hanako You boys are all so fancy... with your proxies and servers and detections and your flags and hmmmm plug ins... lol...

Don't fear my plug in

15 years ago  #9
Level 39
Status: online
Gang: The V_GUNs
Prison: South Dakota
Incarcerated: 16 years, 5 months
Posts: 23,346

15 years ago  #10
Level 22
Status: offline
Gang: The Syndicate
Prison: South Dakota
Incarcerated: 16 years, 3 months
Posts: 2,311

Originally posted by JayMeal I've got Sandin my shoe.

Endless puns, endless puns.

I think the original pun fits better for your case...v.a...*cough*

The Syndicate will forever rule (The Tiger Blood Gang)™

 

Quick Reply

You are unable to reply to this thread