Blocking all proxies?

Discussion in 'Programming' started by ksb2050, Oct 29, 2008.

  1. #1
    I asked this in the security forum and have gotten no replies ( I highly doubt someone does not know the answer to this). So here it is programming forum, your turn to shine :D

    How can I block proxies from accessing my server. I want to block all proxies from going to any part of my site (which proves difficult because I use 3 scripts). So I need a server wide solution. I utilize shared hosting.

    Can anyone help me on this??

    :confused::confused:

    ((the scripts I use are wordpress, Vbulletin, and coppermine)
     
    ksb2050, Oct 29, 2008 IP
  2. keyaa

    keyaa Peon

    Messages:
    137
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Eugh.. *scratches head*

    I don't think you can block each and every proxy out there. However, transparent proxies send the "X-Forwarded-For" header by default (which only proxies do), so you can at least filter them out.
     
    keyaa, Oct 29, 2008 IP
  3. keyaa

    keyaa Peon

    Messages:
    137
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Oh yeah, you can also filter out every request supplying either of the "Via", "Forwarded", or "Client-ip" headers.
     
    keyaa, Oct 29, 2008 IP
  4. happpy

    happpy Well-Known Member

    Messages:
    926
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    120
    #4
    i can build a solution for this matter for you,
    including what keyaa mentioned plus a few other nifty methods to recognize proxies.

    contact me along with your yahoo/icq/msn/gtalk messenger id.

    greetings,
     
    happpy, Nov 10, 2008 IP