ustayready / fireprox

AWS API Gateway management tool for creating on the fly HTTP pass-through proxies for unique IP rotation
GNU General Public License v3.0
1.93k stars 270 forks source link

X-fowared still being sent #9

Closed ib0b closed 5 years ago

ib0b commented 5 years ago

it seems x-fowarded it still being sent. I used the following site to check if headers were being sent.

here is the command to run. python fire.py --access_key ACCESSKEY --secret_access_key SECRET --region us-west-2 --command create --api_id 1 --url http://www.whatismyproxy.com/

result after visiting endpoint:

X-Forwarded-For: my actual ip
X-Forwarded-Port: 443
X-Forwarded-Proto: https

did the patch stop working?

ustayready commented 5 years ago

Just tested this using an HTTP Python server that dumps the headers and a new Fireprox proxy URL. Worked perfectly using curl and adding the header X-My-X-Forwarded-For pointing to a random IP.

Double check you are passing in the header properly, not sure what else I can do for this issue. Sorry!