Re: [TLS] TLS grammar checker?
Peter Gutmann <pgut001@cs.auckland.ac.nz> Wed, 19 June 2013 12:11 UTC
Return-Path: <pgut001@cs.auckland.ac.nz>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1942321F938E for <tls@ietfa.amsl.com>; Wed, 19 Jun 2013 05:11:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P-KDkXHNGzIZ for <tls@ietfa.amsl.com>; Wed, 19 Jun 2013 05:11:01 -0700 (PDT)
Received: from mx2.auckland.ac.nz (mx2.auckland.ac.nz [130.216.125.245]) by ietfa.amsl.com (Postfix) with ESMTP id 936AB21F93C4 for <tls@ietf.org>; Wed, 19 Jun 2013 05:11:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=auckland.ac.nz; i=@auckland.ac.nz; q=dns/txt; s=uoa; t=1371643861; x=1403179861; h=from:to:subject:date:message-id: content-transfer-encoding:mime-version; bh=uYr96mccVLPAbQ6aRNcMmguhRJxHr57hSFVnqZqUrgI=; b=gBzaBQAJ6olLRdelXZHvwDYgkEAgGDqKQjrkOQqxv1ejLWdL8UHhQUpy 1z2q62vUIFvV/2epUxSmyL0NX5+KB+35h+aFzs0wdrlJe/FbwuVax/w+C pDoPBzqTLPphGjxJVxiBdpMhz3gdJsGcBe/JU8v5hbeVWcVTf4qgh38Vl U=;
X-IronPort-AV: E=Sophos;i="4.87,896,1363086000"; d="scan'208";a="194827250"
X-Ironport-HAT: MAIL-SERVERS - $RELAYED
X-Ironport-Source: 130.216.4.112 - Outgoing - Outgoing
Received: from uxchange10-fe1.uoa.auckland.ac.nz ([130.216.4.112]) by mx2-int.auckland.ac.nz with ESMTP/TLS/AES128-SHA; 20 Jun 2013 00:10:59 +1200
Received: from UXCN10-2.UoA.auckland.ac.nz ([169.254.2.214]) by uxchange10-fe1.UoA.auckland.ac.nz ([130.216.4.112]) with mapi id 14.02.0318.004; Thu, 20 Jun 2013 00:10:59 +1200
From: Peter Gutmann <pgut001@cs.auckland.ac.nz>
To: "tls@ietf.org" <tls@ietf.org>
Thread-Topic: [TLS] TLS grammar checker?
Thread-Index: Ac5s5g6kDmm6G/0wSI+J9By9vowifA==
Date: Wed, 19 Jun 2013 12:10:58 +0000
Message-ID: <9A043F3CF02CD34C8E74AC1594475C7343D68B9A@uxcn10-2.UoA.auckland.ac.nz>
Accept-Language: en-NZ, en-GB, en-US
Content-Language: en-NZ
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [130.216.158.4]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [TLS] TLS grammar checker?
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tls>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Jun 2013 12:11:11 -0000
Nico Williams <nico@cryptonector.com> writes: >Ad-hoc syntaxes don't lend themselves to automatic tooling, so they tend to >result in lots of error-prone hand-coding. That's the problem with the SSL/TLS syntax, it looks like it's specified in a formal language but it's really more of a specialised notation used to outline (not always clearly) bits-on-the-wire. SSH and PGP use a very low-level form (but still higher-level than TCP's pictorial bit-diagrams), which leads to even more awkward hand-coded parsers (SSH makes it especially entertaining due to its arbitrary mixing of binary data and comma-delimited string data). If I had to do a premortem analysis of my parsing code and arrange it in order of least to most likely to contain exploitable errors I'd have: ASN.1 -> Large gap -> SSL/TLS -> SSH. Not sure where PGP would fit in there, probably somewhere between SSL/TLS and SSH. >What are you arguing for? (Mind you, this really isn't the right place... >that goes for me too) Yes it is, flamewars over data-description notations are at least as interesting as vi vs. emacs, or KDE vs Gnome, or Amiga vs. Atari. Peter.
- Re: [TLS] TLS grammar checker? Peter Gutmann
- [TLS] TLS grammar checker? Paul Hoffman
- Re: [TLS] TLS grammar checker? Paul Hoffman
- Re: [TLS] TLS grammar checker? Eric Rescorla
- Re: [TLS] TLS grammar checker? Salz, Rich
- Re: [TLS] TLS grammar checker? Paul Hoffman
- Re: [TLS] TLS grammar checker? Nico Williams
- Re: [TLS] TLS grammar checker? Bill Frantz
- Re: [TLS] TLS grammar checker? Nico Williams
- Re: [TLS] TLS grammar checker? Blumenthal, Uri - 0558 - MITLL
- Re: [TLS] TLS grammar checker? Bill Frantz
- Re: [TLS] TLS grammar checker? Nico Williams
- Re: [TLS] TLS grammar checker? Blumenthal, Uri - 0558 - MITLL
- Re: [TLS] TLS grammar checker? Bill Frantz
- Re: [TLS] TLS grammar checker? Salz, Rich
- Re: [TLS] TLS grammar checker? Peter Gutmann
- Re: [TLS] TLS grammar checker? Hannes Tschofenig
- Re: [TLS] TLS grammar checker? Paul Hoffman
- Re: [TLS] TLS grammar checker? Salz, Rich
- Re: [TLS] TLS grammar checker? Martin Rex
- Re: [TLS] TLS grammar checker? Salz, Rich
- Re: [TLS] TLS grammar checker? Blumenthal, Uri - 0558 - MITLL
- Re: [TLS] TLS grammar checker? Salz, Rich
- Re: [TLS] TLS grammar checker? Nikos Mavrogiannopoulos
- Re: [TLS] TLS grammar checker? Salz, Rich
- Re: [TLS] TLS grammar checker? Martin Rex
- Re: [TLS] TLS grammar checker? Kemp, David P.
- Re: [TLS] TLS grammar checker? Martin Rex
- Re: [TLS] TLS grammar checker? Nico Williams
- Re: [TLS] TLS grammar checker? Kemp, David P.
- Re: [TLS] TLS grammar checker? Martin Rex
- Re: [TLS] TLS grammar checker? Carl Wallace
- Re: [TLS] TLS grammar checker? Martin Rex
- Re: [TLS] TLS grammar checker? Peter Gutmann
- Re: [TLS] TLS grammar checker? Nico Williams
- Re: [TLS] TLS grammar checker? Peter Gutmann
- Re: [TLS] TLS grammar checker? Martin Rex
- Re: [TLS] TLS grammar checker? Nico Williams
- Re: [TLS] TLS grammar checker? Kemp, David P.