1 Apr 2010 01:40
Re: [dnsext] Comments on draft-vandergaast-edns-client-ip-00
Colm MacCárthaigh <colm <at> allcosts.net>
2010-03-31 23:40:28 GMT
2010-03-31 23:40:28 GMT
On Tue, Mar 30, 2010 at 5:09 PM, Matthew Dempsky <matthew <at> dempsky.org> wrote: > The current draft suggests to me that the cache should send two > queries concurrently to the authoritative server: > > www.example.com A? [client-ip: 1.2.3/24] > www.example.com A? [client-ip: 5.6.7/24] > > An attacker could send a forged response that claims to be valid for > the entire 0/0 address block, and the cache would potentially match it > against either of these outstanding queries, thereby increasing his > chance of successfully poisoning the cache. My reading of section 4.2 was that this type of attack is not possible, because the address and family in the response must reflect that of the request. So 0/0 would not be a valid reply - but 1.2.3/0 and 5.6.7/0 would be valid. This seems to suggest that the protocol actually permits for more entropy in the request/response transaction, rather than less. Up to 128 bits in the IPv6 case, and 32 bits in the IPv4 case. > The "For privacy reasons, ..." paragraph seems redundant with the > earlier mention of "The address SHOULD be truncated ...". If not, the > requirement that "the address MUST be truncated to a certain number of > bits" is unclear. I don't see a reason to forbid sending the full IP > address, and as no specific number is given, it's impossible to comply > anyway. (Section 8 suggests 24 bits for IPv4, but offers no advice > for IPv6.) There is no established filtering size yet established amongst the BGP-using IPv6 community. Personally I think that /48 would be(Continue reading)
RSS Feed