how to get the true ip address when i use proxy?

Discussion in 'Perl Misc' started by Fayland, Sep 23, 2004.

  1. Fayland

    Fayland Guest

    when i use the HTTP proxy,how can i get my true ip address if it's possible?

    the code is follows:
    ------------
    foreach ('HTTP_X_FORWARDED_FOR', 'HTTP_CLIENT_IP', 'X_CLIENT_IP',
    'REMOTE_ADDR', 'HTTP_VIA') {
    print "$_ => $ENV{$_}\n";
    }
    ------------
    the output(proxy is 80.59.189.28):
    ------------
    HTTP_X_FORWARDED_FOR => 80.59.189.28
    HTTP_CLIENT_IP => 80.59.189.28
    X_CLIENT_IP =>
    REMOTE_ADDR => 80.58.3.235
    HTTP_VIA => HTTP/1.0 proxy[AC1E0B46] (Traffic-Server/5.5.1-59096 [uSc ])
    ------------
    Thanks in advance.
    Fayland, Sep 23, 2004
    #1
    1. Advertising

  2. Fayland

    Fayland Guest

    sorry for any interruption.
    I search this group and find some answers.

    "Fayland" <> дÈëÓʼþ news:ciu58h$eou$...
    > when i use the HTTP proxy,how can i get my true ip address if it's

    possible?
    >
    > the code is follows:
    > ------------
    > foreach ('HTTP_X_FORWARDED_FOR', 'HTTP_CLIENT_IP', 'X_CLIENT_IP',
    > 'REMOTE_ADDR', 'HTTP_VIA') {
    > print "$_ => $ENV{$_}\n";
    > }
    > ------------
    > the output(proxy is 80.59.189.28):
    > ------------
    > HTTP_X_FORWARDED_FOR => 80.59.189.28
    > HTTP_CLIENT_IP => 80.59.189.28
    > X_CLIENT_IP =>
    > REMOTE_ADDR => 80.58.3.235
    > HTTP_VIA => HTTP/1.0 proxy[AC1E0B46] (Traffic-Server/5.5.1-59096 [uSc ])
    > ------------
    > Thanks in advance.
    >
    >
    >
    Fayland, Sep 23, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Luke
    Replies:
    0
    Views:
    368
  2. Siemel Naran

    Does true ^ true return false?

    Siemel Naran, Jun 17, 2004, in forum: C++
    Replies:
    19
    Views:
    648
    Chris Theis
    Jun 18, 2004
  3. Chip
    Replies:
    6
    Views:
    2,614
    E. Robert Tisdale
    Jan 8, 2005
  4. Andy Leszczynski
    Replies:
    4
    Views:
    314
    Erik Max Francis
    Oct 13, 2005
  5. bdb112
    Replies:
    45
    Views:
    1,310
    jazbees
    Apr 29, 2009
Loading...

Share This Page