From owner-freebsd-current@FreeBSD.ORG Thu May 19 20:07:31 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D91E16A4CE for ; Thu, 19 May 2005 20:07:31 +0000 (GMT) Received: from pasmtp.tele.dk (pasmtp.tele.dk [193.162.159.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBE5843D60 for ; Thu, 19 May 2005 20:07:30 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (0x535c0e2a.sgnxx1.adsl-dhcp.tele.dk [83.92.14.42]) by pasmtp.tele.dk (Postfix) with ESMTP id A9C821EC574 for ; Thu, 19 May 2005 22:07:21 +0200 (CEST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.3/8.13.3) with ESMTP id j4JK7HYV022365; Thu, 19 May 2005 22:07:18 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Jon Dama From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 19 May 2005 12:45:15 PDT." Date: Thu, 19 May 2005 22:07:17 +0200 Message-ID: <22364.1116533237@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: Karel Miklav cc: current@freebsd.org Subject: Re: BSDcan slides uploaded X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2005 20:07:31 -0000 In message , Jon Dama writes: >Though I have to take issue with Poul's opinion that writing many text >parsers is just as secure as writing one ASN.1 decoder, but then again I >wasn't at the talk so maybe Poul has one magic text parser to solve all of >the problems. Having written 2½ ASN.1 parser myself, I couldn't help but wonder if you have "one magic ASN.1 parser to solve all of the problems" ? :-) Seriously, one of the problems I'm pointing out is that since one end of the interface has a keyboard in 99.99% of the cases, the type determination might as well be postponed so that we only have to parse the input once, rather than two times. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.