From: Eric Covener Date: Tue, 30 Nov 2010 21:47:15 +0000 (+0000) Subject: PR50388: the hijacking domain has to be first if it's going to cause harm via X-Git-Tag: 2.2.18~279 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=339ec920c56080cd6914fca7e873413e13fbc240;p=thirdparty%2Fapache%2Fhttpd.git PR50388: the hijacking domain has to be first if it's going to cause harm via a collision in the resolved iface. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1040789 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/dns-caveats.xml b/docs/manual/dns-caveats.xml index df7ce15dded..0c85e0046ec 100644 --- a/docs/manual/dns-caveats.xml +++ b/docs/manual/dns-caveats.xml @@ -122,18 +122,18 @@

Suppose that you've assigned 192.0.2.1 to www.abc.dom and 192.0.2.2 to www.def.dom. Furthermore, suppose that - def.dom has control of their own DNS. With this - config you have put def.dom into a position where - they can steal all traffic destined to abc.dom. To - do so, all they have to do is set www.def.dom to - 192.0.2.1. Since they control their own DNS you can't stop them - from pointing the www.def.dom record wherever they + abc.dom has control of their own DNS. With this + config you have put abc.dom into a position where + they can steal all traffic destined to def.dom. To + do so, all they have to do is set www.abc.dom to + 192.0.2.2. Since they control their own DNS you can't stop them + from pointing the www.abc.dom record wherever they wish.

-

Requests coming in to 192.0.2.1 (including all those where +

Requests coming in to 192.0.2.2 (including all those where users typed in URLs of the form - http://www.abc.dom/whatever) will all be served by - the def.dom virtual host. To better understand why + http://www.def.dom/whatever) will all be served by + the abc.dom virtual host. To better understand why this happens requires a more in-depth discussion of how Apache matches up incoming requests with the virtual host that will serve it. A rough document describing this