Re: [Syslog] Fingerprint/handshake

"tom.petch" <cfinss@dial.pipex.com> Thu, 29 May 2008 12:18 UTC

Return-Path: <syslog-bounces@ietf.org>
X-Original-To: syslog-archive@megatron.ietf.org
Delivered-To: ietfarch-syslog-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D9A9E28C27A; Thu, 29 May 2008 05:18:12 -0700 (PDT)
X-Original-To: syslog@core3.amsl.com
Delivered-To: syslog@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CC5BC28C190 for <syslog@core3.amsl.com>; Thu, 29 May 2008 05:18:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.277
X-Spam-Level:
X-Spam-Status: No, score=-1.277 tagged_above=-999 required=5 tests=[AWL=1.322, BAYES_00=-2.599]
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 iaE16t-Yf1-S for <syslog@core3.amsl.com>; Thu, 29 May 2008 05:18:08 -0700 (PDT)
Received: from mk-outboundfilter-1.mail.uk.tiscali.com (mk-outboundfilter-1.mail.uk.tiscali.com [212.74.114.37]) by core3.amsl.com (Postfix) with ESMTP id 9956B28C274 for <syslog@ietf.org>; Thu, 29 May 2008 05:18:08 -0700 (PDT)
X-Trace: 122181314/mk-outboundfilter-1.mail.uk.tiscali.com/PIPEX/$ACCEPTED/pipex-customers/62.188.122.241
X-SBRS: None
X-RemoteIP: 62.188.122.241
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApsEAIM1Pkg+vHrx/2dsb2JhbACLbaNkAw
X-IronPort-AV: E=Sophos;i="4.27,561,1204502400"; d="scan'208";a="122181314"
X-IP-Direction: IN
Received: from 1cust241.tnt30.lnd3.gbr.da.uu.net (HELO allison) ([62.188.122.241]) by smtp.pipex.tiscali.co.uk with SMTP; 29 May 2008 12:53:31 +0100
Message-ID: <000e01c8c179$9325f100$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: Rainer Gerhards <rgerhards@hq.adiscon.com>, "Joseph Salowey (jsalowey)" <jsalowey@cisco.com>, syslog@ietf.org
References: <003901c8b9f7$b671959d$060013ac@intern.adiscon.com><AC1CFD94F59A264488DC2BEC3E890DE505DFD8E5@xmb-sjc-225.amer.cisco.com><577465F99B41C842AAFBE9ED71E70ABA309090@grfint2.intern.adiscon.com><AC1CFD94F59A264488DC2BEC3E890DE505E7E825@xmb-sjc-225.amer.cisco.com> <577465F99B41C842AAFBE9ED71E70ABA3090E1@grfint2.intern.adiscon.com>
Date: Thu, 29 May 2008 11:14:27 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Subject: Re: [Syslog] Fingerprint/handshake
X-BeenThere: syslog@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: Security Issues in Network Event Logging <syslog.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/syslog>, <mailto:syslog-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/syslog>
List-Post: <mailto:syslog@ietf.org>
List-Help: <mailto:syslog-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/syslog>, <mailto:syslog-request@ietf.org?subject=subscribe>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: syslog-bounces@ietf.org
Errors-To: syslog-bounces@ietf.org

Rainer

I wonder how a similar problem is handled.

Every so often, I see the performance of https: access go to pot, and when I
look, yes there is a multi-megabyte CRL being downloaded before the
authentication can complete.

I assume that you cannot know what certs you will get, so cannot preload the
CRLs so this is an inevitable part of PKI (and one I suspect will become a
significant problem).  Any idea what happens? Does the TLS exchange get held up?

Tom Petch

----- Original Message -----
From: "Rainer Gerhards" <rgerhards@hq.adiscon.com>
To: "Joseph Salowey (jsalowey)" <jsalowey@cisco.com>; <syslog@ietf.org>
Sent: Thursday, May 29, 2008 9:45 AM
Subject: Re: [Syslog] Fingerprint/handshake


Inline...
> -----Original Message-----
> From: Joseph Salowey (jsalowey) [mailto:jsalowey@cisco.com]
> Sent: Thursday, May 29, 2008 2:32 AM
> To: Rainer Gerhards; syslog@ietf.org
> Subject: RE: [Syslog] Fingerprint/handshake
>
> Hi Rainer,
>
> A TLS alert could be sent by the server indicating the error condition.
> Would this help?

That's an interesting idea. Let me give it a try. Will provide feedback when I
have done this. In any case, if it turns out to be a problem with one library,
we may be better of mandating that all verification is done during the
handshake...

>
> Joe
>
> > -----Original Message-----
> > From: Rainer Gerhards [mailto:rgerhards@hq.adiscon.com]
> > Sent: Sunday, May 25, 2008 11:46 PM
> > To: Joseph Salowey (jsalowey); syslog@ietf.org
> > Subject: RE: [Syslog] Fingerprint/handshake
> >
> > Hi Joe,
> >
> > inline
> >
> > > -----Original Message-----
> > > From: Joseph Salowey (jsalowey) [mailto:jsalowey@cisco.com]
> > > Sent: Friday, May 23, 2008 8:21 PM
> > > To: Rainer Gerhards; syslog@ietf.org
> > > Subject: RE: [Syslog] Fingerprint/handshake
> > >
> > > The fingerprint check should be done where certificate validation
> > would
> > > be done.  This is typically done within the handshake itself,
> >
> > I agree to this, but have found this to be problematic with
> > some TLS libraries. Of course, that doesn't mean the standard
> > needs to change, but I would still like to provide some
> > implementation feedback.
> >
> > With GnuTLS, for example, you can do the final authentication
> > only after the handshake [1]. With NSS, it can be done during
> > the handshake. As of my understanding, OpenSSL does support
> > it after the handshake only (but I have not actually used
> > OpenSSL, this is based on my understanding after reading
> > doc). This brings me to the conclusion that, at least in some
> > environments I may be forced to delay the authentication
> > check to after the handshake.
> >
> [Joe] Its been a while since I used OpenSSL, but if I remember
> correctly
> they do have hooks in the certificate validation code.

[Rainer]
From what I have seen in the doc, this does not permit to do all checks. Most
importantly, it looked like I am not able to check the fingerprint and subject
name. But fortunately Martin Schütte is using openSSL for his implementation and
I hope he can provide feedback on this in the not so distant future.

Rainer
_______________________________________________
Syslog mailing list
Syslog@ietf.org
https://www.ietf.org/mailman/listinfo/syslog

_______________________________________________
Syslog mailing list
Syslog@ietf.org
https://www.ietf.org/mailman/listinfo/syslog