curl-library
Re: Changing the originating IP of outgoing posts
Date: Mon, 27 Sep 2004 00:00:47 -0700
On Sun, Sep 26, 2004 at 10:01:23PM -0600, Steve Murphy wrote:
> Hello--
>
> Am considering a fairly unusual app that I hope will make the world a better
> place,
> but it requires a fairly unusual thing: To post data to an HTTP server, but
> give the IP of a different machine as it is doing so. I don't know,
> technically, if this is even possible yet, but thought you guys would know for
> sure.
>
> Needless to say, I'm not expecting the machine doing the POST to get any
> response.
>
> Is there some feature in libcurl to do this? I've searched the curl_easy_setopt
> documentation, and nothing seems to apply for this. If not, is there any
> feasible way anyone can think of, to do this?
This is impossible because of the way TCP connections (used by http)
works. The best you could do is to send a different Referer: header
or different cookies, which may be sufficient to fool the remote server
into thinking another client is attached, depending on the application.
Some applications might not even need that because all state information
is stored as hidden fields in the POSTed form. Given more detail about
what you're trying to do, someone here might be able to suggest something
more specific.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2004-09-27