Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 5 of 5

This is a discussion on hidding ip address in the Shared & Semi-Dedicated forum
i use cURL to get info off another server. I know you can chang the visible referrer name by using something like curlopt_referrer, but is ...

  1. #1
    JPC Senior Member
    Join Date
    Mar 2003
    Posts
    74

    hidding ip address

    i use cURL to get info off another server. I know you can chang the visible referrer name by using something like curlopt_referrer, but is there any function whereby you can send a differenet IP address from the one that my script is running on ?

    so insted of my normal ip, ie 80.231.345.324, i could send another number like 66.6.4.4 to hide the address (my server) the request came from?

    if there is no way using curl, i sthere an other ways using php?

  2. #2
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    The HTTP referer is just a string that is passed to the server in the HTTP headers. You can put anything in there that you want, or just leave it out all together and everything will work just fine.

    The IP address is a different story--it has more to do with the overall TCP/IP infrastructure than the application (HTTP) running on it. The IP address is sent on a different level. When you connect to a webserver, you send your IP saying "this is what I want and here's where you can send it." If you were to give out the wrong IP, the request would never get to you. Its kind of like giving someone the wrong phone number and asking them to call you. They'll make the call, and chances are they'll talk to someone, but the person they talk to will hae no idea what's going on and will disregard the call, while you sit waiting for the phone to ring.

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

  3. #3
    JPC Senior Member
    Join Date
    Mar 2003
    Posts
    74
    how about if my site used some kind of public proxy, and i run some sort of script that would change the proxy everytime my site sends a request.

    would this have the afect of making the ip address look different?

  4. #4
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    If you went through a proxy, the IP address of the proxy server would be the one that that desitination server would see.

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

  5. #5
    Jag Veteran
    Join Date
    Sep 2002
    Posts
    650
    Just a little addition to what Jason said: public proxies tend to add VIA and HTTP_X_FORWARDED_FOR headers displaying IP address of the computer initiating the connection via proxy, so that your HTTP request will not be totally anonymous.

Bookmarks

Posting Permissions

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