Retrieving REAL client ip address

Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default Retrieving REAL client ip address

    Hello,

    I was wondering if there is a way using coldfusion with java, to get the real
    client ip address even if he/she is behind a proxy or using AOL.

    I seen the iRC chat have this, so I was wondering if this was possible. Please
    help asap.

    -Matt

    Supra LTD Guest

  2. Similar Questions and Discussions

    1. Question about Flex retrieving real-time data
      You can always just set a timer and call your server once every few seconds to check for updates. It really depends on how vital/compex/reusable you...
    2. Getting client IP address
      Anyone know how to get the client IP address? As part of the authentication/stats/logging system, we'd like to have all IPs stored in the...
    3. How do I grab the client IP address in my Web service
      Hi, I need to grab the ip address of the computer making the call to my Web Service. In my .asmx I tried System.Web.HttpRequest.UserHostName and...
    4. Vacation works for "real" email address but not for aliases -- except for some users
      Forgive me for my ignorance but sendmail is greek to me. So here's my problem, with as much info as I can think of. I am running Red Hat 9 with...
    5. display client ip address on web page
      I need help writing a script that will display a web client's ip address on my web page. I am running apache on linux. I have perl installed.
  3. #2

    Default Re: Retrieving REAL client ip address

    Anyone?
    Supra LTD Guest

  4. #3

    Default Re: Retrieving REAL client ip address

    Not sure about getting around proxies, but <cfset newIP = CGI.REMOTE_ADDR> will set newIP equal to the users IP.
    Tulsa Guest

  5. #4

    Default Re: Retrieving REAL client ip address

    I'm interested in a way of getting an IP if a user is behind a proxy or using AOL, using coldfusion with java objects, or with anything for that matter. Thanks anyway.
    Supra LTD Guest

  6. #5

    Default Re: Retrieving REAL client ip address

    Web servers only have access to the IP presented to them, so you will always
    get the masked IP if it is masked. A web browser simply reflects what the
    server tells it to reflect IRC's etc are actually on the client's machine, so
    they can get the real IP. The only way MAY be to create an activeX or Java
    applet that the user must install on their computer and have it report back to
    your server, however in most cases they would be alerted to that, AV solutions
    may block it or delete it if not approved and tries to communicate externally,
    and many systems will not allow installations if the item is not signed. I'm
    not too certain your reasons, but there really is no factual method to get
    around masked IPs unless the user wants you to. If you want to ensure unique
    identity, try using UUID for the tokens - I have found that regardless of
    masking (and even if their IP changes), it causes each machine/user to provide
    a unique identifier on our site(s). Again, this can be sidestepped if the user
    wants, but it can work if that is your goal.

    SafariTECH Guest

  7. #6

    Default Re: Retrieving REAL client ip address

    Hmmm...sounds interesting.

    Well, then I am crossing IP out from my list...ok here is why I need this, I
    am working on an Active Members/Guests list...and I need to somehow keep the
    same session for guests that have cookies disabled.

    You may ask why I won't track by IP, reasons for this are proxies, dynamic
    ISPs, and AOL which changes Ip address on every page. You would then ask me why
    not make it track the first 3 groups of the ip such as 127.0.0.*., but then
    again, what if more than 1 person is accessing my site from a network? It would
    track the whole network as 1 computer...

    Plus, I seen VBulletin, the PHP based message board, do a pretty wild thing.
    It uses the same session for a guest, even if he/she Disables Cookies, does NOT
    pass it in the URL, and has a dynamic IP, like AOL! I've tried it and they
    still track me as 1! So I don't want to buy their software just to get a php
    solution of how they do this.

    I don't want to be passing the session in the URL because the person can
    remove it from the url and create multiple sessions.

    Do you have any ideas on how I can accomplish this? Please help. Thanks!

    Supra LTD Guest

  8. #7

    Default Re: Retrieving REAL client ip address

    Nope. You can't discover the real IP address of a user behind a proxy. That
    is one of the points behind having a proxy.

    --
    Tom Jordahl
    Macromedia Server Development


    Tom Jordahl Guest

  9. #8

    Default Re: Retrieving REAL client ip address

    No telling how old this is but since it came up first when I was searching for something else.

    Create a unique id and include it as a url var on subsequent requests.
    Unregistered Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139