Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

Preserve Host Header #29

Closed
stirnim opened this issue Jun 16, 2014 · 3 comments
Closed

Preserve Host Header #29

stirnim opened this issue Jun 16, 2014 · 3 comments

Comments

@stirnim
Copy link

stirnim commented Jun 16, 2014

I have a feature request. It would be very useful if polipo had a configuration setting to preserve the host header.
It should work like mod_proxy ProxyPreserveHost On|Off:
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypreservehost

@jech
Copy link
Owner

jech commented Jun 16, 2014

Could you please explain why this is useful? Mis-configured DNS?

@stirnim
Copy link
Author

stirnim commented Jun 17, 2014

I work for the registry of .CH and we notify domain owners of hacked websites which are used in drive by attacks. Domain names for which the domain owners do not clean up their website are blocked. Blocked means, the delegation is removed from the .ch zone. In our "malware domain" process we need to verify if the domain owner has cleaned up their website even if DNS is not working anymore.
A lot of hacked websites are on shared hosting infrastructure. One IP address serves many domain names. In this case we need to provide the preserved hostname in the host header if DNS is not working anymore. See also: http://securityblog.switch.ch/2012/11/23/more-malware-distributing-websites-in-q3-2012/

@jech
Copy link
Owner

jech commented Jun 19, 2014

Superseded by #30.

@jech jech closed this as completed Jun 19, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants