apify / proxy-chain

Node.js implementation of a proxy server (think Squid) with support for SSL, authentication and upstream proxy chaining.
https://www.npmjs.com/package/proxy-chain
Apache License 2.0
804 stars 138 forks source link

feat: Add option to specify server's `host` #526

Closed jirimoravcik closed 8 months ago

jirimoravcik commented 8 months ago

I've added support for specifying host used for the listen call. This will enable users to e.g. listen on localhost, which can be more secure than the default unspecified IP address (0.0.0.0).

jancurn commented 8 months ago

Plus, can we please update the anonymizeProxy() function to set localhost? That will increase security by default, plus test the new option