how to detect proxy?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Yang Li Ke

    how to detect proxy?

    Hi guys,
    What's a good way to detect if an ip is a proxy ?

    Thanx ! :)
    --
    Yang


  • Kevin Thorpe

    #2
    Re: how to detect proxy?

    Yang Li Ke wrote:[color=blue]
    > Hi guys,
    > What's a good way to detect if an ip is a proxy ?[/color]

    Not sure if it's required, but the proxy some of our clients use sets
    X-forwarded-for: in the headers. It probably isn't required as it could
    be a bit of a security risk.


    Comment

    • CountScubula

      #3
      Re: how to detect proxy?

      Not sure, but last time I played with a proxy, there was no http 1.1 but
      rather 1.0, and always a connection-close, look at some of the headers that
      are being passed, there may be enough to make an educated guess.

      --
      Mike Bradley
      http://www.gzentools.com -- free online php tools
      "Yang Li Ke" <yanglike@sympa tico.ca> wrote in message
      news:EnqWb.5436 $sO4.822934@new s20.bellglobal. com...[color=blue]
      > Hi guys,
      > What's a good way to detect if an ip is a proxy ?
      >
      > Thanx ! :)
      > --
      > Yang
      >
      >[/color]


      Comment

      • Chung Leong

        #4
        Re: how to detect proxy?

        Found this at a UK site:

        In order to send the appropriate response back to your computer, the web
        server necessarily knows your computer's IP address, and a port number to
        which to send the response. Your IP address seems to be 68.48.165.174, and
        the port number used was 1106.

        On the other hand, there could be one or more proxy servers between your
        computer and the web server. If the HTTP request includes the header "Via",
        or "X-Forwarded-For", then that's a strong indication that there is at least
        one proxy server somewhere along the line.

        If neither of those headers were present, that could mean that no proxy
        servers were involved, or it could mean that they just chose not to "reveal"
        themselves by adding those headers.

        In this case since there is neither a "Via" header nor a "X-Forwarded-For"
        header, there quite possibly isn't a proxy between your computer and the web
        server. However, this isn't definite - it might be that there is a proxy,
        but it just chose not to add the "Via" / "X-Forwarded-For" headers.



        Uzytkownik "Kevin Thorpe" <kevin@pricetra k.com> napisal w wiadomosci
        news:402a371f$0 $28842$afc38c87 @news.easynet.c o.uk...[color=blue]
        > Yang Li Ke wrote:[color=green]
        > > Hi guys,
        > > What's a good way to detect if an ip is a proxy ?[/color]
        >
        > Not sure if it's required, but the proxy some of our clients use sets
        > X-forwarded-for: in the headers. It probably isn't required as it could
        > be a bit of a security risk.
        >
        >[/color]


        Comment

        Working...