php - Why is my original IP still visible even when I use CURLOPT_PROXY with Curl? -


i'm using curl against target site has quota of page views per ip, e.g. 5000 page views per ip per day. i'm trying more switching ip addresses.

i'm using proxy ip addresses $10 / month. added them php curl via curlopt_proxy option, somehow target site still able detect original ip , doesn't give new quotas proxy ips.

i tried curl other sites proxy on , it's working properly.

why target site able detect original ip when use proxy curl in php? how make original ip hidden in sense?

this seems case when i'm browsing sites through proxy somehow still able detect local computer ip address.

why this? there inherently impossible hide ip via http?

there different types of proxies:

  • transparent: real ip added http header.
  • distorting: real ip hidden or fake 1 added http header. proxy "identy" added in header client knows going through proxy.
  • (highly) anonymous: ip hidden , proxy "identy" hidden. client believes "direct" connection.

so using transparent proxy.

to test that, simply:

1) create "dummy" page on site:

<?php mail('your@email.com', 'proxy', print_r($_server, true)); 

2) "curl it"

3) check http header values received in email.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -