Re: [dnsext] draft-bellis-dnsext-dnsproxy-00

Florian Weimer <fw@deneb.enyo.de> Mon, 03 November 2008 19:34 UTC

Return-Path: <owner-namedroppers@ops.ietf.org>
X-Original-To: ietfarch-namedroppers-archive-gleetwall6@core3.amsl.com
Delivered-To: ietfarch-namedroppers-archive-gleetwall6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D94E43A6C16; Mon, 3 Nov 2008 11:34:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.249
X-Spam-Level:
X-Spam-Status: No, score=-102.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BBsS-J+mHIyt; Mon, 3 Nov 2008 11:34:00 -0800 (PST)
Received: from psg.com (psg.com [IPv6:2001:418:1::62]) by core3.amsl.com (Postfix) with ESMTP id CAC6B3A6C19; Mon, 3 Nov 2008 11:33:52 -0800 (PST)
Received: from majordom by psg.com with local (Exim 4.69 (FreeBSD)) (envelope-from <owner-namedroppers@ops.ietf.org>) id 1Kx55M-000EWF-4R for namedroppers-data@psg.com; Mon, 03 Nov 2008 19:27:36 +0000
Received: from [2001:14b0:202:1::a7] (helo=mail.enyo.de) by psg.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from <fw@deneb.enyo.de>) id 1Kx55B-000EUf-5u for namedroppers@ops.ietf.org; Mon, 03 Nov 2008 19:27:28 +0000
Received: from deneb.vpn.enyo.de ([212.9.189.177] helo=deneb.enyo.de) by mail.enyo.de with esmtp id 1Kx558-00085X-FE; Mon, 03 Nov 2008 20:27:22 +0100
Received: from fw by deneb.enyo.de with local (Exim 4.69) (envelope-from <fw@deneb.enyo.de>) id 1Kx558-0005Rm-3R; Mon, 03 Nov 2008 20:27:22 +0100
From: Florian Weimer <fw@deneb.enyo.de>
To: Ray.Bellis@nominet.org.uk
Cc: namedroppers@ops.ietf.org
Subject: Re: [dnsext] draft-bellis-dnsext-dnsproxy-00
References: <OFDEB3E292.34C937FA-ON802574EF.005C7131-802574EF.005D153A@nominet.org.uk> <OFCF9D79AB.6203C74E-ON802574F6.005713B9-802574F6.005724A5@nominet.org.uk>
Date: Mon, 03 Nov 2008 20:27:22 +0100
In-Reply-To: <OFCF9D79AB.6203C74E-ON802574F6.005713B9-802574F6.005724A5@nominet.org.uk> (Ray Bellis's message of "Mon, 3 Nov 2008 15:51:49 +0000")
Message-ID: <87zlkgtxt1.fsf@mid.deneb.enyo.de>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-namedroppers@ops.ietf.org
Precedence: bulk
List-ID: <namedroppers.ops.ietf.org>

* Ray Bellis:

>> I've just submitted:
>> 
>>   http://tools.ietf.org/html/draft-bellis-dnsext-dnsproxy-00
>> 
>> "This document provides guidelines for the implementation of DNS 
> proxies, 
>> as found in broadband routers and other similar network devices."
>
> Does anyone have any feedback on this draft?

|   Also, whilst the EDNS0 specification allows for a buffer size of up
|   to 65536 octets, most common DNS server implementations do not
|   support a buffer size above 4096 octets.

65536?  Shouldn't it be 65535?

| 6.1.  Forgery Resilience

It is imperative that if the the response is cached, the packet is not
passed through unchanged, query ID and source ports MUST be
randomized.  This requires some work for TSIG queries (as described in
RFC 2845).

|   o  invalid compression pointers (i.e. those that run forward of the
|      current packet offset, or which don't point at the start of
|      another label).

Are these pointers really invalid?

Compression loops and compression references in places where actually
forbidden by the RFCs would be relevant examples, IMHO.

|   o  incorrect counts for the Question, Answer, Authority and
|      Additional Sections (although care should be taken where
|      truncation is a possibility).

This raises the question of trailing garbage in the UDP packet.  For
interoperability reasons, I think this has to be accepted.

I like the draft.  But I have to agree with Bert that it's a bit like
preaching to the choir.

--
to unsubscribe send a message to namedroppers-request@ops.ietf.org with
the word 'unsubscribe' in a single line as the message text body.
archive: <http://ops.ietf.org/lists/namedroppers/>