Jump to content

Changing the sender IP address seen at the receiving end of a cURL post


Recommended Posts

I have a customer that has an account with getresponse.com, which is an online email database solution. We use cURL to send posts to getResponse. The posts include customer contact data. When a post is sent from the server, getresponse.com checks out the IP address of the sender, and if too many posts are made from an IP, getresponse.com blocks the IP. getresponse.com says that we should be using a static form to send the posts, but due to programming that is accomplishing other things with the customer data, we can't simply do this. So my question is, is there any way to fake the IP address that getresponse is seeing as the sender of the post? If there is, this may be our only hope short of changing email database companies.

I think you might be wanting to set the referer field?

 

curl_setopt($ch, CURLOPT_REFERER, “http://www.google.com”);

Put the referer url in the request header.Referer carries the page url where the user clicked on a link to request this page.

 

Src: http://www.decodephp.com/2007/02/26/php-curl-insight-and-a-php-alternative-example/

I think you might be wanting to set the referer field?

 

curl_setopt($ch, CURLOPT_REFERER, “http://www.google.com”);

Put the referer url in the request header.Referer carries the page url where the user clicked on a link to request this page.

 

Src: http://www.decodephp.com/2007/02/26/php-curl-insight-and-a-php-alternative-example/

 

Won't work.

 

See neil.johnson's post.

Use a proxy for your CURL request. These are reliable http://pps.nntime.com/signup/ Dont use free proxy addresses if you need reliability and fast reponse times

 

If getresponse sees the IP address of the proxy instead of my server, then won't I have the same issue with the single IP address? What I need is to randomize the IP so that getresponse never sees posts from the same IP (especially if the posts are simultaneous).

The IP address that the server sees is from the TCP/IP data packets. It is the IP address that the server received the request from is where it will send the response back to.

 

If what you are doing is legitimate, you need to contact the site's administrator and work out a solution with them so that requests from your IP address are permitted.

The IP address that the server sees is from the TCP/IP data packets. It is the IP address that the server received the request from is where it will send the response back to.

 

If what you are doing is legitimate, you need to contact the site's administrator and work out a solution with them so that requests from your IP address are permitted.

 

I understand that the IP address comes from the TCP/IP packets, and I was just hoping to be able to spoof the IP somehow. I'm not interested in hacking or anything malicious in nature, just to simply have our cURL posts accepted as normal by getresponse.

 

I did contact the getresponse admin, and they expect posts to be generated only from HTML forms, which in the case of my customer is impossible. I'm guessing that we will be switching email database services because of this issue, since it doesn't seem like there is a way to manipulate the IP address being sent in the TCP/IP packet.

You can spoof the IP quite easily... however, the response will be sent to that IP, which might be an issue ;)

 

If you would private message me with the details, I would appreciate it.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.