
From peter.robinson@rsa.com  Sun Jan  3 22:14:30 2010
Return-Path: <peter.robinson@rsa.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5AD393A659A for <tls@core3.amsl.com>; Sun,  3 Jan 2010 22:14:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 4.357
X-Spam-Level: ****
X-Spam-Status: No, score=4.357 tagged_above=-999 required=5 tests=[FH_DATE_PAST_20XX=10.357, GB_I_LETTER=-2, RCVD_IN_DNSWL_MED=-4]
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 WyHY200p8CLs for <tls@core3.amsl.com>; Sun,  3 Jan 2010 22:14:29 -0800 (PST)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by core3.amsl.com (Postfix) with ESMTP id C89343A6876 for <tls@ietf.org>; Sun,  3 Jan 2010 22:14:28 -0800 (PST)
Received: from hop04-l1d11-si01.isus.emc.com (HOP04-L1D11-SI01.isus.emc.com [10.254.111.54]) by mexforward.lss.emc.com (Switch-3.3.2/Switch-3.1.7) with ESMTP id o046EQ6q023770 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 4 Jan 2010 01:14:26 -0500
Received: from mailhub.lss.emc.com (numailhub.lss.emc.com [10.254.144.16]) by hop04-l1d11-si01.isus.emc.com (RSA Interceptor); Mon, 4 Jan 2010 01:14:18 -0500
Received: from corpussmtp1.corp.emc.com (corpussmtp1.corp.emc.com [128.221.166.44]) by mailhub.lss.emc.com (Switch-3.4.2/Switch-3.3.2mp) with ESMTP id o046EHkQ019392; Mon, 4 Jan 2010 01:14:18 -0500
Received: from CORPUSMX100B.corp.emc.com ([128.222.76.51]) by corpussmtp1.corp.emc.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 4 Jan 2010 01:14:17 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Date: Mon, 4 Jan 2010 01:14:15 -0500
Content-Type: multipart/signed; boundary="----=_NextPart_000_01C1_01CA8D58.F5E11D90"; protocol="application/x-pkcs7-signature"; micalg=SHA1
Message-ID: <AC548FF974ED3F4EBAD6AB2CC7F0FE8601CFC828@CORPUSMX100B.corp.emc.com>
In-Reply-To: <20091216213202.C5CC26C82B8@kilo.networkresonance.com>
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] Updated draft: Minor Edits
thread-index: Acp+lzFvW3jPk9FoTmSulGvkAhZAagOa20Cw
References: <20091216213202.C5CC26C82B8@kilo.networkresonance.com>
From: <peter.robinson@rsa.com>
To: <ekr@networkresonance.com>, <tls@ietf.org>
X-OriginalArrivalTime: 04 Jan 2010 06:14:17.0309 (UTC) FILETIME=[2544A8D0:01CA8D05]
X-EMM-EM: Active
Cc: david.makepeace@rsa.com
Subject: Re: [TLS] Updated draft: Minor Edits
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Mon, 04 Jan 2010 06:14:31 -0000

This is a multi-part message in MIME format.

------=_NextPart_000_01C1_01CA8D58.F5E11D90
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi Eric,

Here are some minor changes that David Makepeace and I recommend to 
draft-ietf-tls-renegotiation-02.txt:

Section 1.0, last paragraph, eighth line: "date" should be "data"

Section 1.0, last paragraph, last line: Inverted commas (") at the end of the 
paragraph should be removed.

Section 4.0, first paragraph, fifth line: This currently reads 
"..."renegotiation info" may find handshake failures". I think the word 
"extension" should be added to "renegotiation info" to match the usage 
elsewhere in the draft. I think that "find" should be changed to 
"encountered". Hence, the revised version would read:
..."renegotiation info" extension may encounter handshake failures.

Section 4.0, first paragraph, eighth line: I would capitalize the first letter 
of the words which make up the acronym SCSV so there is absolutely no 
confusion over what the acronym stands for.

Section 4.0, first paragraph, eleventh line: I think the word "exactly" can be 
removed - having it here implies that elsewhere when one reads "has the same" 
means that in some way things are not really the same, and are just similar.

Section 6.1, second paragraph, ninth line: This currently reads "...no set of 
client behavior which..." I think this should be "...no set client behavior 
which..." (removing "of" and implying one behavior), but perhaps it should be 
"...no set of client behaviors which..." (adding an s to behavior implying 
multiple behaviors).

Peter
------------------------------------------------
Peter Robinson - peter.robinson@rsa.com
Engineering Manager
RSA, The Security Division of EMC - http://www.rsa.com/
Level 32, Waterfront Place, 1 Eagle Street, Brisbane, Queensland 4000, 
AUSTRALIA.
Phone: +61 7 3227 4427, Mobile: +61 407 962 150, Fax: +61 7 3227 4400.


-----Original Message-----
From: tls-bounces@ietf.org [mailto:tls-bounces@ietf.org] On Behalf Of Eric 
Rescorla
Sent: Thursday, 17 December 2009 7:32 AM
To: tls@ietf.org
Subject: [TLS] Updated draft

I've just submitted a new draft that is intended to enact most of
Pasi's message as well as the noncontroversial editorial comments
people have raised. Here is what I know still needs work:

- The final resolution to what's sent in the legacy renegotiation
  case (see Pasi's message and the text I sent earlier).
- New text for the identity section in Security considerations.
  (Pending closure on the list).
- Make a pass through for clarity for implementors.
  (Also, I have some text here that Pasi contributed that I
  need to work in).

If you think you made a comment which is noncontroversial
that didn't make it in and/or I screwed up incorporating your
comment, please let me know and I'll try to fix.

For some reason, the submission tool is forcing manual
submission. In the interim you can find it at:
https://svn.resiprocate.org/rep/ietf-drafts/ekr/draft-ietf-tls-renegotiate.txt

Thanks,
-Ekr



_______________________________________________
TLS mailing list
TLS@ietf.org
https://www.ietf.org/mailman/listinfo/tls


------=_NextPart_000_01C1_01CA8D58.F5E11D90
Content-Type: application/x-pkcs7-signature;
	name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIWmzCCAucw
ggJQAgEBMA0GCSqGSIb3DQEBBQUAMIG7MSQwIgYDVQQHExtWYWxpQ2VydCBWYWxpZGF0aW9uIE5l
dHdvcmsxFzAVBgNVBAoTDlZhbGlDZXJ0LCBJbmMuMTUwMwYDVQQLEyxWYWxpQ2VydCBDbGFzcyAz
IFBvbGljeSBWYWxpZGF0aW9uIEF1dGhvcml0eTEhMB8GA1UEAxMYaHR0cDovL3d3dy52YWxpY2Vy
dC5jb20vMSAwHgYJKoZIhvcNAQkBFhFpbmZvQHZhbGljZXJ0LmNvbTAeFw05OTA2MjYwMDIyMzNa
Fw0xOTA2MjYwMDIyMzNaMIG7MSQwIgYDVQQHExtWYWxpQ2VydCBWYWxpZGF0aW9uIE5ldHdvcmsx
FzAVBgNVBAoTDlZhbGlDZXJ0LCBJbmMuMTUwMwYDVQQLEyxWYWxpQ2VydCBDbGFzcyAzIFBvbGlj
eSBWYWxpZGF0aW9uIEF1dGhvcml0eTEhMB8GA1UEAxMYaHR0cDovL3d3dy52YWxpY2VydC5jb20v
MSAwHgYJKoZIhvcNAQkBFhFpbmZvQHZhbGljZXJ0LmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAw
gYkCgYEA45hRlhzo1bEGgWpXw3J1k6vPnqb88xZS1i1NnzVEqC4ETQdJijgp9Xc357erXd82cRSZ
j9zCkvHnYJKX7NhI3L/BAiDGJKQoTDBadm2xXPPd3p4QcaGIx1ubQW3KsLiOFe6tMyvPRwRcdXEK
mCSYKadJWaXd+LdDYmHz0+LQVT8CAwEAATANBgkqhkiG9w0BAQUFAAOBgQBWuwJYhGcILN8f23tJ
M/XTZ530tAoQs8nFLOKSanF4J/Jwg0LTPs+pVPTx2JIWjNEEy0uryZ9FrjyKqbBxM13IxVffr6g1
s3+Jh+noJZK4f4V6rta8HjdYKmfJkc8qgT7txjnfwD4ZnBnME02CQbWM3uA9YAggD0V+a6J/o4wV
7jCCA0owggKzoAMCAQICEQCF0rUegZb8S2Ojz7ayWLN8MA0GCSqGSIb3DQEBBQUAMGwxGjAYBgNV
BAoTEVJTQSBTZWN1cml0eSBJbmMuMR4wHAYDVQQDExVSU0EgUHVibGljIFJvb3QgQ0EgdjExLjAs
BgkqhkiG9w0BCQEWH3JzYWtlb25yb290c2lnbkByc2FzZWN1cml0eS5jb20wHhcNMDcwNDE5MTgw
MjE5WhcNMTIwNDMwMDkyODA3WjCBgjEaMBgGA1UEChMRUlNBIFNlY3VyaXR5IEluYy4xFTATBgNV
BAsTDEtDQSBTZXJ2aWNlczEWMBQGA1UEAxMNUlNBIENvcnBvcmF0ZTEQMA4GA1UEBxMHQmVkZm9y
ZDEWMBQGA1UECBMNTWFzc2FjaHVzZXR0czELMAkGA1UEBhMCVVMwgZ8wDQYJKoZIhvcNAQEBBQAD
gY0AMIGJAoGBAKpzsPO+pT6TE5Eqq6s6RDjf+tPTwyxIZll+LZAtfQB53g2qHrS9u+xrWGFwQoID
9hPrOujDdXHFl8gKX1owmZCB3qTwtPDVSNSUXG1Ylt5MC8ww9sOU/UCXMi+VdaTfy0HcWoTOek4i
3l5T4iXpHZk3SaKPuT8OG0FPjMU6lEZPAgMBAAGjgdQwgdEwHwYDVR0jBBgwFoAU9UwxelEDPyzX
i5eZb6hxkKt4PZswHQYDVR0OBBYEFO2RCGt0t1lKkvahHSJwJp8KrxaSMG4GA1UdHwRnMGUwY6Bh
oF+GXWh0dHA6Ly93d3cucnNhc2VjdXJpdHkuY29tL3Byb2R1Y3RzL2tlb24vcmVwb3NpdG9yeS9j
ZXJ0aWZpY2F0ZV9zdGF0dXMvUlNBX1B1YmxpY19Sb290X0NBLmNybDAPBgNVHRMECDAGAQH/AgED
MA4GA1UdDwEB/wQEAwIBhjANBgkqhkiG9w0BAQUFAAOBgQB+pa6IMm7ZbLsWDOJnxH8zhiYsuITN
QeLHF6M1D6PM5c41JAeYJhDoismCrFRUiyc/zexgtPolCH1MibV2ryotD6yRTn+EkyjnuTNDYNtO
Sq5sLnJWXvAO9H1J2UQVGCSPlF1ohR0mcgizSnYyjWFtOQeG9W+j9u2qhu0Y2RkJdTCCA3QwggLd
oAMCAQICECcs0ZC+gWpc+GPF94hcIhYwDQYJKoZIhvcNAQEFBQAwgbsxJDAiBgNVBAcTG1ZhbGlD
ZXJ0IFZhbGlkYXRpb24gTmV0d29yazEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAzBgNVBAsT
LFZhbGlDZXJ0IENsYXNzIDMgUG9saWN5IFZhbGlkYXRpb24gQXV0aG9yaXR5MSEwHwYDVQQDExho
dHRwOi8vd3d3LnZhbGljZXJ0LmNvbS8xIDAeBgkqhkiG9w0BCQEWEWluZm9AdmFsaWNlcnQuY29t
MB4XDTA1MDUwMjE3MzQ0OFoXDTE5MDQzMDA5MjQwMFowbDEaMBgGA1UEChMRUlNBIFNlY3VyaXR5
IEluYy4xHjAcBgNVBAMTFVJTQSBQdWJsaWMgUm9vdCBDQSB2MTEuMCwGCSqGSIb3DQEJARYfcnNh
a2VvbnJvb3RzaWduQHJzYXNlY3VyaXR5LmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
tHUlWthEO+NBsaoiCrBwE0+H/F2MFFNt6c0XuVuiFabeI5MA1pIJ703D+jPDw+DnyuiJmpeIQB/3
Nyv3VCB+2MkGURgBOWNuxuZJWWConXBZa32rrYFREte9DCyhZiaspthVgH1Tom12rUXMOwdEvpj/
eNOIyA/zGiKUV5B+SY8CAwEAAaOBxjCBwzAdBgNVHQ4EFgQU9UwxelEDPyzXi5eZb6hxkKt4PZsw
bAYDVR0fBGUwYzBhoF+gXYZbaHR0cDovL3d3dy5yc2FzZWN1cml0eS5jb20vcHJvZHVjdHMva2Vv
bi9yZXBvc2l0b3J5L2NlcnRpZmljYXRlX3N0YXR1cy9WYWxpY2VydF9Sb290X0NBLmNybDAMBgNV
HRMEBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAWBgNVHSAEDzANMAsGCSqGSIb3DQUGATANBgkqhkiG
9w0BAQUFAAOBgQCbGVhgT1RpnMZsB+bzPcareq9Y40BOOMzhTYMJV6dGEetObLOUo5FZcseFrYys
0qyOITy4VSTeX+vRezcTUDH+ufDJJMd1b+vqKxLxxaiMPx8eLqpnQUaR8v3HJGgXBKoSX3sOyFBU
vuCkawAhGRZwXmmUJUx/Ce1Kk04U+wctsTCCA9IwggM7oAMCAQICEDo2dj76iEMMSIgFq3bhuL4w
DQYJKoZIhvcNAQEFBQAwgYIxGjAYBgNVBAoTEVJTQSBTZWN1cml0eSBJbmMuMRUwEwYDVQQLEwxL
Q0EgU2VydmljZXMxFjAUBgNVBAMTDVJTQSBDb3Jwb3JhdGUxEDAOBgNVBAcTB0JlZGZvcmQxFjAU
BgNVBAgTDU1hc3NhY2h1c2V0dHMxCzAJBgNVBAYTAlVTMB4XDTA3MDUxMDIxNDE1OVoXDTEyMDMz
MDA5MzEwNFowgYwxGjAYBgNVBAoTEVJTQSBTZWN1cml0eSBJbmMuMRUwEwYDVQQLEwxLQ0EgU2Vy
dmljZXMxIDAeBgNVBAMTF1JTQSBDbGFzcyAyIFBlcnNvbmFsIENBMRAwDgYDVQQHEwdCZWRmb3Jk
MRYwFAYDVQQIEw1NYXNzYWNodXNldHRzMQswCQYDVQQGEwJVUzCBnzANBgkqhkiG9w0BAQEFAAOB
jQAwgYkCgYEApEfcomm8kaOvjcAt0pfMD7lIgQ96z7BDTY1780m0wMlwPKQw53Z5QGtZy1IUjIL5
/INbGDHdAafgtf5iOTxVGfI7pFCvecrfkytui4TPzOUVKvxCDXQw3Vs4PY3uPfCuqBn8lkehE0iW
yKw3uakHCwgAbPRNoFSm+2fxcBaNwvUCAwEAAaOCATswggE3MA8GA1UdEwQIMAYBAf8CAQIwgZIG
A1UdIASBijCBhzCBhAYJKoZIhvcNBQcCMHcwLgYIKwYBBQUHAgEWImh0dHA6Ly9jYS5yc2FzZWN1
cml0eS5jb20vQ1BTLmh0bWwwRQYIKwYBBQUHAgIwOTAYFhFSU0EgU2VjdXJpdHkgSW5jLjADAgEB
Gh1DUFMgSW5jb3Jwb3JhdGVkIGJ5IHJlZmVyZW5jZTA/BgNVHR8EODA2MDSgMqAwhi5odHRwOi8v
Y3JsLnJzYXNlY3VyaXR5LmNvbS9SU0ElMjBDb3Jwb3JhdGUuY3JsMA4GA1UdDwEB/wQEAwIBhjAf
BgNVHSMEGDAWgBTtkQhrdLdZSpL2oR0icCafCq8WkjAdBgNVHQ4EFgQUxpPuxqX+41WOz4ojH+6Y
3iHyn6cwDQYJKoZIhvcNAQEFBQADgYEAS6M22xEMAVVTJGohLkpNL4IHsqtTS/dL1k8KpmYVsh13
qoxQR6yIDmdL/xIkeuJ74VesLS5A5Ytny1iGp9xB4BQ1xg+1dlrSl2EtOKJGGc6T7pYK/j++LXBt
TPjkdQuPh1Z2Ysiiu5/Zudhu1vZUBqlH1yzGCklwzao0PNjD/9MwggR+MIID56ADAgECAhEAsSe9
yNTH2rYKRiN7F8KhkTANBgkqhkiG9w0BAQUFADCBjDEaMBgGA1UEChMRUlNBIFNlY3VyaXR5IElu
Yy4xFTATBgNVBAsTDEtDQSBTZXJ2aWNlczEgMB4GA1UEAxMXUlNBIENsYXNzIDIgUGVyc29uYWwg
Q0ExEDAOBgNVBAcTB0JlZGZvcmQxFjAUBgNVBAgTDU1hc3NhY2h1c2V0dHMxCzAJBgNVBAYTAlVT
MB4XDTA5MDcyMTA1MTYxM1oXDTExMDcyMjA1MTYxM1owgekxEzARBgoJkiaJk/IsZAEZFgNjb20x
EzARBgoJkiaJk/IsZAEZFgNlbWMxGDAWBgNVBAoTD0VNQyBDb3Jwb3JhdGlvbjEMMAoGA1UECxMD
UlNBMRUwEwYDVQQLEwxBc2lhL1BhY2lmaWMxFDASBgNVBAsTC0VuZ2luZWVyaW5nMQ8wDQYDVQQF
EwYwNjQ4MTQxFzAVBgoJkiaJk/IsZAEBEwdyb2JpbnAyMRcwFQYDVQQDEw5QZXRlciBSb2JpbnNv
bjElMCMGCSqGSIb3DQEJARYWcGV0ZXIucm9iaW5zb25AcnNhLmNvbTCBnzANBgkqhkiG9w0BAQEF
AAOBjQAwgYkCgYEA2CcjIV2QNoJP4YbPejhZX2MSu53/EooTnrkf7M4gsl1DobXkk3CO6kU9bN6O
wwL/o87dQ4y2FHjwkV4WeoodhvZa08q5uX4vZCtB2Hn0OUrbPzyKl7wXSq+yezKCQJBrVCTwWjKK
A6Gqc1VhkqWSBCpUaQ39TsVDxNYCGIn433cCAwEAAaOCAX8wggF7MIGSBgNVHSAEgYowgYcwgYQG
CSqGSIb3DQUHBTB3MC4GCCsGAQUFBwIBFiJodHRwOi8vY2EucnNhc2VjdXJpdHkuY29tL0NQUy5o
dG1sMEUGCCsGAQUFBwICMDkwGBYRUlNBIFNlY3VyaXR5IEluYy4wAwIBARodQ1BTIEluY29ycG9y
YXRlZCBieSByZWZlcmVuY2UwKQYDVR0lBCIwIAYKKwYBBAGCNxQCAgYIKwYBBQUHAwIGCCsGAQUF
BwMEMCEGA1UdEQQaMBiBFnBldGVyLnJvYmluc29uQHJzYS5jb20wDgYDVR0PAQH/BAQDAgeAMEYG
A1UdHwQ/MD0wO6A5oDeGNWh0dHA6Ly9jcmwucnNhc2VjdXJpdHkuY29tOjgwL1JTQUNsYXNzMlBl
cnNvbmFsQ0EuY3JsMB8GA1UdIwQYMBaAFMaT7sal/uNVjs+KIx/umN4h8p+nMB0GA1UdDgQWBBQm
7p962rS9dUpGeQZt+Vi1su6tQTANBgkqhkiG9w0BAQUFAAOBgQCghPP5wxcDJuACPYJ/U1sjhyE4
gxpGKZNPnnDcjfHo+Cq87cWawpV5Rzpg8KVZc0EoG6BabGNyk+WgZMjCzADpg+appN4cX+DML0ir
3cBcX8pQTuKw1VRlUjidjkTIl/Z2hrcvgh2lJG+PFV2ogWICzwOj4/zKG4khs9VO5NNPezCCBI4w
ggP3oAMCAQICEQCqH2xUbSoaeE1QLM6HmWpWMA0GCSqGSIb3DQEBBQUAMIGMMRowGAYDVQQKExFS
U0EgU2VjdXJpdHkgSW5jLjEVMBMGA1UECxMMS0NBIFNlcnZpY2VzMSAwHgYDVQQDExdSU0EgQ2xh
c3MgMiBQZXJzb25hbCBDQTEQMA4GA1UEBxMHQmVkZm9yZDEWMBQGA1UECBMNTWFzc2FjaHVzZXR0
czELMAkGA1UEBhMCVVMwHhcNMDkwNzIxMDUxNjE4WhcNMTEwNzIyMDUxMzM2WjCB7TETMBEGCgmS
JomT8ixkARkWA2NvbTETMBEGCgmSJomT8ixkARkWA2VtYzEYMBYGA1UEChMPRU1DIENvcnBvcmF0
aW9uMQwwCgYDVQQLEwNSU0ExFTATBgNVBAsTDEFzaWEvUGFjaWZpYzEUMBIGA1UECxMLRW5naW5l
ZXJpbmcxDzANBgNVBAUTBjA2NDgxNDEXMBUGCgmSJomT8ixkAQETB3JvYmlucDIxGzAZBgNVBAMT
ElBldGVyIFJvYmluc29uLUVuYzElMCMGCSqGSIb3DQEJARYWcGV0ZXIucm9iaW5zb25AcnNhLmNv
bTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAqeM4888BmvaveugOJqTYWGNm3cTP6qJe444S
7AJaXDnKZlt1cJByB+B83hdGGe2FyRQGGef0DNZhQIfaa41dzZbDWuogZ3mKxyuOhciZSoRoCIM0
jlPh5vqhDmXBPFQ/EedNPRk+tl+mKVz2fHbsI01bWtueV05BvJu330cj0WUCAwEAAaOCAYswggGH
MDUGA1UdJQQuMCwGCisGAQQBgjcUAgIGCCsGAQUFBwMCBggrBgEFBQcDBAYKKwYBBAGCNwoDBDCB
kgYDVR0gBIGKMIGHMIGEBgkqhkiG9w0FBwUwdzAuBggrBgEFBQcCARYiaHR0cDovL2NhLnJzYXNl
Y3VyaXR5LmNvbS9DUFMuaHRtbDBFBggrBgEFBQcCAjA5MBgWEVJTQSBTZWN1cml0eSBJbmMuMAMC
AQEaHUNQUyBJbmNvcnBvcmF0ZWQgYnkgcmVmZXJlbmNlMCEGA1UdEQQaMBiBFnBldGVyLnJvYmlu
c29uQHJzYS5jb20wRgYDVR0fBD8wPTA7oDmgN4Y1aHR0cDovL2NybC5yc2FzZWN1cml0eS5jb206
ODAvUlNBQ2xhc3MyUGVyc29uYWxDQS5jcmwwHwYDVR0jBBgwFoAUxpPuxqX+41WOz4ojH+6Y3iHy
n6cwHQYDVR0OBBYEFGg/pAQlQSo2dvZeyryhS2toL395MA4GA1UdDwEB/wQEAwIDODANBgkqhkiG
9w0BAQUFAAOBgQCY/nGMkd29x8wULeVsTP+emR/XVn+LqcfwzgwpUSKP1FX1WedrHwlNKFaVDjQX
FaNETkV4XzMugf4iafsgZUp5DmzIOBB5H5MI1k+CprZ0tjet7gcN0sdCt0fggfw44GZ37rwxzwyt
XZrbEePtb8wFYVEobKBD/ZqvghavL93K3DGCA4EwggN9AgEBMIGiMIGMMRowGAYDVQQKExFSU0Eg
U2VjdXJpdHkgSW5jLjEVMBMGA1UECxMMS0NBIFNlcnZpY2VzMSAwHgYDVQQDExdSU0EgQ2xhc3Mg
MiBQZXJzb25hbCBDQTEQMA4GA1UEBxMHQmVkZm9yZDEWMBQGA1UECBMNTWFzc2FjaHVzZXR0czEL
MAkGA1UEBhMCVVMCEQCxJ73I1MfatgpGI3sXwqGRMAkGBSsOAwIaBQCgggI0MBgGCSqGSIb3DQEJ
AzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTEwMDEwNDA2MTQxNVowIwYJKoZIhvcNAQkE
MRYEFLtFKxXkQpvCvLP2ujqiCNfVxuuOMGcGCSqGSIb3DQEJDzFaMFgwCgYIKoZIhvcNAwcwDgYI
KoZIhvcNAwICAgCAMA0GCCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgEoMAcGBSsO
AwIaMAoGCCqGSIb3DQIFMIGzBgkrBgEEAYI3EAQxgaUwgaIwgYwxGjAYBgNVBAoTEVJTQSBTZWN1
cml0eSBJbmMuMRUwEwYDVQQLEwxLQ0EgU2VydmljZXMxIDAeBgNVBAMTF1JTQSBDbGFzcyAyIFBl
cnNvbmFsIENBMRAwDgYDVQQHEwdCZWRmb3JkMRYwFAYDVQQIEw1NYXNzYWNodXNldHRzMQswCQYD
VQQGEwJVUwIRAKofbFRtKhp4TVAszoeZalYwgbUGCyqGSIb3DQEJEAILMYGloIGiMIGMMRowGAYD
VQQKExFSU0EgU2VjdXJpdHkgSW5jLjEVMBMGA1UECxMMS0NBIFNlcnZpY2VzMSAwHgYDVQQDExdS
U0EgQ2xhc3MgMiBQZXJzb25hbCBDQTEQMA4GA1UEBxMHQmVkZm9yZDEWMBQGA1UECBMNTWFzc2Fj
aHVzZXR0czELMAkGA1UEBhMCVVMCEQCqH2xUbSoaeE1QLM6HmWpWMA0GCSqGSIb3DQEBAQUABIGA
S9+QKBCrM9Q28xnSlKi4oBFKZkmkZGAR+8NUQhEM+hf1qWgoakqV7oWo/4kSsa8UlPnwkTYcEx3H
zlUGnVTpDruVjs4PgzR95qfsUFfgUUJLavos5skeDhXrunq6HnijNcPhdll2KE9g9PtgVYKZ5/xk
jgc7vtVKLvoUpbFwul0AAAAAAAA=

------=_NextPart_000_01C1_01CA8D58.F5E11D90--

From ekr@networkresonance.com  Tue Jan  5 05:45:18 2010
Return-Path: <ekr@networkresonance.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E238928C0DB for <tls@core3.amsl.com>; Tue,  5 Jan 2010 05:45:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.618
X-Spam-Level: **
X-Spam-Status: No, score=2.618 tagged_above=-999 required=5 tests=[BAYES_50=0.001, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, HELO_MISMATCH_COM=0.553, HOST_MISMATCH_NET=0.311, RDNS_DYNAMIC=0.1]
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 kttikwtN07dN for <tls@core3.amsl.com>; Tue,  5 Jan 2010 05:45:18 -0800 (PST)
Received: from kilo.networkresonance.com (74-95-2-169-SFBA.hfc.comcastbusiness.net [74.95.2.169]) by core3.amsl.com (Postfix) with ESMTP id 4F0F23A68DA for <tls@ietf.org>; Tue,  5 Jan 2010 05:45:18 -0800 (PST)
Received: from kilo.local (localhost [127.0.0.1]) by kilo.networkresonance.com (Postfix) with ESMTP id 529DD6CBA65 for <tls@ietf.org>; Tue,  5 Jan 2010 05:47:28 -0800 (PST)
Date: Tue, 05 Jan 2010 05:47:28 -0800
From: Eric Rescorla <ekr@networkresonance.com>
To: tls@ietf.org
User-Agent: Wanderlust/2.15.5 (Almost Unreal) Emacs/22.3 Mule/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Message-Id: <20100105134728.529DD6CBA65@kilo.networkresonance.com>
Subject: [TLS] Draft
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 05 Jan 2010 13:45:19 -0000

This is a test of the mailing list. Please do not respond.

-Ekr


From nelson@bolyard.me  Tue Jan  5 12:08:00 2010
Return-Path: <nelson@bolyard.me>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1CDCB28C180 for <tls@core3.amsl.com>; Tue,  5 Jan 2010 12:08:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.233
X-Spam-Level: 
X-Spam-Status: No, score=0.233 tagged_above=-999 required=5 tests=[AWL=0.973,  BAYES_20=-0.74]
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 sPRDFRW4OBqK for <tls@core3.amsl.com>; Tue,  5 Jan 2010 12:07:59 -0800 (PST)
Received: from smtpauth23.prod.mesa1.secureserver.net (smtpauth23.prod.mesa1.secureserver.net [64.202.165.47]) by core3.amsl.com (Postfix) with SMTP id 1842328C176 for <tls@ietf.org>; Tue,  5 Jan 2010 12:07:58 -0800 (PST)
Received: (qmail 19344 invoked from network); 5 Jan 2010 20:07:57 -0000
Received: from unknown (24.5.142.42) by smtpauth23.prod.mesa1.secureserver.net (64.202.165.47) with ESMTP; 05 Jan 2010 20:07:57 -0000
Message-ID: <4B439C0E.6050003@bolyard.me>
Date: Tue, 05 Jan 2010 12:07:42 -0800
From: Nelson B Bolyard <nelson@bolyard.me>
Organization: Network Security Services
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.9.1b1pre) Gecko/20081004 NOT Firefox/2.0 SeaMonkey/2.0a2pre
MIME-Version: 1.0
To: IETF TLS Working Group <tls@ietf.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: Eric Rescorla <ekr@rtfm.com>
Subject: [TLS] Interoperability testing for draft-ietf-tls-renegotiation-02.txt
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 05 Jan 2010 20:08:00 -0000

I have an implementation of a client which I believe conforms to that
draft.  I wish to test it against servers that also claim conformance,
both with SSL 3.0 and with TLS 1.0.

For TLS, I propose to send an initial TLS client hello with both SCSV
(cipher suite value 0x00ff) and empty RI extension (value 0xff01) (*).
If the server responds with a TLS server hello with an empty RI extension,
then following the completion of that handshake and sending of the https
request, to test renegotiation I would have my client do a subsequent
handshake with no SCSV and a "full" RI with a 12-byte TLS finished message
contents, and expect the server hello to bear a 24 byte RI with both
previous TLS finished message contents.

For SSL 3.0, I propose to send an initial SSL 3.0 client hello with SCSV
(cipher suite value 0x00ff) only, no empty RI.  If the server responds with
an SSL 3 server hello with an empty RI extension then following the
completion of that handshake and sending of the https request, I would have
my client do a subsequent SSL3 handshake with no SCSV and a "full" RI
extension with a 36-byte SSL3 finished message content, and expect the
server hello to bear a 72 byte RI with both previous TLS finished message
contents.

If that sounds right to you, and your server is willing to interoperate on
that basis, please let me know.  If that sounds wrong to you, please let me
know that, too.  :)

(*): My rationale for sending both SCSV and RI in the initial handshake,
when offering version TLS 1.0, is that, on the initial handshake, the
client does not yet know if the server is a TLS server or merely an SSL 3.0
server.  In the latter case, the server may be presumed to ignore hello
extensions (IINM) but to understand the SCSV.  If the server does handle
hello extensions, then presumably it will honor the empty RI (no?).
Please advise if I have misunderstood this point.

I would like to finish up the interoperability testing THIS week, by 8 Jan.

Thanks.

/Nelson Bolyard

(This is my 6th attempt to send this in the past 72 hours.)

From root@core3.amsl.com  Tue Jan  5 15:30:02 2010
Return-Path: <root@core3.amsl.com>
X-Original-To: tls@ietf.org
Delivered-To: tls@core3.amsl.com
Received: by core3.amsl.com (Postfix, from userid 0) id 07C2A3A67EF; Tue,  5 Jan 2010 15:30:01 -0800 (PST)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20100105233002.07C2A3A67EF@core3.amsl.com>
Date: Tue,  5 Jan 2010 15:30:01 -0800 (PST)
Cc: tls@ietf.org
Subject: [TLS] I-D ACTION:draft-ietf-tls-renegotiation-03.txt
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 05 Jan 2010 23:30:02 -0000

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts 
directories.
This draft is a work item of the Transport Layer Security Working Group of the IETF.

	Title		: Transport Layer Security (TLS) Renegotiation Indication Extension
	Author(s)	: E. Rescorla, N. Oskov, M. Ray, S. Dispensa
	Filename	: draft-ietf-tls-renegotiation-03.txt
	Pages		: 14
	Date		: 2010-1-5
	
SSL and TLS renegotiation are vulnerable to an attack in which the
   attacker forms a TLS connection with the target server, injects
   content of his choice, and then splices in a new TLS connection from
   a client.  The server treats the client's initial TLS handshake as a
   renegotiation and thus believes that the initial data transmitted by
   the attacker is from the same entity as the subsequent client data.
   This specification defines a TLS extension to cryptographically tie
   renegotiations to the TLS connections they are being performed over,
   thus preventing this attack.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-tls-renegotiation-03.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-tls-renegotiation-03.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2010-1-5152636.I-D@ietf.org>


--NextPart--


From cfinss@dial.pipex.com  Wed Jan  6 02:07:37 2010
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7C0CA3A6835 for <tls@core3.amsl.com>; Wed,  6 Jan 2010 02:07:37 -0800 (PST)
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 ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2rIHDi5-W-tq for <tls@core3.amsl.com>; Wed,  6 Jan 2010 02:07:36 -0800 (PST)
Received: from mk-outboundfilter-6.mail.uk.tiscali.com (mk-outboundfilter-6.mail.uk.tiscali.com [212.74.114.14]) by core3.amsl.com (Postfix) with ESMTP id A7DE23A681D for <tls@ietf.org>; Wed,  6 Jan 2010 02:07:35 -0800 (PST)
X-Trace: 170971001/mk-outboundfilter-6.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.105.33/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.105.33
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AqEFANDvQ0s+vGkh/2dsb2JhbACCUYEOhEuIWLUljG8KgSKCLlYE
X-IronPort-AV: E=Sophos;i="4.49,228,1262563200"; d="scan'208";a="170971001"
X-IP-Direction: IN
Received: from 1cust33.tnt2.lnd9.gbr.da.uu.net (HELO allison) ([62.188.105.33]) by smtp.pipex.tiscali.co.uk with SMTP; 06 Jan 2010 10:07:31 +0000
Message-ID: <002001ca8eaf$b5d77de0$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "tls" <tls@ietf.org>
Date: Wed, 6 Jan 2010 09:29:43 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
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: [TLS] Fw:  renego, patricide, putting out to stud, etc.
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
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/listinfo/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, 06 Jan 2010 10:07:37 -0000

Resending as it looks like this was a victim of the Y2.01K bug.

Tom Petch

----- Original Message -----
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Ravi Ganesan" <ravi@findravi.com>
Cc: <tls@ietf.org>
Sent: Saturday, January 02, 2010 4:26 PM
Subject: Re: [TLS] renego, patricide, putting out to stud, etc.

> ----- Original Message -----
> From: "Ravi Ganesan" <ravi@findravi.com>
> Sent: Friday, January 01, 2010 12:42 AM
>
> > >> OK, but that's a fairly complicated way of describing the semantics. Also
> > >> you used the term "session" to describe the nodes:
> >
> > It is somewhat complicated, but I think it is the minimum needed. I just
> > feel getting into connections, sessions, channels, all words which carry
> > unintended baggage,

 Session is reasonably well-defined but I think that it is you that is
adding baggage to it which I find muddying the waters.

 Likewise renego(tiation) is not so well defined and IMO best
avoided.

 A session has a session identifier, supplied by the host.  Reuse
 that session identifier in a ClientHello and you are reusing
 that session; leave it blank and you have a new session
 (assuming that the host agrees and supplies a new session
 identifier).

 I agree absolutely that we need to explore the kind of
 scenarios that you describe below but
 I cannot make sense of your tree - and I think that Michael is
 right to call it cloning and metamorphosis - unless you tell me
 what you are doing with the session identifier and over which
 of many possible TCP connections you are doing it.

 Tom Petch

> >       does not seem to be working.  Just consider if I am the
> > Client and you are the Server, and we open a thingy (call it A) communicate
> > for a while. Use A to spawn two more thingys in parallel using abbreviated
> > handshakes (B and C). Then do a renego using full handshake on B (gives us
> > D). D then spawns two more thingys using abbreviated handshakes (E and F). F
> > happens to do a renego using a full handshakes to spawn G. In the meanwhile
> > we do a full handshake renego on A, and then.... you are asked to explain in
> > retrospect exactly what on earth happened. If you use my approach of tagging
> > each of the nodes A,B,C,D,E, F and G with the six variables (session-id,
> > master-secret, client-random, server-random, auth knowledge and RI), and
> > show which of them change from parent to child, you will end up with a
> > compact tree with the properties I mentioned.
> >
> > But of course I am biased, I feel it is limiting to use words that limit TLS
> > to "sockets" or "connections", needlessly.  For instance  what does a
> > connection mean if the binding is not TCP? e.g.  EKR's work on UDP, mine on
> > HTTP, Gajek et al on SOAP).
> > This bias aside, however, I think the tree with its state transitions is
> > useful even for regular TLS. Especially since we are keeping chained hashes
> > around.
> >
> >
> > Message: 1
> > > Date: Wed, 30 Dec 2009 16:46:49 -0800
> > > From: Ravi Ganesan <ravi@findravi.com>
> > > Subject: Re: [TLS] sessions, contexts, etc.
> > > To: tls@ietf.org
> > > Message-ID:
> > >        <3561bdcc0912301646p65923143t1b138fb17b75d9@mail.gmail.com>
> > > Content-Type: text/plain; charset="utf-8"
> > >
> > > Does something along these lines work as a pedagogical device? Nodes
> > > characterized by the parameters of relevance. A root node, three types of
> > > ways to spawn a child node. What a child inherits from parent, etc...
> > >
> > > At the end of a TLS handshake, the Client and the Server share six key
> > > pieces of information:
> > > (i) a session-id  /*Public information */
> > > (ii) a shared master-secret /*Secret. Known only to Client and Server */
> > > (iii) the client-random and /* May be public or secret */
> > > (iv) the server-random.  /*May be public or secret*/
> > > (v) authentication knowledge /* Namely, the Client MAY know that is has
> > > authenticated the Server (in practice this almost always is true). The
> > > Server MAY know that it has authenticated the Client (relatively rare in
> > > practice, but an important sub-category).
> > > (vi) renegotiation-information /*The newly introduced RI field at the end
> > > of
> > > the handshake. */
> > >
> > >
> > > When the  Client and a Server share NONE of the above six pieces of data,
> > > the Client will typically initiate a completely fresh session using the
> > > FULL
> > > handshake.  Such a session is called a ROOT session. A Client and a Server
> > > who have completed a ROOT session can engage in further handshakes to
> > > create
> > > new sessions, which in turn can create further sessions. Treating each
> > > session as a node in a graph we can get a tree rooted at the ROOT.
> > >
> > > Each node can spawn a child node using three different techniques as
> > > follows:
> > >
> > > i) A node can create a child-node by performing an abbreviated handshake.
> > > Such an abbreviated-child inherits the session-id, the shared
master-secret
> > > and the authentication-knowledge, from its parent (these CANNOT change).
It
> > > gets new client-random, server-random and starts afresh with
> > > renegotiation-information.  This technique of spawning a child node is
> > > usually used for efficiency considerations (abbrv. handshake requires no
> > > PKI
> > > operations, which is why it cannot be used to update
> > > authentication-knowledge of the other end either).  The creation of such a
> > > child-node does NOT result in the previous node becoming inactive.
> > >
> > > ii) A node can create a child node by performing renegotiation, followed
by
> > > a full handshake. Such a full-renego-child, starts afresh with new values
> > > for all of the first five parameters. The only parameter which keeps it
> > > tied
> > > to this tree is the renegotiation-information, which is derived from the
> > > handshake and the parent-node's renegotiation-information. The primary
> > > use-case for this technique is  to update authentication-knowledge of the
> > > Server (i.e. does it know who the Client is?).  The creation of such a
> > > child
> > > node means the parent node can no longer be used.
> > >
> > > iii) A node can create a child node by performing renegotiation followed
by
> > > an abbreviated handshake. Such a abbrv-renego-child inherits the
> > > session-id,
> > > shared-master-secret and authentication-information of its parent. There
is
> > > a new client-random and server-random, and as in a full-renego-child, the
> > > renegotiation-information is derived from the handshake and the the
> > > renegotiation-information of its parent.  I do not know why this use-case
> > > exists; the encryption/hashing keys change but it is questionable if that
> > > adds any protection. The creation of such a child node means the parent
> > > node
> > > can no longer be used.
> > >
> > > Observe that each of the different child nodes can give birth to any of
the
> > > other three types of children.
> > >
> > >


From rdugal@certicom.com  Wed Jan  6 05:26:41 2010
Return-Path: <rdugal@certicom.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4BF0C3A68B0 for <tls@core3.amsl.com>; Wed,  6 Jan 2010 05:26:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.203
X-Spam-Level: 
X-Spam-Status: No, score=-5.203 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_MED=-4]
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 WygafQ846GOk for <tls@core3.amsl.com>; Wed,  6 Jan 2010 05:26:40 -0800 (PST)
Received: from mhs04ykf.rim.net (mhs04ykf.rim.net [216.9.243.82]) by core3.amsl.com (Postfix) with ESMTP id 1A8463A6858 for <tls@ietf.org>; Wed,  6 Jan 2010 05:26:39 -0800 (PST)
X-AuditID: 0a666446-b7b7dae000004389-37-4b448f8c5f5d
Received: from XCH38YKF.rim.net ( [10.64.31.208]) by mhs04ykf.rim.net (RIM Mail) with SMTP id 93.B1.17289.C8F844B4; Wed,  6 Jan 2010 08:26:36 -0500 (EST)
Received: from XCH57YKF.rim.net ([10.64.31.54]) by XCH38YKF.rim.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 6 Jan 2010 08:26:36 -0500
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
content-transfer-encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Wed, 6 Jan 2010 08:26:01 -0500
Message-ID: <7E1DF37F1F42AB4E877E492C308E6AC4031E5E9D@XCH57YKF.rim.net>
In-Reply-To: <20100105233002.07C2A3A67EF@core3.amsl.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] I-D ACTION:draft-ietf-tls-renegotiation-03.txt
Thread-Index: AcqOXwL3/OF/zdv7Sy2k5caVyuPHAQAdHmSw
References: <20100105233002.07C2A3A67EF@core3.amsl.com>
From: "Robert Dugal" <rdugal@certicom.com>
To: <tls@ietf.org>
X-OriginalArrivalTime: 06 Jan 2010 13:26:36.0557 (UTC) FILETIME=[DF174BD0:01CA8ED3]
X-Brightmail-Tracker: AAAAAQAAAZE=
Subject: Re: [TLS] I-D ACTION:draft-ietf-tls-renegotiation-03.txt
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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, 06 Jan 2010 13:26:41 -0000

In Section 3.2

For ClientHellos which are renegotiating, this field contains the
      "client_verify_data" specified in Section 3.2.

I think this should be a reference to Section 3.1
 
-- 
Robert Dugal		Senior Software Developer
Certicom Corp.		A Subsidiary of Research In Motion 
rdugal@certicom.com
direct=A0=A0=A0=A0=A0=A0=A0=A0905.501.3848
fax=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0905.507.4230
www.certicom.com


-----Original Message-----
From: tls-bounces@ietf.org [mailto:tls-bounces@ietf.org] On Behalf Of Intern=
et-Drafts@ietf.org
Sent: Tuesday, January 05, 2010 6:30 PM
To: i-d-announce@ietf.org
Cc: tls@ietf.org
Subject: [TLS] I-D ACTION:draft-ietf-tls-renegotiation-03.txt

A New Internet-Draft is available from the on-line Internet-Drafts directori=
es.
This draft is a work item of the Transport Layer Security Working Group of t=
he IETF.

	Title		: Transport Layer Security (TLS) Renegotiation Indication Extension
	Author(s)	: E. Rescorla, N. Oskov, M. Ray, S. Dispensa
	Filename	: draft-ietf-tls-renegotiation-03.txt
	Pages		: 14
	Date		: 2010-1-5
	
SSL and TLS renegotiation are vulnerable to an attack in which the
   attacker forms a TLS connection with the target server, injects
   content of his choice, and then splices in a new TLS connection from
   a client.  The server treats the client's initial TLS handshake as a
   renegotiation and thus believes that the initial data transmitted by
   the attacker is from the same entity as the subsequent client data.
   This specification defines a TLS extension to cryptographically tie
   renegotiations to the TLS connections they are being performed over,
   thus preventing this attack.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-tls-renegotiation-03.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader implementat=
ion to automatically retrieve the ASCII version of the Internet-Draft.

---------------------------------------------------------------------=0A=
This transmission (including any attachments) may contain confidential infor=
mation, privileged material (including material protected by the solicitor-c=
lient or other applicable privileges), or constitute non-public information.=
 Any use of this information by anyone other than the intended recipient is=
 prohibited. If you have received this transmission in error, please immedia=
tely reply to the sender and delete this information from your system. Use,=
 dissemination, distribution, or reproduction of this transmission by uninte=
nded recipients is not authorized and may be unlawful.

From wwwrun@core3.amsl.com  Thu Jan  7 10:00:20 2010
Return-Path: <wwwrun@core3.amsl.com>
X-Original-To: tls@ietf.org
Delivered-To: tls@core3.amsl.com
Received: by core3.amsl.com (Postfix, from userid 30) id 1130A3A68B8; Thu,  7 Jan 2010 10:00:19 -0800 (PST)
X-idtracker: yes
From: The IESG <iesg-secretary@ietf.org>
To: IETF-Announce <ietf-announce@ietf.org>
Message-Id: <20100107180020.1130A3A68B8@core3.amsl.com>
Date: Thu,  7 Jan 2010 10:00:20 -0800 (PST)
Cc: Internet Architecture Board <iab@iab.org>, tls mailing list <tls@ietf.org>, tls chair <tls-chairs@tools.ietf.org>, RFC Editor <rfc-editor@rfc-editor.org>
Subject: [TLS] Protocol Action: 'Transport Layer Security (TLS) Renegotiation Indication Extension' to Proposed Standard
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Thu, 07 Jan 2010 18:00:20 -0000

The IESG has approved the following document:

- 'Transport Layer Security (TLS) Renegotiation Indication Extension '
   <draft-ietf-tls-renegotiation-03.txt> as a Proposed Standard


This document is the product of the Transport Layer Security Working Group. 

The IESG contact persons are Pasi Eronen and Tim Polk.

A URL of this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-tls-renegotiation-03.txt

Technical Summary

   SSL and TLS renegotiation are vulnerable to an attack in which the
   attacker forms a TLS connection with the target server, injects
   content of his choice, and then splices in a new TLS connection
   from a client.  The server treats the client's initial TLS
   handshake as a renegotiation and thus believes that the initial
   data transmitted by the attacker is from the same entity as the
   subsequent client data.  This draft defines a TLS extension to
   cryptographically tie renegotiations to the TLS connections they
   are being performed over, thus preventing this attack.

Working Group Summary

   This document addresses an urgent security vulnerability, so it was
   decided to solicit comments from TLS WG members and the wider
   community partly overlapping. This meant there were quite a few
   emails during the IETF Last Call.

   There are two details where the consensus was a bit rougher than
   normally:

   1) Whether to send the old channel bindings data over-the-wire
   (inside the extension data), or just include it in computations
   without actually sending it. Sending the data over-the-wire seems
   to have more support (at least 2/3 vs. 1/3), and most participants
   (of either opinion) seem to prefer making a decision over
   continuing the discussion until some indeterminate time.

   2) Whether all clients have to always include the "magic cipher
   suite value".

   Originally, the magic cipher suite was included to avoid breaking
   things with old "extension-intolerant" servers (buggy servers that
   fail the connection if the client sends any TLS extensions), and to
   support the SSLv2-compatible ClientHello format.

   Some people have proposed that the magic cipher suite must be
   always included (this would simplify some server implementations a
   bit); some others think that using just the extension is better for
   clients that always send extensions anyway (and don't care about
   buggy extension-intolerant servers). Both approaches work; there
   are small differences in coding/testing effort (depending on what
   the implementation already supports).

   The latter approach (don't require clients to implement the magic
   cipher suite if they don't need it) seems to have more support (at
   least 2/3 vs. 1/3). One participant has disagreed with this
   rough consensus judgment (on the basis that the arguments by the
   1/3 have been more technical, and should carry more weight), and
   has proposed continuing discussion about this topic.  The IESG
   believes most participants consider the differences between these
   approaches very minor, and prefer making a decision now over
   continuing the discussion.

Document Quality

   A number of prototype implementations based on earlier versions
   of the draft exist; and it is expected the final draft will
   be implemented by most TLS stacks.

Personnel

   The document shepherd is Joseph Salowey, and the responsible
   area director is Pasi Eronen.

RFC Editor Note

   Please fix the 2nd bullet in Section 3.2 as follows:
   OLD:
      "client_verify_data" specified in Section 3.2.
   NEW:
      "client_verify_data" specified in Section 3.1.


From marsh@extendedsubset.com  Thu Jan  7 10:31:20 2010
Return-Path: <marsh@extendedsubset.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E230D28C0D6 for <tls@core3.amsl.com>; Thu,  7 Jan 2010 10:31:20 -0800 (PST)
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 ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2fBisfvsrll7 for <tls@core3.amsl.com>; Thu,  7 Jan 2010 10:31:20 -0800 (PST)
Received: from mho-01-ewr.mailhop.org (mho-01-ewr.mailhop.org [204.13.248.71]) by core3.amsl.com (Postfix) with ESMTP id 0BA023A690B for <tls@ietf.org>; Thu,  7 Jan 2010 10:31:20 -0800 (PST)
Received: from xs01.extendedsubset.com ([69.164.193.58]) by mho-01-ewr.mailhop.org with esmtpa (Exim 4.68) (envelope-from <marsh@extendedsubset.com>) id 1NSx8g-0009Lk-3Y; Thu, 07 Jan 2010 18:31:18 +0000
Received: from [127.0.0.1] (localhost [127.0.0.1]) by xs01.extendedsubset.com (Postfix) with ESMTP id 543DD6075; Thu,  7 Jan 2010 18:31:16 +0000 (UTC)
X-Mail-Handler: MailHop Outbound by DynDNS
X-Originating-IP: 69.164.193.58
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX190Iqr/fH6qfxqUHjhpOj3RTEabTV+5huA=
Message-ID: <4B462873.9060004@extendedsubset.com>
Date: Thu, 07 Jan 2010 12:31:15 -0600
From: Marsh Ray <marsh@extendedsubset.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: tls chair <tls-chairs@tools.ietf.org>
References: <20100107180020.1130A3A68B8@core3.amsl.com>
In-Reply-To: <20100107180020.1130A3A68B8@core3.amsl.com>
X-Enigmail-Version: 0.96.0
OpenPGP: id=1E36DBF2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: tls mailing list <tls@ietf.org>
Subject: Re: [TLS] Protocol Action: 'Transport Layer Security (TLS)	Renegotiation Indication Extension' to Proposed Standard
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Thu, 07 Jan 2010 18:31:21 -0000

The IESG wrote:
> The IESG has approved the following document:
> 
> - 'Transport Layer Security (TLS) Renegotiation Indication Extension '
>    <draft-ietf-tls-renegotiation-03.txt> as a Proposed Standard

For those of us in the wider community who might not be intimately
familiar with this process and the implications of this step (like me) I
was wondering if we could get a little extra explanation:

1. Where are we with the IANA assignments for the extension code points
and cipher suite number? Is it possible that the requested values would
somehow not be granted?

2. Is this the point at which the solution is "approved"? I.e., there
are no further technical changes expected and vendors can start shipping
the fix?

Thanks,

- Marsh

From Pasi.Eronen@nokia.com  Thu Jan  7 10:38:39 2010
Return-Path: <Pasi.Eronen@nokia.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5F7FE28C0EC for <tls@core3.amsl.com>; Thu,  7 Jan 2010 10:38:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.766
X-Spam-Level: 
X-Spam-Status: No, score=-6.766 tagged_above=-999 required=5 tests=[AWL=-0.167, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 Md8dUpdztlwQ for <tls@core3.amsl.com>; Thu,  7 Jan 2010 10:38:38 -0800 (PST)
Received: from mgw-mx09.nokia.com (smtp.nokia.com [192.100.105.134]) by core3.amsl.com (Postfix) with ESMTP id A5EFF3A690B for <tls@ietf.org>; Thu,  7 Jan 2010 10:38:38 -0800 (PST)
Received: from vaebh106.NOE.Nokia.com (vaebh106.europe.nokia.com [10.160.244.32]) by mgw-mx09.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o07IcHnA003772; Thu, 7 Jan 2010 12:38:36 -0600
Received: from vaebh102.NOE.Nokia.com ([10.160.244.23]) by vaebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Jan 2010 20:37:49 +0200
Received: from smtp.mgd.nokia.com ([65.54.30.6]) by vaebh102.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Jan 2010 20:37:45 +0200
Received: from NOK-EUMSG-01.mgdnok.nokia.com ([65.54.30.86]) by nok-am1mhub-02.mgdnok.nokia.com ([65.54.30.6]) with mapi; Thu, 7 Jan 2010 19:37:44 +0100
From: <Pasi.Eronen@nokia.com>
To: <marsh@extendedsubset.com>
Date: Thu, 7 Jan 2010 19:37:43 +0100
Thread-Topic: [TLS] Protocol Action: 'Transport Layer Security (TLS) Renegotiation Indication Extension' to Proposed Standard
Thread-Index: AcqPx6+IqhsPbdW6Rn6pI46iw+tmlQAACQ/g
Message-ID: <808FD6E27AD4884E94820BC333B2DB775840EFC368@NOK-EUMSG-01.mgdnok.nokia.com>
References: <20100107180020.1130A3A68B8@core3.amsl.com> <4B462873.9060004@extendedsubset.com>
In-Reply-To: <4B462873.9060004@extendedsubset.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginalArrivalTime: 07 Jan 2010 18:37:45.0020 (UTC) FILETIME=[80C66FC0:01CA8FC8]
X-Nokia-AV: Clean
Cc: tls@ietf.org
Subject: Re: [TLS] Protocol Action: 'Transport Layer Security (TLS) Renegotiation Indication Extension' to Proposed Standard
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Thu, 07 Jan 2010 18:38:39 -0000

Marsh Ray wrote:

> For those of us in the wider community who might not be intimately
> familiar with this process and the implications of this step (like
> me) I was wondering if we could get a little extra explanation:
>=20
> 1. Where are we with the IANA assignments for the extension code
> points and cipher suite number? Is it possible that the requested
> values would somehow not be granted?

The IANA will give us the numbers we ask, if we ask them nicely=20
(and we have :-).

> 2. Is this the point at which the solution is "approved"? I.e., there
> are no further technical changes expected and vendors can start
> shipping the fix?

Yes, this is the point.

Best regards,
Pasi


From simon@josefsson.org  Thu Jan  7 10:51:50 2010
Return-Path: <simon@josefsson.org>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 693A93A6918 for <tls@core3.amsl.com>; Thu,  7 Jan 2010 10:51:50 -0800 (PST)
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 ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vnk2vX4YeSQV for <tls@core3.amsl.com>; Thu,  7 Jan 2010 10:51:49 -0800 (PST)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id D56F13A690F for <tls@ietf.org>; Thu,  7 Jan 2010 10:51:47 -0800 (PST)
Received: from mocca (c80-216-24-211.bredband.comhem.se [80.216.24.211]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5) with ESMTP id o07IpXZQ020846 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 7 Jan 2010 19:51:37 +0100
From: Simon Josefsson <simon@josefsson.org>
To: <Pasi.Eronen@nokia.com>
References: <20100107180020.1130A3A68B8@core3.amsl.com> <4B462873.9060004@extendedsubset.com> <808FD6E27AD4884E94820BC333B2DB775840EFC368@NOK-EUMSG-01.mgdnok.nokia.com>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:100107:marsh@extendedsubset.com::vSZ0OrA0JYWoTbpR:1Pgs
X-Hashcash: 1:22:100107:tls@ietf.org::wGsNtl+WTrnu/2O2:8LRe
X-Hashcash: 1:22:100107:pasi.eronen@nokia.com::KI3hN0bHSm0zkk3v:8B+u
Date: Thu, 07 Jan 2010 19:51:32 +0100
In-Reply-To: <808FD6E27AD4884E94820BC333B2DB775840EFC368@NOK-EUMSG-01.mgdnok.nokia.com> (Pasi Eronen's message of "Thu, 7 Jan 2010 19:37:43 +0100")
Message-ID: <87y6k9d9zf.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: tls@ietf.org
Subject: Re: [TLS] Protocol Action: 'Transport Layer Security (TLS) Renegotiation Indication Extension' to Proposed Standard
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Thu, 07 Jan 2010 18:51:50 -0000

<Pasi.Eronen@nokia.com> writes:

>> 2. Is this the point at which the solution is "approved"? I.e., there
>> are no further technical changes expected and vendors can start
>> shipping the fix?
>
> Yes, this is the point.

Still there are no guarantees that technical changes cannot happen even
after this point (due to appeals, major flaws discovered during AUTH48,
or something else), so a conservative vendor may be better off waiting
until the RFC has been published.

For GnuTLS, I will start the process to prepare a release candidate at
this point, but wait until the RFC has been published to do the actual
release.

/Simon

From mrex@sap.com  Thu Jan  7 17:11:24 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EAB6E3A6910 for <tls@core3.amsl.com>; Thu,  7 Jan 2010 17:11:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level: 
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 zboh5bJtLQyQ for <tls@core3.amsl.com>; Thu,  7 Jan 2010 17:11:24 -0800 (PST)
Received: from smtpde01.sap-ag.de (smtpde01.sap-ag.de [155.56.68.171]) by core3.amsl.com (Postfix) with ESMTP id 6788F3A6915 for <tls@ietf.org>; Thu,  7 Jan 2010 17:11:23 -0800 (PST)
Received: from mail.sap.corp by smtpde01.sap-ag.de (26) with ESMTP id o081AYnT009607 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 8 Jan 2010 02:10:34 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001080110.o081AX9a000051@fs4113.wdf.sap.corp>
To: mogul-open@lists.links.org
Date: Fri, 8 Jan 2010 02:10:32 +0100 (MET)
In-Reply-To: <4B451355.4010108@bolyard.me> from "Nelson B Bolyard" at Jan 6, 10 02:48:53 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal07
X-SAP: out
Cc: iab@iab.org, tls@ietf.org, iesg@iesg.org
Subject: Re: [TLS] [mogul-open] Interoperability testing
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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: Fri, 08 Jan 2010 01:11:25 -0000

Nelson B Bolyard wrote:
> 
> On 2010-01-06 14:30 PST, Eric Rescorla wrote:
> > I agree with Marsh here.
> > 
> > Any server which is going to implement this draft, SSLv3 or otherwise
> > is going to need to process RI correctly (whehter empty or not,
> > but especially if not because otherwise it can't renegotiate at all).
> > The only reason to send SCSV is if you're afraid to send RI because
> > you think an unupgraded server might break on it. 
> 
> My understanding of this draft is that it does NOT require upgraded SSL 3.0
> servers to understand any extensions in _initial_ handshakes.  An SSL 3.0
> server that ignores all handshakes (per the "draft-02" version of the 3.0
> spec), but understands SCSV, can be fully compliant with this draft.
> 
> I have come to expect that that will be the norm for upgraded SSL 3.0
> servers.  They will not, in general, understand any extensions in initial
> client hellos, and will only understand one extension in renegotiation
> client hellos, namely a non-empty RI.
> 
> Consistent with that expectation, I believe SCSV is the only reliable way to
> request renegotiation protection from upgraded SSL 3.0 servers.
> 
> Is that not the compromise we reached with Martin Rex?

I'm similarly confused.

The -03 document does not reflect WG consensus on the use of SCSV.

And the document is unnecessarily complicated and inconsistent.

OK:       3.3   "... the SCSV may be safely sent to any server."

OK:       3.4   "MUST include ... TLS_RENEGO_PROTECTION_REQUEST signal(l)ing
                cipher suite value in every ClientHello.

not good: 3.4   "MUST include and empty "renegotiation_info" extension
                 ... in every ClientHello"

          because the empty renegotiation_info applies only to
          ClientHellos of initial handshakes.

bad:      3.4   "Including both is not recommended."

          Working group consensus is that both may be included.

very bad: 3.5   "The SCSV MUST NOT be included."

          There is no working group consensus for this MUST NOT,
          and not a single technical argument for this MUST NOT
          has been given during the last 2 months.

Simply removing the two last mentioned sentences will
improve the document and reflect working group consensus.

-Martin

From mrex@sap.com  Thu Jan  7 17:41:57 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 55DB83A6929 for <tls@core3.amsl.com>; Thu,  7 Jan 2010 17:41:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level: 
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 SBbq5xurflNV for <tls@core3.amsl.com>; Thu,  7 Jan 2010 17:41:57 -0800 (PST)
Received: from smtpde01.sap-ag.de (smtpde01.sap-ag.de [155.56.68.171]) by core3.amsl.com (Postfix) with ESMTP id D9A763A67AA for <tls@ietf.org>; Thu,  7 Jan 2010 17:41:56 -0800 (PST)
Received: from mail.sap.corp by smtpde01.sap-ag.de (26) with ESMTP id o081f9O5005077 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 8 Jan 2010 02:41:09 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001080141.o081f8VN001932@fs4113.wdf.sap.corp>
To: mrex@sap.com
Date: Fri, 8 Jan 2010 02:41:08 +0100 (MET)
In-Reply-To: <201001080110.o081AX9a000051@fs4113.wdf.sap.corp> from "Martin Rex" at Jan 8, 10 02:10:32 am
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal08
X-SAP: out
Cc: mogul-open@lists.links.org, iab@iab.org, tls@ietf.org, iesg@iesg.org
Subject: Re: [TLS] [mogul-open] Interoperability testing
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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: Fri, 08 Jan 2010 01:41:57 -0000

Martin Rex wrote:
> 
> Nelson B Bolyard wrote:
> > 
> > On 2010-01-06 14:30 PST, Eric Rescorla wrote:
> > > I agree with Marsh here.
> > > 
> > > Any server which is going to implement this draft, SSLv3 or otherwise
> > > is going to need to process RI correctly (whehter empty or not,
> > > but especially if not because otherwise it can't renegotiate at all).
> > > The only reason to send SCSV is if you're afraid to send RI because
> > > you think an unupgraded server might break on it. 
> > 
> > My understanding of this draft is that it does NOT require upgraded SSL 3.0
> > servers to understand any extensions in _initial_ handshakes.  An SSL 3.0
> > server that ignores all handshakes (per the "draft-02" version of the 3.0
> > spec), but understands SCSV, can be fully compliant with this draft.
> > 
> > I have come to expect that that will be the norm for upgraded SSL 3.0
> > servers.  They will not, in general, understand any extensions in initial
> > client hellos, and will only understand one extension in renegotiation
> > client hellos, namely a non-empty RI.
> > 
> > Consistent with that expectation, I believe SCSV is the only reliable way to
> > request renegotiation protection from upgraded SSL 3.0 servers.
> > 
> > Is that not the compromise we reached with Martin Rex?
> 
> I'm similarly confused.
> 
> The -03 document does not reflect WG consensus on the use of SCSV.
> 
> And the document is unnecessarily complicated and inconsistent.
> 
> OK:       3.3   "... the SCSV may be safely sent to any server."
> 
> OK:       3.4   "MUST include ... TLS_RENEGO_PROTECTION_REQUEST signal(l)ing
>                 cipher suite value in every ClientHello.
> 
> not good: 3.4   "MUST include and empty "renegotiation_info" extension
>                  ... in every ClientHello"
> 
>           because the empty renegotiation_info applies only to
>           ClientHellos of initial handshakes.
> 
> bad:      3.4   "Including both is not recommended."
> 
>           Working group consensus is that both may be included.
> 
> very bad: 3.5   "The SCSV MUST NOT be included."
> 
>           There is no working group consensus for this MUST NOT,
>           and not a single technical argument for this MUST NOT
>           has been given during the last 2 months.
> 
> Simply removing the two last mentioned sentences will
> improve the document and reflect working group consensus.

Correcting myself:

The last mentioned two sentences should be changed to say

"A ClientHello handshake message may contain both SCSV and a
 "renegotiation_info" extension.  If SCSV is present, but no
 "renegotiation_info" extension, then it should be treated as
 if an empty renegotiation_info extension was present."


It really strikes me as odd to see a requirement to create an interoperability
problem based on the mere presence of a particular ciphersuite value.
This interoperability problem is _completely_ unnecessary and serves
absolutely no technical purpose.

-Martin

From Bradford.Wetmore@Sun.COM  Mon Jan 11 18:55:42 2010
Return-Path: <Bradford.Wetmore@Sun.COM>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C7EB93A6962 for <tls@core3.amsl.com>; Mon, 11 Jan 2010 18:55:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.557
X-Spam-Level: 
X-Spam-Status: No, score=-4.557 tagged_above=-999 required=5 tests=[BAYES_05=-1.11, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-4]
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 BdS0iELgg9zR for <tls@core3.amsl.com>; Mon, 11 Jan 2010 18:55:42 -0800 (PST)
Received: from sca-es-mail-1.sun.com (sca-es-mail-1.Sun.COM [192.18.43.132]) by core3.amsl.com (Postfix) with ESMTP id 171183A6859 for <tls@ietf.org>; Mon, 11 Jan 2010 18:55:42 -0800 (PST)
Received: from fe-sfbay-09.sun.com ([192.18.43.129]) by sca-es-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o0C2tddS000429 for <tls@ietf.org>; Mon, 11 Jan 2010 18:55:39 -0800 (PST)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: text/plain; CHARSET=US-ASCII
Received: from conversion-daemon.fe-sfbay-09.sun.com by fe-sfbay-09.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) id <0KW4008005CA9500@fe-sfbay-09.sun.com> for tls@ietf.org; Mon, 11 Jan 2010 18:55:39 -0800 (PST)
Received: from [129.145.160.28] ([unknown] [129.145.160.28]) by fe-sfbay-09.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) with ESMTPSA id <0KW400AEA5GRXD70@fe-sfbay-09.sun.com> for tls@ietf.org; Mon, 11 Jan 2010 18:55:39 -0800 (PST)
Date: Mon, 11 Jan 2010 18:55:40 -0800
From: Brad Wetmore <Bradford.Wetmore@Sun.COM>
Sender: Bradford.Wetmore@Sun.COM
To: tls@ietf.org
Message-id: <4B4BE4AC.7090702@sun.com>
X-Enigmail-Version: 0.96.0
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
Subject: Re: [TLS] Protocol Action: 'Transport Layer Security (TLS) Renegotiation Indication Extension' to Proposed Standard
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 12 Jan 2010 02:55:42 -0000

Simon Josefsson wrote:

> Still there are no guarantees that technical changes cannot happen
> even after this point (due to appeals, major flaws discovered during
> AUTH48, or something else), so a conservative vendor may be better off
> waiting until the RFC has been published.

Ignoring any appeals/changes/flaws for a second and considering just the
best case scenario here...

In looking over the RFC-editor's queue, I note we're close to the
bottom.  The RFC-editor is saying they process things roughly FIFO, and
I notice many things in the IETF stream standard track are in states
EDIT/RFC-EDITOR/AUTH48) from Jan/May/Sept/Nov 2009.  Is this going to be
several more weeks/months before this RFC is finalized, or are we
getting this expedited?

Thanks,

Brad

From paul.hoffman@vpnc.org  Mon Jan 11 19:40:37 2010
Return-Path: <paul.hoffman@vpnc.org>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BA11B3A6897 for <tls@core3.amsl.com>; Mon, 11 Jan 2010 19:40:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.925
X-Spam-Level: 
X-Spam-Status: No, score=-5.925 tagged_above=-999 required=5 tests=[AWL=0.121,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-4]
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 PI-CLebIl0cU for <tls@core3.amsl.com>; Mon, 11 Jan 2010 19:40:37 -0800 (PST)
Received: from balder-227.proper.com (Balder-227.Proper.COM [192.245.12.227]) by core3.amsl.com (Postfix) with ESMTP id EB7963A696A for <tls@ietf.org>; Mon, 11 Jan 2010 19:40:36 -0800 (PST)
Received: from [10.20.30.158] (75-101-30-90.dsl.dynamic.sonic.net [75.101.30.90]) (authenticated bits=0) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id o0C3eVNi085150 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 11 Jan 2010 20:40:34 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
Mime-Version: 1.0
Message-Id: <p06240837c7719ebe83ca@[10.20.30.158]>
In-Reply-To: <4B4BE4AC.7090702@sun.com>
References: <4B4BE4AC.7090702@sun.com>
Date: Mon, 11 Jan 2010 19:40:29 -0800
To: Brad Wetmore <Bradford.Wetmore@Sun.COM>, tls@ietf.org
From: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [TLS] Protocol Action: 'Transport Layer Security (TLS) Renegotiation Indication Extension' to Proposed Standard
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 12 Jan 2010 03:40:37 -0000

At 6:55 PM -0800 1/11/10, Brad Wetmore wrote:
>Simon Josefsson wrote:
>
>> Still there are no guarantees that technical changes cannot happen
>> even after this point (due to appeals, major flaws discovered during
>> AUTH48, or something else), so a conservative vendor may be better off
>> waiting until the RFC has been published.
>
>Ignoring any appeals/changes/flaws for a second and considering just the
>best case scenario here...
>
>In looking over the RFC-editor's queue, I note we're close to the
>bottom.  The RFC-editor is saying they process things roughly FIFO, and
>I notice many things in the IETF stream standard track are in states
>EDIT/RFC-EDITOR/AUTH48) from Jan/May/Sept/Nov 2009.  Is this going to be
>several more weeks/months before this RFC is finalized, or are we
>getting this expedited?

Nothing is definitive. It is "likely" that there will be no technical changes between now and when the RFC is issued and therefore deployment can begin now. If there is a successful appeal, it could change, but those are rare. If the authors find technical mistakes, they can fix them before RFC publication, and this is becoming more common in the IETF (a situation that many of us find quite unfortunate).

--Paul Hoffman, Director
--VPN Consortium

From Pasi.Eronen@nokia.com  Tue Jan 12 00:51:33 2010
Return-Path: <Pasi.Eronen@nokia.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AA3CD3A690B for <tls@core3.amsl.com>; Tue, 12 Jan 2010 00:51:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.71
X-Spam-Level: 
X-Spam-Status: No, score=-6.71 tagged_above=-999 required=5 tests=[AWL=-0.111,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 Tw1zvWNZeVX9 for <tls@core3.amsl.com>; Tue, 12 Jan 2010 00:51:32 -0800 (PST)
Received: from mgw-mx06.nokia.com (smtp.nokia.com [192.100.122.233]) by core3.amsl.com (Postfix) with ESMTP id 59B783A68A8 for <tls@ietf.org>; Tue, 12 Jan 2010 00:51:32 -0800 (PST)
Received: from esebh105.NOE.Nokia.com (esebh105.ntc.nokia.com [172.21.138.211]) by mgw-mx06.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o0C8pLlm001021; Tue, 12 Jan 2010 10:51:26 +0200
Received: from vaebh102.NOE.Nokia.com ([10.160.244.23]) by esebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 12 Jan 2010 10:51:13 +0200
Received: from smtp.mgd.nokia.com ([65.54.30.7]) by vaebh102.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 12 Jan 2010 10:51:08 +0200
Received: from NOK-EUMSG-01.mgdnok.nokia.com ([65.54.30.86]) by nok-am1mhub-03.mgdnok.nokia.com ([65.54.30.7]) with mapi; Tue, 12 Jan 2010 09:50:58 +0100
From: <Pasi.Eronen@nokia.com>
To: <Bradford.Wetmore@Sun.COM>, <tls@ietf.org>
Date: Tue, 12 Jan 2010 09:50:57 +0100
Thread-Topic: [TLS] Protocol Action: 'Transport Layer Security (TLS) Renegotiation Indication Extension' to Proposed Standard
Thread-Index: AcqTMsAWI3WL/xc6RaOO/3PxXVbNHAAMJvHw
Message-ID: <808FD6E27AD4884E94820BC333B2DB775840F9E75B@NOK-EUMSG-01.mgdnok.nokia.com>
References: <4B4BE4AC.7090702@sun.com>
In-Reply-To: <4B4BE4AC.7090702@sun.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginalArrivalTime: 12 Jan 2010 08:51:08.0487 (UTC) FILETIME=[62127570:01CA9364]
X-Nokia-AV: Clean
Subject: Re: [TLS] Protocol Action: 'Transport Layer Security (TLS) Renegotiation Indication Extension' to Proposed Standard
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 12 Jan 2010 08:51:33 -0000

Brad Wetmore wrote:

> Ignoring any appeals/changes/flaws for a second and considering just
> the best case scenario here...
>=20
> In looking over the RFC-editor's queue, I note we're close to the
> bottom.  The RFC-editor is saying they process things roughly FIFO,
> and I notice many things in the IETF stream standard track are in
> states EDIT/RFC-EDITOR/AUTH48) from Jan/May/Sept/Nov 2009.  Is this
> going to be several more weeks/months before this RFC is finalized,
> or are we getting this expedited?

Most of the old documents in the queue (the oldest is from 2003!) are
not actively being processed by the RFC editor; rather, they're
waiting for something (e.g., some other document to finish, author to
reply to emails, etc.).

But ignoring the possibility of appeals/flaws, the contents are
finalized now, and IANA has already assigned the numbers:

http://www.iana.org/assignments/tls-parameters/
http://www.iana.org/assignments/tls-extensiontype-values/

Best regards,
Pasi

From mrex@sap.com  Tue Jan 12 06:40:13 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D5EAA3A698F for <tls@core3.amsl.com>; Tue, 12 Jan 2010 06:40:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level: 
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 1O8q6GrEGVTf for <tls@core3.amsl.com>; Tue, 12 Jan 2010 06:40:12 -0800 (PST)
Received: from smtpde03.sap-ag.de (smtpde03.sap-ag.de [155.56.68.140]) by core3.amsl.com (Postfix) with ESMTP id 1C5713A6971 for <tls@ietf.org>; Tue, 12 Jan 2010 06:40:11 -0800 (PST)
Received: from mail.sap.corp by smtpde03.sap-ag.de (26) with ESMTP id o0CEe7AJ024406 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Jan 2010 15:40:07 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001121440.o0CEe7k1026688@fs4113.wdf.sap.corp>
To: DPKemp@missi.ncsc.mil (Kemp David P.)
Date: Tue, 12 Jan 2010 15:40:07 +0100 (MET)
In-Reply-To: <200912301753.nBUHrRw2021772@stingray.missi.ncsc.mil> from "Kemp, David P." at Dec 30, 9 12:52:35 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal07
X-SAP: out
Cc: tls@ietf.org
Subject: Re: [TLS] SCSV vs RI when both specified. Was: Updated draft
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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: Tue, 12 Jan 2010 14:40:14 -0000

Kemp, David P. wrote:
> 
> Amazon and Google are free to accept SSLv2 as well as TLSv1.x-unpatched
> (minor MSbit unset) if they perceive the benefit of communicating to be
> greater than the risk of being attacked.   That has no bearing on
> whether the protocol spec for TLSv1.x-patched requires aborting
> connections with bozo endpoints, which of course it should.   Service
> providers/consumers can make their own choice of which protocol versions
> and ciphersuites to accept, with the knowledge that more restrictive
> choices will lock out some endpoints.   It has always been thus.

I don't understand what you mean.

If by "accept TLSv1.x-unpatched" you mean initial handshakes with the
installed base of SSLv3, TLSv1.0, TLSv1.1 or TLSv1.2 without the
renegotiation protection then your assertion is flawed.

There is absolutely _NO_ known security problem and no vulnerability for
a server to accept an initial handshake with the existing SSLv3, TLSv1.0,
TLSv1.1 or TLSv1.2 protocol, even when the ClientHello handshake
message does neither contain SCSV nor an empty extension RI.

The possibility for an "attack" where an old client's renegotiation
handshake is proxied into the initial handshake of a server is of
no concern to the server.  That's purely a client issue and has the
prerequisite that the client completely botches the server authentication
on the initial handshake and is equivalent in effectiveness to XSRF, XSS
and server impersonation -- something that protected TLS renegotiation
can not protect from.


-Martin

From marsh@extendedsubset.com  Tue Jan 12 07:17:37 2010
Return-Path: <marsh@extendedsubset.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 91D543A6910 for <tls@core3.amsl.com>; Tue, 12 Jan 2010 07:17:37 -0800 (PST)
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 ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9+nDkj1vLTpO for <tls@core3.amsl.com>; Tue, 12 Jan 2010 07:17:36 -0800 (PST)
Received: from mho-01-ewr.mailhop.org (mho-01-ewr.mailhop.org [204.13.248.71]) by core3.amsl.com (Postfix) with ESMTP id A4BAF3A6853 for <tls@ietf.org>; Tue, 12 Jan 2010 07:17:36 -0800 (PST)
Received: from xs01.extendedsubset.com ([69.164.193.58]) by mho-01-ewr.mailhop.org with esmtpa (Exim 4.68) (envelope-from <marsh@extendedsubset.com>) id 1NUiUv-000PVW-PZ; Tue, 12 Jan 2010 15:17:33 +0000
Received: from [127.0.0.1] (localhost [127.0.0.1]) by xs01.extendedsubset.com (Postfix) with ESMTP id 5633C6076; Tue, 12 Jan 2010 15:17:31 +0000 (UTC)
X-Mail-Handler: MailHop Outbound by DynDNS
X-Originating-IP: 69.164.193.58
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX19blLw6rwBFbR5MtSqxV6zrxl0QOfsfNaU=
Message-ID: <4B4C928C.5050105@extendedsubset.com>
Date: Tue, 12 Jan 2010 09:17:32 -0600
From: Marsh Ray <marsh@extendedsubset.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: mrex@sap.com
References: <201001121440.o0CEe7k1026688@fs4113.wdf.sap.corp>
In-Reply-To: <201001121440.o0CEe7k1026688@fs4113.wdf.sap.corp>
X-Enigmail-Version: 0.96.0
OpenPGP: id=1E36DBF2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: "Kemp David P." <DPKemp@missi.ncsc.mil>, tls@ietf.org
Subject: Re: [TLS] SCSV vs RI when both specified. Was: Updated draft
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 12 Jan 2010 15:17:37 -0000

Martin Rex wrote:
> 
> There is absolutely _NO_ known security problem and no vulnerability for
> a server to accept an initial handshake with the existing SSLv3, TLSv1.0,
> TLSv1.1 or TLSv1.2 protocol, even when the ClientHello handshake
> message does neither contain SCSV nor an empty extension RI.

Baloney!

> The possibility for an "attack" where an old client's renegotiation
> handshake is proxied into the initial handshake of a server is of
> no concern to the server.

TLS is a network data security protocol. Both parties have an interest
in the security of the connection.

If a client has the attacker's data in his input buffer, then a
legitimate server's handshake provides a certificate which the client
interprets as authenticating the previous data, the attacker has stolen
the servers credentials!

(Interpreting TLS credentials over a connection this way was previously
thought to be a valid and secure thing to do, and is made so by the RI
extension.)

> That's purely a client issue and has the
> prerequisite that the client completely botches the server authentication
> on the initial handshake

TLS specifies no requirement for the client to authenticate the server
on the initial handshake. It is completely within the spec for a client
to negotiate an anon-anon connection which is then upgraded to anon-cert
or cert-cert.

Regardless, this necessary requirement for security (that a client must
fully validate and verify the server's certificate during and not after
every handshake) is non-obvious and basically undocumented for
application developers.

Heck, most of us didn't even know renegotiation existed or that our SSL
stacks would do it automatically. There are surely applications coded by
competent and conscientious developers which do not behave this way only
because no one was aware of the need to do so. And that need only exists
because TLS renegotiation was vulnerable to a MitM attack before this fix!

> and is equivalent in effectiveness to XSRF, XSS
> and server impersonation -- something that protected TLS renegotiation
> can not protect from.

You can't have it both ways. You can't say there's "absolutely _NO_
known security problem" and that "protected TLS renegotiation can not
protect from" it.

But in fact, there is an attack. The good news is that having both
endpoints patched to support RI, or just one endpoint patched and
configured in strict-secure mode, does protect your connection from this
attack.

- Marsh

From mrex@sap.com  Tue Jan 12 07:37:46 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7751C3A6A32 for <tls@core3.amsl.com>; Tue, 12 Jan 2010 07:37:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level: 
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 ZJCylGxrkR0M for <tls@core3.amsl.com>; Tue, 12 Jan 2010 07:37:45 -0800 (PST)
Received: from smtpde03.sap-ag.de (smtpde03.sap-ag.de [155.56.68.140]) by core3.amsl.com (Postfix) with ESMTP id 3A9A73A6810 for <tls@ietf.org>; Tue, 12 Jan 2010 07:37:45 -0800 (PST)
Received: from mail.sap.corp by smtpde03.sap-ag.de (26) with ESMTP id o0CFbdaa022822 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Jan 2010 16:37:39 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001121537.o0CFbc6v000465@fs4113.wdf.sap.corp>
To: marsh@extendedsubset.com (Marsh Ray)
Date: Tue, 12 Jan 2010 16:37:38 +0100 (MET)
In-Reply-To: <4B4C928C.5050105@extendedsubset.com> from "Marsh Ray" at Jan 12, 10 09:17:32 am
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal06
X-SAP: out
Cc: DPKemp@missi.ncsc.mil, tls@ietf.org
Subject: Re: [TLS] SCSV vs RI when both specified. Was: Updated draft
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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: Tue, 12 Jan 2010 15:37:46 -0000

Marsh Ray wrote:
> 
> > That's purely a client issue and has the
> > prerequisite that the client completely botches the server authentication
> > on the initial handshake
> 
> TLS specifies no requirement for the client to authenticate the server
> on the initial handshake. It is completely within the spec for a client
> to negotiate an anon-anon connection which is then upgraded to anon-cert
> or cert-cert.

That is a client-problem and the only means to fix this is to
update the client.  Personally, I consider a client plain stupid to do so.
I consider the server-anonymous ciphersuites much more dangerous
than the EXPORT ciphersuites or even the non-encrypting ciphersuites.

And most of the installed base of clients does not seem to offer
server-anonymous ciphersuites.

Keep in mind that it has been known and documented for several years that
DH_anon ciphersuites on the initial handshakes are susceptible to
man-in-the-middle attacks.

So please stop making such a big fuzz about them.

> 
> Regardless, this necessary requirement for security (that a client must
> fully validate and verify the server's certificate during and not after
> every handshake) is non-obvious and basically undocumented for
> application developers.
> 
> Heck, most of us didn't even know renegotiation existed or that our SSL
> stacks would do it automatically. There are surely applications coded by
> competent and conscientious developers which do not behave this way only
> because no one was aware of the need to do so. And that need only exists
> because TLS renegotiation was vulnerable to a MitM attack before this fix!
> 
> > and is equivalent in effectiveness to XSRF, XSS
> > and server impersonation -- something that protected TLS renegotiation
> > can not protect from.
> 
> You can't have it both ways. You can't say there's "absolutely _NO_
> known security problem" and that "protected TLS renegotiation can not
> protect from" it.

There is _NO_ known security problem in the TLS protocol.
There are only well-known and documented security problems with
the use of DH_anon ciphersuites on the initial TLS handshake.

There may be a number of flawed assumptions out there created
by clients that use the technology in an incorrect fashion.

> 
> But in fact, there is an attack.

There are possibilities to attack clients.  There is no possibility
to attack the TLS protocol.

> The good news is that having both endpoints patched to support RI,
> or just one endpoint patched and configured in strict-secure mode,
> does protect your connection from this attack.

It protects from only one particular incarnation of a number of
same-effect attacks on the same flaw in the clients architecture.


-Martin

From dispensa@phonefactor.com  Tue Jan 12 07:42:38 2010
Return-Path: <dispensa@phonefactor.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D36473A67B7 for <tls@core3.amsl.com>; Tue, 12 Jan 2010 07:42:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.359
X-Spam-Level: 
X-Spam-Status: No, score=-5.359 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, SARE_LWSHORTT=1.24]
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 3RzU1NaYAX+O for <tls@core3.amsl.com>; Tue, 12 Jan 2010 07:42:37 -0800 (PST)
Received: from na3sys009aog102.obsmtp.com (na3sys009aog102.obsmtp.com [74.125.149.69]) by core3.amsl.com (Postfix) with SMTP id EB27F3A680F for <tls@ietf.org>; Tue, 12 Jan 2010 07:42:36 -0800 (PST)
Received: from source ([204.13.120.8]) by na3sys009aob102.postini.com ([74.125.148.12]) with SMTP ID DSNKS0yYatRO2OcdqVpGxeoRP/nLNPm1SEvX@postini.com; Tue, 12 Jan 2010 07:42:35 PST
Received: from sevil-2k3-r2-1.sbs2.local ([10.10.10.91] RDNS failed) by pos-exch1.corp.positivenetworks.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 12 Jan 2010 09:39:48 -0600
References: <201001121440.o0CEe7k1026688@fs4113.wdf.sap.corp> <4B4C928C.5050105@extendedsubset.com>
In-Reply-To: <4B4C928C.5050105@extendedsubset.com>
Mime-Version: 1.0 (Apple Message framework v1076)
Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes
Message-Id: <D0E89820-41D3-4263-9427-0FA0166F8CFC@phonefactor.com>
Content-Transfer-Encoding: 7bit
From: Steve Dispensa <dispensa@phonefactor.com>
Date: Tue, 12 Jan 2010 09:42:31 -0600
To: Marsh Ray <marsh@extendedsubset.com>
X-Mailer: Apple Mail (2.1076)
X-OriginalArrivalTime: 12 Jan 2010 15:39:48.0438 (UTC) FILETIME=[791A0F60:01CA939D]
Cc: "Kemp David P." <DPKemp@missi.ncsc.mil>, tls@ietf.org
Subject: Re: [TLS] SCSV vs RI when both specified. Was: Updated draft
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 12 Jan 2010 15:42:38 -0000

On Jan 12, 2010, at 9:17 AM, Marsh Ray wrote:

> Martin Rex wrote:
>>
>> There is absolutely _NO_ known security problem and no  
>> vulnerability for
>> a server to accept an initial handshake with the existing SSLv3,  
>> TLSv1.0,
>> TLSv1.1 or TLSv1.2 protocol, even when the ClientHello handshake
>> message does neither contain SCSV nor an empty extension RI.
>
> Baloney!
>
>> The possibility for an "attack" where an old client's renegotiation
>> handshake is proxied into the initial handshake of a server is of
>> no concern to the server.
>
> TLS is a network data security protocol. Both parties have an interest
> in the security of the connection.
>
> If a client has the attacker's data in his input buffer, then a
> legitimate server's handshake provides a certificate which the client
> interprets as authenticating the previous data, the attacker has  
> stolen
> the servers credentials!
>

FWIW, I believed as Martin did in the early days while we were trying  
to work out the implications of the attack, but I've come to believe  
that Marsh is right - letting a client get data into his input buffer  
that is subsequently authenticated by a legitimate server is obviously  
a bad thing, and there's enough vagueness in real implementations (and  
complete silence in documentation) that I would be shocked if someone  
weren't vulnerable to this attack.

Now, of course, it's a client attack at that point, not a server  
attack, so one might reasonably wonder whether it's the server's  
responsibility to defend against it. (A patched client that indicates  
support for safe renegotiation to a server that also supports it will  
defeat this attack, without the server doing anything special.)

Still, I think you can make an argument about total Internet security  
that says that servers shouldn't negotiate with unpatched clients.  
That obviously involves a giant trade-off in the short term, but don't  
be caught thinking that there is no security impact to agreeing to  
negotiate (as opposed to re-negotiate) with an unpatched client.

  -Steve


From DPKemp@missi.ncsc.mil  Tue Jan 12 07:43:37 2010
Return-Path: <DPKemp@missi.ncsc.mil>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9A6D53A6A0D for <tls@core3.amsl.com>; Tue, 12 Jan 2010 07:43:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 XSGEbMld-D+S for <tls@core3.amsl.com>; Tue, 12 Jan 2010 07:43:36 -0800 (PST)
Received: from stingray.missi.ncsc.mil (stingray.missi.ncsc.mil [144.51.50.20]) by core3.amsl.com (Postfix) with ESMTP id 8D5323A67D6 for <tls@ietf.org>; Tue, 12 Jan 2010 07:43:36 -0800 (PST)
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Tue, 12 Jan 2010 10:43:33 -0500
Message-ID: <201001121543.o0CFhYuI011143@stingray.missi.ncsc.mil>
In-Reply-To: <201001121440.o0CEe7k1026688@fs4113.wdf.sap.corp>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] SCSV vs RI when both specified. Was: Updated draft
Thread-Index: AcqTlUE7l7NkR4APTM+Z+mGuQ8t4MQAAF6wA
References: <200912301753.nBUHrRw2021772@stingray.missi.ncsc.mil> from "Kemp, David P." at Dec 30, 9 12:52:35 pm <201001121440.o0CEe7k1026688@fs4113.wdf.sap.corp>
From: "Kemp, David P." <DPKemp@missi.ncsc.mil>
To: <tls@ietf.org>
X-OriginalArrivalTime: 12 Jan 2010 15:44:05.0171 (UTC) FILETIME=[12206830:01CA939E]
Subject: Re: [TLS] SCSV vs RI when both specified. Was: Updated draft
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 12 Jan 2010 15:43:37 -0000

Perhaps I misunderstand the issue, but if there is absolutely no
known security problem in the absence of C->S signaling (ClientHello
contains neither SCSV nor empty RI), then it would seem that
C->S signaling is superfluous and should have been omitted from
the renego spec.  I inferred from its existence that it served
some useful purpose.

If a renegotiation attack exists (which I also infer from the
urgent discussions over the past several months), then either
a client or a server may wish to guarantee that it is not
subject to that attack.

The only way to provide that guarantee is for the new protocol
spec to require that both client and server support the new
protocol or abort the connection.  If the attack could be
prevented by modifying only clients, then the spec would not
have required modifications to the installed base of servers,
and vice versa.

That is not a policy decision embedded in protocol, it is a
truth in advertising requirement.  If a client's or server's
policy is that communication is more important than resistance
to renegotiation attack, than that policy is expressed by accepting
connections using the SSLv3, TLSv1.0, TLSv1.1, and TLSv1.2
protocols.

Dave



-----Original Message-----
From: Martin Rex [mailto:mrex@sap.com]=20
Sent: Tuesday, January 12, 2010 9:40 AM
To: Kemp, David P.
Cc: tls@ietf.org
Subject: Re: [TLS] SCSV vs RI when both specified. Was: Updated draft

Kemp, David P. wrote:
>=20
> Amazon and Google are free to accept SSLv2 as well as
TLSv1.x-unpatched
> (minor MSbit unset) if they perceive the benefit of communicating to
be
> greater than the risk of being attacked.   That has no bearing on
> whether the protocol spec for TLSv1.x-patched requires aborting
> connections with bozo endpoints, which of course it should.   Service
> providers/consumers can make their own choice of which protocol
versions
> and ciphersuites to accept, with the knowledge that more restrictive
> choices will lock out some endpoints.   It has always been thus.

I don't understand what you mean.

If by "accept TLSv1.x-unpatched" you mean initial handshakes with the
installed base of SSLv3, TLSv1.0, TLSv1.1 or TLSv1.2 without the
renegotiation protection then your assertion is flawed.

There is absolutely _NO_ known security problem and no vulnerability for
a server to accept an initial handshake with the existing SSLv3,
TLSv1.0,
TLSv1.1 or TLSv1.2 protocol, even when the ClientHello handshake
message does neither contain SCSV nor an empty extension RI.

The possibility for an "attack" where an old client's renegotiation
handshake is proxied into the initial handshake of a server is of
no concern to the server.  That's purely a client issue and has the
prerequisite that the client completely botches the server
authentication
on the initial handshake and is equivalent in effectiveness to XSRF, XSS
and server impersonation -- something that protected TLS renegotiation
can not protect from.


-Martin

From marsh@extendedsubset.com  Tue Jan 12 08:31:25 2010
Return-Path: <marsh@extendedsubset.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 00F663A6804 for <tls@core3.amsl.com>; Tue, 12 Jan 2010 08:31:25 -0800 (PST)
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=[AWL=0.000,  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 jf0vWi42A+Zd for <tls@core3.amsl.com>; Tue, 12 Jan 2010 08:31:24 -0800 (PST)
Received: from mho-01-ewr.mailhop.org (mho-01-ewr.mailhop.org [204.13.248.71]) by core3.amsl.com (Postfix) with ESMTP id DBDE928C0F2 for <tls@ietf.org>; Tue, 12 Jan 2010 08:31:23 -0800 (PST)
Received: from xs01.extendedsubset.com ([69.164.193.58]) by mho-01-ewr.mailhop.org with esmtpa (Exim 4.68) (envelope-from <marsh@extendedsubset.com>) id 1NUjeK-0009Je-RF; Tue, 12 Jan 2010 16:31:20 +0000
Received: from [127.0.0.1] (localhost [127.0.0.1]) by xs01.extendedsubset.com (Postfix) with ESMTP id 593EB6076; Tue, 12 Jan 2010 16:31:18 +0000 (UTC)
X-Mail-Handler: MailHop Outbound by DynDNS
X-Originating-IP: 69.164.193.58
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1/G5Bz+1F/+6QyU0DQRtMrR2706XpcPxj4=
Message-ID: <4B4CA3D7.1020002@extendedsubset.com>
Date: Tue, 12 Jan 2010 10:31:19 -0600
From: Marsh Ray <marsh@extendedsubset.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Steve Dispensa <dispensa@phonefactor.com>
References: <201001121440.o0CEe7k1026688@fs4113.wdf.sap.corp> <4B4C928C.5050105@extendedsubset.com> <D0E89820-41D3-4263-9427-0FA0166F8CFC@phonefactor.com>
In-Reply-To: <D0E89820-41D3-4263-9427-0FA0166F8CFC@phonefactor.com>
X-Enigmail-Version: 0.96.0
OpenPGP: id=1E36DBF2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: "Kemp David P." <DPKemp@missi.ncsc.mil>, tls@ietf.org
Subject: Re: [TLS] SCSV vs RI when both specified. Was: Updated draft
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 12 Jan 2010 16:31:25 -0000

Steve Dispensa wrote:
> 
> Now, of course, it's a client attack at that point, not a server attack,
> so one might reasonably wonder whether it's the server's responsibility
> to defend against it.

If it were a buffer overflow in the client or server code, then it would
be a client- or server-specific attack.

In this case, it's doable with ordinary valid protocol structures and at
least one case doesn't depend on the particulars of the implementation
of either side. To me, that makes it a protocol attack.

Turn it around: Consider the demonstrated attack where MitM renegotiated
with the Twitter server and caused the user of the client to publicly
tweet his own password. Just because it was the server which saw the
renegotiation does that make it only the concern of the server? A year
from now, will you be willing to conduct your online banking with an
unpatched server on the logic that it's "not my responsibility"?

Again, TLS is a general-purpose network data security protocol that's
supposed to offer some basic guarantees. Any break in those guarantees
is a break in the protocol. Whether or not the loss of any specific
guarantee represents a significant problem for a specific party using
some specific application layer protocol is irrelevent to the security
analysis of TLS.

- Marsh

From mrex@sap.com  Tue Jan 12 08:40:44 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8D2F23A6A3F for <tls@core3.amsl.com>; Tue, 12 Jan 2010 08:40:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.949
X-Spam-Level: 
X-Spam-Status: No, score=-9.949 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, HELO_EQ_DE=0.35, J_CHICKENPOX_33=0.6, RCVD_IN_DNSWL_HI=-8]
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 o7WCSS7xu9C7 for <tls@core3.amsl.com>; Tue, 12 Jan 2010 08:40:43 -0800 (PST)
Received: from smtpde03.sap-ag.de (smtpde03.sap-ag.de [155.56.68.140]) by core3.amsl.com (Postfix) with ESMTP id 740C93A6A4F for <tls@ietf.org>; Tue, 12 Jan 2010 08:40:43 -0800 (PST)
Received: from mail.sap.corp by smtpde03.sap-ag.de (26) with ESMTP id o0CGediA025332 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Jan 2010 17:40:39 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001121640.o0CGedKe007515@fs4113.wdf.sap.corp>
To: DPKemp@missi.ncsc.mil (Kemp David P.)
Date: Tue, 12 Jan 2010 17:40:39 +0100 (MET)
In-Reply-To: <201001121543.o0CFhYuI011143@stingray.missi.ncsc.mil> from "Kemp, David P." at Jan 12, 10 10:43:33 am
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal06
X-SAP: out
Cc: tls@ietf.org
Subject: Re: [TLS] SCSV vs RI when both specified. Was: Updated draft
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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: Tue, 12 Jan 2010 16:40:44 -0000

Kemp, David P. wrote:
> 
> Perhaps I misunderstand the issue, but if there is absolutely no
> known security problem in the absence of C->S signaling (ClientHello
> contains neither SCSV nor empty RI), then it would seem that
> C->S signaling is superfluous and should have been omitted from
> the renego spec.  I inferred from its existence that it served
> some useful purpose.

We need the C->S signaling in order to allow the S->C signaling,
because the originial SSL&TLS protocols do not provide sufficient
slack for S->C signaling without prior C->S signaling.

Technically a S->C signaling for the initial handshake would be
sufficient to prevent an updated client from having a client
perform an old renegotiation with an updated server.  Doing
it both ways makes it more robust, and provides additional
room for policy decisions.


> 
> That is not a policy decision embedded in protocol, it is a
> truth in advertising requirement.  If a client's or server's
> policy is that communication is more important than resistance
> to renegotiation attack, than that policy is expressed by accepting
> connections using the SSLv3, TLSv1.0, TLSv1.1, and TLSv1.2
> protocols.

A TLS client or TLS server that does _not_ interoperate with an old
TLS implementation on the initial handshake is simply not compliant
to whatever protocol (SSLv3, TLSv1.0, TLSv1.1 or TLSv1.2) is
negotiated.

The new specification about (secure) TLS renegotiation _only_
deprecates an optional feature of the existing protocol and
adds a new optional feature for them.  This spec does _NOT_
change the core protocol.  Otherwise it would not be an
update, but a new protocol.


-Martin

From mrex@sap.com  Tue Jan 12 08:52:53 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9201F28C0E1 for <tls@core3.amsl.com>; Tue, 12 Jan 2010 08:52:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.189
X-Spam-Level: 
X-Spam-Status: No, score=-10.189 tagged_above=-999 required=5 tests=[AWL=0.060, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 ljGu3Ji6cu4z for <tls@core3.amsl.com>; Tue, 12 Jan 2010 08:52:52 -0800 (PST)
Received: from smtpde03.sap-ag.de (smtpde03.sap-ag.de [155.56.68.140]) by core3.amsl.com (Postfix) with ESMTP id 65F9E3A6A50 for <tls@ietf.org>; Tue, 12 Jan 2010 08:52:52 -0800 (PST)
Received: from mail.sap.corp by smtpde03.sap-ag.de (26) with ESMTP id o0CGqlNN013643 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Jan 2010 17:52:47 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001121652.o0CGqj3v008312@fs4113.wdf.sap.corp>
To: marsh@extendedsubset.com (Marsh Ray)
Date: Tue, 12 Jan 2010 17:52:45 +0100 (MET)
In-Reply-To: <4B4CA3D7.1020002@extendedsubset.com> from "Marsh Ray" at Jan 12, 10 10:31:19 am
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal08
X-SAP: out
Cc: DPKemp@missi.ncsc.mil, tls@ietf.org
Subject: Re: [TLS] SCSV vs RI when both specified. Was: Updated draft
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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: Tue, 12 Jan 2010 16:52:53 -0000

Marsh Ray wrote:
> 
> Steve Dispensa wrote:
> > 
> > Now, of course, it's a client attack at that point, not a server attack,
> > so one might reasonably wonder whether it's the server's responsibility
> > to defend against it.
> 
> If it were a buffer overflow in the client or server code, then it would
> be a client- or server-specific attack.
> 
> In this case, it's doable with ordinary valid protocol structures and at
> least one case doesn't depend on the particulars of the implementation
> of either side. To me, that makes it a protocol attack.
> 
> Turn it around: Consider the demonstrated attack where MitM renegotiated
> with the Twitter server and caused the user of the client to publicly
> tweet his own password. Just because it was the server which saw the
> renegotiation does that make it only the concern of the server? A year
> from now, will you be willing to conduct your online banking with an
> unpatched server on the logic that it's "not my responsibility"?
> 
> Again, TLS is a general-purpose network data security protocol that's
> supposed to offer some basic guarantees. Any break in those guarantees
> is a break in the protocol. Whether or not the loss of any specific
> guarantee represents a significant problem for a specific party using
> some specific application layer protocol is irrelevent to the security
> analysis of TLS.

Your "conceived" attack has the prerequsite of the client completely
botching the server authentication.

The DH_anon ciphersuites have been known and documented to be
susceptible to man-in-the-middle attacks for several years.
This much more a defect in the design of the DH_anon ciphersuites, not
of the TLS protocol itself.  This flaw of those ciphersuites seems
to have been so non-interesting, that no-one has tried to do anything
about it.

Btw. the TLS secure renegotiation spec does _not_ affect the
susceptibility of the DH_anon ciphersuite to man-in-the-middle
attacks in any way.

Which particular (broken) clients do you have in mind that
you think need to be educated with a complete ban on interoperability?

If you want to make your servers "anal" about clients that allow
DH_anon ciphersuites, you could alternatively make your server
detect such clients and either show them special greeting pages
when they connect or abort/fail the handshake for _those_ only
(this is going to be a much smaller group).  Of the hundreds of
millions clients out there that are currently unpatched, only a
small fraction is "defective" in that it implements or
offers DH_anon ciphersuites.  


-Martin

From SRS0=ep7a=I5=acm.org=bmoeller@srs.kundenserver.de  Tue Jan 12 08:55:56 2010
Return-Path: <SRS0=ep7a=I5=acm.org=bmoeller@srs.kundenserver.de>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id F1F2428C0FB for <tls@core3.amsl.com>; Tue, 12 Jan 2010 08:55:55 -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 Yokjha95mzHR for <tls@core3.amsl.com>; Tue, 12 Jan 2010 08:55:55 -0800 (PST)
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by core3.amsl.com (Postfix) with ESMTP id E3BE23A6A20 for <tls@ietf.org>; Tue, 12 Jan 2010 08:55:54 -0800 (PST)
Received: from dhcp-172-28-208-33.zrh.corp.google.com ([74.125.57.33]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0MOmRO-1NYcBM0skQ-0063DN; Tue, 12 Jan 2010 17:55:43 +0100
From: Bodo Moeller <bmoeller@acm.org>
To: Marsh Ray <marsh@extendedsubset.com>
In-Reply-To: <4B18096E.20805@extendedsubset.com>
References: <C2329F9D-F5EF-4E8B-9EE8-ED246D7B7287@manger.com.au> <BF782069-544A-4842-B8C8-A9472C9794BB@acm.org> <4B17C2F9.9010802@extendedsubset.com> <A1ECF717-4E06-4654-8B1D-7FDE6C5A2F24@acm.org> <4B18096E.20805@extendedsubset.com>
Message-Id: <CB10A859-5E2B-4B78-ABFB-1E045A6EFAFF@acm.org>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Date: Tue, 12 Jan 2010 17:55:41 +0100
X-Mailer: Apple Mail (2.936)
X-Provags-ID: V01U2FsdGVkX19GZKqm7D2ejABKZcXZckbzCT7GUMlsUPecU75 VnJd4RMiGjF3ry++T27wokNN5lA0PyaUOR0nq+BRhzepQhpeP8 z+C8yXLKM4uWmNJwWFaRQ==
Cc: Nelson B Bolyard <nelson@bolyard.me>, "tls@ietf.org Working Group" <tls@ietf.org>, James Manger <james@manger.com.au>
Subject: Re: [TLS] matching identity, by default
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 12 Jan 2010 17:05:19 -0000

On Dec 3, 2009, at 7:54 PM, Marsh Ray wrote:
> Bodo Moeller wrote:
>> On Dec 3, 2009, at 2:54 PM, Marsh Ray wrote:
>>> Bodo Moeller wrote:
>>
>>>> TLS has never meant to allow a new
>>>> client or server application entity to enter the conversation  
>>>> when a
>>>> renegotiation handshake takes place

>>> I disagree. The person(s) who added renegotiation clearly wanted to
>>> enable multiple "application entities" to run on the same port 443.

> [...]
> It certainly sounds to me like the spec intended to allow anything  
> that
> was valid in an initial negotiation to be valid in a renegotiation.

[...]
>>> These may be communicated over the same pool of active socket
>>> connections, as Nelson Bolyard of NSS (hier of the Netscape legacy
>>> implementation, twice removed) has described.

I think the disagreement here was more about how to *describe* what's  
happening in cases like these, not so much about their actual nature:

> "It is also possible that, in response to a client hello request, the
> client will send a client hello bearing a session ID that is not empty
> and is NOT the session ID of the session presently in use on that
> connection.  This can happen when the client has multiple connections
> going in parallel between the same client identity session cache and  
> the
> same remote server."
>
> Now I don't perfectly understand how Mozilla handles its "client
> identity session cache" (I suspect no one does), but it sounds  
> plausible
> to me that renegotiation with resumption could, in theory, switch
> between differing client certs over the same connection.

Yes -- and this is still the same client application ("client  
application entity"), even if it's using multiple different  
certificates.

Just for the record, I want to confirm that the Security  
Considerations language we now have in draft-ietf-tls-renegotiation-03  
resolves my concerns.

Bodo


From marsh@extendedsubset.com  Tue Jan 12 09:22:11 2010
Return-Path: <marsh@extendedsubset.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D80DA3A6A75 for <tls@core3.amsl.com>; Tue, 12 Jan 2010 09:22:11 -0800 (PST)
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 ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VEjO53HZRfGY for <tls@core3.amsl.com>; Tue, 12 Jan 2010 09:22:11 -0800 (PST)
Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) by core3.amsl.com (Postfix) with ESMTP id 1614C3A67AA for <tls@ietf.org>; Tue, 12 Jan 2010 09:22:11 -0800 (PST)
Received: from xs01.extendedsubset.com ([69.164.193.58]) by mho-02-ewr.mailhop.org with esmtpa (Exim 4.68) (envelope-from <marsh@extendedsubset.com>) id 1NUkRU-0002OO-2L; Tue, 12 Jan 2010 17:22:08 +0000
Received: from [127.0.0.1] (localhost [127.0.0.1]) by xs01.extendedsubset.com (Postfix) with ESMTP id 101DF6076; Tue, 12 Jan 2010 17:22:06 +0000 (UTC)
X-Mail-Handler: MailHop Outbound by DynDNS
X-Originating-IP: 69.164.193.58
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX18ARlV+L8oNFisAQpX1bsQtIpez2cXsjEM=
Message-ID: <4B4CAFBE.2030909@extendedsubset.com>
Date: Tue, 12 Jan 2010 11:22:06 -0600
From: Marsh Ray <marsh@extendedsubset.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: mrex@sap.com
References: <201001121640.o0CGedKe007515@fs4113.wdf.sap.corp>
In-Reply-To: <201001121640.o0CGedKe007515@fs4113.wdf.sap.corp>
X-Enigmail-Version: 0.96.0
OpenPGP: id=1E36DBF2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: "Kemp David P." <DPKemp@missi.ncsc.mil>, tls@ietf.org
Subject: Re: [TLS] SCSV vs RI when both specified. Was: Updated draft
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 12 Jan 2010 17:22:12 -0000

Martin Rex wrote:
> 
> A TLS client or TLS server that does _not_ interoperate with an old
> TLS implementation on the initial handshake is simply not compliant
> to whatever protocol (SSLv3, TLSv1.0, TLSv1.1 or TLSv1.2) is
> negotiated.

I can write an HTTPS server that refuses to talk to clients which do not
send the SNI extension. I can write a client that refuses to talk to a
server that doesn't supply some obscure field in the server cert. Don't
say it's "simply not compliant" to refuse to talk to somebody you decide
not to trust.

> The new specification about (secure) TLS renegotiation _only_
> deprecates an optional feature of the existing protocol and
> adds a new optional feature for them.

That's news to me.

> This spec does _NOT_
> change the core protocol.  Otherwise it would not be an
> update, but a new protocol.

Here's the part about "Updates:". Those look like "core protocol" RFC
numbers to me, but I suppose it's academic.

> Network Working Group                                        E. Rescorla
> Internet-Draft                                                RTFM, Inc.
> Updates:  RFCs 5246, 4366, 4347,                                  M. Ray
> 4346, 2246 (if approved)                                     S. Dispensa
> Intended status:  Standards Track                            PhoneFactor
> Expires:  July 8, 2010                                          N. Oskov
>                                                                Microsoft
>                                                             Jan 04, 2010

Maybe in theory, this is an optional extension, don't implement it if
you don't want it. But you'll probably have to explain to your customers
why you won't fix something their vulnerability scanners are complaining
about.

- Marsh

From marsh@extendedsubset.com  Tue Jan 12 09:44:23 2010
Return-Path: <marsh@extendedsubset.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E8BC13A6A7D for <tls@core3.amsl.com>; Tue, 12 Jan 2010 09:44:23 -0800 (PST)
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=[AWL=0.000,  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 AM4PKhzi-IWF for <tls@core3.amsl.com>; Tue, 12 Jan 2010 09:44:22 -0800 (PST)
Received: from mho-01-ewr.mailhop.org (mho-01-ewr.mailhop.org [204.13.248.71]) by core3.amsl.com (Postfix) with ESMTP id D42FE3A6821 for <tls@ietf.org>; Tue, 12 Jan 2010 09:44:19 -0800 (PST)
Received: from xs01.extendedsubset.com ([69.164.193.58]) by mho-01-ewr.mailhop.org with esmtpa (Exim 4.68) (envelope-from <marsh@extendedsubset.com>) id 1NUkmu-000GMj-T7; Tue, 12 Jan 2010 17:44:17 +0000
Received: from [127.0.0.1] (localhost [127.0.0.1]) by xs01.extendedsubset.com (Postfix) with ESMTP id B10AB6076; Tue, 12 Jan 2010 17:44:14 +0000 (UTC)
X-Mail-Handler: MailHop Outbound by DynDNS
X-Originating-IP: 69.164.193.58
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1/OcvYEMiiJLmYTozMO49421ZkSjTXQrBY=
Message-ID: <4B4CB4F0.7080007@extendedsubset.com>
Date: Tue, 12 Jan 2010 11:44:16 -0600
From: Marsh Ray <marsh@extendedsubset.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: mrex@sap.com
References: <201001121652.o0CGqj3v008312@fs4113.wdf.sap.corp>
In-Reply-To: <201001121652.o0CGqj3v008312@fs4113.wdf.sap.corp>
X-Enigmail-Version: 0.96.0
OpenPGP: id=1E36DBF2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: DPKemp@missi.ncsc.mil, tls@ietf.org
Subject: Re: [TLS] SCSV vs RI when both specified. Was: Updated draft
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 12 Jan 2010 17:44:24 -0000

Martin Rex wrote:
> 
> The DH_anon ciphersuites have been known and documented to be 
> susceptible to man-in-the-middle attacks for several years. This much
>  more a defect in the design of the DH_anon ciphersuites, not of the 
> TLS protocol itself.  This flaw of those ciphersuites seems to have 
> been so non-interesting, that no-one has tried to do anything about 
> it.

It's a fundamental property of anon-anon connections, not any "defect in
the design of DH".

> Btw. the TLS secure renegotiation spec does _not_ affect the 
> susceptibility of the DH_anon ciphersuite to man-in-the-middle 
> attacks in any way.

Not true.

The RI fix allows you to negotiate an anonymous connection then
renegotiate it to provide certificate authentication which retroactively
covers data exchanged over the previous session.

This is how HTTPS client certificates work, but you know that already.

> Which particular (broken) clients do you have in mind that you think 
> need to be educated with a complete ban on interoperability?

Probably anything implemented with Perl:

http://search.cpan.org/dist/Net_SSLeay.pm/SSLeay.pm
> At this moment the implementation of verify_callback is crippeled in 
> the sense that at any given time there can be only one call back 
> which is shared by all SSL contexts, sessions and connections...
> ...
> KNOWN BUGS AND CAVEATS
> 
> Callback set using SSL_set_verify() does not appear to work. This may
> well be eay problem (e.g. see ssl/ssl_lib.c line 1029). Try using
> SSL_CTX_set_verify() instead and do not be surprised if even this
> stops working in future versions.
> 
> Callback and certificate verification stuff is generally too little
> tested.

Except perhaps things using a higher-level
Net::HTTP("https://dns.name/")-type API.

Take a look at the client example code:
http://search.cpan.org/dist/Net_SSLeay.pm/SSLeay.pm#EXAMPLES
I would say it's vulnerable to this except that it doesn't bother to
check the name on the cert at all. :-)

Show me one tutorial on the web of "Here's how to use this SSL/TLS
library safely" which provides example code that does this correctly. It
may exist, but I haven't found it yet. The fact that I haven't found it
suggests strongly to me that there are plenty of vulnerable client apps
out there.

- Marsh

From mrex@sap.com  Tue Jan 12 10:16:02 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 92F163A67FD for <tls@core3.amsl.com>; Tue, 12 Jan 2010 10:16:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.199
X-Spam-Level: 
X-Spam-Status: No, score=-10.199 tagged_above=-999 required=5 tests=[AWL=0.050, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 RxtgG-09+Obo for <tls@core3.amsl.com>; Tue, 12 Jan 2010 10:16:01 -0800 (PST)
Received: from smtpde01.sap-ag.de (smtpde01.sap-ag.de [155.56.68.171]) by core3.amsl.com (Postfix) with ESMTP id 285E43A6808 for <tls@ietf.org>; Tue, 12 Jan 2010 10:16:00 -0800 (PST)
Received: from mail.sap.corp by smtpde01.sap-ag.de (26) with ESMTP id o0CIFsJO024982 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Jan 2010 19:15:55 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001121815.o0CIFr0s013587@fs4113.wdf.sap.corp>
To: marsh@extendedsubset.com (Marsh Ray)
Date: Tue, 12 Jan 2010 19:15:53 +0100 (MET)
In-Reply-To: <4B4CB4F0.7080007@extendedsubset.com> from "Marsh Ray" at Jan 12, 10 11:44:16 am
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal08
X-SAP: out
Cc: DPKemp@missi.ncsc.mil, tls@ietf.org
Subject: Re: [TLS] SCSV vs RI when both specified. Was: Updated draft
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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: Tue, 12 Jan 2010 18:16:02 -0000

Marsh Ray wrote:
> 
> Martin Rex wrote:
> > 
> > The DH_anon ciphersuites have been known and documented to be 
> > susceptible to man-in-the-middle attacks for several years. This much
> >  more a defect in the design of the DH_anon ciphersuites, not of the 
> > TLS protocol itself.  This flaw of those ciphersuites seems to have 
> > been so non-interesting, that no-one has tried to do anything about 
> > it.
> 
> It's a fundamental property of anon-anon connections, not any "defect in
> the design of DH".

It's a defect in the design of the DH_anon ciphersuites which lead
to the deprecation of these ciphersuites in rfc-5246 (TLSv1.2)--
and if you check, these ciphersuites are quite difficult to find
(being enabled by default) in most of the installed base of
SSLv3, TLSv1.0 and TLSv1.1 as well:

rfc-5246, Appendix A.5 (mid of page 76):

   The following cipher suites are used for completely anonymous
   Diffie-Hellman communications in which neither party is
   authenticated.  Note that this mode is vulnerable to man-in-the-
   middle attacks.  Using this mode therefore is of limited use: These
   cipher suites MUST NOT be used by TLS 1.2 implementations unless the
   application layer has specifically requested to allow anonymous key
   exchange.  (Anonymous key exchange may sometimes be acceptable, for
   example, to support opportunistic encryption when no set-up for
   authentication is in place, or when TLS is used as part of more
   complex security protocols that have other means to ensure
   authentication.)


> 
> > Which particular (broken) clients do you have in mind that you think 
> > need to be educated with a complete ban on interoperability?
> 
> Probably anything implemented with Perl:

While you started off with clients using DH_anon plus renegotiation,
you are now quoting clients that completely botch server authentication.


> 
> http://search.cpan.org/dist/Net_SSLeay.pm/SSLeay.pm
> > At this moment the implementation of verify_callback is crippeled in 
> > the sense that at any given time there can be only one call back 
> > which is shared by all SSL contexts, sessions and connections...
> > ...
> > KNOWN BUGS AND CAVEATS
> > 
> > Callback set using SSL_set_verify() does not appear to work. This may
> > well be eay problem (e.g. see ssl/ssl_lib.c line 1029). Try using
> > SSL_CTX_set_verify() instead and do not be surprised if even this
> > stops working in future versions.
> > 
> > Callback and certificate verification stuff is generally too little
> > tested.
> 
> Except perhaps things using a higher-level
> Net::HTTP("https://dns.name/")-type API.
> 
> Take a look at the client example code:
> http://search.cpan.org/dist/Net_SSLeay.pm/SSLeay.pm#EXAMPLES
> I would say it's vulnerable to this except that it doesn't bother to
> check the name on the cert at all. :-)
> 
> Show me one tutorial on the web of "Here's how to use this SSL/TLS
> library safely" which provides example code that does this correctly. It
> may exist, but I haven't found it yet. The fact that I haven't found it
> suggests strongly to me that there are plenty of vulnerable client apps
> out there.

What you quote is SSL clients that effectively do not perform
server endpoint identification at all, not even the weak endpoint
identification suggested by rfc-2818 (HTTP over TLS).

To such clients, an MitM attacker can always perform a complete
server impersonation, and secure TLS renegotiation is not going
to affect that at all.  Unless the core TLS protocol offers
some kind of channel bindings (which the current spec doesn't),
there is no need to splice TLS sessions.  A simple traditional MitM 
is perfectly sufficient to attack all scenarios that do not use
SSL client certs (which is the vast majority), but either
basic authentication, form-based authentication, cookie-based
authentication or "negotiate" authentication (NTLM or Kerberos tokens).


Please do _not_ mislead others about what secure TLS renegotiation
addresses and fixes, and what it leaves untouched and in whatever
miserable situation that it has always been.

-Martin


From DPKemp@missi.ncsc.mil  Tue Jan 12 10:23:40 2010
Return-Path: <DPKemp@missi.ncsc.mil>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 27B603A6911 for <tls@core3.amsl.com>; Tue, 12 Jan 2010 10:23:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 dWOYT3Oy71a5 for <tls@core3.amsl.com>; Tue, 12 Jan 2010 10:23:39 -0800 (PST)
Received: from stingray.missi.ncsc.mil (stingray.missi.ncsc.mil [144.51.50.20]) by core3.amsl.com (Postfix) with ESMTP id 0858D3A6A6F for <tls@ietf.org>; Tue, 12 Jan 2010 10:23:38 -0800 (PST)
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Tue, 12 Jan 2010 13:23:35 -0500
Message-ID: <201001121823.o0CINZp3023343@stingray.missi.ncsc.mil>
In-Reply-To: <201001121640.o0CGedKe007515@fs4113.wdf.sap.corp>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] SCSV vs RI when both specified. Was: Updated draft
Thread-Index: AcqTph0cnZpZp6m2R1mOmqS0HxWd7gAAJYUQ
References: <201001121543.o0CFhYuI011143@stingray.missi.ncsc.mil> from "Kemp, David P." at Jan 12, 10 10:43:33 am <201001121640.o0CGedKe007515@fs4113.wdf.sap.corp>
From: "Kemp, David P." <DPKemp@missi.ncsc.mil>
To: <tls@ietf.org>
X-OriginalArrivalTime: 12 Jan 2010 18:24:07.0078 (UTC) FILETIME=[6D4F2460:01CA93B4]
Subject: Re: [TLS] SCSV vs RI when both specified. Was: Updated draft
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 12 Jan 2010 18:23:40 -0000

That is simply a terminology issue.  Whether you call TLSv1.1 (without
renegotiation protection) and TLSv1.1p (with protection) different
protocols or the same protocol with different features, the point
is that the UI must have a separate checkbox for the version/feature.
The fact that there will be a new RFC and that it assigns a new minor
version number influenced my terminology, but it is fine to regard
the "p" as a feature instead.

If only "p" versions are checked or if the "p" feature is checked
(depending on which way the UI is designed), then an RFC-WXYZ-compliant
endpoint MUST either abort any connection with partners that do
not support protection or it MUST disable its own support for
renegotiation.

This is no different than ciphersuites - if your policy is to
require AES encryption, then you would demand that the partner
also support AES or you would refuse to connect.  If your policy is
that single DES is good enough, then you will check both the DES
and AES boxes and communication with DES-only installed-base
partners is possible.

Dave

(To head off other red herrings, the UI checkbox is just
an example - obviously policy may be expressed using header files,
config files, registry settings, or otherwise.)



-----Original Message-----
From: Martin Rex [mailto:mrex@sap.com]=20

>=20
> That is not a policy decision embedded in protocol, it is a
> truth in advertising requirement.  If a client's or server's
> policy is that communication is more important than resistance
> to renegotiation attack, than that policy is expressed by accepting
> connections using the SSLv3, TLSv1.0, TLSv1.1, and TLSv1.2
> protocols.

A TLS client or TLS server that does _not_ interoperate with an old
TLS implementation on the initial handshake is simply not compliant
to whatever protocol (SSLv3, TLSv1.0, TLSv1.1 or TLSv1.2) is
negotiated.

The new specification about (secure) TLS renegotiation _only_
deprecates an optional feature of the existing protocol and
adds a new optional feature for them.  This spec does _NOT_
change the core protocol.  Otherwise it would not be an
update, but a new protocol.


-Martin

From marsh@extendedsubset.com  Tue Jan 12 10:55:42 2010
Return-Path: <marsh@extendedsubset.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id ED33A3A68B5 for <tls@core3.amsl.com>; Tue, 12 Jan 2010 10:55:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.299
X-Spam-Level: 
X-Spam-Status: No, score=-2.299 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, J_CHICKENPOX_101=0.6]
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 imCVw9wm9sNr for <tls@core3.amsl.com>; Tue, 12 Jan 2010 10:55:41 -0800 (PST)
Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) by core3.amsl.com (Postfix) with ESMTP id 9A7823A6ABF for <tls@ietf.org>; Tue, 12 Jan 2010 10:55:41 -0800 (PST)
Received: from xs01.extendedsubset.com ([69.164.193.58]) by mho-02-ewr.mailhop.org with esmtpa (Exim 4.68) (envelope-from <marsh@extendedsubset.com>) id 1NUltx-000291-1I; Tue, 12 Jan 2010 18:55:38 +0000
Received: from [127.0.0.1] (localhost [127.0.0.1]) by xs01.extendedsubset.com (Postfix) with ESMTP id 87D866076; Tue, 12 Jan 2010 18:55:35 +0000 (UTC)
X-Mail-Handler: MailHop Outbound by DynDNS
X-Originating-IP: 69.164.193.58
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX18wzz24pJYLQoGmavX1Z+MCEMrWN43dFFE=
Message-ID: <4B4CC5A8.5070508@extendedsubset.com>
Date: Tue, 12 Jan 2010 12:55:36 -0600
From: Marsh Ray <marsh@extendedsubset.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: mrex@sap.com, "tls >> \"tls@ietf.org\"" <tls@ietf.org>
References: <201001121815.o0CIFr0s013587@fs4113.wdf.sap.corp>
In-Reply-To: <201001121815.o0CIFr0s013587@fs4113.wdf.sap.corp>
X-Enigmail-Version: 0.96.0
OpenPGP: id=1E36DBF2
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Subject: Re: [TLS] SCSV vs RI when both specified. Was: Updated draft
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 12 Jan 2010 18:55:43 -0000

Martin Rex wrote:
> Marsh Ray wrote:
>> Martin Rex wrote:
>>> The DH_anon ciphersuites have been known and documented to be=20
>>> susceptible to man-in-the-middle attacks for several years. This
>>> much more a defect in the design of the DH_anon ciphersuites, not
>>> of the TLS protocol itself.  This flaw of those ciphersuites
>>> seems to have been so non-interesting, that no-one has tried to
>>> do anything about it.
>> It's a fundamental property of anon-anon connections, not any
>> "defect in the design of DH".
>=20
> It's a defect in the design of the DH_anon ciphersuites which lead to
> the deprecation of these ciphersuites in rfc-5246 (TLSv1.2)-- and if
> you check,

How about you check freaking Wikipedia
http://en.wikipedia.org/wiki/Diffie-Hellman_key_exchange

> In the original description, the Diffie=E2=80=93Hellman exchange by its=
elf
> does not provide authentication of the communicating parties and is
> thus vulnerable to a man-in-the-middle attack. A person in the middle
> may establish two distinct Diffie=E2=80=93Hellman key exchanges, one wi=
th
> Alice and the other with Bob, effectively masquerading as Alice to
> Bob, and vice versa, allowing the attacker to decrypt (and read or
> store) then re-encrypt the messages passed between them. A method to
> authenticate the communicating parties to each other is generally
> needed to prevent this type of attack.

It's a well-understood and fundamental limitation of all anon-anon
connections, not a "defect" in a particular ciphersuite.

> these ciphersuites are quite difficult to find (being
> enabled by default) in most of the installed base of SSLv3, TLSv1.0
> and TLSv1.1 as well

So they decided to make it difficult for their customers to shoot
themselves in the foot. Probably a wise decision.

> rfc-5246, Appendix A.5 (mid of page 76):
> [...] (Anonymous key exchange may sometimes be acceptable, for=20
> example, to support opportunistic encryption when no set-up for=20
> authentication is in place, or when TLS is used as part of more=20
> complex security protocols that have other means to ensure=20
> authentication.)

Did you see that part about "Anonymous key exchange may sometimes be
acceptable" and "other means to ensure authentication"?

Conducting safe renegotiation to elevate the level of authentication on
the connection is such a means.

> While you started off with clients using DH_anon plus renegotiation,=20
> you are now quoting clients that completely botch server
> authentication.
> [...]
> What you quote is SSL clients that effectively do not perform server
> endpoint identification at all, not even the weak endpoint=20
> identification suggested by rfc-2818 (HTTP over TLS).
>=20
> To such clients, an MitM attacker can always perform a complete=20
> server impersonation, and secure TLS renegotiation is not going to
> affect that at all.

It is sad, isn't it?

How about this pseudo-code:

String dnsName =3D "secure.example.com";
IpAddress ip =3D dnsResolve(dnsName);
Socket s =3D connectTo(ip);

SSL ssl =3D connectSSL(s, REQUIRE_SERVER_CERT);

Cert serverCert =3D ssl->getPeerCert();

if (serverCert->getSubjectName() !=3D dnsName)
    dieWithError("cert mismatch");

exchangeCriticalData(ssl);

This code was secure with SSLv2, but silently becomes vulnerable when
used with SSLv3+ and an upatched stack that handles renegotiation
transparently for the app (most of them).

Patching both the client and server to support RI makes this application
code secure again. It also re-enables interesting new possibilities.

not vulnerable -> vulnerable -> not vulnerable
   SSLv2            SSLv3+        SSLv3+RI

I believe this code is representative of many applications.

I don't know how to put it more simply than that.

>> Show me one tutorial on the web of "Here's how to use this SSL/TLS
>> library safely" which provides example code that does this
>> correctly. It may exist, but I haven't found it yet. The fact that
>> I haven't found it suggests strongly to me that there are plenty of
>> vulnerable client apps out there.

Still waiting.

> Please do _not_ mislead others about what secure TLS renegotiation=20
> addresses and fixes, and what it leaves untouched and in whatever=20
> miserable situation that it has always been.

Likewise.

- Marsh

From mrex@sap.com  Tue Jan 12 11:39:23 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 204F33A6ACC for <tls@core3.amsl.com>; Tue, 12 Jan 2010 11:39:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.206
X-Spam-Level: 
X-Spam-Status: No, score=-10.206 tagged_above=-999 required=5 tests=[AWL=0.043, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 uPQBUjppU3cQ for <tls@core3.amsl.com>; Tue, 12 Jan 2010 11:39:22 -0800 (PST)
Received: from smtpde03.sap-ag.de (smtpde03.sap-ag.de [155.56.68.140]) by core3.amsl.com (Postfix) with ESMTP id 05BAC3A68B5 for <tls@ietf.org>; Tue, 12 Jan 2010 11:39:21 -0800 (PST)
Received: from mail.sap.corp by smtpde03.sap-ag.de (26) with ESMTP id o0CJdG7M013697 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Jan 2010 20:39:16 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001121939.o0CJdFsb018472@fs4113.wdf.sap.corp>
To: dispensa@phonefactor.com (Steve Dispensa)
Date: Tue, 12 Jan 2010 20:39:15 +0100 (MET)
In-Reply-To: <D0E89820-41D3-4263-9427-0FA0166F8CFC@phonefactor.com> from "Steve Dispensa" at Jan 12, 10 09:42:31 am
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal07
X-SAP: out
Cc: DPKemp@missi.ncsc.mil, tls@ietf.org
Subject: Re: [TLS] SCSV vs RI when both specified. Was: Updated draft
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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: Tue, 12 Jan 2010 19:39:23 -0000

Steve Dispensa wrote:
> 
> On Jan 12, 2010, at 9:17 AM, Marsh Ray wrote:
> 
> > Martin Rex wrote:
> >>
> >> There is absolutely _NO_ known security problem and no  
> >> vulnerability for
> >> a server to accept an initial handshake with the existing SSLv3,  
> >> TLSv1.0,
> >> TLSv1.1 or TLSv1.2 protocol, even when the ClientHello handshake
> >> message does neither contain SCSV nor an empty extension RI.
> >
> > Baloney!

Steve and Marsh.

There is a document, approved by the IESG, where both of you are listed
as document co-authors, and it says this:

http://tools.ietf.org/html/draft-ietf-tls-renegotiation-03#section-4.3

   4.3. Server Considerations

   If the client does not offer the "renegotiation_info" extension or
   the TLS_RENEGO_PROTECTION_REQUEST SCSV then this indicates that the
   client does not support secure renegotiation.  However, because the
   above attack looks like two handshakes to the server, the server can
   safely continue the connection as long as it does not allow the
   client to renegotiate. 

I'm fine with that "the server can safely continue the connection as long
as it does not allow the client to renegotiate."

I don't want to continue discussing this issue.

-Martin

From marsh@extendedsubset.com  Tue Jan 12 11:55:28 2010
Return-Path: <marsh@extendedsubset.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BBAAE3A683B for <tls@core3.amsl.com>; Tue, 12 Jan 2010 11:55:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.556
X-Spam-Level: 
X-Spam-Status: No, score=-2.556 tagged_above=-999 required=5 tests=[AWL=0.043,  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 xQhpy5DaY9BB for <tls@core3.amsl.com>; Tue, 12 Jan 2010 11:55:27 -0800 (PST)
Received: from mho-01-ewr.mailhop.org (mho-01-ewr.mailhop.org [204.13.248.71]) by core3.amsl.com (Postfix) with ESMTP id C8E5E3A6836 for <tls@ietf.org>; Tue, 12 Jan 2010 11:55:27 -0800 (PST)
Received: from xs01.extendedsubset.com ([69.164.193.58]) by mho-01-ewr.mailhop.org with esmtpa (Exim 4.68) (envelope-from <marsh@extendedsubset.com>) id 1NUmpo-0004Yy-WB; Tue, 12 Jan 2010 19:55:25 +0000
Received: from [127.0.0.1] (localhost [127.0.0.1]) by xs01.extendedsubset.com (Postfix) with ESMTP id 2B7176076; Tue, 12 Jan 2010 19:55:22 +0000 (UTC)
X-Mail-Handler: MailHop Outbound by DynDNS
X-Originating-IP: 69.164.193.58
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX18X/G5etYygPApiIoHQe2fEHPVacXwZYCc=
Message-ID: <4B4CD3AB.1010102@extendedsubset.com>
Date: Tue, 12 Jan 2010 13:55:23 -0600
From: Marsh Ray <marsh@extendedsubset.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: mrex@sap.com
References: <201001121939.o0CJdFsb018472@fs4113.wdf.sap.corp>
In-Reply-To: <201001121939.o0CJdFsb018472@fs4113.wdf.sap.corp>
X-Enigmail-Version: 0.96.0
OpenPGP: id=1E36DBF2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: DPKemp@missi.ncsc.mil, tls@ietf.org
Subject: Re: [TLS] SCSV vs RI when both specified. Was: Updated draft
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 12 Jan 2010 19:55:28 -0000

Martin Rex wrote:
> 
> There is a document, approved by the IESG, where both of you are
> listed as document co-authors, and it says this:
> 
> http://tools.ietf.org/html/draft-ietf-tls-renegotiation-03#section-4.3
> 
> 
> 4.3. Server Considerations
> 
> If the client does not offer the "renegotiation_info" extension or 
> the TLS_RENEGO_PROTECTION_REQUEST SCSV then this indicates that the 
> client does not support secure renegotiation.  However, because the 
> above attack looks like two handshakes to the server, the server can 
> safely continue the connection as long as it does not allow the 
> client to renegotiate.
> 
> I'm fine with that "the server can safely continue the connection as
> long as it does not allow the client to renegotiate."

I'm not, and I argued against the inclusion of that language repeatedly.

The explanation I was given, IIRC, was that it was just referring to
"the above attack" which was the one simplest case to explain. It was
not supposed to be exhaustive of all attacks.

I firmly believe that the language "the server can safely continue the
connection as long as it does not allow the client to renegotiate" is in
error.

It was not worth continuing to argue about if it delays the
implementation of the fix (which is the same in any case).

> I don't want to continue discussing this issue.

Agreed.

I'll just have to make my point with working exploit code.

- Marsh

From aerowolf@gmail.com  Tue Jan 12 15:55:38 2010
Return-Path: <aerowolf@gmail.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D37A73A68D1 for <tls@core3.amsl.com>; Tue, 12 Jan 2010 15:55:38 -0800 (PST)
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 ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NDkww9ewwj0b for <tls@core3.amsl.com>; Tue, 12 Jan 2010 15:55:38 -0800 (PST)
Received: from mail-pz0-f194.google.com (mail-pz0-f194.google.com [209.85.222.194]) by core3.amsl.com (Postfix) with ESMTP id B65193A68CB for <tls@ietf.org>; Tue, 12 Jan 2010 15:55:37 -0800 (PST)
Received: by pzk32 with SMTP id 32so553214pzk.29 for <tls@ietf.org>; Tue, 12 Jan 2010 15:55:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=RavlNcC6zDkrlpFm0XvVnWVJyrhABA8E5tC5VwABcYA=; b=aL5uVdibsvnj8FzMdUNrJSL6IxFgzgz/Pls/OH6dRAQ5bgG86ecRHHqpjYrHoSnSP+ kFQ/NZbNG7wm7j9eD06/5lnGgcYd3vHlv2xsTCy1MEhuNHN5stKGSYwqzBxX4Ww18gci PGNGUl1ARSIC3iwsm6Yu9KB9ZGgbKp9N0Bfws=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=V3ja8IQvyYLarrnr2DLbXsMvfhTaU9ZuWHb8zhZAojh7nCdFCzPnV4KmUthfS7z4Nl 7WGyRO5ih+VLo8BLjgEwxQ4qQ/Ku6Q8s7o2KyGY3grtUP/DmaBIXojrgW3FQlOIAEvMs 2B8/eNjdGigAtQjjMqSfLjqIbKD3VVypXDB8E=
MIME-Version: 1.0
Received: by 10.142.7.41 with SMTP id 41mr3117866wfg.117.1263340532464; Tue,  12 Jan 2010 15:55:32 -0800 (PST)
In-Reply-To: <4B4CD3AB.1010102@extendedsubset.com>
References: <201001121939.o0CJdFsb018472@fs4113.wdf.sap.corp> <4B4CD3AB.1010102@extendedsubset.com>
Date: Tue, 12 Jan 2010 15:55:32 -0800
Message-ID: <6b9359641001121555k743569eejb7da2773b9ad6dd4@mail.gmail.com>
From: Kyle Hamilton <aerowolf@gmail.com>
To: Marsh Ray <marsh@extendedsubset.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: DPKemp <DPKemp@missi.ncsc.mil>, tls <tls@ietf.org>
Subject: Re: [TLS] SCSV vs RI when both specified. Was: Updated draft
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 12 Jan 2010 23:55:38 -0000

The only way to prevent a reneg-na=C3=AFve client from creating any
security risk to the server is to:
1) enforce the highest security that anything on that server requires
as a prerequisite to *all* connections to that server, and
2) use mutual authentication instead of only authenticating one side.

The requirement: An unauthenticated client that sends a command to the
server that requires it to have higher access credentials than the
connection has cannot cause the server to initiate a renegotiation.

Not meeting that requirement is what got us into the problem in the first p=
lace.

I join Marsh in dissenting to that "safely" message, as there is NO
way to safely renegotiate unless both sides are mutually authenticated
before the first bytes are received by the server process (as a client
of the TLS implementation, since the TLS implementation handles the
crypto part of the transaction).  Even then, that is only as far as
the identification doesn't change.

(Note: Firefox specifically disables HTTP pipelining over TLS
connections by default.)

-Kyle H

On Tue, Jan 12, 2010 at 11:55 AM, Marsh Ray <marsh@extendedsubset.com> wrot=
e:
> Martin Rex wrote:
>>
>> There is a document, approved by the IESG, where both of you are
>> listed as document co-authors, and it says this:
>>
>> http://tools.ietf.org/html/draft-ietf-tls-renegotiation-03#section-4.3
>>
>>
>> 4.3. Server Considerations
>>
>> If the client does not offer the "renegotiation_info" extension or
>> the TLS_RENEGO_PROTECTION_REQUEST SCSV then this indicates that the
>> client does not support secure renegotiation. =C2=A0However, because the
>> above attack looks like two handshakes to the server, the server can
>> safely continue the connection as long as it does not allow the
>> client to renegotiate.
>>
>> I'm fine with that "the server can safely continue the connection as
>> long as it does not allow the client to renegotiate."
>
> I'm not, and I argued against the inclusion of that language repeatedly.
>
> The explanation I was given, IIRC, was that it was just referring to
> "the above attack" which was the one simplest case to explain. It was
> not supposed to be exhaustive of all attacks.
>
> I firmly believe that the language "the server can safely continue the
> connection as long as it does not allow the client to renegotiate" is in
> error.
>
> It was not worth continuing to argue about if it delays the
> implementation of the fix (which is the same in any case).
>
>> I don't want to continue discussing this issue.
>
> Agreed.
>
> I'll just have to make my point with working exploit code.
>
> - Marsh
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>

From Bruno.Harbulot@manchester.ac.uk  Tue Jan 19 06:41:00 2010
Return-Path: <Bruno.Harbulot@manchester.ac.uk>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C75B53A6924 for <tls@core3.amsl.com>; Tue, 19 Jan 2010 06:41:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.099
X-Spam-Level: 
X-Spam-Status: No, score=-7.099 tagged_above=-999 required=5 tests=[AWL=-3.500, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 11zbcdbvLvjM for <tls@core3.amsl.com>; Tue, 19 Jan 2010 06:40:59 -0800 (PST)
Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93]) by core3.amsl.com (Postfix) with ESMTP id C42563A6A82 for <tls@ietf.org>; Tue, 19 Jan 2010 06:40:59 -0800 (PST)
Received: from kelvin.its.manchester.ac.uk ([130.88.25.195]) by serenity.mcc.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from <Bruno.Harbulot@manchester.ac.uk>) id 1NXFGI-000GK4-HO for tls@ietf.org; Tue, 19 Jan 2010 14:40:54 +0000
Received: from pulsar.rcs.manchester.ac.uk ([130.88.1.47]:33135 helo=mymachine) by kelvin.its.manchester.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <Bruno.Harbulot@manchester.ac.uk>) id 1NXFGI-0008Cy-DI for tls@ietf.org; Tue, 19 Jan 2010 14:40:54 +0000
Message-ID: <4B55C476.1070302@manchester.ac.uk>
Date: Tue, 19 Jan 2010 14:40:54 +0000
From: Bruno Harbulot <Bruno.Harbulot@manchester.ac.uk>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: tls@ietf.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Authenticated-Sender: Bruno Harbulot from pulsar.rcs.manchester.ac.uk (mymachine) [130.88.1.47]:33135
X-Authenticated-From: Bruno.Harbulot@manchester.ac.uk
X-UoM: Scanned by the University Mail System. See http://www.itservices.manchester.ac.uk/email/filtering/information/ for details.
Subject: [TLS] [Fwd: WWW-Authenticate challenge for client-certificates]
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 19 Jan 2010 14:41:00 -0000

Hello,

Apologies if this is slightly off-topic, but I thought some IETF TLS 
subscribers might find this relevant:
http://lists.w3.org/Archives/Public/ietf-http-wg/2010JanMar/0047.html

Best wishes,

Bruno.


-------- Original Message --------
Subject: WWW-Authenticate challenge for client-certificates
Date: Tue, 19 Jan 2010 13:35:23 +0000

Hello,

I'd like to suggest ideas towards the potential specification of a
challenge for client-certificate authentication using HTTP over TLS.

The current model of TLS client-certificate challenge doesn't integrate
well with HTTP, as there is no way for a server to tell the client it
requests or accepts a client-certificate at the HTTP layer: this must be
done at the TLS layer, without any proper integration with the HTTP
response status codes. This can lead to confusing behaviour.

For example, most TLS frameworks either "request" or "require" a
client-certificate (using the Apache Httpd terminology).
In 'request' mode, the server asks for a client-certificate, but will
continue the connection if the client doesn't present one
("setWantAuthentication" in Java).
In 'require' mode, the server asks for a client-certificate, but makes
the TLS handshake fail if the client doesn't present one
("setNeedAuthentication" in Java).

This leads to a couple of problems:
- The HTTP application is unable to inform the client it would rather
have another certificate than the one that is presented. Whether-or-not
to accept the certificate is done by the trust management mechanism of
the TLS layer, and it is difficult for the HTTP application to deal
with. Often, once the certificate has been negotiated, browsers usually
keep the TLS connection open and changing certificate can often only be
done by closing the browser or letting the connection time out.
- If a certificate is mandatory, the 'require' mode leads to a handshake
error code on the client side, resulting in an abrupt error message,
which is confusing for most users.


To try to solve this, I would like to suggest the introduction of
something along the lines of a 'transport' challenge, implying that the
authentication mechanism is outside the scope of HTTP itself.
This could be something like:
- WWW-Authenticate: transport
- WWW-Authenticate: transport mode="tls-client-certificate"

To this, could be added parameters describing what kind of certificate
is preferred.


As a side note, I also think that such a mechanism could partly help
with the TLS renegotiation issue (still discussed on the IETF TLS
mailing list). Indeed, if the HTTP framework was able to detect a
renegotiation had occurred, it could make the client re-send the request
post-negotiation (rather than assume that the certificate presented
during the second handshake were also valid for the request sent before).


I realise that the details of what I'm suggesting are still a bit vague,
but I'm wondering whether the general idea would be of interest.


Best wishes,

Bruno.





From Nicolas.Williams@sun.com  Tue Jan 19 07:08:57 2010
Return-Path: <Nicolas.Williams@sun.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 68E373A6A86 for <tls@core3.amsl.com>; Tue, 19 Jan 2010 07:08:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.981
X-Spam-Level: 
X-Spam-Status: No, score=-5.981 tagged_above=-999 required=5 tests=[AWL=0.065,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-4]
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 rTGozn11dsmJ for <tls@core3.amsl.com>; Tue, 19 Jan 2010 07:08:56 -0800 (PST)
Received: from brmea-mail-4.sun.com (brmea-mail-4.Sun.COM [192.18.98.36]) by core3.amsl.com (Postfix) with ESMTP id 93A9E3A659B for <tls@ietf.org>; Tue, 19 Jan 2010 07:08:56 -0800 (PST)
Received: from dm-central-02.central.sun.com ([129.147.62.5]) by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o0JF8pfK012203 for <tls@ietf.org>; Tue, 19 Jan 2010 15:08:51 GMT
Received: from binky.Central.Sun.COM (binky.Central.Sun.COM [129.153.128.104]) by dm-central-02.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL, v2.2) with ESMTP id o0JF8p5v063300 for <tls@ietf.org>; Tue, 19 Jan 2010 08:08:51 -0700 (MST)
Received: from binky.Central.Sun.COM (localhost [127.0.0.1]) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3) with ESMTP id o0JF1LSV011279; Tue, 19 Jan 2010 09:01:21 -0600 (CST)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id o0JF1L93011278;  Tue, 19 Jan 2010 09:01:21 -0600 (CST)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Tue, 19 Jan 2010 09:01:21 -0600
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Bruno Harbulot <Bruno.Harbulot@manchester.ac.uk>
Message-ID: <20100119150120.GV1061@Sun.COM>
References: <4B55C476.1070302@manchester.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4B55C476.1070302@manchester.ac.uk>
User-Agent: Mutt/1.5.7i
Cc: tls@ietf.org
Subject: Re: [TLS] [Fwd: WWW-Authenticate challenge for client-certificates]
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 19 Jan 2010 15:08:57 -0000

On Tue, Jan 19, 2010 at 02:40:54PM +0000, Bruno Harbulot wrote:
> Hello,
> 
> Apologies if this is slightly off-topic, but I thought some IETF TLS 
> subscribers might find this relevant:
> http://lists.w3.org/Archives/Public/ietf-http-wg/2010JanMar/0047.html

Many of us have lamented the disconnect between the application layer
and TLS when it comes to client authentication.  This seems like a good
step forward.

Nico
-- 

From mrex@sap.com  Tue Jan 19 13:34:24 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BCA623A683D for <tls@core3.amsl.com>; Tue, 19 Jan 2010 13:34:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.104
X-Spam-Level: 
X-Spam-Status: No, score=-10.104 tagged_above=-999 required=5 tests=[AWL=0.145, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 IEhySGJ1o8hi for <tls@core3.amsl.com>; Tue, 19 Jan 2010 13:34:23 -0800 (PST)
Received: from smtpde01.sap-ag.de (smtpde01.sap-ag.de [155.56.68.171]) by core3.amsl.com (Postfix) with ESMTP id 7DDE73A67E2 for <tls@ietf.org>; Tue, 19 Jan 2010 13:34:23 -0800 (PST)
Received: from mail.sap.corp by smtpde01.sap-ag.de (26) with ESMTP id o0JLYInT021455 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 19 Jan 2010 22:34:18 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001192134.o0JLYHnm008538@fs4113.wdf.sap.corp>
To: Bruno.Harbulot@manchester.ac.uk (Bruno Harbulot)
Date: Tue, 19 Jan 2010 22:34:17 +0100 (MET)
In-Reply-To: <4B55C476.1070302@manchester.ac.uk> from "Bruno Harbulot" at Jan 19, 10 02:40:54 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal08
X-SAP: out
Cc: tls@ietf.org
Subject: Re: [TLS] [Fwd: WWW-Authenticate challenge for client-certificates]
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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: Tue, 19 Jan 2010 21:34:24 -0000

Bruno Harbulot wrote:
> 
> - If a certificate is mandatory, the 'require' mode leads to a handshake
> error code on the client side, resulting in an abrupt error message,
> which is confusing for most users.

Clarifying:  If the server's TLS is configure to require a client-cert,
the server's TLS will produce the error message (and terminate the
TLS handshake with a fatal alert message), which in turn will
cause the client TLS implementation to report an error.

> 
> 
> To try to solve this, I would like to suggest the introduction of
> something along the lines of a 'transport' challenge, implying that the
> authentication mechanism is outside the scope of HTTP itself.
> This could be something like:
> - WWW-Authenticate: transport
> - WWW-Authenticate: transport mode="tls-client-certificate"
> 
> To this, could be added parameters describing what kind of certificate
> is preferred.

Unfortunately, the issue is _much_ more complex.
Difficulties you have to address:

  1. whether or not the server requests a client certificate
     is a decision of the server alone.  The client must not
     send an unsolicited client certificate (that should cause
     compliant servers to abort the handshake).

  2. there currently is _no_ standardized fashion for TLS to
     negotiate certain aspects of client certificate authentication

      a) client->server signaling that client des not have
         a certificate (or is determined to not send one)

      b) client->server signaling that client has a certificate
         and is willing to use it for client certificate authentication
         (provided that server certificate validation succeeds).

      c) server->client signaling that client may send *any*
         certificate with the promise that the server will _NOT_
         abort the handshake when the server does _not_ have a
         trust anchor necessary to verify the certificate sent
         by the client (requiring the server to either withhold
         such a client cert from the server application, as if
         the client had _not_ sent any cert -- at least _not_
         provide such a client cert to server apps in the same
         fashion as authenticated client certs.

         SSL/TLS client cert authentication kind-of blindly assumes
         a PKI and SSLv3&TLSv1.0 _require_ a server to send a
         non-empty list of trusted CAs.  Semantics of empty ca_list
         in TLSv1.1&1.2 is underspecified.

   3. (Bodo Moeller recently explained this to me):
      cryptographic algorithm constraints on client certificates
      According to rfc-5246 Section 7.4.6. there are constraints
      if the client certificate is of one of these types:
      rsa_fixed_dh, dss_fixed_dh, rsa_fixed_ecdh, ecdsa_fixed_ecdh

      http://tools.ietf.org/html/rfc5246#page-56

      restricting compatible client certs that can be used for
      client cert authentication in TLS to _both_, characteristics
      of the cipher suite plus characteristics of the server certificate

      This additional restriction does not apply to client certificates
      rsa_sign, dsa_sign (and marginally to ecdsa_sign).


> 
> As a side note, I also think that such a mechanism could partly help
> with the TLS renegotiation issue (still discussed on the IETF TLS
> mailing list). Indeed, if the HTTP framework was able to detect a
> renegotiation had occurred, it could make the client re-send the request
> post-negotiation (rather than assume that the certificate presented
> during the second handshake were also valid for the request sent before).

Changing/switching client identities is also a somewhat underspecified area.

In theory, clients can offer some means to "flush" the client-side
TLS session cache (several browsers have that, I think), but it
may be a function hidden in some configuration options many casual
users have never used or maybe even looked at.

I'm not sure that current / commonly used browsers, which offer
multi-windows and tabbed browsing, have an adequate client-side
session cache management (in the browser) to reliably manage many
parallel sessions with the exact same server and individual
TLS client identities/credentials for each session.


-Martin

From mrex@sap.com  Tue Jan 19 17:51:12 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 82E6F3A689A for <tls@core3.amsl.com>; Tue, 19 Jan 2010 17:51:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.117
X-Spam-Level: 
X-Spam-Status: No, score=-10.117 tagged_above=-999 required=5 tests=[AWL=0.132, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 s9y8xY-zAgTq for <tls@core3.amsl.com>; Tue, 19 Jan 2010 17:51:11 -0800 (PST)
Received: from smtpde03.sap-ag.de (smtpde03.sap-ag.de [155.56.68.140]) by core3.amsl.com (Postfix) with ESMTP id 592903A685F for <tls@ietf.org>; Tue, 19 Jan 2010 17:51:11 -0800 (PST)
Received: from mail.sap.corp by smtpde03.sap-ag.de (26) with ESMTP id o0K1p6WB000602 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <tls@ietf.org>; Wed, 20 Jan 2010 02:51:06 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001200151.o0K1p5UI024712@fs4113.wdf.sap.corp>
To: tls@ietf.org
Date: Wed, 20 Jan 2010 02:51:05 +0100 (MET)
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal05
X-SAP: out
Subject: [TLS] permitted client behaviour when rejecting renegotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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, 20 Jan 2010 01:51:12 -0000

Considering the guidance in draft-ietf-tls-renegotiation-03.txt
and the specification of HelloRequest starting with rfc-2246 (TLSv1.0)
http://tools.ietf.org/html/rfc2246#section-7.4.1.1

I'm a little confused about a sensible client behaviour.

TLSv1.0 and newer say this:

   Meaning of this message:
       Hello request is a simple notification that the client should
       begin the negotiation process anew by sending a client hello
       message when convenient. This message will be ignored by the
       client if the client is currently negotiating a session.
                                                                 This
       message may be ignored by the client if it does not wish to
       renegotiate a session, or the client may, if it wishes, respond
       with a no_renegotiation alert.

SSLv3 does not have that _general_ permission to ignore this handshake
message.

If a client wants to abort the handshake (for whatever reason) it
should IMHO send a fatal "handshake_failure" alert *WITHOUT* a
prior warning "no_renegotiation" alert.

My impression from my testing with openssl-0.9.8l was that it may have
a server-side problem with a client ignoring HelloRequest.


Question to implementors: what will your TLS servers do when a client
simply ignores HelloRequest--a behaviour that has been allowed by all
existing TLS specs for 10 years?


-Martin

From agl@google.com  Wed Jan 20 05:20:31 2010
Return-Path: <agl@google.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D830B3A683C for <tls@core3.amsl.com>; Wed, 20 Jan 2010 05:20:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -107.977
X-Spam-Level: 
X-Spam-Status: No, score=-107.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, GB_I_LETTER=-2, RCVD_IN_DNSWL_MED=-4, 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 eEr7jQF+U66z for <tls@core3.amsl.com>; Wed, 20 Jan 2010 05:20:28 -0800 (PST)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.33.17]) by core3.amsl.com (Postfix) with ESMTP id 64D6E3A6902 for <tls@ietf.org>; Wed, 20 Jan 2010 05:20:27 -0800 (PST)
Received: from kpbe18.cbf.corp.google.com (kpbe18.cbf.corp.google.com [172.25.105.82]) by smtp-out.google.com with ESMTP id o0KDKL85022854 for <tls@ietf.org>; Wed, 20 Jan 2010 13:20:22 GMT
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1263993622; bh=KUBT+RuyTYIU7+SuiU8UHRcbggY=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=Q3Jj2T1r06lrbFj6qFsUil5mEZVXrkGDD00cE+FsTHyUL8sPGCU1HJx9E1B8GzCfv K4aj1EtAWwwm4TPRj+CBA==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:date:message-id:subject:from:to:content-type:x-system-of-record; b=kAJ/JPR3GySaB+qetb5VlXzTWPLlrHQo0MzDHwcOm1T0Wx94nuMDCZbvpf6wyfwRT XQoxA0kYHtmOEjr/83K7g==
Received: from iwn6 (iwn6.prod.google.com [10.241.68.70]) by kpbe18.cbf.corp.google.com with ESMTP id o0KDKKJS012868 for <tls@ietf.org>; Wed, 20 Jan 2010 05:20:21 -0800
Received: by iwn6 with SMTP id 6so3631464iwn.15 for <tls@ietf.org>; Wed, 20 Jan 2010 05:20:20 -0800 (PST)
MIME-Version: 1.0
Received: by 10.231.169.144 with SMTP id z16mr2100509iby.25.1263993620597;  Wed, 20 Jan 2010 05:20:20 -0800 (PST)
Date: Wed, 20 Jan 2010 05:20:20 -0800
Message-ID: <a84d7bc61001200520t4e3be7d4sb0bb614abb0b5e4e@mail.gmail.com>
From: Adam Langley <agl@google.com>
To: tls@ietf.org
Content-Type: text/plain; charset=UTF-8
X-System-Of-Record: true
Subject: [TLS] Next protocol negotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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, 20 Jan 2010 13:20:32 -0000

(This email is the 'cover letter' for
http://www.ietf.org/internet-drafts/draft-agl-tls-nextprotoneg-00.txt,
which had been waiting for the renegotiation issue to die down a
little.)


The reaction to the announcement of SPDY[1] (a new presentation layer
for HTTP) has been surprisingly positive, except for our choice to use
TLS. Correspondents have suggested that TLS is slow, expensive,
troublesome to administer and unnecessary. We disagree on these points
and have tried to correct misunderstandings and out of date
information where we have found them.

But we have found that people are generally unaware of one of the
central reasons for using TLS: there is no other choice for new
protocols.

For our development of WebSockets for WebKit (and, thus, Chrome and
Safari) we setup an experiment to find out how many hosts on the
Internet could setup a WebSockets connection. (WebSockets uses an HTTP
Upgrade header over port 80 or 443).

The experiment tries to perform a trival WebSockets transaction over
HTTP, over HTTP on a random, high numbered port (61985) and over
HTTPS. This experiment is run via Chrome for users who have opted in.
These are normal requests in the Chrome network stack and so will use
any configured proxies.

Excluding users that couldn't even do basic a HTTP transaction over
the transport layer (6.37%, 10.15% and 7.91%, respectively), the
success rates are:
    HTTP (port 80)      67%
    HTTP (port 61985)   86%
    HTTPS (port 443)    95%

This results in overall sucess rates of 63%, 77% and 87%, respectively.

I stress that these results are preliminary. In time we want a larger
sample size and to better understand the various failure cases. We
would also like to point out that there is a strong preselection bias
in effect here. We believe that Chrome is likely to be
underrepresented on networks with strong central control. We also
believe that those networks are more likely to contain pertinent
middleware. The true success rate over HTTP in the real world could be
less than 50%.

Even at this early stage, it's clear that TLS over port 443 is by far
the best transport for a new protocol. Since we have lost TCP port
numbers as a means of protocol disambiguation we added another
mechanism into the TLS handshake. This is described in the
accompanying draft.

Alternatives:

We considered several alternatives to this design.

We could have wrapped the first request in an HTTP presentation.
Base64 encoding and the HTTP headers increase the size of the request.
Later disambiguation makes the server side code less modular. Lastly,
it simply strikes one as the wrong thing to do; admiting defeat and
accepting an accumulation of protocol detritus.

We could have had the client advertise a list of protocols in the
ClientHello and had the server select one in the ServerHello. Instead
we moved the final protocol selection under the cover of the secure
transport. Although this is probably not needed in our case, we intend
this mechanism to be generally useful. Without this protection, we
fear that network middleware might use the protocol selection to
discriminate against certain protocols. For example, a by dropping all
TCP connections that tried to negotiate the "tor" protocol.

We could also have moved the NextProtocol handshake message after the
Finished message. At the time we didn't because the NextProtocol is
needed before reading the first bytes from the connection and the
processing of the Finished message triggers handshake complete
callbacks in the TLS libraries that we are working with.

After having implemented this several times we are less concerned
about these code changes. We consider moving NextProtocol after the
Finished message to be perfectly reasonable and have no strong
opinions either way.

Currently unspecified behaviour:

Several aspects of the design have been deliberatly omitted from the
draft because we didn't want to pin them down at this point. These
include the behaviour of the parties when it comes to protocol
selection.

Our current code follows this algorithm:

Let the client and server know an ordered set of protocols, where a
protocol is a non-empty byte string less than 256 bytes long. The
client's set must be non-empty.

A protocol is serialised by prepending a 8-bit length. An ordered set
of protocols is serialised by serialising each element in order.

The server includes its (possibly empty) set in the ServerHello.

If the set is empty, the client selects the first protocol in its set
(case A). Otherwise, the client finds the first of the server's
protocols that is included in its own set. If such a protocol exists,
the client selects it (case B). If no such protocol exists, the client
selects the first protocol in its list (case C).

The selected protocol is sent in the NextProtocol message.

The client's TLS library returns the selected protocol and the case
(A, B or C) that resulted.

This allows the server to pick the most preferable protocol if the
client and server mutually support several. It also allows the client
to force the selection of a certain protocol, even if the server
doesn't advertise it by only including a single protocol in its set.
(An example would be a Tor client, assuming that Tor servers would
want to advertise something more common, like HTTP.)

Although this behaviour is important, we are still experimenting and
so we have not yet included this in the draft.

Assignment of protocols:

Should this be adopted, a registry of protocols may be worthwhile to
prevent multiple protocol byte strings for the same protocol. Since
the code space is so large, this registry can afford to have very low
requirements. It need only reflect reality.

At the present time, we are using two protocols:

68747470312e31	HTTP 1.1 (RFC 2616)
73706479	Experimental (SPDY)

Implementations:

We have client and server implementations for OpenSSL and a client
implementation for NSS. Both available on request.


Cheers

AGL

[1] http://www.chromium.org/spdy
[2] http://dev.w3.org/html5/websockets/

From n.mavrogiannopoulos@gmail.com  Wed Jan 20 06:47:04 2010
Return-Path: <n.mavrogiannopoulos@gmail.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6B7B23A68B3 for <tls@core3.amsl.com>; Wed, 20 Jan 2010 06:47:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.977
X-Spam-Level: 
X-Spam-Status: No, score=-3.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, GB_I_LETTER=-2]
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 O1TSc0STk7Ci for <tls@core3.amsl.com>; Wed, 20 Jan 2010 06:47:03 -0800 (PST)
Received: from mail-px0-f186.google.com (mail-px0-f186.google.com [209.85.216.186]) by core3.amsl.com (Postfix) with ESMTP id A79A13A6855 for <tls@ietf.org>; Wed, 20 Jan 2010 06:47:03 -0800 (PST)
Received: by pxi16 with SMTP id 16so3748080pxi.29 for <tls@ietf.org>; Wed, 20 Jan 2010 06:46:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=7WcYQvsmB8tbyhBWrL6DydG5BQLoG2xafhlu5Rv3rHE=; b=LJDH5nTfrDksg+yXhtkt+fbfprZMu8c6RvS7ftXgIfpvhP5rjSBABcOp+mHSQjL7GC HjpETlrWLjwX2NnQVYy2VhaQp4UujryM9nIo1ooyHOwQun0oa9tCpGq48ZckQDKdmBjm LTc6lfn9Epm040/eMq25QaH5ElvXTFvlBUZbY=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=POsCaRA2TWw36jze0i5R38Nh4Yx3urDDj4WBwmoi7nQuZSFA0Owd/8QpOsb8YFh38C e/kIEblu36/gW/OPTVwJGoryFjl9QW1e6KluOv4dDNkKt6m6M7to8Ywv4y0jbrUf0fwm 58dz3EnKbrKKUJMTC++6VregBJZZpPrV+ZqDw=
MIME-Version: 1.0
Sender: n.mavrogiannopoulos@gmail.com
Received: by 10.114.138.20 with SMTP id l20mr51163wad.91.1263998817071; Wed,  20 Jan 2010 06:46:57 -0800 (PST)
In-Reply-To: <a84d7bc61001200520t4e3be7d4sb0bb614abb0b5e4e@mail.gmail.com>
References: <a84d7bc61001200520t4e3be7d4sb0bb614abb0b5e4e@mail.gmail.com>
Date: Wed, 20 Jan 2010 15:46:56 +0100
X-Google-Sender-Auth: 62998430d14c3702
Message-ID: <c331d99a1001200646o55d7d2f6wfaad058b84e6024e@mail.gmail.com>
From: Nikos Mavrogiannopoulos <nmav@gnutls.org>
To: Adam Langley <agl@google.com>
Content-Type: text/plain; charset=ISO-8859-1
Cc: tls@ietf.org
Subject: Re: [TLS] Next protocol negotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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, 20 Jan 2010 14:47:04 -0000

On Wed, Jan 20, 2010 at 2:20 PM, Adam Langley <agl@google.com> wrote:
> (This email is the 'cover letter' for
> http://www.ietf.org/internet-drafts/draft-agl-tls-nextprotoneg-00.txt,
> which had been waiting for the renegotiation issue to die down a
> little.)
>
[...]
>
> For our development of WebSockets for WebKit (and, thus, Chrome and
> Safari) we setup an experiment to find out how many hosts on the
> Internet could setup a WebSockets connection. (WebSockets uses an HTTP
> Upgrade header over port 80 or 443).

I was wondering, why not do it the other way round. I mean why not
upgrade to TLS from
websockets using the rfc2817 method (Upgrading to TLS Within
HTTP/1.1), or similar. Wouldn't
that solve the need for a new TLS extension?

best regards,
Nikos

From agl@google.com  Wed Jan 20 07:06:25 2010
Return-Path: <agl@google.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7E9173A6917 for <tls@core3.amsl.com>; Wed, 20 Jan 2010 07:06:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.977
X-Spam-Level: 
X-Spam-Status: No, score=-106.977 tagged_above=-999 required=5 tests=[AWL=-1.000, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_MED=-4, 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 1z-hVqPXmSs0 for <tls@core3.amsl.com>; Wed, 20 Jan 2010 07:06:24 -0800 (PST)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.33.17]) by core3.amsl.com (Postfix) with ESMTP id 47A1E3A6855 for <tls@ietf.org>; Wed, 20 Jan 2010 07:06:22 -0800 (PST)
Received: from wpaz21.hot.corp.google.com (wpaz21.hot.corp.google.com [172.24.198.85]) by smtp-out.google.com with ESMTP id o0KF6F45019288 for <tls@ietf.org>; Wed, 20 Jan 2010 15:06:16 GMT
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1263999977; bh=mYdlScIyEfetZ5IO/QjqGb2Yu1g=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Cc:Content-Type; b=j/kSZCxoAw8Ok7THiuc9kckx0dcAnuglr8IUs0t7SjldDwFIk+xPaqa5wZU8uBWaJ iAOVBs1Hws4QRd1vc+pSA==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:date:message-id:subject:from:to: cc:content-type:x-system-of-record; b=MOGQ2jjkWa+x+UhgS2Vb+iq69H0iZz4HWOFzBUOgAzURmDO3YYXmvwNHxhBeYIydP DpIvFnL/UhVv/mf+60bww==
Received: from pwj20 (pwj20.prod.google.com [10.241.219.84]) by wpaz21.hot.corp.google.com with ESMTP id o0KF5fGw024770 for <tls@ietf.org>; Wed, 20 Jan 2010 07:06:14 -0800
Received: by pwj20 with SMTP id 20so3312210pwj.38 for <tls@ietf.org>; Wed, 20 Jan 2010 07:06:14 -0800 (PST)
MIME-Version: 1.0
Received: by 10.143.24.10 with SMTP id b10mr50836wfj.253.1263999955247; Wed,  20 Jan 2010 07:05:55 -0800 (PST)
In-Reply-To: <c331d99a1001200646o55d7d2f6wfaad058b84e6024e@mail.gmail.com>
References: <a84d7bc61001200520t4e3be7d4sb0bb614abb0b5e4e@mail.gmail.com> <c331d99a1001200646o55d7d2f6wfaad058b84e6024e@mail.gmail.com>
Date: Wed, 20 Jan 2010 07:05:55 -0800
Message-ID: <a84d7bc61001200705v39b37ba3qaea1ca4149afb0a0@mail.gmail.com>
From: Adam Langley <agl@google.com>
To: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Content-Type: text/plain; charset=UTF-8
X-System-Of-Record: true
Cc: tls@ietf.org
Subject: Re: [TLS] Next protocol negotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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, 20 Jan 2010 15:06:25 -0000

On Wed, Jan 20, 2010 at 6:46 AM, Nikos Mavrogiannopoulos
<nmav@gnutls.org> wrote:
> I was wondering, why not do it the other way round. I mean why not
> upgrade to TLS from
> websockets using the rfc2817 method (Upgrading to TLS Within
> HTTP/1.1), or similar. Wouldn't
> that solve the need for a new TLS extension?

For WebSockets, the answer seems pretty clear: one should use HTTPS
URLs. In that case, the protocol to use is communicated before hand.
The WebSockets protocol is designed to look like an HTTP Upgrade to
HTTP servers[1].

My email might not have been too clear, but the problem that we have
is that we wish to negotiate SPDY[2] (not WebSockets). There are also
other protocols that want to use TLS over port 443 (Tor is one that
I'm most familiar with).

Using HTTP Upgrade is a possibility for this, as discussed:

"We could have wrapped the first request in an HTTP presentation.
Base64 encoding and the HTTP headers increase the size of the request.
Later disambiguation also makes the server side code less modular. Lastly,
it simply strikes one as the wrong thing to do; admiting defeat and
accepting an accumulation of protocol detritus."


AGL

[1] http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol-68
[2] http://www.chromium.org/spdy

From Bruno.Harbulot@manchester.ac.uk  Wed Jan 20 07:33:33 2010
Return-Path: <Bruno.Harbulot@manchester.ac.uk>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 480163A681E for <tls@core3.amsl.com>; Wed, 20 Jan 2010 07:33:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.549
X-Spam-Level: 
X-Spam-Status: No, score=-6.549 tagged_above=-999 required=5 tests=[AWL=-0.550, BAYES_00=-2.599, J_CHICKENPOX_43=0.6, RCVD_IN_DNSWL_MED=-4]
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 x9Ie2okWjaj5 for <tls@core3.amsl.com>; Wed, 20 Jan 2010 07:33:31 -0800 (PST)
Received: from tranquility.mcc.ac.uk (tranquility.mcc.ac.uk [130.88.200.145]) by core3.amsl.com (Postfix) with ESMTP id A3C0F3A6452 for <tls@ietf.org>; Wed, 20 Jan 2010 07:33:31 -0800 (PST)
Received: from kelvin.its.manchester.ac.uk ([130.88.25.195]) by tranquility.mcc.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from <Bruno.Harbulot@manchester.ac.uk>) id 1NXcYf-000Atk-Hy; Wed, 20 Jan 2010 15:33:25 +0000
Received: from pulsar.rcs.manchester.ac.uk ([130.88.1.47]:39627 helo=mymachine) by kelvin.its.manchester.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <Bruno.Harbulot@manchester.ac.uk>) id 1NXcYf-0005Ne-E2; Wed, 20 Jan 2010 15:33:25 +0000
Message-ID: <4B572245.9040207@manchester.ac.uk>
Date: Wed, 20 Jan 2010 15:33:25 +0000
From: Bruno Harbulot <Bruno.Harbulot@manchester.ac.uk>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: mrex@sap.com
References: <4B55C476.1070302@manchester.ac.uk> <201001192134.o0JLYHnm008538@fs4113.wdf.sap.corp>
In-Reply-To: <201001192134.o0JLYHnm008538@fs4113.wdf.sap.corp>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Authenticated-Sender: Bruno Harbulot from pulsar.rcs.manchester.ac.uk (mymachine) [130.88.1.47]:39627
X-Authenticated-From: Bruno.Harbulot@manchester.ac.uk
X-UoM: Scanned by the University Mail System. See http://www.itservices.manchester.ac.uk/email/filtering/information/ for details.
Cc: tls@ietf.org, ietf-http-wg@w3.org
Subject: Re: [TLS] [Fwd: WWW-Authenticate challenge for client-certificates]
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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, 20 Jan 2010 15:33:33 -0000

Hello,

Martin Rex wrote:
> Bruno Harbulot wrote:
>> - If a certificate is mandatory, the 'require' mode leads to a handshake
>> error code on the client side, resulting in an abrupt error message,
>> which is confusing for most users.
> 
> Clarifying:  If the server's TLS is configure to require a client-cert,
> the server's TLS will produce the error message (and terminate the
> TLS handshake with a fatal alert message), which in turn will
> cause the client TLS implementation to report an error.

Indeed.


>> To try to solve this, I would like to suggest the introduction of
>> something along the lines of a 'transport' challenge, implying that the
>> authentication mechanism is outside the scope of HTTP itself.
>> This could be something like:
>> - WWW-Authenticate: transport
>> - WWW-Authenticate: transport mode="tls-client-certificate"
>>
>> To this, could be added parameters describing what kind of certificate
>> is preferred.

Just to clarify, I'm not suggesting implementing the client-certificate 
negotiation (or renegotiation) at the HTTP level.

I'd just like to address a gap in the HTTP authentication space, more 
specifically, the 401 status code says there MUST be one or more 
'WWW-Authenticate' header (with one or more challenges each).

If an HTTP client tries to access resource on an HTTP server that is 
protected and where authentication is required, the HTTP server will 
respond to the request with an HTTP 401 status code, and, for example 
"WWW-Authenticate: Basic xxxxx", thereby telling the client that it 
should send the request again, with appropriate authentication information.

This mechanism is useful in that:
- the WWW-Authenticate in the HTTP header is sufficient for the browser 
to know what to do (e.g. pop-up).
- a entity can still be associated with a response with 401 status code: 
there can be a page telling the user why access wasn't granted, where to 
get an account, etc.


At the moment, if a browser tries to connect to a page that requires TLS 
client-certificate authentication for granting access, and if this 
certificate isn't provided (irrespectively of how the TLS handshake 
went), the server will be most likely to return a 403 status, which 
implies that "the request SHOULD NOT be repeated" [RFC2616].


The current behaviour could be summarised as follows:
- Server configured for 'require' - Client sends a suitable certificate.
   - If this user is authorised: HTTP 200 OK, otherwise HTTP 403.

- Server configured for 'require' - Client doesn't send a certificate.
   - Server's TLS error message -> Client error message.
  This is the problematic behaviour in browsers: it confuses users and 
doesn't give much of a chance to tell them what was wrong with their 
certificate or where to get their certificate.

- Server configured for 'request' - Client sends a suitable certificate.
   - If this user is authorised: HTTP 200 OK, otherwise HTTP 403.

- Server configured for 'request' - Client doesn't send a certificate.
   - Will probably get 403, without a way to tell to send a certificate 
this time.


In HTTP terms, the 'require' configuration is just "rude" and the 
current 'request' configuration (without proper 401/WWW-Authenticate 
response) doesn't give much opportunity to provide an explanation and to 
try again.

This also prevents the server to present the client-cert authentication 
as one of a number of challenges. For example, using 'WWW-Authenticate', 
a server can offer an HTTP Basic challenge and a SPNEGO challenge at the 
same time, leaving the choice to the client.



> Unfortunately, the issue is _much_ more complex.
> Difficulties you have to address:
> 
>   1. whether or not the server requests a client certificate
>      is a decision of the server alone.  The client must not
>      send an unsolicited client certificate (that should cause
>      compliant servers to abort the handshake).

Indeed, but I don't think there would need to be a "pre-emptive" 
'Authorization' header in the same way in can be done with HTTP Basic 
for example. In fact, I don't think a request, even as a response to a 
401 status would need to have such an 'Authorization' header. All it 
would need, would be to have sent the client-certificate, through the 
TLS channel (perhaps re-negotiated, perhaps after a new connection).

This could be a good way to indicate to a browser that, even on the 
first attempt, it hadn't presented a certificate by default (assuming 
the server is in 'request' mode) for the first attempt, it should tell 
its TLS layer to send one for the second attempt.
Perhaps some indication of "realm" or something similar might help the 
browser make a better choice as to which certificate to use (this could 
be combined with improvement in user interfaces).


>   2. there currently is _no_ standardized fashion for TLS to
>      negotiate certain aspects of client certificate authentication
> 
>       a) client->server signaling that client des not have
>          a certificate (or is determined to not send one)
> 
>       b) client->server signaling that client has a certificate
>          and is willing to use it for client certificate authentication
>          (provided that server certificate validation succeeds).

I suppose you mean signaling before the handshake? Otherwise, sending an 
empty or non-empty Certificate message (from client to server) during 
the handshake should cover those two cases, respectively. Isn't this 
standard? I'm not sure what the problem would be otherwise.


>       c) server->client signaling that client may send *any*
>          certificate with the promise that the server will _NOT_
>          abort the handshake when the server does _not_ have a
>          trust anchor necessary to verify the certificate sent
>          by the client (requiring the server to either withhold
>          such a client cert from the server application, as if
>          the client had _not_ sent any cert -- at least _not_
>          provide such a client cert to server apps in the same
>          fashion as authenticated client certs.
> 
>          SSL/TLS client cert authentication kind-of blindly assumes
>          a PKI and SSLv3&TLSv1.0 _require_ a server to send a
>          non-empty list of trusted CAs.  Semantics of empty ca_list
>          in TLSv1.1&1.2 is underspecified.

In my experience with SSLv3 and TLSv1.0, more particularly Java's JSSE 
and Apache Httpd, even though there was no mention of emtpy ca_list in 
these versions, it works fine.

In Apache Httpd, using SSLCADNRequestFile with a file containing just a 
line return is enough to make it send an empty ca_list. Combined with 
"SSLVerifyClient optional_no_ca", it can accept any self-signed (or not) 
certificate.

In Java, setting the TrustManager do to this works fine:
     public X509Certificate[] getAcceptedIssuers() {
         return new X509Certificate[0];
     }

(That's something we use doing the FOAF+SSL work, where we verify the 
certificate at the application level, once the handshake is finished.)


This being said, I'm not suggesting making changes to the TLS 
specification, just conveying some extra information at the HTTP layer 
regarding the authentication that happens at the TLS layer, for better 
integration with the HTTP mechanisms.


>    3. (Bodo Moeller recently explained this to me):
>       cryptographic algorithm constraints on client certificates
>       According to rfc-5246 Section 7.4.6. there are constraints
>       if the client certificate is of one of these types:
>       rsa_fixed_dh, dss_fixed_dh, rsa_fixed_ecdh, ecdsa_fixed_ecdh
> 
>       http://tools.ietf.org/html/rfc5246#page-56
> 
>       restricting compatible client certs that can be used for
>       client cert authentication in TLS to _both_, characteristics
>       of the cipher suite plus characteristics of the server certificate
> 
>       This additional restriction does not apply to client certificates
>       rsa_sign, dsa_sign (and marginally to ecdsa_sign).

That's something I would leave as it is, for the TLS handshake to do. I 
don't think an WWW-Authenticate header should influence this.

If a 'WWW-Authenticate' for TLS certificate authentication was also to 
specify which certificate was preferred (something I'm not sure about at 
the moment), then the client would probably have to abide by the TLS 
requirements first and use the HTTP preference as a further hint only. 
For example, the ca_list sent by the server could contain a number of 
DNs, but the 'WWW-Authenticate' would have an order of preference, for 
this particular resource; if the preference list at the HTTP level was 
incompatible with the ca_list at the TLS layer (or other TLS 
requirements as you mention), then the TLS layer would prevail.


>> As a side note, I also think that such a mechanism could partly help
>> with the TLS renegotiation issue (still discussed on the IETF TLS
>> mailing list). Indeed, if the HTTP framework was able to detect a
>> renegotiation had occurred, it could make the client re-send the request
>> post-negotiation (rather than assume that the certificate presented
>> during the second handshake were also valid for the request sent before).
> 
> Changing/switching client identities is also a somewhat underspecified area.
> 
> In theory, clients can offer some means to "flush" the client-side
> TLS session cache (several browsers have that, I think), but it
> may be a function hidden in some configuration options many casual
> users have never used or maybe even looked at.

Indeed, in Firefox you can do this by logging out of the software 
security device (Preferences -> Advanced -> Encryption -> Security 
Devices -> 'Software Security Device' -> Log Out), and, in Internet 
Explorer: Internet Options -> Content -> Clear SSL State.


> I'm not sure that current / commonly used browsers, which offer
> multi-windows and tabbed browsing, have an adequate client-side
> session cache management (in the browser) to reliably manage many
> parallel sessions with the exact same server and individual
> TLS client identities/credentials for each session.

That's unfortunately not specific to TLS authentication. Browsers tend 
to have a single sign-on across tabs and windows, where you're logged on 
forever across all of them, for Basic/Digest/TLS/Cookie authentication 
with the exception that only cookies/forms tend to have a convenient log 
out mechanism. (Again, logging out of the software security device also 
logs you out in Firefox, but that's quite far away.)


Best wishes,

Bruno.

From n.mavrogiannopoulos@gmail.com  Wed Jan 20 07:39:28 2010
Return-Path: <n.mavrogiannopoulos@gmail.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6A00B3A6452 for <tls@core3.amsl.com>; Wed, 20 Jan 2010 07:39:28 -0800 (PST)
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 ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id txEa0e5KHM3P for <tls@core3.amsl.com>; Wed, 20 Jan 2010 07:39:27 -0800 (PST)
Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by core3.amsl.com (Postfix) with ESMTP id 600E73A67F0 for <tls@ietf.org>; Wed, 20 Jan 2010 07:39:27 -0800 (PST)
Received: by ewy1 with SMTP id 1so3084782ewy.28 for <tls@ietf.org>; Wed, 20 Jan 2010 07:39:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:openpgp:content-type:content-transfer-encoding; bh=QlgpRk4nnk95YxuM2rBhcipSDY51MRDa96aTH/Cth1Q=; b=mQht4GnKsWiA+FDIwxyfX1DvDEiHo4viexv7u+zJypqOekPR44Vfz4TjCMIFg0rltJ XB0Q+ZvWdXcSo89b3f8d8REZZd3Bnz8QFG8cqeqago8SLbM5DbOJEN6P3vGJItFGhZbC vmgUS2/I3CEHiqFuf00lRV4oT3z4bf3QtbYAk=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:openpgp:content-type :content-transfer-encoding; b=m/7h2bjwnPIqYttvGRbRo7uD/UxHfEa6pJNMuWVho/UdPgpHhhsu7r+WYuXYDl8KPP t6kl2rXymSyj8rlhJ/2o8gGmmSC1RRbZb6fy9ICC+ELepw8yqbPUaGgSIxFHY5ljm0xz veWlrdM/7uyZSX0xdLUdAfhU60WpWHfTpjmtw=
Received: by 10.213.97.80 with SMTP id k16mr147728ebn.2.1264001960878; Wed, 20 Jan 2010 07:39:20 -0800 (PST)
Received: from ?10.100.2.14? (78-23-67-218.access.telenet.be [78.23.67.218]) by mx.google.com with ESMTPS id 14sm2182ewy.11.2010.01.20.07.39.18 (version=SSLv3 cipher=RC4-MD5); Wed, 20 Jan 2010 07:39:19 -0800 (PST)
Sender: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
Message-ID: <4B5723A5.8050508@gnutls.org>
Date: Wed, 20 Jan 2010 16:39:17 +0100
From: Nikos Mavrogiannopoulos <nmav@gnutls.org>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Adam Langley <agl@google.com>
References: <a84d7bc61001200520t4e3be7d4sb0bb614abb0b5e4e@mail.gmail.com>	 <c331d99a1001200646o55d7d2f6wfaad058b84e6024e@mail.gmail.com> <a84d7bc61001200705v39b37ba3qaea1ca4149afb0a0@mail.gmail.com>
In-Reply-To: <a84d7bc61001200705v39b37ba3qaea1ca4149afb0a0@mail.gmail.com>
X-Enigmail-Version: 0.95.7
OpenPGP: id=96865171
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: tls@ietf.org
Subject: Re: [TLS] Next protocol negotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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, 20 Jan 2010 15:39:28 -0000

Adam Langley wrote:

> <nmav@gnutls.org> wrote:
>> I was wondering, why not do it the other way round. I mean why not
>> upgrade to TLS from
>> websockets using the rfc2817 method (Upgrading to TLS Within
>> HTTP/1.1), or similar. Wouldn't
>> that solve the need for a new TLS extension?
[...]
> Using HTTP Upgrade is a possibility for this, as discussed:
> 
> "We could have wrapped the first request in an HTTP presentation.
> Base64 encoding and the HTTP headers increase the size of the request.
> Later disambiguation also makes the server side code less modular. Lastly,
> it simply strikes one as the wrong thing to do; admiting defeat and
> accepting an accumulation of protocol detritus."

Ok now I see your point. However I still suggest solving issues at the
appropriate layer, even that has some performance cost. Consider the
case where applications add extensions to TCP. In the long term I
believe it pays off by having a simple security provider protocol and
simple applications that implement it. (not that today's TLS is that
simple - and there are already some application specific extensions).

best regards,
Nikos

From Bruno.Harbulot@manchester.ac.uk  Wed Jan 20 07:55:43 2010
Return-Path: <Bruno.Harbulot@manchester.ac.uk>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 201223A6A93 for <tls@core3.amsl.com>; Wed, 20 Jan 2010 07:55:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.574
X-Spam-Level: 
X-Spam-Status: No, score=-5.574 tagged_above=-999 required=5 tests=[AWL=-1.975, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 OfDtFUl6cLrK for <tls@core3.amsl.com>; Wed, 20 Jan 2010 07:55:42 -0800 (PST)
Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93]) by core3.amsl.com (Postfix) with ESMTP id 1C70D3A6A92 for <tls@ietf.org>; Wed, 20 Jan 2010 07:55:41 -0800 (PST)
Received: from kelvin.its.manchester.ac.uk ([130.88.25.195]) by serenity.mcc.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from <Bruno.Harbulot@manchester.ac.uk>) id 1NXcu8-000Nj6-GN; Wed, 20 Jan 2010 15:55:36 +0000
Received: from pulsar.rcs.manchester.ac.uk ([130.88.1.47]:43405 helo=mymachine) by kelvin.its.manchester.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <Bruno.Harbulot@manchester.ac.uk>) id 1NXcu8-0002hM-B7; Wed, 20 Jan 2010 15:55:36 +0000
Message-ID: <4B572778.6010903@manchester.ac.uk>
Date: Wed, 20 Jan 2010 15:55:36 +0000
From: Bruno Harbulot <Bruno.Harbulot@manchester.ac.uk>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Steve Dispensa <dispensa@phonefactor.com>
References: <4B55B51B.2040706@manchester.ac.uk> <C77BDFA6.E5C3%dispensa@phonefactor.com>
In-Reply-To: <C77BDFA6.E5C3%dispensa@phonefactor.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Authenticated-Sender: Bruno Harbulot from pulsar.rcs.manchester.ac.uk (mymachine) [130.88.1.47]:43405
X-Authenticated-From: Bruno.Harbulot@manchester.ac.uk
X-UoM: Scanned by the University Mail System. See http://www.itservices.manchester.ac.uk/email/filtering/information/ for details.
Cc: tls@ietf.org, ietf-http-wg-request@w3.org
Subject: Re: [TLS] WWW-Authenticate challenge for client-certificates
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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, 20 Jan 2010 15:55:43 -0000

Hello,

Steve Dispensa wrote:
> On 1/19/10 7:35 AM, "Bruno Harbulot" <Bruno.Harbulot-m7QheJJv02N4oUbgFh0ZNQ@public.gmane.org>
>> I'd like to suggest ideas towards the potential specification of a
>> challenge for client-certificate authentication using HTTP over TLS.
> 
> Any interest in incorporating other TLS authentication methods like SRP?

Why not. I don't know much about SRP, but this might work in a similar 
way. We could have this:
   WWW-Authenticate: transport mode="tls-client-certificate"
   WWW-Authenticate: transport mode="tls-srp"


>> For example, most TLS frameworks either "request" or "require" a
>> client-certificate (using the Apache Httpd terminology).
>> In 'request' mode, the server asks for a client-certificate, but will
>> continue the connection if the client doesn't present one
>> ("setWantAuthentication" in Java).
>> In 'require' mode, the server asks for a client-certificate, but makes
>> the TLS handshake fail if the client doesn't present one
>> ("setNeedAuthentication" in Java).
> 
> At least one commercial vendor has a server-wide setting to "require" that
> TLS request a client certificate, but it's legal for the client to decline.
> That being the case, this commercial vendor's decision is simply to move on
> and keep processing, not bothering to validate the presence of the
> certificate until later. This then triggered a renegotiation, leading to the
> renegotiation problem. The point is that, in this case, simply setting the
> server to "require" a client cert wasn't good enough, since it allowed the
> client to decline it. The semantics of this area of HTTP-TLS interaction is
> complex and ill-defined.

What I meant by 'require' is a server that would not accept a client 
sending an empty TLS Certificate message in response to a TLS 
CertificateRequest message (and thus terminate the handshake with an 
error message). I'm not sure we mean 'require' in the same way here, 
since it couldn't possibly let the client continue the connection in 
this case (the TLS connection not being even established).

IIS (and the .Net HTTP framework) seems to be configured by default not 
to request a certificate, but to request one only at a later point, 
depending on what the HTTP request is trying to access. I'm not sure if 
this is the commercial vendor you had in mind, but this one does indeed 
use re-negotiation by default (unless configured with 
clientcertnegotiation=true with netsh), but I can't find much 
information from MS about CVE-2009-3555 anyway.


>> As a side note, I also think that such a mechanism could partly help
>> with the TLS renegotiation issue (still discussed on the IETF TLS
>> mailing list). Indeed, if the HTTP framework was able to detect a
>> renegotiation had occurred, it could make the client re-send the request
>> post-negotiation (rather than assume that the certificate presented
>> during the second handshake were also valid for the request sent before).
> 
> 
> This would indeed obviate the need to renegotiate to request a client
> certificate. In any case, it has the potential to clarify exactly what
> authenticated identity is associated with each request. (There has been a
> significant amount of discussion lately about identity changes during TLS
> connections across renegotiations, and whether apps are prepared to properly
> handle these changes.)
> 
> I'm all for a more explicit identity model here.

Yes, I think such a header 'WWW-Authenticate' could also include a 
parameter to have a hint of which certificate to send. I'm not sure 
whether the request resent should have an 'Authorization' header, since 
the credentials would be obtainable from the the TLS layer anyway.


> I also heard it suggested that an HTTP status code for "resend request"
> would have been useful - that way, the trick of buffering a request and
> requesting a renegotiation wouldn't have been needed in the first place. I
> think clarifying the authentication process is a better, more specific
> solution to the problem, but perhaps a "resend request" status would be
> helpful. I just wanted to throw that out for discussion.

What I had in mind was indeed a "cleaner 401" behaviour for TLS 
authentication, so as to model the resend request like other HTTP 
mechanisms do (form/cookies excepted of course, but that's another debate).


Best wishes,

Bruno.

From n.mavrogiannopoulos@gmail.com  Wed Jan 20 07:56:16 2010
Return-Path: <n.mavrogiannopoulos@gmail.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 272AC28B56A for <tls@core3.amsl.com>; Wed, 20 Jan 2010 07:56:16 -0800 (PST)
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 ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UzZsTrJyvB1a for <tls@core3.amsl.com>; Wed, 20 Jan 2010 07:56:15 -0800 (PST)
Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by core3.amsl.com (Postfix) with ESMTP id 27C4C28B23E for <tls@ietf.org>; Wed, 20 Jan 2010 07:56:15 -0800 (PST)
Received: by ey-out-2122.google.com with SMTP id 22so1097652eye.51 for <tls@ietf.org>; Wed, 20 Jan 2010 07:56:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:openpgp:content-type:content-transfer-encoding; bh=R7s5XcaYsfx7kwGG3dHvEuNZuoXEInSAabx63Kh/U/Q=; b=VMIen3iteMvqqNHPaOjInvd4bE+eKTR134JSsCTAxHqIuJ6a69l+81IboEHa4dEups Jqu9Gxm2E5ZgtX5CbU+B0xSeyyr6kFoNQuc/BWt23QCq4/tfssiZxnjv4MpOOsJoQZlU xcEir8tF7VgZo2q3XTTW1/UGb4XUkj8TRazlY=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:openpgp:content-type :content-transfer-encoding; b=r9c0uTG5Ji3NF0I1Q99vI4AU5N3bYKtQ/3D8xEVVyndsHlUWjdtjyr0/pMUhfYBFsz 1t9JUl5H2AlZHmOi/4oI9XLn4fdB7NKu1W91KUR2LnhaRR1pBQKr7FhV+B+1SvhcY0zH Hb/Ah4tAvHKpUH86X4KP0W4ug12jJwK7ilJNE=
Received: by 10.213.39.70 with SMTP id f6mr123319ebe.62.1264002968011; Wed, 20 Jan 2010 07:56:08 -0800 (PST)
Received: from ?10.100.2.14? (78-23-67-218.access.telenet.be [78.23.67.218]) by mx.google.com with ESMTPS id 14sm12000ewy.15.2010.01.20.07.56.05 (version=SSLv3 cipher=RC4-MD5); Wed, 20 Jan 2010 07:56:06 -0800 (PST)
Sender: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
Message-ID: <4B572794.3000303@gnutls.org>
Date: Wed, 20 Jan 2010 16:56:04 +0100
From: Nikos Mavrogiannopoulos <nmav@gnutls.org>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: mrex@sap.com
References: <201001200151.o0K1p5UI024712@fs4113.wdf.sap.corp>
In-Reply-To: <201001200151.o0K1p5UI024712@fs4113.wdf.sap.corp>
X-Enigmail-Version: 0.95.7
OpenPGP: id=96865171
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: tls@ietf.org
Subject: Re: [TLS] permitted client behaviour when rejecting renegotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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, 20 Jan 2010 15:56:16 -0000

Martin Rex wrote:
> Considering the guidance in draft-ietf-tls-renegotiation-03.txt
> and the specification of HelloRequest starting with rfc-2246 (TLSv1.0)
> http://tools.ietf.org/html/rfc2246#section-7.4.1.1
[...]
> Question to implementors: what will your TLS servers do when a client
> simply ignores HelloRequest--a behaviour that has been allowed by all
> existing TLS specs for 10 years?

I always wondered how this behavior was supposed to work. For gnutls an
error is returned if the request is ignored.  I think the use cases of
these packets for renegotiation should be clearly defined (i.e. why send
this packets and what should be expected from peer). I don't know how
easy it is to implement the semantics precisely, but so far I didn't see
any compelling reason to do so.

regards,
Nikos

From agl@google.com  Wed Jan 20 07:57:40 2010
Return-Path: <agl@google.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 29A663A6A8E for <tls@core3.amsl.com>; Wed, 20 Jan 2010 07:57:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.477
X-Spam-Level: 
X-Spam-Status: No, score=-106.477 tagged_above=-999 required=5 tests=[AWL=-0.500, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_MED=-4, 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 XCc0+RFZLl7F for <tls@core3.amsl.com>; Wed, 20 Jan 2010 07:57:39 -0800 (PST)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.33.17]) by core3.amsl.com (Postfix) with ESMTP id 29C2A3A6A61 for <tls@ietf.org>; Wed, 20 Jan 2010 07:57:39 -0800 (PST)
Received: from kpbe17.cbf.corp.google.com (kpbe17.cbf.corp.google.com [172.25.105.81]) by smtp-out.google.com with ESMTP id o0KFvXXC005378 for <tls@ietf.org>; Wed, 20 Jan 2010 15:57:33 GMT
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1264003053; bh=4npLwODVK01doQzthGTTV4+RSvk=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Cc:Content-Type; b=AU17wxnx4uv/ytNYMrRxjZgTZow6XciUKVn4khkyb0vUADeqFrqVzWjtjqY+P4g9F myW5XJGFFocgIRuX5zBWA==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:date:message-id:subject:from:to: cc:content-type:x-system-of-record; b=aAW7gfvVvSPbZPq2RHGBaPFsKv7t0WqNqTj+CDcYieyXl3hPuaJ+scu6dZ76ROdCW M/xE6vczutErLzQrZo15A==
Received: from pzk34 (pzk34.prod.google.com [10.243.19.162]) by kpbe17.cbf.corp.google.com with ESMTP id o0KFvVuS008138 for <tls@ietf.org>; Wed, 20 Jan 2010 07:57:32 -0800
Received: by pzk34 with SMTP id 34so4058803pzk.11 for <tls@ietf.org>; Wed, 20 Jan 2010 07:57:31 -0800 (PST)
MIME-Version: 1.0
Received: by 10.143.20.39 with SMTP id x39mr94232wfi.213.1264003051425; Wed,  20 Jan 2010 07:57:31 -0800 (PST)
In-Reply-To: <4B5723A5.8050508@gnutls.org>
References: <a84d7bc61001200520t4e3be7d4sb0bb614abb0b5e4e@mail.gmail.com> <c331d99a1001200646o55d7d2f6wfaad058b84e6024e@mail.gmail.com> <a84d7bc61001200705v39b37ba3qaea1ca4149afb0a0@mail.gmail.com> <4B5723A5.8050508@gnutls.org>
Date: Wed, 20 Jan 2010 07:57:31 -0800
Message-ID: <a84d7bc61001200757p30ffded4y8b0f34b157fa4dc4@mail.gmail.com>
From: Adam Langley <agl@google.com>
To: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Content-Type: text/plain; charset=UTF-8
X-System-Of-Record: true
Cc: tls@ietf.org
Subject: Re: [TLS] Next protocol negotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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, 20 Jan 2010 15:57:40 -0000

On Wed, Jan 20, 2010 at 7:39 AM, Nikos Mavrogiannopoulos
<nmav@gnutls.org> wrote:
> Ok now I see your point. However I still suggest solving issues at the
> appropriate layer, even that has some performance cost.

The appropriate layer for protocol disambiguation is TCP.
Unfortunately, this mechanism has stopped functioning for practical
purposes and we're aware that we aren't the only group facing this
problem.

Burning an additional round trip on protocol discovery is unacceptable
for us[1]. 200ms is a good round-trip time on a 3G network and the
nature of web content means that progressive discovery of additional
resources amplifies this delay.

Also, consider that without a suitable mechanism, we might be
condemning future protocols to forever limiting their initial
handshake to something that is HTTP compatible. We (Google) don't mind
putting in the work to make more fundamental changes but others,
perhaps, would choose not to for reasons of expediency, and would pay
this technical debt forever more.

[1] http://googleblog.blogspot.com/2009/06/lets-make-web-faster.html


AGL

From marsh@extendedsubset.com  Wed Jan 20 08:06:08 2010
Return-Path: <marsh@extendedsubset.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B13C43A6855 for <tls@core3.amsl.com>; Wed, 20 Jan 2010 08:06:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.562
X-Spam-Level: 
X-Spam-Status: No, score=-2.562 tagged_above=-999 required=5 tests=[AWL=0.038,  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 I4OJiM8bF-i5 for <tls@core3.amsl.com>; Wed, 20 Jan 2010 08:06:07 -0800 (PST)
Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) by core3.amsl.com (Postfix) with ESMTP id 95CBE3A681E for <tls@ietf.org>; Wed, 20 Jan 2010 08:06:07 -0800 (PST)
Received: from xs01.extendedsubset.com ([69.164.193.58]) by mho-02-ewr.mailhop.org with esmtpa (Exim 4.68) (envelope-from <marsh@extendedsubset.com>) id 1NXd4E-0004gW-U5; Wed, 20 Jan 2010 16:06:03 +0000
Received: from [127.0.0.1] (localhost [127.0.0.1]) by xs01.extendedsubset.com (Postfix) with ESMTP id 1DA6C631F; Wed, 20 Jan 2010 16:05:57 +0000 (UTC)
X-Mail-Handler: MailHop Outbound by DynDNS
X-Originating-IP: 69.164.193.58
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1+7AlvuOxZDSE209QgIiu3kCye8Djw4B68=
Message-ID: <4B5729E5.9000200@extendedsubset.com>
Date: Wed, 20 Jan 2010 10:05:57 -0600
From: Marsh Ray <marsh@extendedsubset.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Bruno Harbulot <Bruno.Harbulot@manchester.ac.uk>
References: <4B55B51B.2040706@manchester.ac.uk>	<C77BDFA6.E5C3%dispensa@phonefactor.com> <4B572778.6010903@manchester.ac.uk>
In-Reply-To: <4B572778.6010903@manchester.ac.uk>
X-Enigmail-Version: 0.96.0
OpenPGP: id=1E36DBF2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: tls@ietf.org, ietf-http-wg-request@w3.org
Subject: Re: [TLS] WWW-Authenticate challenge for client-certificates
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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, 20 Jan 2010 16:06:08 -0000

Bruno Harbulot wrote:
> 
> IIS (and the .Net HTTP framework) seems to be configured by default not
> to request a certificate, but to request one only at a later point,
> depending on what the HTTP request is trying to access. I'm not sure if
> this is the commercial vendor you had in mind, but this one does indeed
> use re-negotiation by default (unless configured with
> clientcertnegotiation=true with netsh), but I can't find much
> information from MS about CVE-2009-3555 anyway.

Configuring a multi-purpose web server to allow an optional client
certificate can have the side effect of popping up a 'choose cert'
dialog in the user's web browser, whether they are likely to need one or
not. Not something you want on your home page.

I think it's mainly for this reason that certs are not accepted on the
initial connection.

> Yes, I think such a header 'WWW-Authenticate' could also include a
> parameter to have a hint of which certificate to send. I'm not sure
> whether the request resent should have an 'Authorization' header, since
> the credentials would be obtainable from the the TLS layer anyway.

You might have to specify everything that would be specified in the TLS
Certificate Request message, and add to that your enhancements.

RFC 2246:
>        enum {
>            rsa_sign(1), dss_sign(2), rsa_fixed_dh(3), dss_fixed_dh(4),
>            (255)
>        } ClientCertificateType;
> 
>        opaque DistinguishedName<1..2^16-1>;
> 
>        struct {
>            ClientCertificateType certificate_types<1..2^8-1>;
>            DistinguishedName certificate_authorities<3..2^16-1>;
>        } CertificateRequest;
> 
>        certificate_types
>               This field is a list of the types of certificates requested,
>               sorted in order of the server's preference.
> 
>        certificate_authorities
>            A list of the distinguished names of acceptable certificate
>            authorities. These distinguished names may specify a desired
>            distinguished name for a root CA or for a subordinate CA;
>            thus, this message can be used both to describe known roots
>            and a desired authorization space.
> 
>  Note: DistinguishedName is derived from [X509].
> 
>  Note: It is a fatal handshake_failure alert for an anonymous server to
>        request client identification.

- Marsh

From marsh@extendedsubset.com  Wed Jan 20 08:26:29 2010
Return-Path: <marsh@extendedsubset.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CA2DB3A6878 for <tls@core3.amsl.com>; Wed, 20 Jan 2010 08:26:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.566
X-Spam-Level: 
X-Spam-Status: No, score=-2.566 tagged_above=-999 required=5 tests=[AWL=0.033,  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 Ebt2YcKDFH4R for <tls@core3.amsl.com>; Wed, 20 Jan 2010 08:26:29 -0800 (PST)
Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) by core3.amsl.com (Postfix) with ESMTP id EA90D3A67D7 for <tls@ietf.org>; Wed, 20 Jan 2010 08:26:28 -0800 (PST)
Received: from xs01.extendedsubset.com ([69.164.193.58]) by mho-02-ewr.mailhop.org with esmtpa (Exim 4.68) (envelope-from <marsh@extendedsubset.com>) id 1NXdNp-000Ehe-0y; Wed, 20 Jan 2010 16:26:17 +0000
Received: from [127.0.0.1] (localhost [127.0.0.1]) by xs01.extendedsubset.com (Postfix) with ESMTP id 56ABE631F; Wed, 20 Jan 2010 16:26:15 +0000 (UTC)
X-Mail-Handler: MailHop Outbound by DynDNS
X-Originating-IP: 69.164.193.58
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX182VroPBrBVpkWV9ZqV8XX+Q/MWa6hL6Bc=
Message-ID: <4B572EA6.8040902@extendedsubset.com>
Date: Wed, 20 Jan 2010 10:26:14 -0600
From: Marsh Ray <marsh@extendedsubset.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Adam Langley <agl@google.com>
References: <a84d7bc61001200520t4e3be7d4sb0bb614abb0b5e4e@mail.gmail.com>	<c331d99a1001200646o55d7d2f6wfaad058b84e6024e@mail.gmail.com>	<a84d7bc61001200705v39b37ba3qaea1ca4149afb0a0@mail.gmail.com>	<4B5723A5.8050508@gnutls.org> <a84d7bc61001200757p30ffded4y8b0f34b157fa4dc4@mail.gmail.com>
In-Reply-To: <a84d7bc61001200757p30ffded4y8b0f34b157fa4dc4@mail.gmail.com>
X-Enigmail-Version: 0.96.0
OpenPGP: id=1E36DBF2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: tls@ietf.org
Subject: Re: [TLS] Next protocol negotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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, 20 Jan 2010 16:26:29 -0000

Adam Langley wrote:
> On Wed, Jan 20, 2010 at 7:39 AM, Nikos Mavrogiannopoulos
> <nmav@gnutls.org> wrote:
>> Ok now I see your point. However I still suggest solving issues at the
>> appropriate layer, even that has some performance cost.
> 
> The appropriate layer for protocol disambiguation is TCP.
> Unfortunately, this mechanism has stopped functioning for practical
> purposes and we're aware that we aren't the only group facing this
> problem.

One point of view is that firewall admins are ports because of their
intentional policies and it is their right to control what goes on on
their own network. Port 443 is going to be less useful over time as more
sites deploy SSL-inspecting proxies.

I don't particularly like that point of view, but it does seem to be the
reality. So we have a situation where people desiring to make a new
simple, secure protocol have to smuggle their traffic (even outbound
connections) like some kind of malware.

Once we're honest about what we're doing, other options might be available:

Port 443 to a proxy server with the CONNECT verb usually works.

It is rumored that many firewalls will pass anything over port 53.

On many corporate Windows PCs, the 'proxy server' info available in the
registry is the only reliable way to make outbound connections.

> Burning an additional round trip on protocol discovery is unacceptable
> for us[1]. 200ms is a good round-trip time on a 3G network and the
> nature of web content means that progressive discovery of additional
> resources amplifies this delay.
> 
> Also, consider that without a suitable mechanism, we might be
> condemning future protocols to forever limiting their initial
> handshake to something that is HTTP compatible.

You might also be able to use HTTPS to tunnel to an appropriate proxy.

> We (Google) don't mind
> putting in the work to make more fundamental changes but others,
> perhaps, would choose not to for reasons of expediency, and would pay
> this technical debt forever more.
> 
> [1] http://googleblog.blogspot.com/2009/06/lets-make-web-faster.html

Thank you guys for caring about 200ms of my finite lifetime.

- Marsh

From dispensa@phonefactor.com  Wed Jan 20 08:31:02 2010
Return-Path: <dispensa@phonefactor.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 579423A67D7 for <tls@core3.amsl.com>; Wed, 20 Jan 2010 08:31:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.979
X-Spam-Level: 
X-Spam-Status: No, score=-3.979 tagged_above=-999 required=5 tests=[AWL=-1.380, 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 DPhLmqNW4+sP for <tls@core3.amsl.com>; Wed, 20 Jan 2010 08:31:01 -0800 (PST)
Received: from na3sys009aog108.obsmtp.com (na3sys009aog108.obsmtp.com [74.125.149.199]) by core3.amsl.com (Postfix) with SMTP id CC81D3A6A7A for <tls@ietf.org>; Wed, 20 Jan 2010 08:31:00 -0800 (PST)
Received: from source ([204.13.120.8]) by na3sys009aob108.postini.com ([74.125.148.12]) with SMTP ID DSNKS1cvwFpPS3rofH/e4pP38z3lunLcGtKD@postini.com; Wed, 20 Jan 2010 08:30:57 PST
Received: from 10.10.10.85 ([10.10.10.85]) by pos-exch1.corp.positivenetworks.net ([204.13.120.11]) with Microsoft Exchange Server HTTP-DAV ; Wed, 20 Jan 2010 16:28:03 +0000
User-Agent: Microsoft-Entourage/12.20.0.090605
Date: Wed, 20 Jan 2010 10:30:54 -0600
From: Steve Dispensa <dispensa@phonefactor.com>
To: Marsh Ray <marsh@extendedsubset.com>, Adam Langley <agl@google.com>
Message-ID: <C77C8BDE.E62A%dispensa@phonefactor.com>
Thread-Topic: [TLS] Next protocol negotiation
Thread-Index: AcqZ7e+f36v90zYFL0WPiPyNSweV8Q==
In-Reply-To: <4B572EA6.8040902@extendedsubset.com>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
Cc: tls@ietf.org
Subject: Re: [TLS] Next protocol negotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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, 20 Jan 2010 16:31:02 -0000

On 1/20/10 10:26 AM, "Marsh Ray" <marsh@extendedsubset.com> wrote:
> One point of view is that firewall admins are ports because of their
> intentional policies and it is their right to control what goes on on
> their own network.

That's giving many administrators too much credit; the new WizBang
FireScannerProxyWallThingy(TM) is configured to automatically block anything
and everything, because that's what WizBang's coders read was best practice
in the latest Gartner report, and the administrator is only dimly aware of
what's really going on. He just knows he can check the box on this year's
SAS-70 audit.

Surely you're right some of the time, but I suspect stuff gets automatically
blocked more often than not.

 -Steve


From agl@google.com  Wed Jan 20 08:52:42 2010
Return-Path: <agl@google.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D08823A6837 for <tls@core3.amsl.com>; Wed, 20 Jan 2010 08:52:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.31
X-Spam-Level: 
X-Spam-Status: No, score=-106.31 tagged_above=-999 required=5 tests=[AWL=-0.333, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_MED=-4, 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 BZtg2Qpzh-lL for <tls@core3.amsl.com>; Wed, 20 Jan 2010 08:52:41 -0800 (PST)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.33.17]) by core3.amsl.com (Postfix) with ESMTP id 939383A6823 for <tls@ietf.org>; Wed, 20 Jan 2010 08:52:40 -0800 (PST)
Received: from spaceape24.eur.corp.google.com (spaceape24.eur.corp.google.com [172.28.16.76]) by smtp-out.google.com with ESMTP id o0KGqZDd015603 for <tls@ietf.org>; Wed, 20 Jan 2010 16:52:35 GMT
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1264006355; bh=zIu5DvuTawucP0rufBQz2Q7JxMY=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Cc:Content-Type; b=bUCkNtSFa3KBcSx2lemhaFT5TIcsPcu3GBAbP3xuXsm5s0xMHOMJRUnObQZGnyffR eAGLPRLnqjdwUHdhJYjmQ==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:date:message-id:subject:from:to: cc:content-type:x-system-of-record; b=VVL8dNDa/3bFkLFb9I0icpBUj0k+75vAdRXFEjHvpKVqjYVveunTVLLDOCuBwIS3P 94rUkDKangxsvNGwKb7Zg==
Received: from pxi41 (pxi41.prod.google.com [10.243.27.41]) by spaceape24.eur.corp.google.com with ESMTP id o0KGqXLo020889 for <tls@ietf.org>; Wed, 20 Jan 2010 08:52:34 -0800
Received: by pxi41 with SMTP id 41so4097315pxi.27 for <tls@ietf.org>; Wed, 20 Jan 2010 08:52:33 -0800 (PST)
MIME-Version: 1.0
Received: by 10.142.56.9 with SMTP id e9mr156984wfa.62.1264006352867; Wed, 20  Jan 2010 08:52:32 -0800 (PST)
In-Reply-To: <4B572EA6.8040902@extendedsubset.com>
References: <a84d7bc61001200520t4e3be7d4sb0bb614abb0b5e4e@mail.gmail.com> <c331d99a1001200646o55d7d2f6wfaad058b84e6024e@mail.gmail.com> <a84d7bc61001200705v39b37ba3qaea1ca4149afb0a0@mail.gmail.com> <4B5723A5.8050508@gnutls.org> <a84d7bc61001200757p30ffded4y8b0f34b157fa4dc4@mail.gmail.com> <4B572EA6.8040902@extendedsubset.com>
Date: Wed, 20 Jan 2010 08:52:32 -0800
Message-ID: <a84d7bc61001200852p18ca82e4me4214661d7b0be9b@mail.gmail.com>
From: Adam Langley <agl@google.com>
To: Marsh Ray <marsh@extendedsubset.com>
Content-Type: text/plain; charset=UTF-8
X-System-Of-Record: true
Cc: tls@ietf.org
Subject: Re: [TLS] Next protocol negotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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, 20 Jan 2010 16:52:42 -0000

On Wed, Jan 20, 2010 at 8:26 AM, Marsh Ray <marsh@extendedsubset.com> wrote:
> Adam Langley wrote:
> One point of view is that firewall admins are ports because of their
> intentional policies and it is their right to control what goes on on
> their own network. Port 443 is going to be less useful over time as more
> sites deploy SSL-inspecting proxies.

Organisations that deploy intercepting proxies and port blocking
middleware (etc) have reasonable policy goals that they are trying to
implement. These people, for the most part, are not bad nor evil.

But one cannot expect them to understand the value of the end-to-end
principle. They are evaluating different solutions and balancing cost
and utility, as it effects them. It turns out that many of them end up
choosing networking hardware for caching, virus-scanning, content
control etc.

These network based solutions can be cheap, but they achieve these
cost reductions, in part, by imposing negative externalities on the
rest of the world. It's the case these days that HTTP traffic will
usually be 'transparently' intercepted at least once. DNS traffic is
likewise adulterated, as are many other protocols. Because of this,
protocol advances are delayed or lost. (HTTP pipelining is one
example, there are many others including our own SDCH[1]).
Unfortunately, these losses to the world are non-obvious to many and
hard to measure.

TLS is attractive because it is obviously much more resistant to these
machinations. (I'm aware that such devices do exist to intercept SSL,
but they should hopefully be intrinsically more limited.)

I admit that by using TLS we are bypassing (preferably) these
middleware boxes. Because of this, the cost/benefit analysis of these
boxes will hopefully shift so that people start to look for other
solutions. We know that we'll have to provide alternatives, but these
can be designed so as not to consign the public Internet to slow
stagnation at the bottom of the protocol stack.

[1] http://en.oreilly.com/velocity2008/public/schedule/detail/2598

> Port 443 to a proxy server with the CONNECT verb usually works.
>
> It is rumored that many firewalls will pass anything over port 53.
>
> On many corporate Windows PCs, the 'proxy server' info available in the
> registry is the only reliable way to make outbound connections.

Port 53 is not as clean as one might hope. CONNECT and port 443 often
works, but then we have the same issue as we currently face: how to
disambiguate protocols when the TCP port mechanism is unavailable.
Next protocol negotiation is our proposed solution.

> Thank you guys for caring about 200ms of my finite lifetime.

You're welcome although, as noted, the actual delay usually ends up
being several multiples for web pages as subresource discovery is
slowed down for other domains.


AGL

From marsh@extendedsubset.com  Wed Jan 20 08:54:44 2010
Return-Path: <marsh@extendedsubset.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 34E203A6837 for <tls@core3.amsl.com>; Wed, 20 Jan 2010 08:54:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.569
X-Spam-Level: 
X-Spam-Status: No, score=-2.569 tagged_above=-999 required=5 tests=[AWL=0.030,  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 WAQxFxkrzHAm for <tls@core3.amsl.com>; Wed, 20 Jan 2010 08:54:43 -0800 (PST)
Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) by core3.amsl.com (Postfix) with ESMTP id 47BDC3A6823 for <tls@ietf.org>; Wed, 20 Jan 2010 08:54:43 -0800 (PST)
Received: from xs01.extendedsubset.com ([69.164.193.58]) by mho-02-ewr.mailhop.org with esmtpa (Exim 4.68) (envelope-from <marsh@extendedsubset.com>) id 1NXdpH-0002Rc-0t; Wed, 20 Jan 2010 16:54:39 +0000
Received: from [127.0.0.1] (localhost [127.0.0.1]) by xs01.extendedsubset.com (Postfix) with ESMTP id 49349631F; Wed, 20 Jan 2010 16:54:33 +0000 (UTC)
X-Mail-Handler: MailHop Outbound by DynDNS
X-Originating-IP: 69.164.193.58
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1+Ocl/EwdCsa0JjaZ+NpeLt0fwZlGPQ134=
Message-ID: <4B573548.3090804@extendedsubset.com>
Date: Wed, 20 Jan 2010 10:54:32 -0600
From: Marsh Ray <marsh@extendedsubset.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Steve Dispensa <dispensa@phonefactor.com>
References: <C77C8BDE.E62A%dispensa@phonefactor.com>
In-Reply-To: <C77C8BDE.E62A%dispensa@phonefactor.com>
X-Enigmail-Version: 0.96.0
OpenPGP: id=1E36DBF2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: tls@ietf.org
Subject: Re: [TLS] Next protocol negotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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, 20 Jan 2010 16:54:44 -0000

Steve Dispensa wrote:
> On 1/20/10 10:26 AM, "Marsh Ray" <marsh@extendedsubset.com> wrote:
>> One point of view is that firewall admins are ports because of their
>> intentional policies and it is their right to control what goes on on
>> their own network.
> 
> That's giving many administrators too much credit; the new WizBang
> FireScannerProxyWallThingy(TM) is configured to automatically block anything
> and everything, because that's what WizBang's coders read was best practice
> in the latest Gartner report, and the administrator is only dimly aware of
> what's really going on. He just knows he can check the box on this year's
> SAS-70 audit.

That's an intentional policy which is their right to set (whether it's a
good one or not).

> Surely you're right some of the time, but I suspect stuff gets automatically
> blocked more often than not.

Blocking outbound connections based on destination port number is
particularly stupid since it's a parameter trivially controlled by an
attacker.

It's more a tactic to discourage people within the organization from
using new protocols. Malware won't have any problems though.

There will never be a clean and standardized way to get around firewalls
that are trying to block you. Once a technique shows up on the radar,
sooner or later it will get subjected to policy. The radar seems to get
faster over time, too.

For a high-profile company like Google to develop a new transport for
the web, the best method might very well be to just get a proper port
number allocation and make the protocol useful and secure enough that
admins actually let it thorough. One thing that might help would be to
make it easy for filtering proxies to inspect.

- Marsh


From mrex@sap.com  Wed Jan 20 08:58:42 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 11F5D3A68DF for <tls@core3.amsl.com>; Wed, 20 Jan 2010 08:58:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.137
X-Spam-Level: 
X-Spam-Status: No, score=-10.137 tagged_above=-999 required=5 tests=[AWL=0.112, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 FuFW8HoQRoFb for <tls@core3.amsl.com>; Wed, 20 Jan 2010 08:58:41 -0800 (PST)
Received: from smtpde03.sap-ag.de (smtpde03.sap-ag.de [155.56.68.140]) by core3.amsl.com (Postfix) with ESMTP id EEBD23A6837 for <tls@ietf.org>; Wed, 20 Jan 2010 08:58:40 -0800 (PST)
Received: from mail.sap.corp by smtpde03.sap-ag.de (26) with ESMTP id o0KGwQqn015824 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 20 Jan 2010 17:58:26 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001201658.o0KGwPU3022827@fs4113.wdf.sap.corp>
To: nmav@gnutls.org (Nikos Mavrogiannopoulos)
Date: Wed, 20 Jan 2010 17:58:25 +0100 (MET)
In-Reply-To: <4B572794.3000303@gnutls.org> from "Nikos Mavrogiannopoulos" at Jan 20, 10 04:56:04 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal05
X-SAP: out
Cc: tls@ietf.org
Subject: Re: [TLS] permitted client behaviour when rejecting renegotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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, 20 Jan 2010 16:58:42 -0000

Nikos Mavrogiannopoulos wrote:
> 
> Martin Rex wrote:
> > Considering the guidance in draft-ietf-tls-renegotiation-03.txt
> > and the specification of HelloRequest starting with rfc-2246 (TLSv1.0)
> > http://tools.ietf.org/html/rfc2246#section-7.4.1.1
> [...]
> > Question to implementors: what will your TLS servers do when a client
> > simply ignores HelloRequest--a behaviour that has been allowed by all
> > existing TLS specs for 10 years?
> 
> I always wondered how this behavior was supposed to work. For gnutls an
> error is returned if the request is ignored.  I think the use cases of
> these packets for renegotiation should be clearly defined (i.e. why send
> this packets and what should be expected from peer). I don't know how
> easy it is to implement the semantics precisely, but so far I didn't see
> any compelling reason to do so.


To me, this sounds like the server's gnuTLS switches to half-duplex
communication when it _sends_ a HelloRequest and expects the next
_received_ TLS record to carry a ClientHello handshake message
(or a warning-level no_renegotiation alert).

Can you describe/confirm the exact behaviour for gnuTLS?


>From its design, the TLS protocol is full-duplex, so such behaviour
would not be compliant to any existing SSL/TLS protocol spec.

The full-duplex requirement, which is implied by the definition
of the HelloRequest message in SSLv3 already is probably the reason
why the "may ignore" was written out for TLS:

   The hello request message may be sent by the server at any time,
   but will be ignored by the client if the handshake protocol is
   already underway.  It is a simple notification that the client
   should begin the negotiation process anew by sending a client hello
   message when convenient.

That "when convenient" accounts to the fact that the (app) client
may be writing and the TLS implementation therefore not even
looking (read) whether there might be a HelloRequest handshake
message waiting -- and continue sending application data.


-Martin

From n.mavrogiannopoulos@gmail.com  Wed Jan 20 09:43:30 2010
Return-Path: <n.mavrogiannopoulos@gmail.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 681673A6932 for <tls@core3.amsl.com>; Wed, 20 Jan 2010 09:43:30 -0800 (PST)
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 ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2mkHtUgKvZPv for <tls@core3.amsl.com>; Wed, 20 Jan 2010 09:43:29 -0800 (PST)
Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by core3.amsl.com (Postfix) with ESMTP id 42F083A6895 for <tls@ietf.org>; Wed, 20 Jan 2010 09:43:29 -0800 (PST)
Received: by ewy1 with SMTP id 1so3239496ewy.28 for <tls@ietf.org>; Wed, 20 Jan 2010 09:43:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:openpgp:content-type:content-transfer-encoding; bh=hdYn6srQxPLj8pwPMeVgEXdZT+SMrg0z5nq1OVCIbhM=; b=N87C4hx5C8gJfb/vmnXFTzPlZqyQeFvv1ZdM2bapKkBvqL9zHxLduSe3FrMh8qKQpV qRNillW6p7SzXpTMB8jHTRnlb2t+nVwJbZkF1cWFaSTo6tRTB1aMZqAI3KK0mAZHjtFj si6d6g3mWwD1UDu+H0OrSnGqMuvIJYZanpDNg=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:openpgp:content-type :content-transfer-encoding; b=WuPg/2ZO4nSu2QAbup4UdMK7dGvwFk5b6+neGdEIeCs9Yf2lFswqzHe+/g36GLSA/q HDWx0Z9ufSg/zTSl4k6Xkx23aH1K/honK1lRSUjGaJfd0qkeNyWgNeCZs8Ru/56Umlm9 jgEhcVhDp1Kg1JTI8eEngNqVGkyc2zIiEYkjY=
Received: by 10.213.39.203 with SMTP id h11mr1141894ebe.0.1264009401999; Wed, 20 Jan 2010 09:43:21 -0800 (PST)
Received: from ?10.100.2.14? (78-23-67-218.access.telenet.be [78.23.67.218]) by mx.google.com with ESMTPS id 16sm90973ewy.2.2010.01.20.09.43.20 (version=SSLv3 cipher=RC4-MD5); Wed, 20 Jan 2010 09:43:20 -0800 (PST)
Sender: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
Message-ID: <4B5740B7.4010805@gnutls.org>
Date: Wed, 20 Jan 2010 18:43:19 +0100
From: Nikos Mavrogiannopoulos <nmav@gnutls.org>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: mrex@sap.com
References: <201001201658.o0KGwPU3022827@fs4113.wdf.sap.corp>
In-Reply-To: <201001201658.o0KGwPU3022827@fs4113.wdf.sap.corp>
X-Enigmail-Version: 0.95.7
OpenPGP: id=96865171
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: tls@ietf.org
Subject: Re: [TLS] permitted client behaviour when rejecting renegotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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, 20 Jan 2010 17:43:30 -0000

Martin Rex wrote:

>> I always wondered how this behavior was supposed to work. For gnutls an
>> error is returned if the request is ignored.  I think the use cases of
>> these packets for renegotiation should be clearly defined (i.e. why send
>> this packets and what should be expected from peer). I don't know how
>> easy it is to implement the semantics precisely, but so far I didn't see
>> any compelling reason to do so.
> 
> 
> To me, this sounds like the server's gnuTLS switches to half-duplex
> communication when it _sends_ a HelloRequest and expects the next
> _received_ TLS record to carry a ClientHello handshake message
> (or a warning-level no_renegotiation alert).
> 
> Can you describe/confirm the exact behaviour for gnuTLS?

Indeed, and this is intentional. I decided to error on any received
application data, because the only use case of renegotiation I had so
far seen was the client authentication upgrade. In that case I had no
easy way to distinguish data received on the previous session and
"client authenticated" data received on the session after renegotiation.

> From its design, the TLS protocol is full-duplex, so such behaviour
> would not be compliant to any existing SSL/TLS protocol spec.
> The full-duplex requirement, which is implied by the definition
> of the HelloRequest message in SSLv3 already is probably the reason
> why the "may ignore" was written out for TLS:
> 
>    The hello request message may be sent by the server at any time,
>    but will be ignored by the client if the handshake protocol is
>    already underway.  It is a simple notification that the client
>    should begin the negotiation process anew by sending a client hello
>    message when convenient.

Then you have the issue to distinguish data on the session "before" and
the session "after" which is doable but not trivial (and probably
depends on the application layer to interpret this information as well).

> That "when convenient" accounts to the fact that the (app) client
> may be writing and the TLS implementation therefore not even
> looking (read) whether there might be a HelloRequest handshake
> message waiting -- and continue sending application data.

My limited experience with renegotiation shows that it is used in
coordination with the application layer to upgrade the session with new
security parameters. This is typically done on a silent phase of the
application protocol (not during a file transfer that would require full
duplex communication). Thus my decision was to implement this use case
of renegotiation and wait for some compelling reasons (use cases) to
implement the rest, which as I mentioned is not trivial.

best regards,
Nikos

From mrex@sap.com  Wed Jan 20 15:12:22 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DDF4C3A67D4 for <tls@core3.amsl.com>; Wed, 20 Jan 2010 15:12:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.135
X-Spam-Level: 
X-Spam-Status: No, score=-10.135 tagged_above=-999 required=5 tests=[AWL=0.114, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 eVzdUZ2FYf6F for <tls@core3.amsl.com>; Wed, 20 Jan 2010 15:12:18 -0800 (PST)
Received: from smtpde03.sap-ag.de (smtpde03.sap-ag.de [155.56.68.140]) by core3.amsl.com (Postfix) with ESMTP id E24533A6992 for <tls@ietf.org>; Wed, 20 Jan 2010 15:12:17 -0800 (PST)
Received: from mail.sap.corp by smtpde03.sap-ag.de (26) with ESMTP id o0KNC391015503 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 21 Jan 2010 00:12:04 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001202312.o0KNC2kr016804@fs4113.wdf.sap.corp>
To: nmav@gnutls.org (Nikos Mavrogiannopoulos)
Date: Thu, 21 Jan 2010 00:12:02 +0100 (MET)
In-Reply-To: <4B5740B7.4010805@gnutls.org> from "Nikos Mavrogiannopoulos" at Jan 20, 10 06:43:19 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal06
X-SAP: out
Cc: tls@ietf.org
Subject: Re: [TLS] permitted client behaviour when rejecting renegotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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, 20 Jan 2010 23:12:22 -0000

Nikos Mavrogiannopoulos wrote:
> 
> Martin Rex wrote:
> 
> >> I always wondered how this behavior was supposed to work. For gnutls an
> >> error is returned if the request is ignored.  I think the use cases of
> >> these packets for renegotiation should be clearly defined (i.e. why send
> >> this packets and what should be expected from peer). I don't know how
> >> easy it is to implement the semantics precisely, but so far I didn't see
> >> any compelling reason to do so.
> > 
> > 
> > To me, this sounds like the server's gnuTLS switches to half-duplex
> > communication when it _sends_ a HelloRequest and expects the next
> > _received_ TLS record to carry a ClientHello handshake message
> > (or a warning-level no_renegotiation alert).
> > 
> > Can you describe/confirm the exact behaviour for gnuTLS?
> 
> Indeed, and this is intentional. I decided to error on any received
> application data, because the only use case of renegotiation I had so
> far seen was the client authentication upgrade. In that case I had no
> easy way to distinguish data received on the previous session and
> "client authenticated" data received on the session after renegotiation.

I should clarify this:  Prohibiting app data exchange _during_ a
renegotiation handshake is something that I advocated for myself
(and would likely implement myself if I would implement TLS), see

http://www.ietf.org/mail-archive/web/tls/current/msg04091.html

But given the full-duplex nature of the TLS exchanges before
and after renegotiation, I would cut the "renegotiation handshake"
differently, and _not_ consider a HelloRequest message to be part
of that handshake.  Because of the full-duplex nature, the handshake
is not guaranteed to be started synchronously on both directions
of the communication.  The TLS handshake itself is half-duplex
by nature (which might be the reason why the SSL spec defined the
interleaving of renegotiation handshake and application data
in the first place).

The implementation challenge is to get back in sync for the
TLS handshake.  Implementations like OpenSSL seem to use a half-duplex
protocol state engine for the TLS handshake (which is perfectly OK
for the initial handshake!), but that makes it little trickier to
implement the semantics that I outlined in my above message.


> 
> > From its design, the TLS protocol is full-duplex, so such behaviour
> > would not be compliant to any existing SSL/TLS protocol spec.
> > The full-duplex requirement, which is implied by the definition
> > of the HelloRequest message in SSLv3 already is probably the reason
> > why the "may ignore" was written out for TLS:
> > 
> >    The hello request message may be sent by the server at any time,
> >    but will be ignored by the client if the handshake protocol is
> >    already underway.  It is a simple notification that the client
> >    should begin the negotiation process anew by sending a client hello
> >    message when convenient.
> 
> Then you have the issue to distinguish data on the session "before" and
> the session "after" which is doable but not trivial (and probably
> depends on the application layer to interpret this information as well).

Singling out the HelloRequest message from the TLS handshake protocol
engine is likely simpler than allowing the handshake to begin on
a per-direction basis, i.e. the client sending side starts the handshake
with sending the ClientHello handshake message, the client receiving
part starts the handshake when it receives the ServerHello.

For the server side this might be easier to implement, because the
ServerHello or a no-renegotiation alert can normally be created
in a fairly synchronous fashion, but the difficulties may depend
much on the API between TLS and app (and whether TLS is transport-less
or in direct control of the communication channel so that it can
reply without the help of the application).


> 
> > That "when convenient" accounts to the fact that the (app) client
> > may be writing and the TLS implementation therefore not even
> > looking (read) whether there might be a HelloRequest handshake
> > message waiting -- and continue sending application data.
> 
> My limited experience with renegotiation shows that it is used in
> coordination with the application layer to upgrade the session with new
> security parameters. This is typically done on a silent phase of the
> application protocol (not during a file transfer that would require full
> duplex communication). Thus my decision was to implement this use case
> of renegotiation and wait for some compelling reasons (use cases) to
> implement the rest, which as I mentioned is not trivial.

I don't have any real experience with HTTPS-Servers that perform
on-demand TLS authentication, but HTTP pipelining might already
break an assumption about most communication being half-duplex.

(In which case a HTTP client app might have to drop to not-pipeline
over HTTPS)
 

-Martin


From ynir@checkpoint.com  Wed Jan 20 21:52:13 2010
Return-Path: <ynir@checkpoint.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A7B073A6894 for <tls@core3.amsl.com>; Wed, 20 Jan 2010 21:52:13 -0800 (PST)
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=[AWL=0.000,  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 AaxmTopMkoRl for <tls@core3.amsl.com>; Wed, 20 Jan 2010 21:52:12 -0800 (PST)
Received: from dlpdemo.checkpoint.com (dlpdemo.checkpoint.com [194.29.32.54]) by core3.amsl.com (Postfix) with ESMTP id 571B73A6876 for <tls@ietf.org>; Wed, 20 Jan 2010 21:52:12 -0800 (PST)
X-CheckPoint: {4B57E919-10004-14201DC2-FFFF}
Received: by dlpdemo.checkpoint.com (Postfix, from userid 105) id 714F229C005; Thu, 21 Jan 2010 07:52:07 +0200 (IST)
Received: from michael.checkpoint.com (michael.checkpoint.com [194.29.32.68]) by dlpdemo.checkpoint.com (Postfix) with ESMTP id 4450929C002; Thu, 21 Jan 2010 07:52:07 +0200 (IST)
X-CheckPoint: {4B57E918-10000-14201DC2-FFFF}
Received: from il-ex01.ad.checkpoint.com (il-ex01.checkpoint.com [194.29.32.26]) by michael.checkpoint.com (8.12.10+Sun/8.12.10) with ESMTP id o0L5q7T7018761; Thu, 21 Jan 2010 07:52:07 +0200 (IST)
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Thu, 21 Jan 2010 07:52:21 +0200
From: Yoav Nir <ynir@checkpoint.com>
To: Marsh Ray <marsh@extendedsubset.com>
Date: Thu, 21 Jan 2010 07:51:57 +0200
Thread-Topic: [TLS] Next protocol negotiation
Thread-Index: AcqaXeUVOeMquNcsTxOGPoGIYDDSqQ==
Message-ID: <B86D8ECB-A4C0-4A2E-88AB-230E81903FC6@checkpoint.com>
References: <C77C8BDE.E62A%dispensa@phonefactor.com> <4B573548.3090804@extendedsubset.com>
In-Reply-To: <4B573548.3090804@extendedsubset.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] Next protocol negotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Thu, 21 Jan 2010 05:52:13 -0000

On Jan 20, 2010, at 6:54 PM, Marsh Ray wrote:

> Steve Dispensa wrote:
>> On 1/20/10 10:26 AM, "Marsh Ray" <marsh@extendedsubset.com> wrote:
>>> One point of view is that firewall admins are ports because of their
>>> intentional policies and it is their right to control what goes on on
>>> their own network.
>>=20
>> That's giving many administrators too much credit; the new WizBang
>> FireScannerProxyWallThingy(TM) is configured to automatically block anyt=
hing
>> and everything, because that's what WizBang's coders read was best pract=
ice
>> in the latest Gartner report, and the administrator is only dimly aware =
of
>> what's really going on. He just knows he can check the box on this year'=
s
>> SAS-70 audit.
>=20
> That's an intentional policy which is their right to set (whether it's a
> good one or not).
>=20
>> Surely you're right some of the time, but I suspect stuff gets automatic=
ally
>> blocked more often than not.
>=20
> Blocking outbound connections based on destination port number is
> particularly stupid since it's a parameter trivially controlled by an
> attacker.
>=20
> It's more a tactic to discourage people within the organization from
> using new protocols. Malware won't have any problems though.

That's right. The standard policy for firewalls these days, is to allow onl=
y ports 80+443 for the general population (The SMTP and DNS servers get to =
do more).
Port 80 gets deep inspected to see that it's standard WEB (with different p=
roducts having different interpretations of "WEB" - some of them block Skyp=
e, others don't) and port 443 gets inspected for "looking like SSL", meanin=
g handshake and application data records with reasonable lengths. This kind=
 of policy can still work at line speed on modern hardware, and is very pop=
ular with auditors. It has the advantage that it is successful in blocking =
bandwidth wasters like file sharing, and the better product allow the admin=
istrator to configure whether to allow various peer2peer applications like =
Skype, GTalk or Messenger.

>=20
> There will never be a clean and standardized way to get around firewalls
> that are trying to block you. Once a technique shows up on the radar,
> sooner or later it will get subjected to policy. The radar seems to get
> faster over time, too.

Thanks. We try.  :-)

>=20
> For a high-profile company like Google to develop a new transport for
> the web, the best method might very well be to just get a proper port
> number allocation and make the protocol useful and secure enough that
> admins actually let it thorough. One thing that might help would be to
> make it easy for filtering proxies to inspect.

Google may seem high-profile, but even Microsoft, which is even more high-p=
rofile had to resort to the "everything over the web ports" for messenger.



From ynir@checkpoint.com  Wed Jan 20 22:00:19 2010
Return-Path: <ynir@checkpoint.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 58ECB3A6891 for <tls@core3.amsl.com>; Wed, 20 Jan 2010 22:00:19 -0800 (PST)
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=[AWL=0.000,  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 sb-4Nlk6NukG for <tls@core3.amsl.com>; Wed, 20 Jan 2010 22:00:18 -0800 (PST)
Received: from dlpdemo.checkpoint.com (dlpdemo.checkpoint.com [194.29.32.54]) by core3.amsl.com (Postfix) with ESMTP id B75B43A688C for <tls@ietf.org>; Wed, 20 Jan 2010 22:00:17 -0800 (PST)
X-CheckPoint: {4B57EAFE-10007-14201DC2-FFFF}
Received: by dlpdemo.checkpoint.com (Postfix, from userid 105) id 6B8B929C005; Thu, 21 Jan 2010 08:00:13 +0200 (IST)
Received: from michael.checkpoint.com (michael.checkpoint.com [194.29.32.68]) by dlpdemo.checkpoint.com (Postfix) with ESMTP id 44FA329C002; Thu, 21 Jan 2010 08:00:13 +0200 (IST)
X-CheckPoint: {4B57EAFE-10000-14201DC2-FFFF}
Received: from il-ex01.ad.checkpoint.com (il-ex01.checkpoint.com [194.29.32.26]) by michael.checkpoint.com (8.12.10+Sun/8.12.10) with ESMTP id o0L60DT7019128; Thu, 21 Jan 2010 08:00:13 +0200 (IST)
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Thu, 21 Jan 2010 08:00:27 +0200
From: Yoav Nir <ynir@checkpoint.com>
To: Adam Langley <agl@google.com>
Date: Thu, 21 Jan 2010 08:00:03 +0200
Thread-Topic: [TLS] Next protocol negotiation
Thread-Index: AcqaXwcPoRmt4qteThiSn+9LJEa4eA==
Message-ID: <D4AEE85C-64FD-4F92-88F2-5C7BE82CEF74@checkpoint.com>
References: <a84d7bc61001200520t4e3be7d4sb0bb614abb0b5e4e@mail.gmail.com> <c331d99a1001200646o55d7d2f6wfaad058b84e6024e@mail.gmail.com> <a84d7bc61001200705v39b37ba3qaea1ca4149afb0a0@mail.gmail.com> <4B5723A5.8050508@gnutls.org> <a84d7bc61001200757p30ffded4y8b0f34b157fa4dc4@mail.gmail.com> <4B572EA6.8040902@extendedsubset.com> <a84d7bc61001200852p18ca82e4me4214661d7b0be9b@mail.gmail.com>
In-Reply-To: <a84d7bc61001200852p18ca82e4me4214661d7b0be9b@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] Next protocol negotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Thu, 21 Jan 2010 06:00:19 -0000

On Jan 20, 2010, at 6:52 PM, Adam Langley wrote:

> On Wed, Jan 20, 2010 at 8:26 AM, Marsh Ray <marsh@extendedsubset.com> wro=
te:
>> Adam Langley wrote:
>> One point of view is that firewall admins are ports because of their
>> intentional policies and it is their right to control what goes on on
>> their own network. Port 443 is going to be less useful over time as more
>> sites deploy SSL-inspecting proxies.
>=20
> Organisations that deploy intercepting proxies and port blocking
> middleware (etc) have reasonable policy goals that they are trying to
> implement. These people, for the most part, are not bad nor evil.
>=20
> But one cannot expect them to understand the value of the end-to-end
> principle. They are evaluating different solutions and balancing cost
> and utility, as it effects them. It turns out that many of them end up
> choosing networking hardware for caching, virus-scanning, content
> control etc.
>=20
> These network based solutions can be cheap, but they achieve these
> cost reductions, in part, by imposing negative externalities on the
> rest of the world. It's the case these days that HTTP traffic will
> usually be 'transparently' intercepted at least once. DNS traffic is
> likewise adulterated, as are many other protocols. Because of this,
> protocol advances are delayed or lost. (HTTP pipelining is one
> example, there are many others including our own SDCH[1]).
> Unfortunately, these losses to the world are non-obvious to many and
> hard to measure.
>=20
> TLS is attractive because it is obviously much more resistant to these
> machinations. (I'm aware that such devices do exist to intercept SSL,
> but they should hopefully be intrinsically more limited.)

Currently, it is, but processing power is cheap and getting cheaper.

> I admit that by using TLS we are bypassing (preferably) these
> middleware boxes. Because of this, the cost/benefit analysis of these
> boxes will hopefully shift so that people start to look for other
> solutions.

Actually, I think this will shift the cost/benefit analysis of the SSL-insp=
ecting proxies.  As more applications move to the "all the Internet over po=
rt HTTPS" paradigm, the administrators will have more incentive to deploy t=
hese proxies. If policy says that all files sent to people in other compani=
es needs to be scanned by the data leakage prevention software, and some ap=
plication like Skype sends files to your contacts over port 443, then you n=
eed something to look into the SSL. So I agree with Marsh - the proxy will =
become more common with time.

> We know that we'll have to provide alternatives, but these
> can be designed so as not to consign the public Internet to slow
> stagnation at the bottom of the protocol stack.
>=20


From n.mavrogiannopoulos@gmail.com  Wed Jan 20 23:52:45 2010
Return-Path: <n.mavrogiannopoulos@gmail.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1C1CD3A69C9 for <tls@core3.amsl.com>; Wed, 20 Jan 2010 23:52:45 -0800 (PST)
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=[AWL=0.000,  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 2VVxzJBTtHSk for <tls@core3.amsl.com>; Wed, 20 Jan 2010 23:52:44 -0800 (PST)
Received: from mail-ew0-f218.google.com (mail-ew0-f218.google.com [209.85.219.218]) by core3.amsl.com (Postfix) with ESMTP id 207A33A69AE for <tls@ietf.org>; Wed, 20 Jan 2010 23:52:43 -0800 (PST)
Received: by ewy10 with SMTP id 10so605758ewy.14 for <tls@ietf.org>; Wed, 20 Jan 2010 23:52:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:openpgp:content-type:content-transfer-encoding; bh=XPxlvy6Sm0bUFgexObRV32+Jp4FCK91P31mCzAG1ABA=; b=MQf5SREA1lKWgeGM8n11X85TC+3+Oea6zjF5wAl8FYGp85sFany3W61803aEMKsSJO aFUPwQ421XNMNeQ+UVDw2OwDGZaAQOr97Ht1ZlzyF1UJRm/fcZmwCb+UjyriGcTBTFi/ IQB5R0YRGeMPdyP5vkhUHfZ00uNgaIB3T5BRU=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:openpgp:content-type :content-transfer-encoding; b=VimvRpUxA+ykPmzyGJpjxOYvRtpagilIvUKpQ9aIeNZJnI6H2HIbAm81U888K6PSMQ n6qkxZgqkGTJaDBaSCr027d7jC3CxYvo7XPRkfYN+GUhUlAij5z3l5t+ZQq6gR45plH6 oakoFuBbr4b+l4Zr3fwjJr0otOMgjlwRmxcpM=
Received: by 10.213.61.9 with SMTP id r9mr1062975ebh.8.1264060353403; Wed, 20 Jan 2010 23:52:33 -0800 (PST)
Received: from ?10.100.2.14? (78-23-67-218.access.telenet.be [78.23.67.218]) by mx.google.com with ESMTPS id 16sm621043ewy.6.2010.01.20.23.52.31 (version=SSLv3 cipher=RC4-MD5); Wed, 20 Jan 2010 23:52:32 -0800 (PST)
Sender: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
Message-ID: <4B5807BE.6010206@gnutls.org>
Date: Thu, 21 Jan 2010 08:52:30 +0100
From: Nikos Mavrogiannopoulos <nmav@gnutls.org>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: mrex@sap.com
References: <201001202312.o0KNC2kr016804@fs4113.wdf.sap.corp>
In-Reply-To: <201001202312.o0KNC2kr016804@fs4113.wdf.sap.corp>
X-Enigmail-Version: 0.95.7
OpenPGP: id=96865171
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: tls@ietf.org
Subject: Re: [TLS] permitted client behaviour when rejecting renegotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Thu, 21 Jan 2010 07:52:45 -0000

Martin Rex wrote:

> I should clarify this:  Prohibiting app data exchange _during_ a
> renegotiation handshake is something that I advocated for myself
> (and would likely implement myself if I would implement TLS), see

Ah ok I got the point. Applications that use gnutls can in the time
frame between renegotiation request and handshake start to check and
read pending application data. However this is not done implicitly by
the handshake procedure, that will error if it encounters application data.

> http://www.ietf.org/mail-archive/web/tls/current/msg04091.html
> 
> But given the full-duplex nature of the TLS exchanges before
> and after renegotiation, I would cut the "renegotiation handshake"
> differently, and _not_ consider a HelloRequest message to be part
> of that handshake.  Because of the full-duplex nature, the handshake
> is not guaranteed to be started synchronously on both directions
> of the communication.  The TLS handshake itself is half-duplex
> by nature (which might be the reason why the SSL spec defined the
> interleaving of renegotiation handshake and application data
> in the first place).

Indeed, but there is always the issue of how many record packets to
accept before starting the handshake. Is the client allowed to start the
handshake 2 minutes later or after 2mb of transferred data? Currently I
left this to the application developer.

regards,
Nikos

From ynir@checkpoint.com  Thu Jan 21 00:07:45 2010
Return-Path: <ynir@checkpoint.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id ADBBD3A6888 for <tls@core3.amsl.com>; Thu, 21 Jan 2010 00:07:45 -0800 (PST)
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=[AWL=0.000,  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 Z3oOOAfha1zS for <tls@core3.amsl.com>; Thu, 21 Jan 2010 00:07:44 -0800 (PST)
Received: from dlpdemo.checkpoint.com (dlpdemo.checkpoint.com [194.29.32.54]) by core3.amsl.com (Postfix) with ESMTP id 82FB23A6882 for <tls@ietf.org>; Thu, 21 Jan 2010 00:07:44 -0800 (PST)
X-CheckPoint: {4B5808DC-10003-14201DC2-FFFF}
Received: by dlpdemo.checkpoint.com (Postfix, from userid 105) id 3331E29C005; Thu, 21 Jan 2010 10:07:40 +0200 (IST)
Received: from michael.checkpoint.com (michael.checkpoint.com [194.29.32.68]) by dlpdemo.checkpoint.com (Postfix) with ESMTP id 0FD4029C002; Thu, 21 Jan 2010 10:07:40 +0200 (IST)
X-CheckPoint: {4B5808DC-10000-14201DC2-FFFF}
Received: from il-ex01.ad.checkpoint.com (il-ex01.checkpoint.com [194.29.32.26]) by michael.checkpoint.com (8.12.10+Sun/8.12.10) with ESMTP id o0L87dT7029292; Thu, 21 Jan 2010 10:07:39 +0200 (IST)
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Thu, 21 Jan 2010 10:07:53 +0200
From: Yoav Nir <ynir@checkpoint.com>
To: Adam Langley <agl@google.com>
Date: Thu, 21 Jan 2010 10:07:31 +0200
Thread-Topic: [TLS] Next protocol negotiation
Thread-Index: AcqacNU7cOoSD7AiT126FqTLdcb3Mg==
Message-ID: <DFA6B810-F1BF-4113-8615-3DBD9875790A@checkpoint.com>
References: <a84d7bc61001200520t4e3be7d4sb0bb614abb0b5e4e@mail.gmail.com>
In-Reply-To: <a84d7bc61001200520t4e3be7d4sb0bb614abb0b5e4e@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] Next protocol negotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Thu, 21 Jan 2010 08:07:45 -0000

On Jan 20, 2010, at 3:20 PM, Adam Langley wrote:
>=20
> Excluding users that couldn't even do basic a HTTP transaction over
> the transport layer (6.37%, 10.15% and 7.91%, respectively), the
> success rates are:
>    HTTP (port 80)      67%
>    HTTP (port 61985)   86%
>    HTTPS (port 443)    95%
>=20
> This results in overall sucess rates of 63%, 77% and 87%, respectively.

That HTTPS number is very surprising. It suggests that 5% of Chrome users c=
an do regular HTTPS, but not WebSockets over HTTPS?

Are SSL-inspecting proxies that prevalent?

Maybe this suggests that Chrome's bias is FOR tightly-controlled environmen=
ts rather than AGAINST.



From marsh@extendedsubset.com  Thu Jan 21 00:19:36 2010
Return-Path: <marsh@extendedsubset.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 170153A69BD for <tls@core3.amsl.com>; Thu, 21 Jan 2010 00:19:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.272
X-Spam-Level: 
X-Spam-Status: No, score=-2.272 tagged_above=-999 required=5 tests=[AWL=-0.273, BAYES_00=-2.599, J_CHICKENPOX_74=0.6]
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 5dK1JjtNaNny for <tls@core3.amsl.com>; Thu, 21 Jan 2010 00:19:35 -0800 (PST)
Received: from mho-01-ewr.mailhop.org (mho-01-ewr.mailhop.org [204.13.248.71]) by core3.amsl.com (Postfix) with ESMTP id 3B74B3A68BE for <tls@ietf.org>; Thu, 21 Jan 2010 00:19:35 -0800 (PST)
Received: from xs01.extendedsubset.com ([69.164.193.58]) by mho-01-ewr.mailhop.org with esmtpa (Exim 4.68) (envelope-from <marsh@extendedsubset.com>) id 1NXsGE-0004iG-7o; Thu, 21 Jan 2010 08:19:26 +0000
Received: from [127.0.0.1] (localhost [127.0.0.1]) by xs01.extendedsubset.com (Postfix) with ESMTP id B0FEA631F; Thu, 21 Jan 2010 08:19:24 +0000 (UTC)
X-Mail-Handler: MailHop Outbound by DynDNS
X-Originating-IP: 69.164.193.58
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX18brI2kGYSDfNurreMHDRj5/cuaaArY2dA=
Message-ID: <4B580E0A.2070104@extendedsubset.com>
Date: Thu, 21 Jan 2010 02:19:22 -0600
From: Marsh Ray <marsh@extendedsubset.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Yoav Nir <ynir@checkpoint.com>
References: <a84d7bc61001200520t4e3be7d4sb0bb614abb0b5e4e@mail.gmail.com> <c331d99a1001200646o55d7d2f6wfaad058b84e6024e@mail.gmail.com> <a84d7bc61001200705v39b37ba3qaea1ca4149afb0a0@mail.gmail.com> <4B5723A5.8050508@gnutls.org> <a84d7bc61001200757p30ffded4y8b0f34b157fa4dc4@mail.gmail.com> <4B572EA6.8040902@extendedsubset.com> <a84d7bc61001200852p18ca82e4me4214661d7b0be9b@mail.gmail.com> <D4AEE85C-64FD-4F92-88F2-5C7BE82CEF74@checkpoint.com>
In-Reply-To: <D4AEE85C-64FD-4F92-88F2-5C7BE82CEF74@checkpoint.com>
X-Enigmail-Version: 0.96.0
OpenPGP: id=1E36DBF2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] Next protocol negotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Thu, 21 Jan 2010 08:19:36 -0000

Yoav Nir wrote:
> On Jan 20, 2010, at 6:52 PM, Adam Langley wrote:
>> 
>> TLS is attractive because it is obviously much more resistant to
>> these machinations. (I'm aware that such devices do exist to
>> intercept SSL, but they should hopefully be intrinsically more
>> limited.)
> 
> Currently, it is, but processing power is cheap and getting cheaper.

I wonder if the 'channel bindings' work will end up throwing a monkey
wrench in this. Will the SSL proxy be required to know all the secrets
of the higher-level protocols in order to terminate the SSL?

>> I admit that by using TLS we are bypassing (preferably) these 
>> middleware boxes.

Who wouldn't want to? Do they provide any value-add to the exchange of
data (legitimate or otherwise)?

>> Because of this, the cost/benefit analysis of
>> these boxes will hopefully shift so that people start to look for
>> other solutions.
> 
> Actually, I think this will shift the cost/benefit analysis of the
> SSL-inspecting proxies.  As more applications move to the "all the
> Internet over port HTTPS" paradigm,

1. Doesn't this represent to some degree a failure of the basic TCP/UDP
address+port model (or perhaps it is being outgrown)? Maybe packet
headers are just no longer sufficient for making the block vs. route
decisions.

2. If this is true, what depth of inspection is necessary to provide
security? Is it destined to grow ever deeper? Semantic web indeed!

3. This is a fascinating discussion.

> the administrators will have more
> incentive to deploy these proxies. If policy says that all files sent
> to people in other companies needs to be scanned by the data leakage
> prevention software, and some application like Skype sends files to
> your contacts over port 443, then you need something to look into the
> SSL. So I agree with Marsh - the proxy will become more common with
> time.
> 
>> We know that we'll have to provide alternatives, but these can be
>> designed so as not to consign the public Internet to slow 
>> stagnation at the bottom of the protocol stack.

So if one wants to define a new protocol and have it routable over the
21st century internet, it needs to either:

1. Appear indistinguishable from innocuous web surfing over HTTP/HTTPS.

or

2. Explicitly support inspection in its design. It would have to be so
amenable to inspection that firewall vendors recommend that it be
allowed as a more secure alternative to HTTP. This is impossible in the
general case, but it would be possible to support actual data type
checking in the protocol. Something similar to having a list of allowed
XML schemata against which requests and responses are validated.

What do you all think of this?

- Marsh

From agl@google.com  Thu Jan 21 03:04:21 2010
Return-Path: <agl@google.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1095F3A6804 for <tls@core3.amsl.com>; Thu, 21 Jan 2010 03:04:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.227
X-Spam-Level: 
X-Spam-Status: No, score=-106.227 tagged_above=-999 required=5 tests=[AWL=-0.250, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_MED=-4, 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 dLsZgmWGdFKT for <tls@core3.amsl.com>; Thu, 21 Jan 2010 03:04:20 -0800 (PST)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.33.17]) by core3.amsl.com (Postfix) with ESMTP id B0B233A67A1 for <tls@ietf.org>; Thu, 21 Jan 2010 03:04:19 -0800 (PST)
Received: from spaceape10.eur.corp.google.com (spaceape10.eur.corp.google.com [172.28.16.144]) by smtp-out.google.com with ESMTP id o0LB4Eb5032426 for <tls@ietf.org>; Thu, 21 Jan 2010 11:04:14 GMT
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1264071854; bh=Urys0tzXi/mTnNQNmp/pIIW6yqw=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Cc:Content-Type; b=afWL8P2vmaBUhD2ATjAWu5tA1TeGfJ6t2MM8n7KmwDDWolm4zdnVfUuIeGDlKXy4F PZFCeOCPdEUnpoH9hoalw==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:date:message-id:subject:from:to: cc:content-type:x-system-of-record; b=FmVl6Po4VK9lDOqu3OT0tzIk95DxrNcazbv+loVo8VX80Alh0kMDhbhiIpvQXp8og 7bibrtpQgOslkCu6ZRGKQ==
Received: from pzk38 (pzk38.prod.google.com [10.243.19.166]) by spaceape10.eur.corp.google.com with ESMTP id o0LB4C3Z022035 for <tls@ietf.org>; Thu, 21 Jan 2010 03:04:13 -0800
Received: by pzk38 with SMTP id 38so4771846pzk.9 for <tls@ietf.org>; Thu, 21 Jan 2010 03:04:12 -0800 (PST)
MIME-Version: 1.0
Received: by 10.142.117.1 with SMTP id p1mr897985wfc.185.1264071851874; Thu,  21 Jan 2010 03:04:11 -0800 (PST)
In-Reply-To: <DFA6B810-F1BF-4113-8615-3DBD9875790A@checkpoint.com>
References: <a84d7bc61001200520t4e3be7d4sb0bb614abb0b5e4e@mail.gmail.com> <DFA6B810-F1BF-4113-8615-3DBD9875790A@checkpoint.com>
Date: Thu, 21 Jan 2010 03:04:11 -0800
Message-ID: <a84d7bc61001210304r39cb6718kc6ae5f87deb90131@mail.gmail.com>
From: Adam Langley <agl@google.com>
To: Yoav Nir <ynir@checkpoint.com>
Content-Type: text/plain; charset=UTF-8
X-System-Of-Record: true
Cc: "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] Next protocol negotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Thu, 21 Jan 2010 11:04:21 -0000

On Thu, Jan 21, 2010 at 12:07 AM, Yoav Nir <ynir@checkpoint.com> wrote:
> That HTTPS number is very surprising. It suggests that 5% of Chrome users can do regular HTTPS, but not WebSockets over HTTPS?
>
> Are SSL-inspecting proxies that prevalent?
>
> Maybe this suggests that Chrome's bias is FOR tightly-controlled environments rather than AGAINST.

As noted, this data is preliminary but I will make some guesses:

The nature of the test is that it proceeds in steps, each step testing
some behaviour of the WebSockets protocol. If the user closes the
browser during the process, this can appear the same as a protocol
failure.

The breakdown of the failure rates at each step with TLS looks very
different from the HTTP patterns. With HTTP we see clear jumps where
the network is opaque to some behaviour for a significant fraction of
our users. The TLS data increases nearly linearly in comparison. Thus
it might well be that we're just seeing noise in the TLS data as the
steps proceed over time. I don't believe that TLS intercepting proxies
are actually deployed in front of 5% of our users.

We obviously want to investigate this ourselves and we're continuing
with our analysis and data gathering.


AGL

From agl@google.com  Thu Jan 21 08:49:37 2010
Return-Path: <agl@google.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B1E6F3A68D9 for <tls@core3.amsl.com>; Thu, 21 Jan 2010 08:49:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.177
X-Spam-Level: 
X-Spam-Status: No, score=-104.177 tagged_above=-999 required=5 tests=[AWL=-2.200, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 T7Lm8bgPqeSi for <tls@core3.amsl.com>; Thu, 21 Jan 2010 08:49:36 -0800 (PST)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.44.51]) by core3.amsl.com (Postfix) with ESMTP id 6E9553A6878 for <tls@ietf.org>; Thu, 21 Jan 2010 08:49:36 -0800 (PST)
Received: from wpaz1.hot.corp.google.com (wpaz1.hot.corp.google.com [172.24.198.65]) by smtp-out.google.com with ESMTP id o0LGnVHr015803 for <tls@ietf.org>; Thu, 21 Jan 2010 08:49:31 -0800
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1264092571; bh=sk11Nr9tMIanhbCJO69LGPaadk4=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Cc:Content-Type; b=yLbNas5TSw/V5AM8rUFCrngXszXq+8wP3935vX1+xwauuTlCaQjHLaPTwhOx0Fj75 ctvGyA6T/ivkfdewwqGcw==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:date:message-id:subject:from:to: cc:content-type:x-system-of-record; b=hQX+1XQTRA13e48lca2qDIC3VcHtIXJKK8A1Q294XFbYsH2CL63/NyrLF9GtPnfpe /XHzSCCCI5LishphVVv1g==
Received: from pzk41 (pzk41.prod.google.com [10.243.19.169]) by wpaz1.hot.corp.google.com with ESMTP id o0LGnUwt030472 for <tls@ietf.org>; Thu, 21 Jan 2010 08:49:30 -0800
Received: by pzk41 with SMTP id 41so206770pzk.0 for <tls@ietf.org>; Thu, 21 Jan 2010 08:49:30 -0800 (PST)
MIME-Version: 1.0
Received: by 10.143.20.40 with SMTP id x40mr1148424wfi.226.1264092570029; Thu,  21 Jan 2010 08:49:30 -0800 (PST)
In-Reply-To: <4B580E0A.2070104@extendedsubset.com>
References: <a84d7bc61001200520t4e3be7d4sb0bb614abb0b5e4e@mail.gmail.com> <c331d99a1001200646o55d7d2f6wfaad058b84e6024e@mail.gmail.com> <a84d7bc61001200705v39b37ba3qaea1ca4149afb0a0@mail.gmail.com> <4B5723A5.8050508@gnutls.org> <a84d7bc61001200757p30ffded4y8b0f34b157fa4dc4@mail.gmail.com> <4B572EA6.8040902@extendedsubset.com> <a84d7bc61001200852p18ca82e4me4214661d7b0be9b@mail.gmail.com> <D4AEE85C-64FD-4F92-88F2-5C7BE82CEF74@checkpoint.com> <4B580E0A.2070104@extendedsubset.com>
Date: Thu, 21 Jan 2010 08:49:29 -0800
Message-ID: <a84d7bc61001210849o79b44c8bh6feb255683b002bc@mail.gmail.com>
From: Adam Langley <agl@google.com>
To: Marsh Ray <marsh@extendedsubset.com>
Content-Type: text/plain; charset=UTF-8
X-System-Of-Record: true
Cc: "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] Next protocol negotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Thu, 21 Jan 2010 16:49:37 -0000

On Thu, Jan 21, 2010 at 12:19 AM, Marsh Ray <marsh@extendedsubset.com> wrote:
> 2. If this is true, what depth of inspection is necessary to provide
> security? Is it destined to grow ever deeper? Semantic web indeed!

Inspection of network traffic, even if TLS connections are unwrapped,
cannot stop a determined attacker. There will always be large amounts
of side channel capacity in anything resembling a web capable
connection.

But I don't believe that this is the threat model of these middleware
boxes. In my experience they generally want to implement caching,
virus scanning or blocking of casual users. The caching issue is an
interesting one and we welcome development in this area. But these
must be implemented in a manner that doesn't result in the continual
ossification of the Internet. By being implicit and undocumented they
force a continuous retreat to the least common denominator in the hope
most of them will pass simple traffic most of the time. This probably
means that the network is not the place for them and that one should
focus on client side changes and explicit configuration of proxy
servers.

The development of TLS intercepting proxies is saddening. Thankfully I
believe that they are currently fairly limited. In the interests of
future development, measures should probably be taken to ensure that
they remain so. (In this point I am not representing my employer: to
my knowledge we've no official position on this.) For example, Chrome
could require that certificates for Google sites always be rooted at
Thawte for the lifetime of the current certificates. When considering
various issues with the CA ecosystem in the past couple of years, this
might also have a desirable security benefit.


AGL

From jorton@redhat.com  Thu Jan 21 08:58:52 2010
Return-Path: <jorton@redhat.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C056E3A6A38 for <tls@core3.amsl.com>; Thu, 21 Jan 2010 08:58:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level: 
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, 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 lRtrOog-Pf1u for <tls@core3.amsl.com>; Thu, 21 Jan 2010 08:58:52 -0800 (PST)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by core3.amsl.com (Postfix) with ESMTP id 169793A6818 for <tls@ietf.org>; Thu, 21 Jan 2010 08:58:52 -0800 (PST)
Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o0LGwlRi017463 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 21 Jan 2010 11:58:47 -0500
Received: from turnip.manyfish.co.uk (vpn-10-203.rdu.redhat.com [10.11.10.203]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o0LGwjQ5019650 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 21 Jan 2010 11:58:46 -0500
Received: from jorton by turnip.manyfish.co.uk with local (Exim 4.69) (envelope-from <jorton@redhat.com>) id 1NY0Mm-0000lX-H3; Thu, 21 Jan 2010 16:58:44 +0000
Date: Thu, 21 Jan 2010 16:58:44 +0000
From: Joe Orton <jorton@redhat.com>
To: Bruno Harbulot <Bruno.Harbulot@manchester.ac.uk>
Message-ID: <20100121165844.GA2878@redhat.com>
Mail-Followup-To: Bruno Harbulot <Bruno.Harbulot@manchester.ac.uk>, tls@ietf.org
References: <4B55C476.1070302@manchester.ac.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <4B55C476.1070302@manchester.ac.uk>
User-Agent: Mutt/1.5.20 (2009-08-17)
Organization: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in UK and Wales under Company Registration No. 03798903 Directors: Michael Cunningham (USA), Brendan Lane (Ireland), Matt Parson (USA), Charlie Peters (USA)
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12
Cc: tls@ietf.org
Subject: Re: [TLS] [Fwd: WWW-Authenticate challenge for client-certificates]
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Thu, 21 Jan 2010 16:58:52 -0000

On Tue, Jan 19, 2010 at 02:40:54PM +0000, Bruno Harbulot wrote:
...
> This leads to a couple of problems:
> - The HTTP application is unable to inform the client it would rather
> have another certificate than the one that is presented. Whether-or-not
> to accept the certificate is done by the trust management mechanism of
> the TLS layer, and it is difficult for the HTTP application to deal
> with. Often, once the certificate has been negotiated, browsers usually
> keep the TLS connection open and changing certificate can often only be
> done by closing the browser or letting the connection time out.
> - If a certificate is mandatory, the 'require' mode leads to a handshake
> error code on the client side, resulting in an abrupt error message,
> which is confusing for most users.

I don't see how either of these problems are a consequence of protocol 
design, merely server implementation or configuration.

It is simple to configure mod_ssl to avoid the second problem - you make 
client certificates requested but optional ("SSLVerifyClient optional"), 
and then use an HTTP authorization-level check to present an HTTP 403 
error if in fact the TLS layer did not receive a client cert (using 
"SSLRequire").  The 403 error page can be customized as usual.

You could do something similar for the first problem though the 
configuration might be a little awkward.

Regards, Joe

From dean@av8.com  Thu Jan 21 11:23:17 2010
Return-Path: <dean@av8.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id F40373A6A29 for <tls@core3.amsl.com>; Thu, 21 Jan 2010 11:23:16 -0800 (PST)
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 ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id emoupObAxR12 for <tls@core3.amsl.com>; Thu, 21 Jan 2010 11:23:15 -0800 (PST)
Received: from cirrus.av8.net (cirrus.av8.net [130.105.36.66]) by core3.amsl.com (Postfix) with ESMTP id 5987C28B23E for <tls@ietf.org>; Thu, 21 Jan 2010 11:23:15 -0800 (PST)
Received: from citation2.av8.net (citation2.av8.net [130.105.12.10]) (authenticated bits=0) by cirrus.av8.net (8.12.11/8.12.11) with ESMTP id o0LJMkIE026635 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 21 Jan 2010 14:22:46 -0500
Date: Thu, 21 Jan 2010 14:22:45 -0500 (EST)
From: Dean Anderson <dean@av8.com>
X-X-Sender: dean@citation2.av8.net
To: Adam Langley <agl@google.com>
In-Reply-To: <a84d7bc61001200757p30ffded4y8b0f34b157fa4dc4@mail.gmail.com>
Message-ID: <Pine.LNX.4.44.1001211402310.531-100000@citation2.av8.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Cc: tls@ietf.org
Subject: Re: [TLS] Next protocol negotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Thu, 21 Jan 2010 19:23:17 -0000

Adam, 

You do realize that using TLS as a base protocol requirement increases
the computational and operational costs, prohibits http named virtual
hosts, and probably other things.  Whatever you save in the first trip
is burned in the encryption/decryption later.  I think the goal of
improving connection negotiation speed is good in general, but I don't
think that using TLS is going to help other protocols connect faster.  
TLS has its own issues connecting fast (better than it was, but security
is more important---connection speed would be sacrificed for security at
the TLS layer).  And then you still have to negotiate the application
protocol, anyway.  If the application layer is progressive and slow, TLS
isn't going to change that.

Second, I don't think protocols should be designed with too much
emphasis on existing middleware boxes. These boxes will change as their
users' needs change.  As was noted, the goals of these boses are not
inherently evil, but are a tradeoff with the goals of protocol design,
and particularly fast negotiation and other needs the protocol probably
can't anticipate (this is layering, and is 'good'). A metaphor that
comes to mind is the tradeoff made at the airport between fast boarding
and security screening.  One designs aircraft and aircraft boarding
areas with one primary goal. But terminals one must accomodate the other
goals, (eg. security, parking, ground transportation, etc) too.

Third, my initial impression of the CONNECT scenario reminds me of the
old VTAM and 3270 terminals connecting to applications.  Perhaps we
should keep looking...or maybe we should reconsider VTAM or APPC... ;-)

		--Dean

On Wed, 20 Jan 2010, Adam Langley wrote:

> On Wed, Jan 20, 2010 at 7:39 AM, Nikos Mavrogiannopoulos
> <nmav@gnutls.org> wrote:
> > Ok now I see your point. However I still suggest solving issues at the
> > appropriate layer, even that has some performance cost.
> 
> The appropriate layer for protocol disambiguation is TCP.
> Unfortunately, this mechanism has stopped functioning for practical
> purposes and we're aware that we aren't the only group facing this
> problem.
> 
> Burning an additional round trip on protocol discovery is unacceptable
> for us[1]. 200ms is a good round-trip time on a 3G network and the
> nature of web content means that progressive discovery of additional
> resources amplifies this delay.
> 
> Also, consider that without a suitable mechanism, we might be
> condemning future protocols to forever limiting their initial
> handshake to something that is HTTP compatible. We (Google) don't mind
> putting in the work to make more fundamental changes but others,
> perhaps, would choose not to for reasons of expediency, and would pay
> this technical debt forever more.
> 
> [1] http://googleblog.blogspot.com/2009/06/lets-make-web-faster.html
> 
> 
> AGL
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
> 
> 

-- 
Av8 Internet   Prepared to pay a premium for better service?
www.av8.net         faster, more reliable, better service
617 256 5494



From agl@google.com  Thu Jan 21 11:40:27 2010
Return-Path: <agl@google.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3497228B23E for <tls@core3.amsl.com>; Thu, 21 Jan 2010 11:40:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.81
X-Spam-Level: 
X-Spam-Status: No, score=-105.81 tagged_above=-999 required=5 tests=[AWL=0.167, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_MED=-4, 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 1Ef3xsCFB7mK for <tls@core3.amsl.com>; Thu, 21 Jan 2010 11:40:26 -0800 (PST)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.33.17]) by core3.amsl.com (Postfix) with ESMTP id 769273A6905 for <tls@ietf.org>; Thu, 21 Jan 2010 11:40:24 -0800 (PST)
Received: from wpaz5.hot.corp.google.com (wpaz5.hot.corp.google.com [172.24.198.69]) by smtp-out.google.com with ESMTP id o0LJeH4J002199 for <tls@ietf.org>; Thu, 21 Jan 2010 19:40:17 GMT
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1264102819; bh=OGeraRRzRCwrkjJf9kiRruH2JPc=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Cc:Content-Type:Content-Transfer-Encoding; b=jdxfc1P75ZBt6G/YO82ucFi8++kPQ1GQDgYOE1/RuZe7SbKG2IYxErzDb0IGGZKlZ WBkXs4mOiygToCUH6qACw==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:date:message-id:subject:from:to: cc:content-type:content-transfer-encoding:x-system-of-record; b=dMnUGpxqL0wrILe8Z+mPDbBReI3K/HvQFUqhTwaeFFFCeHXRKBTG0D6t7ekOqQUw1 04PhgEuNISv05dva4O1WQ==
Received: from pwi4 (pwi4.prod.google.com [10.241.219.4]) by wpaz5.hot.corp.google.com with ESMTP id o0LJdGq0031310 for <tls@ietf.org>; Thu, 21 Jan 2010 11:40:16 -0800
Received: by pwi4 with SMTP id 4so427792pwi.32 for <tls@ietf.org>; Thu, 21 Jan 2010 11:40:15 -0800 (PST)
MIME-Version: 1.0
Received: by 10.142.59.19 with SMTP id h19mr1276870wfa.243.1264102815351; Thu,  21 Jan 2010 11:40:15 -0800 (PST)
In-Reply-To: <Pine.LNX.4.44.1001211402310.531-100000@citation2.av8.net>
References: <a84d7bc61001200757p30ffded4y8b0f34b157fa4dc4@mail.gmail.com> <Pine.LNX.4.44.1001211402310.531-100000@citation2.av8.net>
Date: Thu, 21 Jan 2010 11:40:15 -0800
Message-ID: <a84d7bc61001211140r24388501l644b47cb4868cae0@mail.gmail.com>
From: Adam Langley <agl@google.com>
To: Dean Anderson <dean@av8.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-System-Of-Record: true
Cc: tls@ietf.org
Subject: Re: [TLS] Next protocol negotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Thu, 21 Jan 2010 19:40:27 -0000

On Thu, Jan 21, 2010 at 11:22 AM, Dean Anderson <dean@av8.com> wrote:
> You do realize that using TLS as a base protocol requirement increases
> the computational and operational costs, prohibits http named virtual
> hosts, and probably other things.

I believe the point about named virtual hosting to be incorrect. I
don't know of any cases where SNI doesn't solve this.

(The level of support for SNI in the browser fleet isn't good. I have
numbers from our HTTPS servers but I've never asked to clear them for
public release. However, for new protocols this isn't an issue since
we require SNI support from our clients from the outset.)

I also don't feel that the computational overhead of encryption + MAC
is significant. You're welcome to look at
http://bench.cr.yp.to/results-stream.html for the numbers, but it ends
up being a judgement call in the end. Either way, wherever you fall on
the line, it becomes less of an issue each year.

The latency impact of TLS, of course, is significant and we're working
on more aspects of TLS than just this draft to reduce this.

> Second, I don't think protocols should be designed with too much
> emphasis on existing middleware boxes. These boxes will change as their
> users' needs change. =C2=A0As was noted, the goals of these boses are not
> inherently evil, but are a tradeoff with the goals of protocol design,
> and particularly fast negotiation and other needs the protocol probably
> can't anticipate (this is layering, and is 'good'). A metaphor that
> comes to mind is the tradeoff made at the airport between fast boarding
> and security screening. =C2=A0One designs aircraft and aircraft boarding
> areas with one primary goal. But terminals one must accomodate the other
> goals, (eg. security, parking, ground transportation, etc) too.

You're welcome to consider the draft on its merits irrespective of
this argument. I think it still stands.


Cheers

AGL

From dean@av8.com  Thu Jan 21 13:52:00 2010
Return-Path: <dean@av8.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id F37763A6942 for <tls@core3.amsl.com>; Thu, 21 Jan 2010 13:51:59 -0800 (PST)
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=[AWL=0.000,  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 yqY9gzoy-kXb for <tls@core3.amsl.com>; Thu, 21 Jan 2010 13:51:58 -0800 (PST)
Received: from cirrus.av8.net (cirrus.av8.net [130.105.36.66]) by core3.amsl.com (Postfix) with ESMTP id 7D0FF28C0EE for <tls@ietf.org>; Thu, 21 Jan 2010 13:51:58 -0800 (PST)
Received: from citation2.av8.net (citation2.av8.net [130.105.12.10]) (authenticated bits=0) by cirrus.av8.net (8.12.11/8.12.11) with ESMTP id o0LLpR05027909 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 21 Jan 2010 16:51:28 -0500
Date: Thu, 21 Jan 2010 16:51:27 -0500 (EST)
From: Dean Anderson <dean@av8.com>
X-X-Sender: dean@citation2.av8.net
To: Adam Langley <agl@google.com>
In-Reply-To: <a84d7bc61001211140r24388501l644b47cb4868cae0@mail.gmail.com>
Message-ID: <Pine.LNX.4.44.1001211635200.531-100000@citation2.av8.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: 8BIT
Cc: tls@ietf.org
Subject: Re: [TLS] Next protocol negotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Thu, 21 Jan 2010 21:52:00 -0000

On Thu, 21 Jan 2010, Adam Langley wrote:

> On Thu, Jan 21, 2010 at 11:22 AM, Dean Anderson <dean@av8.com> wrote:
> > You do realize that using TLS as a base protocol requirement increases
> > the computational and operational costs, prohibits http named virtual
> > hosts, and probably other things.
> 
> I believe the point about named virtual hosting to be incorrect. I
> don't know of any cases where SNI doesn't solve this.

That's a good point. 

> I also don't feel that the computational overhead of encryption + MAC
> is significant. You're welcome to look at
> http://bench.cr.yp.to/results-stream.html for the numbers, but it ends
> up being a judgement call in the end. Either way, wherever you fall on
> the line, it becomes less of an issue each year.

I don't think so. As CPU's speed up improving encryption/decryption
times, so does cracking improve, resulting in deployment of more
difficult ciphers, leaving time to encrypt roughly unchanged.  So I
don't think encryption gets "easier" or less time-consuming in the
future. Again, an impression, but consider that the RSA-768 key was just
cracked, and so we recommend getting rid of 1024 bit keys. And e.g some
interesting results were published for AES-256, suggesting it will be
easier to crack than originally anticipated, meaning it will be obsolete
sooner.  

> The latency impact of TLS, of course, is significant and we're working
> on more aspects of TLS than just this draft to reduce this.
> 
> > Second, I don't think protocols should be designed with too much
> > emphasis on existing middleware boxes. These boxes will change as their
> > users' needs change.  As was noted, the goals of these boses are not
> > inherently evil, but are a tradeoff with the goals of protocol design,
> > and particularly fast negotiation and other needs the protocol probably
> > can't anticipate (this is layering, and is 'good'). A metaphor that
> > comes to mind is the tradeoff made at the airport between fast boarding
> > and security screening.  One designs aircraft and aircraft boarding
> > areas with one primary goal. But terminals one must accomodate the other
> > goals, (eg. security, parking, ground transportation, etc) too.
> 
> You're welcome to consider the draft on its merits irrespective of
> this argument. I think it still stands.

It could be---Just my first impressions.  By all means, keep working the
problem.  Just keep an open mind that this path might be a dry hole.

Sometimes, as like DNSSEC, people become married and financially
invested in a scheme that can't work. In the worst case, they ignore the
problems and silence the critics.  But eventually, the facts always come
out.

http://lists.iadl.org/pipermail/namedroppers-honest/2010-January/000074.html


		--Dean

-- 
Av8 Internet   Prepared to pay a premium for better service?
www.av8.net         faster, more reliable, better service
617 256 5494




From agl@google.com  Fri Jan 22 03:03:38 2010
Return-Path: <agl@google.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6DC303A687C for <tls@core3.amsl.com>; Fri, 22 Jan 2010 03:03:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.834
X-Spam-Level: 
X-Spam-Status: No, score=-103.834 tagged_above=-999 required=5 tests=[AWL=-1.857, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 itshveRmgvV2 for <tls@core3.amsl.com>; Fri, 22 Jan 2010 03:03:37 -0800 (PST)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.44.51]) by core3.amsl.com (Postfix) with ESMTP id 017793A6868 for <tls@ietf.org>; Fri, 22 Jan 2010 03:03:36 -0800 (PST)
Received: from wpaz29.hot.corp.google.com (wpaz29.hot.corp.google.com [172.24.198.93]) by smtp-out.google.com with ESMTP id o0MB3WsD013098 for <tls@ietf.org>; Fri, 22 Jan 2010 03:03:32 -0800
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1264158212; bh=mK1Cw5/EDlZ1eCubORfBtWJwh9c=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Cc:Content-Type:Content-Transfer-Encoding; b=MY71hVc72eAi5XQxKjHMG9Rb2FoW9lBtbNFLNOyrCg1rGlzr+qxdusZVL2W7igvkn X0mgSL9b2j99Hu2aVIvOQ==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:date:message-id:subject:from:to: cc:content-type:content-transfer-encoding:x-system-of-record; b=Zn63juplB+zPYRvt/UY4USx+7bnD0NbiT3hPd6PZvO2DwPFaYkXbG7bYvQLVRzP1B VzaaVfw/2ahK/xj9I5QGA==
Received: from pwi8 (pwi8.prod.google.com [10.241.219.8]) by wpaz29.hot.corp.google.com with ESMTP id o0MB3Kd9010453 for <tls@ietf.org>; Fri, 22 Jan 2010 03:03:31 -0800
Received: by pwi8 with SMTP id 8so788518pwi.31 for <tls@ietf.org>; Fri, 22 Jan 2010 03:03:30 -0800 (PST)
MIME-Version: 1.0
Received: by 10.142.9.10 with SMTP id 10mr1915854wfi.177.1264158210806; Fri,  22 Jan 2010 03:03:30 -0800 (PST)
In-Reply-To: <Pine.LNX.4.44.1001211635200.531-100000@citation2.av8.net>
References: <a84d7bc61001211140r24388501l644b47cb4868cae0@mail.gmail.com> <Pine.LNX.4.44.1001211635200.531-100000@citation2.av8.net>
Date: Fri, 22 Jan 2010 03:03:30 -0800
Message-ID: <a84d7bc61001220303t18bc3cfbk5739eb5d356add83@mail.gmail.com>
From: Adam Langley <agl@google.com>
To: Dean Anderson <dean@av8.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-System-Of-Record: true
Cc: tls@ietf.org
Subject: Re: [TLS] Next protocol negotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Fri, 22 Jan 2010 11:03:38 -0000

On Thu, Jan 21, 2010 at 1:51 PM, Dean Anderson <dean@av8.com> wrote:
> I don't think so. As CPU's speed up improving encryption/decryption
> times, so does cracking improve, resulting in deployment of more
> difficult ciphers, leaving time to encrypt roughly unchanged. =C2=A0So I
> don't think encryption gets "easier" or less time-consuming in the
> future. Again, an impression, but consider that the RSA-768 key was just
> cracked, and so we recommend getting rid of 1024 bit keys.

Clients get the easy side of the RSA operations of course. If we take
four different hosts from the ECRYPT benchmarks[1] we can get the
number of cycles required to perform an RSA encryption of a given bit
size:

1024    203820  171138  79404   302432
1536    317448  260392  117587  519928
2048    470556  386199  157766  779696
3072    866280  704583  271095  1604108
4096    1396896 1067935 387822  2423856

(CPUs are, in order, Atom (molecule), Core2 (nmui0247), A64 X2 (mace),
Power5 (nmi0154))

Normalising each of these so that the time taken for 1024 is 1:

1024    1       1       1       1
1536    1.557   1.522   1.481   1.719
2048    2.309   2.257   1.987   2.578
3072    4.250   4.117   3.414   5.304
4096    6.854   6.240   4.884   8.015

However, from the 768-bit factoring paper[2] they suggest that a
1024-bit key is 5x harder to factor than a 768-bit key, for only a
1.3x increase in the number of bits. So it appears the that defender
has the advantage as processor speeds increase (modulo quantum
factoring, should it ever be tractable).

[1] http://bench.cr.yp.to/results-encrypt.html
[2] http://eprint.iacr.org/2010/006.pdf

> And e.g some
> interesting results were published for AES-256, suggesting it will be
> easier to crack than originally anticipated, meaning it will be obsolete
> sooner.

You can repeat the procedure above for stream ciphers too. Again, the
defenders appear to have the advantage over time.


AGL

From ietf-ietf-tls@m.gmane.org  Fri Jan 22 03:25:44 2010
Return-Path: <ietf-ietf-tls@m.gmane.org>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8B43E3A688B for <tls@core3.amsl.com>; Fri, 22 Jan 2010 03:25:44 -0800 (PST)
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 ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nuE5JD+1H3ys for <tls@core3.amsl.com>; Fri, 22 Jan 2010 03:25:43 -0800 (PST)
Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by core3.amsl.com (Postfix) with ESMTP id 30FBA3A67D9 for <tls@ietf.org>; Fri, 22 Jan 2010 03:25:43 -0800 (PST)
Received: from list by lo.gmane.org with local (Exim 4.50) id 1NYHdv-0002BL-GJ for tls@ietf.org; Fri, 22 Jan 2010 12:25:35 +0100
Received: from rain.gmane.org ([80.91.229.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <tls@ietf.org>; Fri, 22 Jan 2010 12:25:35 +0100
Received: from Bruno.Harbulot by rain.gmane.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <tls@ietf.org>; Fri, 22 Jan 2010 12:25:35 +0100
X-Injected-Via-Gmane: http://gmane.org/
To: tls@ietf.org
From: Bruno Harbulot <Bruno.Harbulot@manchester.ac.uk>
Date: Fri, 22 Jan 2010 11:25:04 +0000
Lines: 71
Message-ID: <hjc1uf$e8g$1@ger.gmane.org>
References: <4B55C476.1070302@manchester.ac.uk> <20100121165844.GA2878@redhat.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@ger.gmane.org
X-Gmane-NNTP-Posting-Host: rain.gmane.org
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
In-Reply-To: <20100121165844.GA2878@redhat.com>
Sender: news <news@ger.gmane.org>
Subject: Re: [TLS] [Fwd: WWW-Authenticate challenge for client-certificates]
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Fri, 22 Jan 2010 11:25:44 -0000

Hello,

Joe Orton wrote:
> On Tue, Jan 19, 2010 at 02:40:54PM +0000, Bruno Harbulot wrote:
> ...
>> This leads to a couple of problems:
>> - The HTTP application is unable to inform the client it would rather
>> have another certificate than the one that is presented. Whether-or-not
>> to accept the certificate is done by the trust management mechanism of
>> the TLS layer, and it is difficult for the HTTP application to deal
>> with. Often, once the certificate has been negotiated, browsers usually
>> keep the TLS connection open and changing certificate can often only be
>> done by closing the browser or letting the connection time out.
>> - If a certificate is mandatory, the 'require' mode leads to a handshake
>> error code on the client side, resulting in an abrupt error message,
>> which is confusing for most users.
> 
> I don't see how either of these problems are a consequence of protocol 
> design, merely server implementation or configuration.
> 
> It is simple to configure mod_ssl to avoid the second problem - you make 
> client certificates requested but optional ("SSLVerifyClient optional"), 
> and then use an HTTP authorization-level check to present an HTTP 403 
> error if in fact the TLS layer did not receive a client cert (using 
> "SSLRequire").  The 403 error page can be customized as usual.

Yes, but 403 is exactly the problem. That's not really a TLS problem, 
but more of how TLS authentication is handled by HTTP, differently from 
the other HTTP-specified authentication mechanisms (except form/cookies, 
but someone is working on a spec for these already).

As RFC 2616 (HTTP) says:
"10.4.4 403 Forbidden
The server understood the request, but is refusing to fulfill it. 
Authorization will not help and the request SHOULD NOT be repeated. [...]"

This is why I think that, when no certificate or an insufficient 
certificate is presented, 401 would be more appropriate:

"10.4.2 401 Unauthorized
The request requires user authentication. The response MUST include a 
WWW-Authenticate header field (section 14.47) containing a challenge 
applicable to the requested resource. The client MAY repeat the request 
with a suitable Authorization header field (section 14.8). If the 
request already included Authorization credentials, then the 401 
response indicates that authorization has been refused for those 
credentials. If the 401 response contains the same challenge as the 
prior response, and the user agent has already attempted authentication 
at least once, then the user SHOULD be presented the entity that was 
given in the response, since that entity might include relevant 
diagnostic information."



In addition, the use of a 401 status code would allow for configurations 
where the server can present two challenges at the same time, for example:

HTTP/1.0 401 Authorization Required
WWW-Authenticate: Basic realm="..."
WWW-Authenticate: Transport mode="tls-client-certificate"


I don't see this as just being an implementation or configuration issue. 
The problem being that "[...the 401 response] MUST include a 
WWW-Authenticate header field", and that no such header is specified for 
client certificates (or perhaps SRP).


Best wishes,

Bruno.


From jorton@redhat.com  Fri Jan 22 03:43:33 2010
Return-Path: <jorton@redhat.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4B2F03A68FF for <tls@core3.amsl.com>; Fri, 22 Jan 2010 03:43:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level: 
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, 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 GhURI220Sfef for <tls@core3.amsl.com>; Fri, 22 Jan 2010 03:43:32 -0800 (PST)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by core3.amsl.com (Postfix) with ESMTP id 855043A68D1 for <tls@ietf.org>; Fri, 22 Jan 2010 03:43:32 -0800 (PST)
Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o0MBhRda012688 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 22 Jan 2010 06:43:28 -0500
Received: from turnip.manyfish.co.uk (vpn-8-167.rdu.redhat.com [10.11.8.167]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o0MBhQ8r004208 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 22 Jan 2010 06:43:27 -0500
Received: from jorton by turnip.manyfish.co.uk with local (Exim 4.69) (envelope-from <jorton@redhat.com>) id 1NYHvB-0001UM-8A; Fri, 22 Jan 2010 11:43:25 +0000
Date: Fri, 22 Jan 2010 11:43:25 +0000
From: Joe Orton <jorton@redhat.com>
To: Bruno Harbulot <Bruno.Harbulot@manchester.ac.uk>
Message-ID: <20100122114325.GA5528@redhat.com>
Mail-Followup-To: Bruno Harbulot <Bruno.Harbulot@manchester.ac.uk>, tls@ietf.org
References: <4B55C476.1070302@manchester.ac.uk> <20100121165844.GA2878@redhat.com> <hjc1uf$e8g$1@ger.gmane.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <hjc1uf$e8g$1@ger.gmane.org>
User-Agent: Mutt/1.5.20 (2009-08-17)
Organization: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in UK and Wales under Company Registration No. 03798903 Directors: Michael Cunningham (USA), Brendan Lane (Ireland), Matt Parson (USA), Charlie Peters (USA)
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11
Cc: tls@ietf.org
Subject: Re: [TLS] [Fwd: WWW-Authenticate challenge for client-certificates]
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Fri, 22 Jan 2010 11:43:33 -0000

On Fri, Jan 22, 2010 at 11:25:04AM +0000, Bruno Harbulot wrote:
> Yes, but 403 is exactly the problem. That's not really a TLS
> problem, but more of how TLS authentication is handled by HTTP,
> differently from the other HTTP-specified authentication mechanisms

I don't see what difference it makes to have a fake 401 challenge as 
opposed to a 403.  If the client doesn't have a cert to present when 
challenged, the best you can do is present an error page describing to 
them how they obtain a client cert.  The client *already knows* that a 
client cert was requested; telling them again in a fake 401 doesn't add 
additional information.

> In addition, the use of a 401 status code would allow for
> configurations where the server can present two challenges at the
> same time, for example:

Again, that is effectively already possible.  Send a client cert 
request, and a 401 challenge if none is presented.

Regards, Joe

From Bruno.Harbulot@manchester.ac.uk  Fri Jan 22 08:13:46 2010
Return-Path: <Bruno.Harbulot@manchester.ac.uk>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CBA893A69DB for <tls@core3.amsl.com>; Fri, 22 Jan 2010 08:13:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.679
X-Spam-Level: 
X-Spam-Status: No, score=-6.679 tagged_above=-999 required=5 tests=[AWL=-0.080, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 4I70oJetagmH for <tls@core3.amsl.com>; Fri, 22 Jan 2010 08:13:45 -0800 (PST)
Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by core3.amsl.com (Postfix) with ESMTP id C854C3A6A45 for <tls@ietf.org>; Fri, 22 Jan 2010 08:13:37 -0800 (PST)
Received: from rankine.its.manchester.ac.uk ([130.88.25.196]) by probity.mcc.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from <Bruno.Harbulot@manchester.ac.uk>) id 1NYM8W-000FDY-6V for tls@ietf.org; Fri, 22 Jan 2010 16:13:28 +0000
Received: from pulsar.rcs.manchester.ac.uk ([130.88.1.47]:60268 helo=mymachine) by rankine.its.manchester.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <Bruno.Harbulot@manchester.ac.uk>) id 1NYM8W-00042B-06 for tls@ietf.org; Fri, 22 Jan 2010 16:13:28 +0000
Message-ID: <4B59CEA7.7060201@manchester.ac.uk>
Date: Fri, 22 Jan 2010 16:13:27 +0000
From: Bruno Harbulot <Bruno.Harbulot@manchester.ac.uk>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: tls@ietf.org
References: <4B55C476.1070302@manchester.ac.uk>	<20100121165844.GA2878@redhat.com> <hjc1uf$e8g$1@ger.gmane.org> <20100122114325.GA5528@redhat.com>
In-Reply-To: <20100122114325.GA5528@redhat.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Authenticated-Sender: Bruno Harbulot from pulsar.rcs.manchester.ac.uk (mymachine) [130.88.1.47]:60268
X-Authenticated-From: Bruno.Harbulot@manchester.ac.uk
X-UoM: Scanned by the University Mail System. See http://www.itservices.manchester.ac.uk/email/filtering/information/ for details.
Subject: Re: [TLS] [Fwd: WWW-Authenticate challenge for client-certificates]
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Fri, 22 Jan 2010 16:13:47 -0000

Joe Orton wrote:
> On Fri, Jan 22, 2010 at 11:25:04AM +0000, Bruno Harbulot wrote:
>> Yes, but 403 is exactly the problem. That's not really a TLS
>> problem, but more of how TLS authentication is handled by HTTP,
>> differently from the other HTTP-specified authentication mechanisms
> 
> I don't see what difference it makes to have a fake 401 challenge as 
> opposed to a 403.  If the client doesn't have a cert to present when 
> challenged, the best you can do is present an error page describing to 
> them how they obtain a client cert.  The client *already knows* that a 
> client cert was requested; telling them again in a fake 401 doesn't add 
> additional information.

It has to do with the 'retry' ability 401 gives to the client. 403 
explicitly tells the client not to retry, even with different 
credentials. Thus, 403 always gives an error message to the end-user in 
a browser.
In contrast, 401 presents the challenge to the browser which is then 
able to repeat the request with an appropriate response to the challenge.
Like 302 redirections, this can be done transparently; the behaviour of 
the user-interface then depends on the configuration and the 
implementation, but a 401 response gives the opportunity to do something 
at the HTTP level.


>> In addition, the use of a 401 status code would allow for
>> configurations where the server can present two challenges at the
>> same time, for example:
> 
> Again, that is effectively already possible.  Send a client cert 
> request, and a 401 challenge if none is presented.

Not really, this creates an imbalance that gives priority to the 
certificate. RFC 2617 (HTTP Basic and Digest auth spec) says "The user 
agent MUST choose to use one of the challenges with the strongest 
auth-scheme it understands and request credentials from the user based 
upon that challenge."
While between TLS certs and clear username/password with HTTP Basic, the 
certificate is probably always the strongest auth-scheme. It wouldn't 
necessarily be a clear cut in all cases, for example if the service 
offers both TLS certificate authentication and SPNEGO/Kerberos 
authentication. (There are probably crypto experts on this list who 
might have an opinion on this, but I don't think it's easy to say which 
one of Kerberos or TLS client certificates is the strongest, not sure it 
even makes sense to compare.)

With a 'Transport' scheme (aimed at whatever HTTP can't deal with 
directly, in particular, TLS certificates) you could have something as 
follows, letting the client decide which one it prefers:

HTTP/1.1 401 Authorization Required
WWW-Authenticate: Negotiate ...
WWW-Authenticate: Transport mode="tls-client-certificate"


Otherwise, if it presents a certificate, it won't be aware that Kerberos 
authentication could also have been used. This might have been a better 
choice (especially if the certificate that this client has is accepted 
by the server, but not sufficient to grant authorisation to the resource).



In addition, and that's a slightly separate issue, this could be a clean 
way to manage change of identity or credentials during renegotiation, 
which isn't really specified at the moment as far as I know.

More information at the HTTP layer, regarding specific resources, could 
be useful for choosing a certificate in cases where the client has more 
than one certificate accepted by the server's TLS settings (whether or 
not by the same CA).


This could be useful for the renegotiation bug. For example, in the 
following exchange where the renegotiation happens between "X-Ignore: " 
and "GET":

* Client->MitM->Server:
POST /create/something/bad HTTP/1.0
X-Ignore: GET / HTTP/1.1

* Server->Client:
HTTP/1.0 201 Created
...


Instead, if the server was able to convey to the HTTP layer that a 
renegotiation had happened, it would send a 401, telling the client 
simply to re-send its original request, to make sure it was indeed the 
client:

* Client->MitM->Server:
POST /create/something/bad HTTP/1.0
X-Ignore: GET / HTTP/1.1

* Server->Client (a new handshake was detected, so it sends 401 for safety):
HTTP/1.0 401 Authorization Required
WWW-Authenticate: Transport
...

* Client->Server:
GET / HTTP/1.1

* Server->Client:
HTTP/1.0 200 OK
...

(If the MitM tried to renegotiate again, there would be another 401, etc.)




Best wishes,

Bruno.


From yngve@opera.com  Sat Jan 23 07:08:54 2010
Return-Path: <yngve@opera.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id ADE8B3A6877 for <tls@core3.amsl.com>; Sat, 23 Jan 2010 07:08:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.52
X-Spam-Level: 
X-Spam-Status: No, score=-5.52 tagged_above=-999 required=5 tests=[AWL=-0.780,  BAYES_20=-0.74, RCVD_IN_DNSWL_MED=-4]
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 2dXcErDBtV37 for <tls@core3.amsl.com>; Sat, 23 Jan 2010 07:08:53 -0800 (PST)
Received: from smtp.opera.com (smtp.opera.com [213.236.208.81]) by core3.amsl.com (Postfix) with ESMTP id 525FE3A679C for <tls@ietf.org>; Sat, 23 Jan 2010 07:08:53 -0800 (PST)
Received: from acorna.oslo.opera.com (pat-tdc.opera.com [213.236.208.22]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5) with ESMTP id o0NF5Qct025660 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <tls@ietf.org>; Sat, 23 Jan 2010 15:05:27 GMT
Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes
Date: Sat, 23 Jan 2010 16:08:42 +0100
To: "tls@ietf.org" <tls@ietf.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
From: "Yngve N. Pettersen (Developer Opera Software ASA)" <yngve@opera.com>
Organization: Opera Software AS
Message-ID: <op.u6zq0sb5qrq7tp@acorna.oslo.opera.com>
User-Agent: Opera Mail/10.10 (Win32)
Subject: [TLS] Opera 10.50 alpha snapshot with TLS Renego extension support
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Sat, 23 Jan 2010 15:08:54 -0000

Hello all,

Today Opera Software released a snapshot of Opera 10.50 alpha with support
for the TLS RenegotiationInfo extension.

Server vendors should note the following:

     * The RI extension is sent in all handshakes using extensions
     * The SCSV is only sent when we do not know if the server supports
extensions (implied: Patched servers always support the RI extension)
     * Against known patched servers Opera 10.50 will ONLY send Client  
Hellos
identifying TLS 1.2 as the highest supported version, and will abort  
ongoing
handshakes if it not already identifying with TLS 1.2. It will **NOT** fall
back to an older version if negotiation fails. Patched servers are assumed
to be version tolerant.
     * It is a fatal error for a server (identified by hostname and port) to
first indicate support for RI, then later (in the same session) fail to
indicate support.

Opera's implementation also contain an auto-updatable preference that can
(step 1) be used to get Opera installations to display certificate warning
dialogs for unpatched server, and (step 2) to disable support for unpatched
servers. If and when these updates will be used is currently undecided.

Additionally, a heads up: I've recently been doing some probing of TLS
servers and among a 100 000+ sample 40+% of the servers did not check the
RSA Premaster secret at all, and 0.7% required the wrong version (the
negotiated version) in this field. Another finding is that 60+% of the
tested servers did not tolerate the ClientHello.version field being set
to 4.1, which could cause problems if/when the major version number of
TLS is updated.

Further information and download links can be found at:

    <http://my.opera.com/desktopteam/blog/continued-stabilization >
    <http://my.opera.com/securitygroup/blog/2010/01/23/alpha-testing-tls-renego-fix  
>

-- 
Sincerely,
Yngve N. Pettersen

********************************************************************
Senior Developer                     Email: yngve@opera.com
Opera Software ASA                   http://www.opera.com/
Phone:  +47 24 16 42 60              Fax:    +47 24 16 40 01
********************************************************************

From wtc@google.com  Sat Jan 23 09:09:34 2010
Return-Path: <wtc@google.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 696A73A6949 for <tls@core3.amsl.com>; Sat, 23 Jan 2010 09:09:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.977
X-Spam-Level: 
X-Spam-Status: No, score=-105.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_MED=-4, 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 1t8JUzZXS6vZ for <tls@core3.amsl.com>; Sat, 23 Jan 2010 09:09:33 -0800 (PST)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.33.17]) by core3.amsl.com (Postfix) with ESMTP id 6A1883A67E9 for <tls@ietf.org>; Sat, 23 Jan 2010 09:09:33 -0800 (PST)
Received: from wpaz17.hot.corp.google.com (wpaz17.hot.corp.google.com [172.24.198.81]) by smtp-out.google.com with ESMTP id o0NH9QWx019503 for <tls@ietf.org>; Sat, 23 Jan 2010 17:09:27 GMT
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1264266567; bh=B2duBnMpGMjYvMdVt68fbw4TnFo=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Cc:Content-Type:Content-Transfer-Encoding; b=Yrz26LZpGOl9vOVIseHSE5LLZKUgaRzusHlYulr9AutTjVwUJwMA090WjAZCw9VPy v/y8t2b66OzQ+1bJj+y9w==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:date:message-id:subject:from:to: cc:content-type:content-transfer-encoding:x-system-of-record; b=Isk50L8H+7CJnR3SSiSy22pnOEMhaC1Cmk3HtikF7B94/O9gu0cLseY7P1F+KFs8L fEQMsTKQBI4zVMC+YLTpg==
Received: from ey-out-2122.google.com (eye22.prod.google.com [10.208.5.22]) by wpaz17.hot.corp.google.com with ESMTP id o0NH9Pe2016311 for <tls@ietf.org>; Sat, 23 Jan 2010 09:09:25 -0800
Received: by ey-out-2122.google.com with SMTP id 22so451168eye.45 for <tls@ietf.org>; Sat, 23 Jan 2010 09:09:25 -0800 (PST)
MIME-Version: 1.0
Received: by 10.216.93.77 with SMTP id k55mr1584607wef.196.1264266564978; Sat,  23 Jan 2010 09:09:24 -0800 (PST)
In-Reply-To: <op.u6zq0sb5qrq7tp@acorna.oslo.opera.com>
References: <op.u6zq0sb5qrq7tp@acorna.oslo.opera.com>
Date: Sat, 23 Jan 2010 09:09:24 -0800
Message-ID: <e8c553a61001230909v3cf8ea42t9e900f00cb5554c1@mail.gmail.com>
From: Wan-Teh Chang <wtc@google.com>
To: "Yngve N. Pettersen (Developer Opera Software ASA)" <yngve@opera.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-System-Of-Record: true
Cc: "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] Opera 10.50 alpha snapshot with TLS Renego extension support
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Sat, 23 Jan 2010 17:09:34 -0000

On Sat, Jan 23, 2010 at 7:08 AM, Yngve N. Pettersen (Developer Opera
Software ASA) <yngve@opera.com> wrote:
> Hello all,
>
> Today Opera Software released a snapshot of Opera 10.50 alpha with suppor=
t
> for the TLS RenegotiationInfo extension.
>
> Server vendors should note the following:
>
> =A0 =A0* The RI extension is sent in all handshakes using extensions
> =A0 =A0* The SCSV is only sent when we do not know if the server supports
> extensions (implied: Patched servers always support the RI extension)

Could you clarify one issue -- when you send SCSV, do you also
send an empty RI extension?  Your second bullet point implies
that when you send SCSV, you don't send any extension.  But
that contradicts your first bullet point, that you send the RI
extension in *all* handshakes.

> =A0 =A0* Against known patched servers Opera 10.50 will ONLY send Client =
Hellos
> identifying TLS 1.2 as the highest supported version, and will abort ongo=
ing
> handshakes if it not already identifying with TLS 1.2. It will **NOT** fa=
ll
> back to an older version if negotiation fails. Patched servers are assume=
d
> to be version tolerant.

I don't understand what you meant by "will abort ongoing handshakes
if it not already identifying with TLS 1.2".

> =A0 =A0* It is a fatal error for a server (identified by hostname and por=
t) to
> first indicate support for RI, then later (in the same session) fail to
> indicate support.

In the same browsing session or in the same SSL session?

Thanks for the statistics on various TLS server implementation
errors.

Wan-Teh

From yngve@opera.com  Sat Jan 23 09:47:10 2010
Return-Path: <yngve@opera.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E975C3A6992 for <tls@core3.amsl.com>; Sat, 23 Jan 2010 09:47:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.293
X-Spam-Level: 
X-Spam-Status: No, score=-6.293 tagged_above=-999 required=5 tests=[AWL=0.306,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 f5LGJFBK66Gj for <tls@core3.amsl.com>; Sat, 23 Jan 2010 09:47:09 -0800 (PST)
Received: from smtp.opera.com (smtp.opera.com [213.236.208.81]) by core3.amsl.com (Postfix) with ESMTP id 892D63A6961 for <tls@ietf.org>; Sat, 23 Jan 2010 09:47:09 -0800 (PST)
Received: from acorna.oslo.opera.com (pat-tdc.opera.com [213.236.208.22]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5) with ESMTP id o0NHhb9l030366 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 23 Jan 2010 17:43:38 GMT
Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes
To: "Wan-Teh Chang" <wtc@google.com>
References: <op.u6zq0sb5qrq7tp@acorna.oslo.opera.com> <e8c553a61001230909v3cf8ea42t9e900f00cb5554c1@mail.gmail.com>
Date: Sat, 23 Jan 2010 18:46:53 +0100
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
From: "Yngve N. Pettersen (Developer Opera Software ASA)" <yngve@opera.com>
Organization: Opera Software AS
Message-ID: <op.u6zycfprqrq7tp@acorna.oslo.opera.com>
In-Reply-To: <e8c553a61001230909v3cf8ea42t9e900f00cb5554c1@mail.gmail.com>
User-Agent: Opera Mail/10.10 (Win32)
Cc: "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] Opera 10.50 alpha snapshot with TLS Renego extension support
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Sat, 23 Jan 2010 17:47:11 -0000

On Sat, 23 Jan 2010 18:09:24 +0100, Wan-Teh Chang <wtc@google.com> wrote:

> On Sat, Jan 23, 2010 at 7:08 AM, Yngve N. Pettersen (Developer Opera
> Software ASA) <yngve@opera.com> wrote:
>> Hello all,
>>
>> Today Opera Software released a snapshot of Opera 10.50 alpha with  
>> support
>> for the TLS RenegotiationInfo extension.
>>
>> Server vendors should note the following:
>>
>>    * The RI extension is sent in all handshakes using extensions
>>    * The SCSV is only sent when we do not know if the server supports
>> extensions (implied: Patched servers always support the RI extension)
>
> Could you clarify one issue -- when you send SCSV, do you also
> send an empty RI extension?  Your second bullet point implies
> that when you send SCSV, you don't send any extension.  But

Whenever we send extensions the RI extension is sent.

Independently of this, if we do not know if the server supports or  
tolerates extensions we send the SCSV, but it can be sent in combination  
with the extensions. We send the SCSV during the initial feature probe  
(which may include sending extensions) and in the SSL v3/TLS v1.0 without  
extension modes.

> that contradicts your first bullet point, that you send the RI
> extension in *all* handshakes.

"in all handshakes [that uses] Extensions"

>>    * Against known patched servers Opera 10.50 will ONLY send Client  
>> Hellos
>> identifying TLS 1.2 as the highest supported version, and will abort  
>> ongoing
>> handshakes if it not already identifying with TLS 1.2. It will **NOT**  
>> fall
>> back to an older version if negotiation fails. Patched servers are  
>> assumed
>> to be version tolerant.
>
> I don't understand what you meant by "will abort ongoing handshakes
> if it not already identifying with TLS 1.2".

If we discover that the server supports RI during an initial handshake  
that did not identify TLS 1.2 as our highest supported version, we shut  
down the connection, and restart negotiation with a Hello identifying TLS  
1.2 as our highest version. Normally this means that upon first connection  
we will send a TLS 1.0 hello without extensions, get the RI extension  
back, shut down (which we would have anyway in most cases), and set up a  
new connection with the TLS 1.2 handshake. This can also occur for  
connection where we have previously determined version/extension  
configuration (which is usually cached for 4 weeks), but have never tested  
RI support. This procedure protects against potential version downgrade  
attacks.

>>    * It is a fatal error for a server (identified by hostname and port)  
>> to
>> first indicate support for RI, then later (in the same session) fail to
>> indicate support.
>
> In the same browsing session or in the same SSL session?

Same browsing session. Sorry for not being clear. We don't store a renego  
flag, but do cache the use of TLS 1.2 with extension. Since the eventual  
plan is to move to required RI support browse session only should be  
sufficient.

The scenario where this is likely to occur is multi-machine servers where  
not every machine has been updated.



-- 
Sincerely,
Yngve N. Pettersen

********************************************************************
Senior Developer                     Email: yngve@opera.com
Opera Software ASA                   http://www.opera.com/
Phone:  +47 24 16 42 60              Fax:    +47 24 16 40 01
********************************************************************

From Pasi.Eronen@nokia.com  Tue Jan 26 00:49:28 2010
Return-Path: <Pasi.Eronen@nokia.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2E8D13A6810; Tue, 26 Jan 2010 00:49:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.989
X-Spam-Level: 
X-Spam-Status: No, score=-5.989 tagged_above=-999 required=5 tests=[AWL=0.610,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 bToYrXIufRzH; Tue, 26 Jan 2010 00:49:27 -0800 (PST)
Received: from mgw-mx06.nokia.com (smtp.nokia.com [192.100.122.233]) by core3.amsl.com (Postfix) with ESMTP id B4E3F3A67B0; Tue, 26 Jan 2010 00:49:26 -0800 (PST)
Received: from vaebh106.NOE.Nokia.com (vaebh106.europe.nokia.com [10.160.244.32]) by mgw-mx06.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o0Q8n8El010149; Tue, 26 Jan 2010 10:49:33 +0200
Received: from vaebh102.NOE.Nokia.com ([10.160.244.23]) by vaebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 26 Jan 2010 10:49:26 +0200
Received: from smtp.mgd.nokia.com ([65.54.30.8]) by vaebh102.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 26 Jan 2010 10:49:17 +0200
Received: from NOK-EUMSG-01.mgdnok.nokia.com ([65.54.30.86]) by nok-am1mhub-04.mgdnok.nokia.com ([65.54.30.8]) with mapi; Tue, 26 Jan 2010 09:49:07 +0100
From: <Pasi.Eronen@nokia.com>
To: <ietf@ietf.org>, <tls@ietf.org>
Date: Tue, 26 Jan 2010 09:49:06 +0100
Thread-Topic: Confirming consensus about one draft-ietf-tls-renegotiation detail
Thread-Index: AcqeZGsopZGN9hXbTp+VH8GNHSiFbw==
Message-ID: <808FD6E27AD4884E94820BC333B2DB775841199A56@NOK-EUMSG-01.mgdnok.nokia.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginalArrivalTime: 26 Jan 2010 08:49:17.0508 (UTC) FILETIME=[71B4E840:01CA9E64]
X-Nokia-AV: Clean
Subject: [TLS] Confirming consensus about one draft-ietf-tls-renegotiation detail
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: tls@ietf.org
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/listinfo/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: Tue, 26 Jan 2010 08:49:28 -0000

Concerns have been raised that the IESG may have judged community
consensus about one specific detail of draft-ietf-tls-renegotiation
prematurely. In particular, the discussion that happened just after
the IETF Last Call ended might have caused some people to change their
opinion, and also the holiday season may have delayed replies.  To
eliminate doubt about the situation, and allow the RFC to come out as
soon as possible, we have decided to confirm the community consensus=20
about this detail.

The detail in question is whether the "Signalling Cipher Suite Value"
(SCSV) can be included when performing secure renegotiation (in
addition to the renegotiation_info extension).

Currently, the SCSV is not included. In the version that went to IETF
Last Call (version -01), the relevant text was:

   "This cipher suite has exactly the same semantics as an empty
   "renegotiation_info" extension. [..]  Because this cipher suite is
   equivalent to an empty "renegotiation_info" extension, only
   "renegotiation_info" may be used rehandshakes." (in Section 4)

Version -03 (the latest version) has rephrased the text as follows:

   "The SCSV MUST NOT be included." (in Section 3.5, "Client Behavior:
   Secure Renegotiation")

   "When ClientHello is received, the server MUST verify that it does
   not contain the TLS_RENEGO_PROTECTION_REQUEST SCSV.  If the SCSV is
   present, the server MUST abort the handshake." (in Section 3.7,
   "Server Behavior: Secure Renegotiation")

It has been suggested that recent discussions may have changed the
consensus, and some people have proposed changing this so that
including the SCSV in secure renegotiation ClientHellos is allowed
(but not required), and rephrasing the text that says SCSV, when
received, is treated the same as an empty renegotiation_info extension
(which means "not renegotiation").

Note that this text applies to secure renegotiation ClientHellos.
Other possible changes to the details concerning the SCSV (such as
requiring it in all ClientHellos) were suggested during the IETF Last
Call, but are explicitly outside the scope of this email.

According to our notes, at least the following individuals seem to
have expressed support for publishing version 01/02/03 (without making
further changes to the details concerning the SCSV):

Adrian Farrel
Alexey Melnikov
Ben Laurie
Bodo Moeller
Chris Newman
Cullen Jennings
Dan Romascanu
David P. Kemp
Eric Rescorla
Geoffrey Keating
Glen Zorn
Jari Arkko
Lars Eggert
Lisa Dusseault
Magnus Westerlund
Nicolas Williams
Pasi Eronen
Peter Robinson
Ralph Droms
Rob P. Williams
Robert Relya
Robert Sparks
Ron Bonica
Stephen Farrell
Steve Checkoaway
Steve Dispensa
Tim Polk
Uri Blumenthal

The following individuals seems to have expressed a preference for
*not* publishing this document until the details concerning the SCSV
are changed as described above:

Marsh Ray
Martin Rex
Michael D'Errico
Nasko Oskov
Robert Dugal
Stephen Henson
Yoav Nir

A number of other people also sent comments during the IETF Last Call
(possibly proposing other changes to the details concerning the SCSV),
but did not clearly fall into either list above.

If the recent discussions have caused you to change your mind (or we
have interpreted your preference incorrectly, or you were not on
either list), please send an email to the TLS WG mailing list by=20
Tuesday February 2nd. In your reply, please include one of the=20
following:

   (1) I prefer publishing the specification as-is.
 =20
   (2) I prefer *NOT* publishing the specification as-is, and instead
   prefer changing the text so that including the SCSV in secure
   renegotiation ClientHellos is allowed (but not required).

Unless a significant amount of additional people believe that making
this change if preferable over publishing the spec now, the IESG
expects to have the RFC out soon after February 2nd.  So we hope this
consensus confirmation does not delay the RFC, or deployment of its
implementations.

Note that this is not a general call to revisit other details of
draft-ietf-tls-renegotiation, or propose additional changes.  If you
absolutely wish to have other discussions related to the draft, we
respectfully ask you to change the subject line.

Best regards,
Pasi
IETF Security Area Director


From rdugal@certicom.com  Tue Jan 26 03:01:48 2010
Return-Path: <rdugal@certicom.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C5ECC3A63EC for <tls@core3.amsl.com>; Tue, 26 Jan 2010 03:01:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.203
X-Spam-Level: 
X-Spam-Status: No, score=-5.203 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_MED=-4]
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 3+vdlRAaq8jB for <tls@core3.amsl.com>; Tue, 26 Jan 2010 03:01:47 -0800 (PST)
Received: from mhs03ykf.rim.net (mhs03ykf.rim.net [216.9.243.80]) by core3.amsl.com (Postfix) with ESMTP id 3E7043A67F5 for <tls@ietf.org>; Tue, 26 Jan 2010 03:01:47 -0800 (PST)
X-AuditID: 0a401fcb-b7c00ae0000009e4-b1-4b5ecba3b008
Received: from XCH39YKF.rim.net ( [10.64.31.40]) by mhs03ykf.rim.net (RIM Mail) with SMTP id 56.C1.02532.3ABCE5B4; Tue, 26 Jan 2010 06:01:55 -0500 (EST)
Received: from XCH57YKF.rim.net ([10.64.31.54]) by XCH39YKF.rim.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 26 Jan 2010 06:01:55 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
content-transfer-encoding: quoted-printable
Date: Tue, 26 Jan 2010 06:01:54 -0500
Message-ID: <7E1DF37F1F42AB4E877E492C308E6AC4038CEDB1@XCH57YKF.rim.net>
In-Reply-To: <808FD6E27AD4884E94820BC333B2DB775841199A56@NOK-EUMSG-01.mgdnok.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] Confirming consensus about one draft-ietf-tls-renegotiationdetail
Thread-Index: AcqeZGsopZGN9hXbTp+VH8GNHSiFbwAElKjA
References: <808FD6E27AD4884E94820BC333B2DB775841199A56@NOK-EUMSG-01.mgdnok.nokia.com>
From: "Robert Dugal" <rdugal@certicom.com>
To: <tls@ietf.org>
X-OriginalArrivalTime: 26 Jan 2010 11:01:55.0679 (UTC) FILETIME=[F9256EF0:01CA9E76]
X-Brightmail-Tracker: AAAAAQAAAZE=
Subject: Re: [TLS] Confirming consensus about one draft-ietf-tls-renegotiationdetail
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 26 Jan 2010 11:01:48 -0000

   (1) I prefer publishing the specification as-is.

-- 
Robert Dugal		Senior Software Developer
Certicom Corp.		A Subsidiary of Research In Motion 
rdugal@certicom.com
direct=A0=A0=A0=A0=A0=A0=A0=A0905.501.3848
fax=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0905.507.4230
www.certicom.com

-----Original Message-----
From: tls-bounces@ietf.org [mailto:tls-bounces@ietf.org] On Behalf Of Pasi.E=
ronen@nokia.com
Sent: Tuesday, January 26, 2010 3:49 AM
To: ietf@ietf.org; tls@ietf.org
Subject: [TLS] Confirming consensus about one draft-ietf-tls-renegotiationde=
tail

Concerns have been raised that the IESG may have judged community
consensus about one specific detail of draft-ietf-tls-renegotiation
prematurely. In particular, the discussion that happened just after
the IETF Last Call ended might have caused some people to change their
opinion, and also the holiday season may have delayed replies.  To
eliminate doubt about the situation, and allow the RFC to come out as
soon as possible, we have decided to confirm the community consensus 
about this detail.

The detail in question is whether the "Signalling Cipher Suite Value"
(SCSV) can be included when performing secure renegotiation (in
addition to the renegotiation_info extension).

Currently, the SCSV is not included. In the version that went to IETF
Last Call (version -01), the relevant text was:

   "This cipher suite has exactly the same semantics as an empty
   "renegotiation_info" extension. [..]  Because this cipher suite is
   equivalent to an empty "renegotiation_info" extension, only
   "renegotiation_info" may be used rehandshakes." (in Section 4)

Version -03 (the latest version) has rephrased the text as follows:

   "The SCSV MUST NOT be included." (in Section 3.5, "Client Behavior:
   Secure Renegotiation")

   "When ClientHello is received, the server MUST verify that it does
   not contain the TLS_RENEGO_PROTECTION_REQUEST SCSV.  If the SCSV is
   present, the server MUST abort the handshake." (in Section 3.7,
   "Server Behavior: Secure Renegotiation")

It has been suggested that recent discussions may have changed the
consensus, and some people have proposed changing this so that
including the SCSV in secure renegotiation ClientHellos is allowed
(but not required), and rephrasing the text that says SCSV, when
received, is treated the same as an empty renegotiation_info extension
(which means "not renegotiation").

Note that this text applies to secure renegotiation ClientHellos.
Other possible changes to the details concerning the SCSV (such as
requiring it in all ClientHellos) were suggested during the IETF Last
Call, but are explicitly outside the scope of this email.

According to our notes, at least the following individuals seem to
have expressed support for publishing version 01/02/03 (without making
further changes to the details concerning the SCSV):

Adrian Farrel
Alexey Melnikov
Ben Laurie
Bodo Moeller
Chris Newman
Cullen Jennings
Dan Romascanu
David P. Kemp
Eric Rescorla
Geoffrey Keating
Glen Zorn
Jari Arkko
Lars Eggert
Lisa Dusseault
Magnus Westerlund
Nicolas Williams
Pasi Eronen
Peter Robinson
Ralph Droms
Rob P. Williams
Robert Relya
Robert Sparks
Ron Bonica
Stephen Farrell
Steve Checkoaway
Steve Dispensa
Tim Polk
Uri Blumenthal

The following individuals seems to have expressed a preference for
*not* publishing this document until the details concerning the SCSV
are changed as described above:

Marsh Ray
Martin Rex
Michael D'Errico
Nasko Oskov
Robert Dugal
Stephen Henson
Yoav Nir

A number of other people also sent comments during the IETF Last Call
(possibly proposing other changes to the details concerning the SCSV),
but did not clearly fall into either list above.

If the recent discussions have caused you to change your mind (or we
have interpreted your preference incorrectly, or you were not on
either list), please send an email to the TLS WG mailing list by 
Tuesday February 2nd. In your reply, please include one of the 
following:

   (1) I prefer publishing the specification as-is.
  
   (2) I prefer *NOT* publishing the specification as-is, and instead
   prefer changing the text so that including the SCSV in secure
   renegotiation ClientHellos is allowed (but not required).

Unless a significant amount of additional people believe that making
this change if preferable over publishing the spec now, the IESG
expects to have the RFC out soon after February 2nd.  So we hope this
consensus confirmation does not delay the RFC, or deployment of its
implementations.

Note that this is not a general call to revisit other details of
draft-ietf-tls-renegotiation, or propose additional changes.  If you
absolutely wish to have other discussions related to the draft, we
respectfully ask you to change the subject line.

Best regards,
Pasi
IETF Security Area Director

_______________________________________________
TLS mailing list
TLS@ietf.org
https://www.ietf.org/mailman/listinfo/tls

---------------------------------------------------------------------=0A=
This transmission (including any attachments) may contain confidential infor=
mation, privileged material (including material protected by the solicitor-c=
lient or other applicable privileges), or constitute non-public information.=
 Any use of this information by anyone other than the intended recipient is=
 prohibited. If you have received this transmission in error, please immedia=
tely reply to the sender and delete this information from your system. Use,=
 dissemination, distribution, or reproduction of this transmission by uninte=
nded recipients is not authorized and may be unlawful.

From lists@drh-consultancy.demon.co.uk  Tue Jan 26 03:57:08 2010
Return-Path: <lists@drh-consultancy.demon.co.uk>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7E61428C0CE; Tue, 26 Jan 2010 03:57:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.11
X-Spam-Level: 
X-Spam-Status: No, score=-1.11 tagged_above=-999 required=5 tests=[BAYES_05=-1.11]
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 AFIGZcCxiVqx; Tue, 26 Jan 2010 03:57:07 -0800 (PST)
Received: from claranet-outbound-smtp05.uk.clara.net (claranet-outbound-smtp05.uk.clara.net [195.8.89.38]) by core3.amsl.com (Postfix) with ESMTP id 649C53A6767; Tue, 26 Jan 2010 03:57:07 -0800 (PST)
Received: from drh-consultancy.demon.co.uk ([80.177.30.10]:49311 helo=[192.168.7.8]) by relay05.mail.eu.clara.net (relay.clara.net [213.253.3.45]:10587) with esmtpa (authdaemon_plain:drh) id 1NZk2l-0002MU-GB  (return-path <lists@drh-consultancy.demon.co.uk>); Tue, 26 Jan 2010 11:57:15 +0000
Message-ID: <4B5ED89B.3040908@drh-consultancy.demon.co.uk>
Date: Tue, 26 Jan 2010 11:57:15 +0000
From: Dr Stephen Henson <lists@drh-consultancy.demon.co.uk>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: tls@ietf.org
References: <808FD6E27AD4884E94820BC333B2DB775841199A56@NOK-EUMSG-01.mgdnok.nokia.com>
In-Reply-To: <808FD6E27AD4884E94820BC333B2DB775841199A56@NOK-EUMSG-01.mgdnok.nokia.com>
X-Enigmail-Version: 0.96.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: ietf@ietf.org
Subject: Re: [TLS] Confirming consensus about one draft-ietf-tls-renegotiation detail
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 26 Jan 2010 11:57:08 -0000

   (1) I prefer publishing the specification as-is.

Steve.
-- 
Dr Stephen N. Henson.
Core developer of the   OpenSSL project: http://www.openssl.org/
Freelance consultant see: http://www.drh-consultancy.co.uk/
Email: shenson@drh-consultancy.co.uk, PGP key: via homepage.

From DPKemp@missi.ncsc.mil  Tue Jan 26 07:30:52 2010
Return-Path: <DPKemp@missi.ncsc.mil>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D1FAA3A67B3; Tue, 26 Jan 2010 07:30:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 tA2FwpF2PrE4; Tue, 26 Jan 2010 07:30:51 -0800 (PST)
Received: from stingray.missi.ncsc.mil (stingray.missi.ncsc.mil [144.51.50.20]) by core3.amsl.com (Postfix) with ESMTP id 9A3AC3A6774; Tue, 26 Jan 2010 07:30:51 -0800 (PST)
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Tue, 26 Jan 2010 10:30:20 -0500
Message-ID: <201001261530.o0QFUxAT014069@stingray.missi.ncsc.mil>
In-Reply-To: <808FD6E27AD4884E94820BC333B2DB775841199A56@NOK-EUMSG-01.mgdnok.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] Confirming consensus about one draft-ietf-tls-renegotiationdetail
thread-index: AcqeZGsopZGN9hXbTp+VH8GNHSiFbwANjDYw
References: <808FD6E27AD4884E94820BC333B2DB775841199A56@NOK-EUMSG-01.mgdnok.nokia.com>
From: "Kemp, David P." <DPKemp@missi.ncsc.mil>
To: <tls@ietf.org>, <ietf@ietf.org>
X-OriginalArrivalTime: 26 Jan 2010 15:31:35.0609 (UTC) FILETIME=[A522D290:01CA9E9C]
Subject: Re: [TLS] Confirming consensus about one draft-ietf-tls-renegotiationdetail
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 26 Jan 2010 15:30:52 -0000

I confirm that I support publishing Version -03 as-is.


Rationale:

Version -01 states that the semantics of SCSV is identical to the
semantics an empty RI, namely: "this client is capable of supporting
secure renegotiation, and this ClientHello message is an initial
handshake, not a renegotiation handshake."

Version -03 confirms that semantic equivalence and transforms it into
testable processing requirements.  If there were a change to the
processing logic to permit SCSV in renegotiations, the semantics would
be:
"This ClientHello is both an initial handshake (SCSV) and a
renegotiation handshake (non-empty RI)", which is clearly absurd.

I prefer the semantics of Version -01 and Version -03 over making up a
different semantics (SCSV is not equivalent to an empty RI) at this
stage of the game.

Dave



-----Original Message-----
From: tls-bounces@ietf.org [mailto:tls-bounces@ietf.org] On Behalf Of
Pasi.Eronen@nokia.com
Sent: Tuesday, January 26, 2010 3:49 AM
To: ietf@ietf.org; tls@ietf.org
Subject: [TLS] Confirming consensus about one
draft-ietf-tls-renegotiationdetail

Concerns have been raised that the IESG may have judged community
consensus about one specific detail of draft-ietf-tls-renegotiation
prematurely. In particular, the discussion that happened just after
the IETF Last Call ended might have caused some people to change their
opinion, and also the holiday season may have delayed replies.  To
eliminate doubt about the situation, and allow the RFC to come out as
soon as possible, we have decided to confirm the community consensus=20
about this detail.

The detail in question is whether the "Signalling Cipher Suite Value"
(SCSV) can be included when performing secure renegotiation (in
addition to the renegotiation_info extension).

Currently, the SCSV is not included. In the version that went to IETF
Last Call (version -01), the relevant text was:

   "This cipher suite has exactly the same semantics as an empty
   "renegotiation_info" extension. [..]  Because this cipher suite is
   equivalent to an empty "renegotiation_info" extension, only
   "renegotiation_info" may be used rehandshakes." (in Section 4)

Version -03 (the latest version) has rephrased the text as follows:

   "The SCSV MUST NOT be included." (in Section 3.5, "Client Behavior:
   Secure Renegotiation")

   "When ClientHello is received, the server MUST verify that it does
   not contain the TLS_RENEGO_PROTECTION_REQUEST SCSV.  If the SCSV is
   present, the server MUST abort the handshake." (in Section 3.7,
   "Server Behavior: Secure Renegotiation")

It has been suggested that recent discussions may have changed the
consensus, and some people have proposed changing this so that
including the SCSV in secure renegotiation ClientHellos is allowed
(but not required), and rephrasing the text that says SCSV, when
received, is treated the same as an empty renegotiation_info extension
(which means "not renegotiation").

Note that this text applies to secure renegotiation ClientHellos.
Other possible changes to the details concerning the SCSV (such as
requiring it in all ClientHellos) were suggested during the IETF Last
Call, but are explicitly outside the scope of this email.

According to our notes, at least the following individuals seem to
have expressed support for publishing version 01/02/03 (without making
further changes to the details concerning the SCSV):

Adrian Farrel
Alexey Melnikov
Ben Laurie
Bodo Moeller
Chris Newman
Cullen Jennings
Dan Romascanu
David P. Kemp
Eric Rescorla
Geoffrey Keating
Glen Zorn
Jari Arkko
Lars Eggert
Lisa Dusseault
Magnus Westerlund
Nicolas Williams
Pasi Eronen
Peter Robinson
Ralph Droms
Rob P. Williams
Robert Relya
Robert Sparks
Ron Bonica
Stephen Farrell
Steve Checkoaway
Steve Dispensa
Tim Polk
Uri Blumenthal

The following individuals seems to have expressed a preference for
*not* publishing this document until the details concerning the SCSV
are changed as described above:

Marsh Ray
Martin Rex
Michael D'Errico
Nasko Oskov
Robert Dugal
Stephen Henson
Yoav Nir

A number of other people also sent comments during the IETF Last Call
(possibly proposing other changes to the details concerning the SCSV),
but did not clearly fall into either list above.

If the recent discussions have caused you to change your mind (or we
have interpreted your preference incorrectly, or you were not on
either list), please send an email to the TLS WG mailing list by=20
Tuesday February 2nd. In your reply, please include one of the=20
following:

   (1) I prefer publishing the specification as-is.
 =20
   (2) I prefer *NOT* publishing the specification as-is, and instead
   prefer changing the text so that including the SCSV in secure
   renegotiation ClientHellos is allowed (but not required).

Unless a significant amount of additional people believe that making
this change if preferable over publishing the spec now, the IESG
expects to have the RFC out soon after February 2nd.  So we hope this
consensus confirmation does not delay the RFC, or deployment of its
implementations.

Note that this is not a general call to revisit other details of
draft-ietf-tls-renegotiation, or propose additional changes.  If you
absolutely wish to have other discussions related to the draft, we
respectfully ask you to change the subject line.

Best regards,
Pasi
IETF Security Area Director

_______________________________________________
TLS mailing list
TLS@ietf.org
https://www.ietf.org/mailman/listinfo/tls

From paul.hoffman@vpnc.org  Tue Jan 26 08:34:02 2010
Return-Path: <paul.hoffman@vpnc.org>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 501363A67D9 for <tls@core3.amsl.com>; Tue, 26 Jan 2010 08:34:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.035
X-Spam-Level: 
X-Spam-Status: No, score=-6.035 tagged_above=-999 required=5 tests=[AWL=0.011,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-4]
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 T7x321AOvRhi for <tls@core3.amsl.com>; Tue, 26 Jan 2010 08:34:01 -0800 (PST)
Received: from balder-227.proper.com (Balder-227.Proper.COM [192.245.12.227]) by core3.amsl.com (Postfix) with ESMTP id A04883A681B for <tls@ietf.org>; Tue, 26 Jan 2010 08:34:01 -0800 (PST)
Received: from [10.20.30.158] (75-101-30-90.dsl.dynamic.sonic.net [75.101.30.90]) (authenticated bits=0) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id o0QGYBxd084319 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <tls@ietf.org>; Tue, 26 Jan 2010 09:34:11 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
Mime-Version: 1.0
Message-Id: <p062408e7c784c9e39cbb@[10.20.30.158]>
In-Reply-To: <808FD6E27AD4884E94820BC333B2DB775841199A56@NOK-EUMSG-01.mgdnok.nokia.com>
References: <808FD6E27AD4884E94820BC333B2DB775841199A56@NOK-EUMSG-01.mgdnok.nokia.com>
Date: Tue, 26 Jan 2010 08:34:09 -0800
To: tls@ietf.org
From: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [TLS] Confirming consensus about one draft-ietf-tls-renegotiation detail
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 26 Jan 2010 16:34:02 -0000

   (1) I prefer publishing the specification as-is.

--Paul Hoffman, Director
--VPN Consortium

From mike-list@pobox.com  Tue Jan 26 08:58:01 2010
Return-Path: <mike-list@pobox.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 38ECE3A67DB; Tue, 26 Jan 2010 08:58:01 -0800 (PST)
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 ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LENbcwIRYty3; Tue, 26 Jan 2010 08:57:59 -0800 (PST)
Received: from sasl.smtp.pobox.com (a-pb-sasl-quonix.pobox.com [208.72.237.25]) by core3.amsl.com (Postfix) with ESMTP id B7D5B3A63EC; Tue, 26 Jan 2010 08:57:59 -0800 (PST)
Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id E926394862; Tue, 26 Jan 2010 11:58:09 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=sasl; bh=NCWgrzxdJCOQ NgL09syZLlclUmM=; b=DI7hQKZqsbxchcnc3kUTIG8pIQ2EptCUtYXPPMEUQZW3 INB+eDQy1HKIkrEBKjes5QH4+DymWnRN7r2F/r+K36+qS4ccnKxvIP5vJMj3ybjj WFYKqIgS41ea5cnAaPkTFmu51m2cuNpzrLR0UNSxjusEelqXBtGfEVzs7MUu8ek=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=message-id:date :from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sasl; b=miBH1U Z27HezEuJyKevDFSkw8u2+iTs2Qhj9OLsRA04uihZg/gV9GFwqbzs3s/GW07eUuS UIwwgcVIjX321VuRtubq+o2o5yvl7tljvMZrxBCT0SfCqdnJTK/SQK9L14m8FeU/ sUfEjCdwIdku4Loa7xtu5qP+myuA8fDCEyp0Y=
Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id D608A94860; Tue, 26 Jan 2010 11:58:08 -0500 (EST)
Received: from administrators-macbook-pro.local (unknown [24.234.114.35]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 6DBDC94835; Tue, 26 Jan 2010 11:57:48 -0500 (EST)
Message-ID: <4B5F1FD2.7080404@pobox.com>
Date: Tue, 26 Jan 2010 09:01:06 -0800
From: Michael D'Errico <mike-list@pobox.com>
User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812)
MIME-Version: 1.0
To: tls@ietf.org
References: <808FD6E27AD4884E94820BC333B2DB775841199A56@NOK-EUMSG-01.mgdnok.nokia.com>
In-Reply-To: <808FD6E27AD4884E94820BC333B2DB775841199A56@NOK-EUMSG-01.mgdnok.nokia.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Pobox-Relay-ID: FACE20DA-0A9B-11DF-B15D-6AF7ED7EF46B-38729857!a-pb-sasl-quonix.pobox.com
Cc: ietf@ietf.org
Subject: Re: [TLS] Confirming consensus about one draft-ietf-tls-renegotiation detail
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 26 Jan 2010 16:58:01 -0000

    (1) I prefer publishing the specification as-is.

I've already changed my code to comply with the MUST NOT send SCSV
and RI in the same hello message, and have my server abort if it
sees both.  So far nobody that has connected to my test server* has
sent both, and there have been lots of connections from a variety
of clients implementing the fix.

Mike

* https://www.mikestoolbox.net


Pasi.Eronen@nokia.com wrote:
> Concerns have been raised that the IESG may have judged community
> consensus about one specific detail of draft-ietf-tls-renegotiation
> prematurely. In particular, the discussion that happened just after
> the IETF Last Call ended might have caused some people to change their
> opinion, and also the holiday season may have delayed replies.  To
> eliminate doubt about the situation, and allow the RFC to come out as
> soon as possible, we have decided to confirm the community consensus 
> about this detail.
> 
> The detail in question is whether the "Signalling Cipher Suite Value"
> (SCSV) can be included when performing secure renegotiation (in
> addition to the renegotiation_info extension).
> 
> Currently, the SCSV is not included. In the version that went to IETF
> Last Call (version -01), the relevant text was:
> 
>    "This cipher suite has exactly the same semantics as an empty
>    "renegotiation_info" extension. [..]  Because this cipher suite is
>    equivalent to an empty "renegotiation_info" extension, only
>    "renegotiation_info" may be used rehandshakes." (in Section 4)
> 
> Version -03 (the latest version) has rephrased the text as follows:
> 
>    "The SCSV MUST NOT be included." (in Section 3.5, "Client Behavior:
>    Secure Renegotiation")
> 
>    "When ClientHello is received, the server MUST verify that it does
>    not contain the TLS_RENEGO_PROTECTION_REQUEST SCSV.  If the SCSV is
>    present, the server MUST abort the handshake." (in Section 3.7,
>    "Server Behavior: Secure Renegotiation")
> 
> It has been suggested that recent discussions may have changed the
> consensus, and some people have proposed changing this so that
> including the SCSV in secure renegotiation ClientHellos is allowed
> (but not required), and rephrasing the text that says SCSV, when
> received, is treated the same as an empty renegotiation_info extension
> (which means "not renegotiation").
> 
> Note that this text applies to secure renegotiation ClientHellos.
> Other possible changes to the details concerning the SCSV (such as
> requiring it in all ClientHellos) were suggested during the IETF Last
> Call, but are explicitly outside the scope of this email.
> 
> According to our notes, at least the following individuals seem to
> have expressed support for publishing version 01/02/03 (without making
> further changes to the details concerning the SCSV):
> 
> Adrian Farrel
> Alexey Melnikov
> Ben Laurie
> Bodo Moeller
> Chris Newman
> Cullen Jennings
> Dan Romascanu
> David P. Kemp
> Eric Rescorla
> Geoffrey Keating
> Glen Zorn
> Jari Arkko
> Lars Eggert
> Lisa Dusseault
> Magnus Westerlund
> Nicolas Williams
> Pasi Eronen
> Peter Robinson
> Ralph Droms
> Rob P. Williams
> Robert Relya
> Robert Sparks
> Ron Bonica
> Stephen Farrell
> Steve Checkoaway
> Steve Dispensa
> Tim Polk
> Uri Blumenthal
> 
> The following individuals seems to have expressed a preference for
> *not* publishing this document until the details concerning the SCSV
> are changed as described above:
> 
> Marsh Ray
> Martin Rex
> Michael D'Errico
> Nasko Oskov
> Robert Dugal
> Stephen Henson
> Yoav Nir
> 
> A number of other people also sent comments during the IETF Last Call
> (possibly proposing other changes to the details concerning the SCSV),
> but did not clearly fall into either list above.
> 
> If the recent discussions have caused you to change your mind (or we
> have interpreted your preference incorrectly, or you were not on
> either list), please send an email to the TLS WG mailing list by 
> Tuesday February 2nd. In your reply, please include one of the 
> following:
> 
>    (1) I prefer publishing the specification as-is.
>   
>    (2) I prefer *NOT* publishing the specification as-is, and instead
>    prefer changing the text so that including the SCSV in secure
>    renegotiation ClientHellos is allowed (but not required).
> 
> Unless a significant amount of additional people believe that making
> this change if preferable over publishing the spec now, the IESG
> expects to have the RFC out soon after February 2nd.  So we hope this
> consensus confirmation does not delay the RFC, or deployment of its
> implementations.
> 
> Note that this is not a general call to revisit other details of
> draft-ietf-tls-renegotiation, or propose additional changes.  If you
> absolutely wish to have other discussions related to the draft, we
> respectfully ask you to change the subject line.
> 
> Best regards,
> Pasi
> IETF Security Area Director

From martin.rex@sap.com  Tue Jan 26 09:00:34 2010
Return-Path: <martin.rex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C135C3A67F4 for <tls@core3.amsl.com>; Tue, 26 Jan 2010 09:00:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.199
X-Spam-Level: 
X-Spam-Status: No, score=-9.199 tagged_above=-999 required=5 tests=[AWL=-0.150, BAYES_00=-2.599, HELO_EQ_DE=0.35, J_CHICKENPOX_42=0.6, J_CHICKENPOX_45=0.6, RCVD_IN_DNSWL_HI=-8]
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 tt3DGAllHLWn for <tls@core3.amsl.com>; Tue, 26 Jan 2010 09:00:32 -0800 (PST)
Received: from smtpgw.sap-ag.de (smtpgw02.sap-ag.de [155.56.66.97]) by core3.amsl.com (Postfix) with ESMTP id 4433A3A686C for <tls@ietf.org>; Tue, 26 Jan 2010 09:00:31 -0800 (PST)
From: "Rex, Martin" <martin.rex@sap.com>
To: "tls@ietf.org" <tls@ietf.org>
Date: Tue, 26 Jan 2010 18:00:31 +0100
Thread-Topic: Confirming consensus about one draft-ietf-tls-renegotiation detail
Thread-Index: AcqeZGsopZGN9hXbTp+VH8GNHSiFbwAK55bg
Message-ID: <D28848FB278CE54FB6A302F413ECF7300592698471@DEWDFECCR07.wdf.sap.corp>
References: <808FD6E27AD4884E94820BC333B2DB775841199A56@NOK-EUMSG-01.mgdnok.nokia.com>
In-Reply-To: <808FD6E27AD4884E94820BC333B2DB775841199A56@NOK-EUMSG-01.mgdnok.nokia.com>
Accept-Language: en-US
Content-Language: de-DE
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [TLS] Confirming consensus about one draft-ietf-tls-renegotiation detail
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 26 Jan 2010 17:00:34 -0000

(resent without attachment)

Dear TLS,

I have raised concerns to a few changes in the -03 document
that went totally unreviewd, and to issues of SCSV semantics
(the addition of two explicit MUST NOTs) that do not reflect
WG consensus.

I did not and do not want to "reopen" discussion!
(I explictly urged Pasi to get the SCSV semantics clarified
 on Dec-16th, but unfortunately, he declined to touch this
 issue in any way.  Which is bad because there exist no two
 documents of the draft with the same semantics).


I also think there are significant editorial (concerning
comprehensiveness) issues with sections that were newly
added to -03 and approved without any kind of review.

For simplicity, I have provided my _suggestions_ to fix
these issues in form of an updated draft document.

For ease of access and comparision, you can look at
the differences with the IETF tools

http://tools.ietf.org/rfcdiff

-03 document  http://tools.ietf.org/html/draft-ietf-tls-renegotiation-03
my suggesstions ftp://ftp.sap.com/pub/ietf-work/tls/draft-ietf-tls-renegoti=
ation-04-suggestions-2.txt

Differences:

http://tools.ietf.org/rfcdiff?url1=3Dhttp://tools.ietf.org/id/draft-ietf-tl=
s-renegotiation-03.txt&url2=3Dftp://ftp.sap.com/pub/ietf-work/tls/draft-iet=
f-tls-renegotiation-04-suggestions-2.txt

Attached is a suggestion for a document change that
would resolve my concerns (technically and editorial)


During all the WG discussion I was disappointed about
the mediocre document quality of the WG document.
The final -03 document is the first document that comes
close to the expection that the IETF has for a proposal
targeting Proposed Standard.

http://tools.ietf.org/html/rfc2026#section-4.1.1


The installed base of (apps using) TLS is in the
ballpark of one billion.  The optimistic hope of the
TLS WG is that we get this patch adopteb by 50% in the
first 6 month, and around 80% in 12 month.

That is an optimistic goal, and considering the normal
"progress" of IETF proposed standards, the "adoption"
we are looking at is something that normally applies
to "draft standards", not "proposed standards".


In addition to that, I assume there exist >100 independent
implementations of TLS, and only a small fraction of
the implementors (1/4 maybe) is actively participating
the IETF.  So it would be good if the document was readable
especially for those, who have the task of implementing
this update still ahead of them.


In the spirit of "The Tao of IETF", I have compiled
a list of relevant discussion of the WG concerning
specific SCSV semantics from "those who cared" when
it was discussed.

http://tools.ietf.org/html/rfc4677#section-5.2

and I didn't find a consensus for the two MUST NOTs
that unexplicably popped up in the -03 document.


-Martin


Here is a WG summery I compiled from my personal EMail
archive.  I believe it to contain all relevant postings
(I searched for keywords "cipher" and "MCSV").
I would appreciate pointers to significant postings
that I may have missed (persons I've missed or
different/new technical aspects I've missed):


********************************************************
* WG Consensus Call on draft-ietf-tls-renegotiation-00 *
********************************************************

20-Nov-2009 -- Working group consensus call based on the -00 document
(containing a brief description of resonable SCSV semantics).
 http://www.ietf.org/mail-archive/web/tls/current/msg04571.html

prompting me to commit on publishing my I-D on Monday 23rd
 _myself_       http://www.ietf.org/mail-archive/web/tls/current/msg04576.h=
tml

Support for reasonable/simpler SCSV "I'm updated" semantics during
the WG consensus call:

 _myself_       http://www.ietf.org/mail-archive/web/tls/current/msg04234.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg04791.h=
tml

 Nasko Oskov    http://www.ietf.org/mail-archive/web/tls/current/msg04590.h=
tml
 Wan-Teh Chang  http://www.ietf.org/mail-archive/web/tls/current/msg04585.h=
tml
 Mike D'Errico  http://www.ietf.org/mail-archive/web/tls/current/msg04594.h=
tml
 Peter Gutmann  http://www.ietf.org/mail-archive/web/tls/current/msg04651.h=
tml
 Yoav Nir       http://www.ietf.org/mail-archive/web/tls/current/msg04746.h=
tml
 Stefan S.      http://www.ietf.org/mail-archive/web/tls/current/msg04747.h=
tml
 Marsh Ray      http://www.ietf.org/mail-archive/web/tls/current/msg04790.h=
tml
 David-Sarah H. http://www.ietf.org/mail-archive/web/tls/current/msg04827.h=
tml

23-Nov Pasi Eronen (not wearing any hat) on the correct/resonable SCSV in -=
00
 Pasi Eronen    http://www.ietf.org/mail-archive/web/tls/current/msg04667.h=
tml

Confirmation of adding SCSV (no explicit or clear semantics expressed):

 Florian Weimer http://www.ietf.org/mail-archive/web/tls/current/msg04599.h=
tml
 Stephen Henson http://www.ietf.org/mail-archive/web/tls/current/msg04207.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg04601.h=
tml
 Simon J.       http://www.ietf.org/mail-archive/web/tls/current/msg04665.h=
tml
 Kyle Hamilton  http://www.ietf.org/mail-archive/web/tls/current/msg04727.h=
tml
 Eric Rescorla  http://www.ietf.org/mail-archive/web/tls/current/msg04794.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg04798.h=
tml


Objects to SCSV in general:

 Robert Relyea  http://www.ietf.org/mail-archive/web/tls/current/msg04794.h=
tml
 Geoffrey K.    http://www.ietf.org/mail-archive/web/tls/current/msg04946.h=
tml


The first version of my I-D is quite confusing

23-Nov-2009  draft-mrex-tls-secure-renegotiation-00
 http://www.ietf.org/mail-archive/web/tls/current/msg04674.html


25-Nov-2009  cleanup  draft-mrex-tls-secure-renegotiation-01
 http://www.ietf.org/mail-archive/web/tls/current/msg04817.html


Proposal to entirely substitute "empty RI" in initial ClientHello
                                         with TLS_RENEGO_PROTECTION_REQUEST
 Eric Rescorla  http://www.ietf.org/mail-archive/web/tls/current/msg04794.h=
tml

well appreciated:
 Stefan S.      http://www.ietf.org/mail-archive/web/tls/current/msg04797.h=
tml
 Stephen H.     http://www.ietf.org/mail-archive/web/tls/current/msg04799.h=
tml
 Peter Robinson http://www.ietf.org/mail-archive/web/tls/current/msg04818.h=
tml

acceptable:
 AD Pasi Eronen http://www.ietf.org/mail-archive/web/tls/current/msg04834.h=
tml
 Yngve P.       http://www.ietf.org/mail-archive/web/tls/current/msg04812.h=
tml

could live with it, but would like it to be limited to SSLv3:
 Robert Relyea  http://www.ietf.org/mail-archive/web/tls/current/msg04803.h=
tml


Eric annouces this change for the next document update:
 Eric Rescorla  http://www.ietf.org/mail-archive/web/tls/current/msg04848.h=
tml

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D draft-ietf-tls-renegotiation-01 =3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

26-Nov-2009  draft-ietf-tls-renegotiation-01.txt
 http://www.ietf.org/mail-archive/web/tls/current/msg04847.html

 http://tools.ietf.org/html/draft-ietf-tls-renegotiation-01#section-4


3 Surprises in Document update:

  1.) Eric adopts the label "TLS_RENEGO_PROTECTION_REQUEST" from
      draft-mrex-tls-secure-renegotiation-01

  2.) -01 changes SCSV semantics quite different from what was
      discussed.  Instead of obsoleting empty RI on initial ClientHello,
      there is now an "either empty RI" or "SCSV".

  3.) for renegotiation ClientHello, the document says
      "only renegotiation_info" may be used.

      The RI architecture requires that the verify_data is sent
      from Client to Server for renegotiation, which makes it obvious
      that the use of SCSV (alone) is insufficient.

   This wording, however, is *NOT* equivalent to "MUST NOT include"
   and in particular *NOT* equivalent to a requirement for the
   Server "MUST abort if both are present".

The unexpected (2) change prompts disagreement:
 Stefan S.      http://www.ietf.org/mail-archive/web/tls/current/msg04855.h=
tml


Chris Newman calls for action to kill interop with extensions-intolerant
Server (SSLv3 and TLS), Nelson Bolyard joins in:
 Chris Newman   http://www.ietf.org/mail-archive/web/tls/current/msg04856.h=
tml
 Nelson Bolyard http://www.ietf.org/mail-archive/web/tls/current/msg04886.h=
tml


***************************************************************
* IETF Last Call requested on draft-ietf-tls-renegotiation-01 *
***************************************************************

27-Nov-2009 IETF Last Call requested for -01 document by AD (Pasi)
 http://www.ietf.org/mail-archive/web/tls/current/msg04928.html

to which some WG participants immediately respond that IETF last call
is premature:
 Stefan S.      http://www.ietf.org/mail-archive/web/tls/current/msg04931.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg04961.h=
tml
 David-Sarah    http://www.ietf.org/mail-archive/web/tls/current/msg04934.h=
tml
 Yoav Nir       http://www.ietf.org/mail-archive/web/tls/current/msg05009.h=
tml

I did _not_ complain about the early IETF last call (assuming that
it was possible to get the document fixed before the spec was finalized).


The IETF Last Call was only about the document in general, it was
definitely not meant to confirm specific details on semantics,
e.g. like the exact SCSV semantics.

Even though Stefan Santesson has helped me authoring
draft-mrex-tls-secure-renegotiation and did complain that the -01 WG I-D
provides two different signals on initial ClientHellio in disagreement
to what was discussed, he does not distinguish this semantics
detail in the further discussion, because the IETF Last Call is
made to confirm whether or not using RI, and not about details
of the RI document (of which there are little anyway).

 Stefan S.     (http://www.ietf.org/mail-archive/web/tls/current/msg04855.h=
tml)
                http://www.ietf.org/mail-archive/web/tls/current/msg04904.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg04991.h=
tml

   "Both proposals agree on the same initial signaling (cipher suite
    for C->S and empty RI for S->C)"

The use of the same label "TLS_RENEGO_PROTECTION_REQUEST" but different
semantics makes it quite difficult for the discussion to differentiate
them.


30-Nov-2009 Official IETF Last Call announcement:
 http://www.ietf.org/mail-archive/web/tls/current/msg04962.html

Further WG discussion questioning the changed SCSV semantics in -01

1) quotes -01 text, makes no clear argument
 Ben Laurie     http://www.ietf.org/mail-archive/web/tls/current/msg04955.h=
tml

2) questions "either SCSV or empty RI" for initial ClientHello
   and prefers to allow both, but dislikes MUST send SCSV
 Marsh Ray      http://www.ietf.org/mail-archive/web/tls/current/msg04963.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg04980.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05032.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05042.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05050.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05058.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05096.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05179.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05257.h=
tml

3) asking for "either one or the other or both" and
   for consistent presence of SCSV for initial and renegotiation ClientHell=
o
 Kyle Hamilton  http://www.ietf.org/mail-archive/web/tls/current/msg04974.h=
tml

4) rather remove SCSV entirely than undecisive "either SCSV or empty RI"
 Stephen F.     http://www.ietf.org/mail-archive/web/tls/current/msg05010.h=
tml

5) indication that he considers the exact semantics a matter of taste
 Eric Rescorla  http://www.ietf.org/mail-archive/web/tls/current/msg05048.h=
tml

6) clear technical(!) preference for easy&clean SCSV semantics
 _myself_       http://www.ietf.org/mail-archive/web/tls/current/msg05030.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05302.h=
tml
 Mike D'Errico  http://www.ietf.org/mail-archive/web/tls/current/msg05049.h=
tml
 David-Sarah H. http://www.ietf.org/mail-archive/web/tls/current/msg05071.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05085.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05273.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05305.h=
tml
 Mick Gray      http://www.ietf.org/mail-archive/web/tls/current/msg05080.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05169.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05263.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05303.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05306.h=
tml
 James Manger   http://www.ietf.org/mail-archive/web/tls/current/msg05246.h=
tml
 Dieter Bratko  http://www.ietf.org/mail-archive/web/tls/current/msg05247.h=
tml
 Yoav Nir       http://www.ietf.org/mail-archive/web/tls/current/msg05180.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05248.h=
tml


7) firmly against "MUST send SCSV" and confirming "either SCSV or empty RI"
 Chris Newman   http://www.ietf.org/mail-archive/web/tls/current/msg05033.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05041.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05170.h=
tml
   or dropping SCSV entirely:
                http://www.ietf.org/mail-archive/web/tls/current/msg05087.h=
tml

8) firmly against "MUST send SCSV", but OK with sending both
 Robert Relya   http://www.ietf.org/mail-archive/web/tls/current/msg05264.h=
tml
 Nelson Bolyard http://www.ietf.org/mail-archive/web/tls/current/msg05066.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05076.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05181.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05266.h=
tml

9) likes to send both SCSV+RI on initial ClientHello
 Stephen Henson http://www.ietf.org/mail-archive/web/tls/current/msg05220.h=
tml


10) Eric trying to close some of the issues under discussion
 Eric Rescorla  http://www.ietf.org/mail-archive/web/tls/current/msg05196.h=
tml
    SCSV (MCSV)-related feedback to this:
 Michael Gray   http://www.ietf.org/mail-archive/web/tls/current/msg05227.h=
tml

11) suggests spec to be explicit, prefer use of SCSV only for applicable
    initial client hellos, OK with MAY send SCSV in every handshake,
    could live with MUST use SCSV in every initial ClientHello
 Yngve P.       http://www.ietf.org/mail-archive/web/tls/current/msg05296.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05309.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05313.h=
tml

**************************
* IETF Last Call summary *
**************************


16-Dec-2009  IETF Last Call Summary by Pasi Eronen:
 Pasi Eronen    http://www.ietf.org/mail-archive/web/tls/current/msg05357.h=
tml


Discontent with process-related issues:
 _myself_       http://www.ietf.org/mail-archive/web/tls/current/msg05373.h=
tml
 Nico Williams  http://www.ietf.org/mail-archive/web/tls/current/msg05377.h=
tml

AD reply:
 Pasi Eronen    http://www.ietf.org/mail-archive/web/tls/current/msg05394.h=
tml


Discussion about SCSV semantics contine:

Pro sensible SCSV semantics:
 _myself_       http://www.ietf.org/mail-archive/web/tls/current/msg05359.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05365.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05372.h=
tml
 Mike D'Errico  http://www.ietf.org/mail-archive/web/tls/current/msg05364.h=
tml
 Kyle Hamilton  http://www.ietf.org/mail-archive/web/tls/current/msg05415.h=
tml


Explicitly allow both (SCSV and RI) on initial ClientHello:
 David Kemp     http://www.ietf.org/mail-archive/web/tls/current/msg05370.h=
tml



Lengthy Email exchange with a particular point about MCSV semantics and
proposed new text for the upcoming document update (-02, after LastCall):
 Marsh Ray      http://www.ietf.org/mail-archive/web/tls/current/msg05261.h=
tml
 _myself_       http://www.ietf.org/mail-archive/web/tls/current/msg05265.h=
tml
 Marsh Ray      http://www.ietf.org/mail-archive/web/tls/current/msg05366.h=
tml
 _myself_       http://www.ietf.org/mail-archive/web/tls/current/msg05379.h=
tml

Other squabbles about the use of terminology:
 Marsh Ray      http://www.ietf.org/mail-archive/web/tls/current/msg05361.h=
tml


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D draft-ietf-tls-renegotiation-02 =3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


16-Dec-2009  draft-ietf-tls-renegotiation-02.txt
 http://www.ietf.org/mail-archive/web/tls/current/msg05378.html


************************************************************************
* Further WG discussions about SCSV semantics, converging to consensus *
************************************************************************

Relaxed sensible SCSV semantics (MAY everywhere, no MUSTs, not MUST NOTs):
 Mike D'Errico  http://www.ietf.org/mail-archive/web/tls/current/msg05398.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05449.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05456.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05464.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05496.h=
tml
 Robert Dugal   http://www.ietf.org/mail-archive/web/tls/current/msg05441.h=
tml
 _myself_       http://www.ietf.org/mail-archive/web/tls/current/msg05452.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05498.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05458.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05466.h=
tml
 Eric Rescorla  http://www.ietf.org/mail-archive/web/tls/current/msg05445.h=
tml
 Uri Blumenthal http://www.ietf.org/mail-archive/web/tls/current/msg05472.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05493.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05519.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05546.h=
tml
 Pasi Eronen    http://www.ietf.org/mail-archive/web/tls/current/msg05490.h=
tml
 Yoav Nir       http://www.ietf.org/mail-archive/web/tls/current/msg05491.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05521.h=
tml
 Stephen Henson http://www.ietf.org/mail-archive/web/tls/current/msg05497.h=
tml
 Marsh Ray      http://www.ietf.org/mail-archive/web/tls/current/msg05500.h=
tml
                http://www.ietf.org/mail-archive/web/tls/current/msg05511.h=
tml
 Nasko Oskov    http://www.ietf.org/mail-archive/web/tls/current/msg05501.h=
tml

 Nelson Bolyard http://www.ietf.org/mail-archive/web/tls/current/msg05559.h=
tml


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D draft-ietf-tls-renegotiation-03 =3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

05-Jan-2010  draft-ietf-tls-renegotiation-03.txt
 http://www.ietf.org/mail-archive/web/tls/current/msg05560.html

07-Jan-2010  Protocol Action: Document approved by IESG
 http://www.ietf.org/mail-archive/web/tls/current/msg05560.html

From jsalowey@cisco.com  Tue Jan 26 09:18:03 2010
Return-Path: <jsalowey@cisco.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9F3F53A67C0 for <tls@core3.amsl.com>; Tue, 26 Jan 2010 09:18:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.399
X-Spam-Level: 
X-Spam-Status: No, score=-9.399 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_42=0.6, J_CHICKENPOX_45=0.6, RCVD_IN_DNSWL_HI=-8]
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 Kg4Q9MRcN88A for <tls@core3.amsl.com>; Tue, 26 Jan 2010 09:18:01 -0800 (PST)
Received: from sj-iport-5.cisco.com (sj-iport-5.cisco.com [171.68.10.87]) by core3.amsl.com (Postfix) with ESMTP id 3819B3A67B6 for <tls@ietf.org>; Tue, 26 Jan 2010 09:18:01 -0800 (PST)
Authentication-Results: sj-iport-5.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApoEAJeyXkurRN+K/2dsb2JhbADDY5cjhDkE
X-IronPort-AV: E=Sophos;i="4.49,347,1262563200"; d="scan'208";a="140238408"
Received: from sj-core-4.cisco.com ([171.68.223.138]) by sj-iport-5.cisco.com with ESMTP; 26 Jan 2010 17:18:11 +0000
Received: from xbh-sjc-231.amer.cisco.com (xbh-sjc-231.cisco.com [128.107.191.100]) by sj-core-4.cisco.com (8.13.8/8.14.3) with ESMTP id o0QHIBlW003235; Tue, 26 Jan 2010 17:18:11 GMT
Received: from xmb-sjc-225.amer.cisco.com ([128.107.191.38]) by xbh-sjc-231.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 26 Jan 2010 09:18:11 -0800
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Tue, 26 Jan 2010 09:18:09 -0800
Message-ID: <AC1CFD94F59A264488DC2BEC3E890DE5098037E8@xmb-sjc-225.amer.cisco.com>
In-Reply-To: <D28848FB278CE54FB6A302F413ECF7300592698471@DEWDFECCR07.wdf.sap.corp>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] Confirming consensus about one draft-ietf-tls-renegotiation detail
Thread-Index: AcqeZGsopZGN9hXbTp+VH8GNHSiFbwAK55bgAAayJEA=
References: <808FD6E27AD4884E94820BC333B2DB775841199A56@NOK-EUMSG-01.mgdnok.nokia.com> <D28848FB278CE54FB6A302F413ECF7300592698471@DEWDFECCR07.wdf.sap.corp>
From: "Joseph Salowey (jsalowey)" <jsalowey@cisco.com>
To: "Rex, Martin" <martin.rex@sap.com>, <tls@ietf.org>
X-OriginalArrivalTime: 26 Jan 2010 17:18:11.0074 (UTC) FILETIME=[89215620:01CA9EAB]
Subject: Re: [TLS] Confirming consensus about one draft-ietf-tls-renegotiation detail
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 26 Jan 2010 17:18:03 -0000

This message is raising separate issues than the consensus call, please
conduct any discussion of this message on a separate thread with a
different subject line. =20

Thanks,

Joe

> -----Original Message-----
> From: tls-bounces@ietf.org [mailto:tls-bounces@ietf.org] On Behalf Of
Rex,
> Martin
> Sent: Tuesday, January 26, 2010 9:01 AM
> To: tls@ietf.org
> Subject: Re: [TLS] Confirming consensus about one draft-ietf-tls-
> renegotiation detail
>=20
> (resent without attachment)
>=20
> Dear TLS,
>=20
> I have raised concerns to a few changes in the -03 document
> that went totally unreviewd, and to issues of SCSV semantics
> (the addition of two explicit MUST NOTs) that do not reflect
> WG consensus.
>=20
> I did not and do not want to "reopen" discussion!
> (I explictly urged Pasi to get the SCSV semantics clarified
>  on Dec-16th, but unfortunately, he declined to touch this
>  issue in any way.  Which is bad because there exist no two
>  documents of the draft with the same semantics).
>=20
>=20
> I also think there are significant editorial (concerning
> comprehensiveness) issues with sections that were newly
> added to -03 and approved without any kind of review.
>=20
> For simplicity, I have provided my _suggestions_ to fix
> these issues in form of an updated draft document.
>=20
> For ease of access and comparision, you can look at
> the differences with the IETF tools
>=20
> http://tools.ietf.org/rfcdiff
>=20
> -03 document
http://tools.ietf.org/html/draft-ietf-tls-renegotiation-03
> my suggesstions ftp://ftp.sap.com/pub/ietf-work/tls/draft-ietf-tls-
> renegotiation-04-suggestions-2.txt
>=20
> Differences:
>=20
>
http://tools.ietf.org/rfcdiff?url1=3Dhttp://tools.ietf.org/id/draft-ietf-=

>
tls-renegotiation-03.txt&url2=3Dftp://ftp.sap.com/pub/ietf-work/tls/draft=
-
> ietf-tls-renegotiation-04-suggestions-2.txt
>=20
> Attached is a suggestion for a document change that
> would resolve my concerns (technically and editorial)
>=20
>=20
> During all the WG discussion I was disappointed about
> the mediocre document quality of the WG document.
> The final -03 document is the first document that comes
> close to the expection that the IETF has for a proposal
> targeting Proposed Standard.
>=20
> http://tools.ietf.org/html/rfc2026#section-4.1.1
>=20
>=20
> The installed base of (apps using) TLS is in the
> ballpark of one billion.  The optimistic hope of the
> TLS WG is that we get this patch adopteb by 50% in the
> first 6 month, and around 80% in 12 month.
>=20
> That is an optimistic goal, and considering the normal
> "progress" of IETF proposed standards, the "adoption"
> we are looking at is something that normally applies
> to "draft standards", not "proposed standards".
>=20
>=20
> In addition to that, I assume there exist >100 independent
> implementations of TLS, and only a small fraction of
> the implementors (1/4 maybe) is actively participating
> the IETF.  So it would be good if the document was readable
> especially for those, who have the task of implementing
> this update still ahead of them.
>=20
>=20
> In the spirit of "The Tao of IETF", I have compiled
> a list of relevant discussion of the WG concerning
> specific SCSV semantics from "those who cared" when
> it was discussed.
>=20
> http://tools.ietf.org/html/rfc4677#section-5.2
>=20
> and I didn't find a consensus for the two MUST NOTs
> that unexplicably popped up in the -03 document.
>=20
>=20
> -Martin
>=20
>=20
> Here is a WG summery I compiled from my personal EMail
> archive.  I believe it to contain all relevant postings
> (I searched for keywords "cipher" and "MCSV").
> I would appreciate pointers to significant postings
> that I may have missed (persons I've missed or
> different/new technical aspects I've missed):
>=20
>=20
> ********************************************************
> * WG Consensus Call on draft-ietf-tls-renegotiation-00 *
> ********************************************************
>=20
> 20-Nov-2009 -- Working group consensus call based on the -00 document
> (containing a brief description of resonable SCSV semantics).
>  http://www.ietf.org/mail-archive/web/tls/current/msg04571.html
>=20
> prompting me to commit on publishing my I-D on Monday 23rd
>  _myself_       http://www.ietf.org/mail-
> archive/web/tls/current/msg04576.html
>=20
> Support for reasonable/simpler SCSV "I'm updated" semantics during
> the WG consensus call:
>=20
>  _myself_       http://www.ietf.org/mail-
> archive/web/tls/current/msg04234.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg04791.html
>=20
>  Nasko Oskov    http://www.ietf.org/mail-
> archive/web/tls/current/msg04590.html
>  Wan-Teh Chang  http://www.ietf.org/mail-
> archive/web/tls/current/msg04585.html
>  Mike D'Errico  http://www.ietf.org/mail-
> archive/web/tls/current/msg04594.html
>  Peter Gutmann  http://www.ietf.org/mail-
> archive/web/tls/current/msg04651.html
>  Yoav Nir       http://www.ietf.org/mail-
> archive/web/tls/current/msg04746.html
>  Stefan S.      http://www.ietf.org/mail-
> archive/web/tls/current/msg04747.html
>  Marsh Ray      http://www.ietf.org/mail-
> archive/web/tls/current/msg04790.html
>  David-Sarah H. http://www.ietf.org/mail-
> archive/web/tls/current/msg04827.html
>=20
> 23-Nov Pasi Eronen (not wearing any hat) on the correct/resonable SCSV
in
> -00
>  Pasi Eronen    http://www.ietf.org/mail-
> archive/web/tls/current/msg04667.html
>=20
> Confirmation of adding SCSV (no explicit or clear semantics
expressed):
>=20
>  Florian Weimer http://www.ietf.org/mail-
> archive/web/tls/current/msg04599.html
>  Stephen Henson http://www.ietf.org/mail-
> archive/web/tls/current/msg04207.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg04601.html
>  Simon J.       http://www.ietf.org/mail-
> archive/web/tls/current/msg04665.html
>  Kyle Hamilton  http://www.ietf.org/mail-
> archive/web/tls/current/msg04727.html
>  Eric Rescorla  http://www.ietf.org/mail-
> archive/web/tls/current/msg04794.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg04798.html
>=20
>=20
> Objects to SCSV in general:
>=20
>  Robert Relyea  http://www.ietf.org/mail-
> archive/web/tls/current/msg04794.html
>  Geoffrey K.    http://www.ietf.org/mail-
> archive/web/tls/current/msg04946.html
>=20
>=20
> The first version of my I-D is quite confusing
>=20
> 23-Nov-2009  draft-mrex-tls-secure-renegotiation-00
>  http://www.ietf.org/mail-archive/web/tls/current/msg04674.html
>=20
>=20
> 25-Nov-2009  cleanup  draft-mrex-tls-secure-renegotiation-01
>  http://www.ietf.org/mail-archive/web/tls/current/msg04817.html
>=20
>=20
> Proposal to entirely substitute "empty RI" in initial ClientHello
>                                          with
> TLS_RENEGO_PROTECTION_REQUEST
>  Eric Rescorla  http://www.ietf.org/mail-
> archive/web/tls/current/msg04794.html
>=20
> well appreciated:
>  Stefan S.      http://www.ietf.org/mail-
> archive/web/tls/current/msg04797.html
>  Stephen H.     http://www.ietf.org/mail-
> archive/web/tls/current/msg04799.html
>  Peter Robinson http://www.ietf.org/mail-
> archive/web/tls/current/msg04818.html
>=20
> acceptable:
>  AD Pasi Eronen http://www.ietf.org/mail-
> archive/web/tls/current/msg04834.html
>  Yngve P.       http://www.ietf.org/mail-
> archive/web/tls/current/msg04812.html
>=20
> could live with it, but would like it to be limited to SSLv3:
>  Robert Relyea  http://www.ietf.org/mail-
> archive/web/tls/current/msg04803.html
>=20
>=20
> Eric annouces this change for the next document update:
>  Eric Rescorla  http://www.ietf.org/mail-
> archive/web/tls/current/msg04848.html
>=20
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D draft-ietf-tls-renegotiation-01 =3D
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>=20
> 26-Nov-2009  draft-ietf-tls-renegotiation-01.txt
>  http://www.ietf.org/mail-archive/web/tls/current/msg04847.html
>=20
>  http://tools.ietf.org/html/draft-ietf-tls-renegotiation-01#section-4
>=20
>=20
> 3 Surprises in Document update:
>=20
>   1.) Eric adopts the label "TLS_RENEGO_PROTECTION_REQUEST" from
>       draft-mrex-tls-secure-renegotiation-01
>=20
>   2.) -01 changes SCSV semantics quite different from what was
>       discussed.  Instead of obsoleting empty RI on initial
ClientHello,
>       there is now an "either empty RI" or "SCSV".
>=20
>   3.) for renegotiation ClientHello, the document says
>       "only renegotiation_info" may be used.
>=20
>       The RI architecture requires that the verify_data is sent
>       from Client to Server for renegotiation, which makes it obvious
>       that the use of SCSV (alone) is insufficient.
>=20
>    This wording, however, is *NOT* equivalent to "MUST NOT include"
>    and in particular *NOT* equivalent to a requirement for the
>    Server "MUST abort if both are present".
>=20
> The unexpected (2) change prompts disagreement:
>  Stefan S.      http://www.ietf.org/mail-
> archive/web/tls/current/msg04855.html
>=20
>=20
> Chris Newman calls for action to kill interop with
extensions-intolerant
> Server (SSLv3 and TLS), Nelson Bolyard joins in:
>  Chris Newman   http://www.ietf.org/mail-
> archive/web/tls/current/msg04856.html
>  Nelson Bolyard http://www.ietf.org/mail-
> archive/web/tls/current/msg04886.html
>=20
>=20
> ***************************************************************
> * IETF Last Call requested on draft-ietf-tls-renegotiation-01 *
> ***************************************************************
>=20
> 27-Nov-2009 IETF Last Call requested for -01 document by AD (Pasi)
>  http://www.ietf.org/mail-archive/web/tls/current/msg04928.html
>=20
> to which some WG participants immediately respond that IETF last call
> is premature:
>  Stefan S.      http://www.ietf.org/mail-
> archive/web/tls/current/msg04931.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg04961.html
>  David-Sarah    http://www.ietf.org/mail-
> archive/web/tls/current/msg04934.html
>  Yoav Nir       http://www.ietf.org/mail-
> archive/web/tls/current/msg05009.html
>=20
> I did _not_ complain about the early IETF last call (assuming that
> it was possible to get the document fixed before the spec was
finalized).
>=20
>=20
> The IETF Last Call was only about the document in general, it was
> definitely not meant to confirm specific details on semantics,
> e.g. like the exact SCSV semantics.
>=20
> Even though Stefan Santesson has helped me authoring
> draft-mrex-tls-secure-renegotiation and did complain that the -01 WG
I-D
> provides two different signals on initial ClientHellio in disagreement
> to what was discussed, he does not distinguish this semantics
> detail in the further discussion, because the IETF Last Call is
> made to confirm whether or not using RI, and not about details
> of the RI document (of which there are little anyway).
>=20
>  Stefan S.     (http://www.ietf.org/mail-
> archive/web/tls/current/msg04855.html)
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg04904.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg04991.html
>=20
>    "Both proposals agree on the same initial signaling (cipher suite
>     for C->S and empty RI for S->C)"
>=20
> The use of the same label "TLS_RENEGO_PROTECTION_REQUEST" but
different
> semantics makes it quite difficult for the discussion to differentiate
> them.
>=20
>=20
> 30-Nov-2009 Official IETF Last Call announcement:
>  http://www.ietf.org/mail-archive/web/tls/current/msg04962.html
>=20
> Further WG discussion questioning the changed SCSV semantics in -01
>=20
> 1) quotes -01 text, makes no clear argument
>  Ben Laurie     http://www.ietf.org/mail-
> archive/web/tls/current/msg04955.html
>=20
> 2) questions "either SCSV or empty RI" for initial ClientHello
>    and prefers to allow both, but dislikes MUST send SCSV
>  Marsh Ray      http://www.ietf.org/mail-
> archive/web/tls/current/msg04963.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg04980.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05032.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05042.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05050.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05058.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05096.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05179.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05257.html
>=20
> 3) asking for "either one or the other or both" and
>    for consistent presence of SCSV for initial and renegotiation
> ClientHello
>  Kyle Hamilton  http://www.ietf.org/mail-
> archive/web/tls/current/msg04974.html
>=20
> 4) rather remove SCSV entirely than undecisive "either SCSV or empty
RI"
>  Stephen F.     http://www.ietf.org/mail-
> archive/web/tls/current/msg05010.html
>=20
> 5) indication that he considers the exact semantics a matter of taste
>  Eric Rescorla  http://www.ietf.org/mail-
> archive/web/tls/current/msg05048.html
>=20
> 6) clear technical(!) preference for easy&clean SCSV semantics
>  _myself_       http://www.ietf.org/mail-
> archive/web/tls/current/msg05030.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05302.html
>  Mike D'Errico  http://www.ietf.org/mail-
> archive/web/tls/current/msg05049.html
>  David-Sarah H. http://www.ietf.org/mail-
> archive/web/tls/current/msg05071.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05085.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05273.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05305.html
>  Mick Gray      http://www.ietf.org/mail-
> archive/web/tls/current/msg05080.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05169.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05263.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05303.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05306.html
>  James Manger   http://www.ietf.org/mail-
> archive/web/tls/current/msg05246.html
>  Dieter Bratko  http://www.ietf.org/mail-
> archive/web/tls/current/msg05247.html
>  Yoav Nir       http://www.ietf.org/mail-
> archive/web/tls/current/msg05180.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05248.html
>=20
>=20
> 7) firmly against "MUST send SCSV" and confirming "either SCSV or
empty
> RI"
>  Chris Newman   http://www.ietf.org/mail-
> archive/web/tls/current/msg05033.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05041.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05170.html
>    or dropping SCSV entirely:
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05087.html
>=20
> 8) firmly against "MUST send SCSV", but OK with sending both
>  Robert Relya   http://www.ietf.org/mail-
> archive/web/tls/current/msg05264.html
>  Nelson Bolyard http://www.ietf.org/mail-
> archive/web/tls/current/msg05066.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05076.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05181.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05266.html
>=20
> 9) likes to send both SCSV+RI on initial ClientHello
>  Stephen Henson http://www.ietf.org/mail-
> archive/web/tls/current/msg05220.html
>=20
>=20
> 10) Eric trying to close some of the issues under discussion
>  Eric Rescorla  http://www.ietf.org/mail-
> archive/web/tls/current/msg05196.html
>     SCSV (MCSV)-related feedback to this:
>  Michael Gray   http://www.ietf.org/mail-
> archive/web/tls/current/msg05227.html
>=20
> 11) suggests spec to be explicit, prefer use of SCSV only for
applicable
>     initial client hellos, OK with MAY send SCSV in every handshake,
>     could live with MUST use SCSV in every initial ClientHello
>  Yngve P.       http://www.ietf.org/mail-
> archive/web/tls/current/msg05296.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05309.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05313.html
>=20
> **************************
> * IETF Last Call summary *
> **************************
>=20
>=20
> 16-Dec-2009  IETF Last Call Summary by Pasi Eronen:
>  Pasi Eronen    http://www.ietf.org/mail-
> archive/web/tls/current/msg05357.html
>=20
>=20
> Discontent with process-related issues:
>  _myself_       http://www.ietf.org/mail-
> archive/web/tls/current/msg05373.html
>  Nico Williams  http://www.ietf.org/mail-
> archive/web/tls/current/msg05377.html
>=20
> AD reply:
>  Pasi Eronen    http://www.ietf.org/mail-
> archive/web/tls/current/msg05394.html
>=20
>=20
> Discussion about SCSV semantics contine:
>=20
> Pro sensible SCSV semantics:
>  _myself_       http://www.ietf.org/mail-
> archive/web/tls/current/msg05359.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05365.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05372.html
>  Mike D'Errico  http://www.ietf.org/mail-
> archive/web/tls/current/msg05364.html
>  Kyle Hamilton  http://www.ietf.org/mail-
> archive/web/tls/current/msg05415.html
>=20
>=20
> Explicitly allow both (SCSV and RI) on initial ClientHello:
>  David Kemp     http://www.ietf.org/mail-
> archive/web/tls/current/msg05370.html
>=20
>=20
>=20
> Lengthy Email exchange with a particular point about MCSV semantics
and
> proposed new text for the upcoming document update (-02, after
LastCall):
>  Marsh Ray      http://www.ietf.org/mail-
> archive/web/tls/current/msg05261.html
>  _myself_       http://www.ietf.org/mail-
> archive/web/tls/current/msg05265.html
>  Marsh Ray      http://www.ietf.org/mail-
> archive/web/tls/current/msg05366.html
>  _myself_       http://www.ietf.org/mail-
> archive/web/tls/current/msg05379.html
>=20
> Other squabbles about the use of terminology:
>  Marsh Ray      http://www.ietf.org/mail-
> archive/web/tls/current/msg05361.html
>=20
>=20
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D draft-ietf-tls-renegotiation-02 =3D
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>=20
>=20
> 16-Dec-2009  draft-ietf-tls-renegotiation-02.txt
>  http://www.ietf.org/mail-archive/web/tls/current/msg05378.html
>=20
>=20
>
************************************************************************
> * Further WG discussions about SCSV semantics, converging to consensus
*
>
************************************************************************
>=20
> Relaxed sensible SCSV semantics (MAY everywhere, no MUSTs, not MUST
NOTs):
>  Mike D'Errico  http://www.ietf.org/mail-
> archive/web/tls/current/msg05398.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05449.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05456.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05464.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05496.html
>  Robert Dugal   http://www.ietf.org/mail-
> archive/web/tls/current/msg05441.html
>  _myself_       http://www.ietf.org/mail-
> archive/web/tls/current/msg05452.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05498.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05458.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05466.html
>  Eric Rescorla  http://www.ietf.org/mail-
> archive/web/tls/current/msg05445.html
>  Uri Blumenthal http://www.ietf.org/mail-
> archive/web/tls/current/msg05472.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05493.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05519.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05546.html
>  Pasi Eronen    http://www.ietf.org/mail-
> archive/web/tls/current/msg05490.html
>  Yoav Nir       http://www.ietf.org/mail-
> archive/web/tls/current/msg05491.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05521.html
>  Stephen Henson http://www.ietf.org/mail-
> archive/web/tls/current/msg05497.html
>  Marsh Ray      http://www.ietf.org/mail-
> archive/web/tls/current/msg05500.html
>                 http://www.ietf.org/mail-
> archive/web/tls/current/msg05511.html
>  Nasko Oskov    http://www.ietf.org/mail-
> archive/web/tls/current/msg05501.html
>=20
>  Nelson Bolyard http://www.ietf.org/mail-
> archive/web/tls/current/msg05559.html
>=20
>=20
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D draft-ietf-tls-renegotiation-03 =3D
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>=20
> 05-Jan-2010  draft-ietf-tls-renegotiation-03.txt
>  http://www.ietf.org/mail-archive/web/tls/current/msg05560.html
>=20
> 07-Jan-2010  Protocol Action: Document approved by IESG
>  http://www.ietf.org/mail-archive/web/tls/current/msg05560.html
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls

From mrex@sap.com  Tue Jan 26 09:57:17 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3C0643A697A; Tue, 26 Jan 2010 09:57:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level: 
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 GykAJQdGp1pf; Tue, 26 Jan 2010 09:57:16 -0800 (PST)
Received: from smtpde01.sap-ag.de (smtpde01.sap-ag.de [155.56.68.171]) by core3.amsl.com (Postfix) with ESMTP id 086663A696F; Tue, 26 Jan 2010 09:57:15 -0800 (PST)
Received: from mail.sap.corp by smtpde01.sap-ag.de (26) with ESMTP id o0QHvP4N019555 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 26 Jan 2010 18:57:25 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001261757.o0QHvOXd024945@fs4113.wdf.sap.corp>
To: tls@ietf.org
Date: Tue, 26 Jan 2010 18:57:24 +0100 (MET)
In-Reply-To: <808FD6E27AD4884E94820BC333B2DB775841199A56@NOK-EUMSG-01.mgdnok.nokia.com> from "Pasi.Eronen@nokia.com" at Jan 26, 10 09:49:06 am
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal05
X-SAP: out
Cc: ietf@ietf.org
Subject: Re: [TLS] Confirming consensus about one draft-ietf-tls-renegotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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: Tue, 26 Jan 2010 17:57:17 -0000

Pasi.Eronen@nokia.com wrote:
> 
> The detail in question is whether the "Signalling Cipher Suite Value"
> (SCSV) can be included when performing secure renegotiation (in
> addition to the renegotiation_info extension).
> 
> Currently, the SCSV is not included. In the version that went to IETF
> Last Call (version -01), the relevant text was:
> 
>    "This cipher suite has exactly the same semantics as an empty
>    "renegotiation_info" extension. [..]  Because this cipher suite is
>    equivalent to an empty "renegotiation_info" extension, only
>    "renegotiation_info" may be used rehandshakes." (in Section 4)
> 
> Version -03 (the latest version) has rephrased the text as follows:
> 
>    "The SCSV MUST NOT be included." (in Section 3.5, "Client Behavior:
>    Secure Renegotiation")
> 
>    "When ClientHello is received, the server MUST verify that it does
>    not contain the TLS_RENEGO_PROTECTION_REQUEST SCSV.  If the SCSV is
>    present, the server MUST abort the handshake." (in Section 3.7,
>    "Server Behavior: Secure Renegotiation")

http://tools.ietf.org/html/rfc2119#section-6

6. Guidance in the use of these Imperatives^M

   Imperatives of the type defined in this memo must be used with care
   and sparingly.  In particular, they MUST only be used where it is
   actually required for interoperation or to limit behavior which has
   potential for causing harm (e.g., limiting retransmisssions)  For
   example, they must not be used to try to impose a particular method
   on implementors where the method is not required for
   interoperability.

The two MUST NOTs that popped up in -03 are in violation of rfc2119 section 6!

Keep in mind that sending SCSV on renegotiations is explicitly
permitted by -03 for old renegotiations so that is inconsistent.

Further inconsistencies:  section 3.3 says "the SCSV may be safely be
sent to any server".  which obviously contradicts both new MUST NOTs.


I think we all agree that using a cipher suite value for signaling
is a creative use ("hack") of a TLS protocol extensibility option that
is not documented in this fashion in SSL/TLS.  By doing this, we
should limit the changes of the semantics of this extensibility
option to the absolute necessary.   There never was an interop
problem based on a presence of a particular cipher suite value
in TLS, and it doesn't seem like a good idea to create such
an interop problem for the presence of a cipher suite value
in ClientHello when it is avoidable.  It can be easily avoided
The WG discussion just before XMas developed consensus on
how to do this.



Did anyone of you review the new sections in the -03 draft?

Question to those who are voicing opinions just now, what would
you tell someone who has little TLS experience and just read
the -03 document, to which attack this paragraph in -03
refers (section 4.2, bottom of page 9):
http://tools.ietf.org/html/draft-ietf-tls-renegotiation-03#page-9

and to which "above attack" section 4.3 on page 10 refers?


section 4.2, is not only confusing, it is also inconsistent.

   However, the attack will be detected by the client when the
   server sends an empty "renegotiation_info" extension and the
   client is expecting one containing the previous verify data.

contradicts

   When the ServerHello is received, the client MUST verify that it does
   not contain the "renegotiation_info" extension.  If it does, the
   client MUST abort the handshake.  [Because the server has already
   indicated it does not support secure renegotiation the only way that
   this can happen is if the server is broken or there is an attack.]


I do not think that rushing the document out of the door as-is
would be a good idea.  This would set new lows for the level
of IETF Proposed Standard.


*I* have never suggested and do not endorse the specific
SCSV semantics as described in the -03 document.


-Martin

From paul.hoffman@vpnc.org  Tue Jan 26 10:26:33 2010
Return-Path: <paul.hoffman@vpnc.org>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 81B753A697A; Tue, 26 Jan 2010 10:26:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.038
X-Spam-Level: 
X-Spam-Status: No, score=-6.038 tagged_above=-999 required=5 tests=[AWL=0.008,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-4]
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 ZmIHt61ENwF6; Tue, 26 Jan 2010 10:26:32 -0800 (PST)
Received: from balder-227.proper.com (Balder-227.Proper.COM [192.245.12.227]) by core3.amsl.com (Postfix) with ESMTP id 940753A6861; Tue, 26 Jan 2010 10:26:32 -0800 (PST)
Received: from [10.20.30.158] (75-101-30-90.dsl.dynamic.sonic.net [75.101.30.90]) (authenticated bits=0) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id o0QIFWfB092015 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 26 Jan 2010 11:15:33 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
Mime-Version: 1.0
Message-Id: <p06240803c784e0bdf7f7@[10.20.30.158]>
In-Reply-To: <201001261757.o0QHvOXd024945@fs4113.wdf.sap.corp>
References: <201001261757.o0QHvOXd024945@fs4113.wdf.sap.corp>
Date: Tue, 26 Jan 2010 10:15:11 -0800
To: mrex@sap.com, tls@ietf.org
From: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: text/plain; charset="us-ascii"
Cc: ietf@ietf.org
Subject: [TLS] Metadiscussion on changes in draft-ietf-tls-renegotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 26 Jan 2010 18:26:33 -0000

At 6:57 PM +0100 1/26/10, Martin Rex wrote:
>The two MUST NOTs that popped up in -03 are in violation of rfc2119 section 6!

...as are about half of all MUSTs and SHOULDs in modern IETF standards.

>Did anyone of you review the new sections in the -03 draft?

Yes.

>I do not think that rushing the document out of the door as-is
>would be a good idea.  This would set new lows for the level
>of IETF Proposed Standard.

This indicates that you need to read more standards-track RFCs, then.

--Paul Hoffman, Director
--VPN Consortium

From marsh@extendedsubset.com  Tue Jan 26 12:07:18 2010
Return-Path: <marsh@extendedsubset.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 253F13A69A7 for <tls@core3.amsl.com>; Tue, 26 Jan 2010 12:07:18 -0800 (PST)
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 ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1TeLD760yAUM for <tls@core3.amsl.com>; Tue, 26 Jan 2010 12:07:17 -0800 (PST)
Received: from mho-01-ewr.mailhop.org (mho-01-ewr.mailhop.org [204.13.248.71]) by core3.amsl.com (Postfix) with ESMTP id 748FD3A689C for <tls@ietf.org>; Tue, 26 Jan 2010 12:07:17 -0800 (PST)
Received: from xs01.extendedsubset.com ([69.164.193.58]) by mho-01-ewr.mailhop.org with esmtpa (Exim 4.68) (envelope-from <marsh@extendedsubset.com>) id 1NZrhA-000OJ2-7t for tls@ietf.org; Tue, 26 Jan 2010 20:07:28 +0000
Received: from prairie.local.dns (localhost [127.0.0.1]) by xs01.extendedsubset.com (Postfix) with ESMTP id 7EE2C66A4 for <tls@ietf.org>; Tue, 26 Jan 2010 20:07:27 +0000 (UTC)
X-Mail-Handler: MailHop Outbound by DynDNS
X-Originating-IP: 69.164.193.58
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1+abyrsBzfce6b7203CMZcG6e4CrZHPius=
Message-ID: <4B5F4B7F.9080906@extendedsubset.com>
Date: Tue, 26 Jan 2010 14:07:27 -0600
From: Marsh Ray <marsh@extendedsubset.com>
User-Agent: Thunderbird 2.0.0.22 (X11/20090704)
MIME-Version: 1.0
To: tls@ietf.org
References: <808FD6E27AD4884E94820BC333B2DB775841199A56@NOK-EUMSG-01.mgdnok.nokia.com>
In-Reply-To: <808FD6E27AD4884E94820BC333B2DB775841199A56@NOK-EUMSG-01.mgdnok.nokia.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [TLS] Confirming consensus about one draft-ietf-tls-renegotiation detail
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 26 Jan 2010 20:07:18 -0000

(1) I prefer publishing the specification as-is.

- Marsh

From mrex@sap.com  Tue Jan 26 12:42:59 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DEC913A69CB; Tue, 26 Jan 2010 12:42:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level: 
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 ZmNbDWd5yfhY; Tue, 26 Jan 2010 12:42:58 -0800 (PST)
Received: from smtpde01.sap-ag.de (smtpde01.sap-ag.de [155.56.68.171]) by core3.amsl.com (Postfix) with ESMTP id 669B83A6991; Tue, 26 Jan 2010 12:42:58 -0800 (PST)
Received: from mail.sap.corp by smtpde01.sap-ag.de (26) with ESMTP id o0QKh8Gk021481 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 26 Jan 2010 21:43:08 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001262043.o0QKh7fX005524@fs4113.wdf.sap.corp>
To: paul.hoffman@vpnc.org (Paul Hoffman)
Date: Tue, 26 Jan 2010 21:43:07 +0100 (MET)
In-Reply-To: <p06240803c784e0bdf7f7@[10.20.30.158]> from "Paul Hoffman" at Jan 26, 10 10:15:11 am
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal07
X-SAP: out
Cc: tls@ietf.org, ietf@ietf.org
Subject: Re: [TLS] Metadiscussion on changes in draft-ietf-tls-renegotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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: Tue, 26 Jan 2010 20:43:00 -0000

Paul Hoffman wrote:
> 
> At 6:57 PM +0100 1/26/10, Martin Rex wrote:
> >The two MUST NOTs that popped up in -03 are in violation of rfc2119 section 6!
> 
> ...as are about half of all MUSTs and SHOULDs in modern IETF standards.

what do you want to say with this?

That implementors should ignore at least half of the MUSTs and SHOULDs
in IETF documents, because they don't make any sense, create unnecessary
interop problems or are otherwise harmful -- and should not be in the
document in the first place?

That may apply to IETF documents where you were involved in the process,
but it did not apply to documents where I was involved ... so far.

The engineer in me is unable to just close his eyes on obvious
problems, in particular when there is an easy fix, I'm sorry.


> 
> >Did anyone of you review the new sections in the -03 draft?
> 
> Yes.

The authors should be interested in the inconsistencies you likely
have encountered while reviewing the -03 draft.

Some aspects are likely more apparent to implementors (one of the
reasons for the IETF "we believe in running code" attitude) -- and to those
who are sufficiently familar with code implementing this part of TLS
to think in terms of actual lines of code, code complexity and testing
effort while reviewing the document.

> 
> >I do not think that rushing the document out of the door as-is
> >would be a good idea.  This would set new lows for the level
> >of IETF Proposed Standard.
> 
> This indicates that you need to read more standards-track RFCs, then.

What is your suggestion to improve the situation?

Reading I-Ds during IETF Last Call and providing feedback to the
authors and/or working group might help.  But that requires that
a document is in a resonable shape when it is being Last Called.

draft-ietf-tls-renegotiation-03 is the first version of the
document that is in a shape close to the expectations of 
the IETF for documents targeting Proposed Standard.

There is considerable a considerable of changes in -03 that wasn't
in any prior version of the document, and there are changes to the
semantics (two entirely new MUST NOTs and two unexplained NOT RECOMMEDEDs)
that are _not_ aligned with the WG consensus preceding the -03 document
and they are in conflict with rfc-2119.

Any discussion (let alone consensus) on the changes in the -03 document
was preempted by the IESG approving the document in less than two
days after publication during the holiday season.


I'm not asking for a new change, I'm asking for a _revert_ of a
new change that creates several unnecessary problems.


And I'm asking for an editorial review of the -03 draft, since
some would seriously benefit from editorial corrections.


The IETF used to be a standardization body with an open and fair
process where technical merit, running code, technical objections
and rough consensus of those who cared was more important
than any count of votes.


I don't want to hold up the document.

I did _not_ complain about the premature IETF Last Call because
I was still hoping the document quality issues could be resolved
entirly during WG discussion (there were ~5 complaints).

I _urged_ Pasi to make his consensus call on SCSV semantics on
Dec 16th, when there was still plenty of time considering the
(lack of) document quality at that point.


In order to help on fixing the problems -03, I even provided
an updated document as suggestion for all the issues that
should be fixed before publication.

After all, the target audience of this document is supposed to
be much larger (within a very short time frame) than most other
documents published by the IETF.  Therefore the technical quality
appears to be significant, in spite of the importance of getting
the solution implemented.


-Martin

From hovav@hovav.net  Tue Jan 26 12:52:49 2010
Return-Path: <hovav@hovav.net>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 508C43A69CA; Tue, 26 Jan 2010 12:52:49 -0800 (PST)
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 ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4sTujMw0VETk; Tue, 26 Jan 2010 12:52:48 -0800 (PST)
Received: from iport-c1-out.ucsd.edu (iport-c1-out.ucsd.edu [132.239.0.176]) by core3.amsl.com (Postfix) with ESMTP id 97EF73A69C7; Tue, 26 Jan 2010 12:52:48 -0800 (PST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApoEAL/kXkuE7zNQ/2dsb2JhbADaEoQ5BA
X-IronPort-AV: E=Sophos;i="4.49,348,1262592000"; d="scan'208";a="169396375"
Received: from csesmtp2.ucsd.edu (HELO cse-smtp.ucsd.edu) ([132.239.51.80]) by iport-c1-out.ucsd.edu with ESMTP/TLS/ADH-AES256-SHA; 26 Jan 2010 12:53:00 -0800
Received: from [128.54.5.123] (unknown [128.54.5.123]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by cse-smtp.ucsd.edu (Postfix) with ESMTP id E12045005C; Tue, 26 Jan 2010 12:52:59 -0800 (PST)
Message-Id: <8EAC649B-248E-4255-8A9A-147ED2D12AD1@hovav.net>
From: Hovav Shacham <hovav@hovav.net>
To: tls@ietf.org
In-Reply-To: <808FD6E27AD4884E94820BC333B2DB775841199A56@NOK-EUMSG-01.mgdnok.nokia.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Date: Tue, 26 Jan 2010 12:52:59 -0800
References: <808FD6E27AD4884E94820BC333B2DB775841199A56@NOK-EUMSG-01.mgdnok.nokia.com>
X-Mailer: Apple Mail (2.936)
Cc: ietf@ietf.org
Subject: Re: [TLS] Confirming consensus about one draft-ietf-tls-renegotiation detail
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 26 Jan 2010 20:52:49 -0000

I was not on your list, but:

>   (1) I prefer publishing the specification as-is.

-hs.

From mrex@sap.com  Tue Jan 26 13:43:25 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2C0FC3A6830; Tue, 26 Jan 2010 13:43:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level: 
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 spzJWOY7dVoF; Tue, 26 Jan 2010 13:43:24 -0800 (PST)
Received: from smtpde03.sap-ag.de (smtpde03.sap-ag.de [155.56.68.140]) by core3.amsl.com (Postfix) with ESMTP id F05DE3A67A4; Tue, 26 Jan 2010 13:43:23 -0800 (PST)
Received: from mail.sap.corp by smtpde03.sap-ag.de (26) with ESMTP id o0QLhX2w009829 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 26 Jan 2010 22:43:33 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001262143.o0QLhWA6009324@fs4113.wdf.sap.corp>
To: DPKemp@missi.ncsc.mil (Kemp David P.)
Date: Tue, 26 Jan 2010 22:43:32 +0100 (MET)
In-Reply-To: <201001261530.o0QFUxAT014069@stingray.missi.ncsc.mil> from "Kemp, David P." at Jan 26, 10 10:30:20 am
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal05
X-SAP: out
Cc: tls@ietf.org, ietf@ietf.org
Subject: Re: [TLS] Confirming consensus about one
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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: Tue, 26 Jan 2010 21:43:25 -0000

Kemp, David P. wrote:
> 
> Rationale:
> 
> Version -01 states that the semantics of SCSV is identical to the
> semantics an empty RI, namely: "this client is capable of supporting
> secure renegotiation, and this ClientHello message is an initial
> handshake, not a renegotiation handshake."

But you do realize that we discussed this issue on the WG mailing
list and the I provided an explanation along the lines of a
semi-formal correctness proof that this rationale is based on
a misunderstanding and a poor choice of words in the specification.

http://www.ietf.org/mail-archive/web/tls/current/msg05466.html


-Martin

From DPKemp@missi.ncsc.mil  Tue Jan 26 14:51:22 2010
Return-Path: <DPKemp@missi.ncsc.mil>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id F2A153A69EF; Tue, 26 Jan 2010 14:51:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 219Q1mIuO+zw; Tue, 26 Jan 2010 14:51:21 -0800 (PST)
Received: from stingray.missi.ncsc.mil (stingray.missi.ncsc.mil [144.51.50.20]) by core3.amsl.com (Postfix) with ESMTP id F1FC33A6928; Tue, 26 Jan 2010 14:51:20 -0800 (PST)
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Tue, 26 Jan 2010 17:50:23 -0500
Message-ID: <201001262251.o0QMpJMf020349@stingray.missi.ncsc.mil>
In-Reply-To: <201001262143.o0QLhWA6009324@fs4113.wdf.sap.corp>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] Confirming consensus about one
thread-index: Acqe0LoInseLs09gTeuxwylZVaOjJwAAIGUw
References: <201001261530.o0QFUxAT014069@stingray.missi.ncsc.mil> from "Kemp, David P." at Jan 26, 10 10:30:20 am <201001262143.o0QLhWA6009324@fs4113.wdf.sap.corp>
From: "Kemp, David P." <DPKemp@missi.ncsc.mil>
To: <mrex@sap.com>
X-OriginalArrivalTime: 26 Jan 2010 22:51:55.0515 (UTC) FILETIME=[28A08CB0:01CA9EDA]
Cc: tls@ietf.org, ietf@ietf.org
Subject: Re: [TLS] Confirming consensus about one
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 26 Jan 2010 22:51:22 -0000

Yes.  I agree that SCSV could be defined to convey only 1 bit of
information while RI conveys 2 bits, and agree that -01 (which went
through last call) does not define it that way.

What I don't understand is why the issue of changing the semantics of
-01 and -03 to reflect a "1 bit SCSV" is so #$%& important.=20
1. It is trivially easy to code to either version.
2. There is no security impact of using either version.
3. It is easier to articulate and to understand an "identical" soundbite
than to explain how SCSV and empty RI are semantically different, and
4. The "identical" version is ready to go, in the form of -03 that can
be published as an RFC right now.

And although I hesitate to bring up the following since they are
non-essential,
5. SCSV is a hack meant to appease ancient and/or non-conforming
servers.  That is one ugly baby, and I wish it would just disappear.
There is absolutely no reason for it ever to be sent in a ClientHello
containing a non-empty RI (it is a no-op that just wastes N bits of
bandwidth to convey 0 bits of additional information, and no legacy
implementation would ever send or interpret it), so I see absolutely no
downside to prohibiting it during renegotiation.
6. Reducing optional elements is always good security hygiene (hash
collision space, covert channels, stack overflow alignment, etc.)  Take
away a useless knob and nobody can twiddle that knob against you.

Dave



-----Original Message-----
From: Martin Rex [mailto:mrex@sap.com]=20
Sent: Tuesday, January 26, 2010 4:44 PM
To: Kemp, David P.
Cc: tls@ietf.org; ietf@ietf.org
Subject: Re: [TLS] Confirming consensus about one

Kemp, David P. wrote:
>=20
> Rationale:
>=20
> Version -01 states that the semantics of SCSV is identical to the
> semantics an empty RI, namely: "this client is capable of supporting
> secure renegotiation, and this ClientHello message is an initial
> handshake, not a renegotiation handshake."

But you do realize that we discussed this issue on the WG mailing
list and the I provided an explanation along the lines of a
semi-formal correctness proof that this rationale is based on
a misunderstanding and a poor choice of words in the specification.

http://www.ietf.org/mail-archive/web/tls/current/msg05466.html


-Martin

From mrex@sap.com  Tue Jan 26 16:05:36 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6550F3A6896; Tue, 26 Jan 2010 16:05:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level: 
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 MSDXQ4rOtN7k; Tue, 26 Jan 2010 16:05:35 -0800 (PST)
Received: from smtpde01.sap-ag.de (smtpde01.sap-ag.de [155.56.68.171]) by core3.amsl.com (Postfix) with ESMTP id 3E9573A687B; Tue, 26 Jan 2010 16:05:34 -0800 (PST)
Received: from mail.sap.corp by smtpde01.sap-ag.de (26) with ESMTP id o0R05eIh008305 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 27 Jan 2010 01:05:40 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001270005.o0R05dX8018122@fs4113.wdf.sap.corp>
To: pgut001@cs.auckland.ac.nz (Peter Gutmann)
Date: Wed, 27 Jan 2010 01:05:39 +0100 (MET)
In-Reply-To: <E1NZvE3-0005m4-Qw@wintermute02.cs.auckland.ac.nz> from "Peter Gutmann" at Jan 27, 10 12:53:39 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal07
X-SAP: out
Cc: ietf@ietf.org, tls@ietf.org
Subject: Re: [TLS] Metadiscussion on changes in draft-ietf-tls-renegotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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, 27 Jan 2010 00:05:36 -0000

Peter Gutmann wrote:
> 
> Martin Rex <mrex@sap.com> writes:
> 
> >That implementors should ignore at least half of the MUSTs and SHOULDs
> >in IETF documents, because they don't make any sense, create unnecessary
> >interop problems or are otherwise harmful -- and should not be in the
> >document in the first place?
> 
> <aside>That's been the standard for PKIX RFCs for at least ten years
> (actively acknowledged by WG mmembers), although perhaps its spread
> to other groups should be discouraged.</aside>

I fully agree.

That may be attributed to the fact that a large part of PKIX is dealing
with policy issues with the objective to prevent/prohibit interoperability.

When providing software (updates) to an installed base, it is not
exactly easy to "sell" them interoperability problems, which is one
reason why the adoption speed for some PKIX features is poor.

And then there are the serious security problems created by some
of the PKIX features themselves, like AIA (Authority Identifier Access).
But basically it applies to all URLs in certs that you can use
to coerce a server in order to perform a network access of
resources according to the desire of the presenter of the certificate.

-Martin

From n.mavrogiannopoulos@gmail.com  Tue Jan 26 23:19:45 2010
Return-Path: <n.mavrogiannopoulos@gmail.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 80AB33A68FC; Tue, 26 Jan 2010 23:19:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
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 CPCDQsOeY3Ey; Tue, 26 Jan 2010 23:19:41 -0800 (PST)
Received: from mail-px0-f186.google.com (mail-px0-f186.google.com [209.85.216.186]) by core3.amsl.com (Postfix) with ESMTP id CA43C3A68B0; Tue, 26 Jan 2010 23:19:41 -0800 (PST)
Received: by pxi16 with SMTP id 16so3858988pxi.29 for <multiple recipients>; Tue, 26 Jan 2010 23:19:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=QTbZOUCTPvXIz89wpKsti3+fzq1eFFOtOSs5C0WCzH4=; b=re0YLgWI5VFjVovX23yq2/j7hSLRWBRlTTlhY6VP8uyd4dm53xUgan7a9k6W+ppzSe +tIajSzPxN+qlQZyEnh1eKswFvjTUERQxtxNkqABY3c/5R8Itd7QSPSIAVSDs2DL1vnE MzEc2s1ui0bBeYt2kr028FtlQceKAv2aUbHls=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=ZoG741JeJFH1urC0XlE4MEKjBBjnEAFINUD8qhzSqTCIuoRVKAnjClUEk7Qp5QrybS eoMWMcE7pw6EjMzhlW9+caKk84ukPFJrpBvTY/WXOj9dQtH0Drs6V8kvxkmHR9NQgJ8v FDh0HzGh6ik8QcnpJucheG3WXGRAq51Ahmm3I=
MIME-Version: 1.0
Sender: n.mavrogiannopoulos@gmail.com
Received: by 10.114.162.26 with SMTP id k26mr584786wae.186.1264576791298; Tue,  26 Jan 2010 23:19:51 -0800 (PST)
In-Reply-To: <808FD6E27AD4884E94820BC333B2DB775841199A56@NOK-EUMSG-01.mgdnok.nokia.com>
References: <808FD6E27AD4884E94820BC333B2DB775841199A56@NOK-EUMSG-01.mgdnok.nokia.com>
Date: Wed, 27 Jan 2010 08:19:51 +0100
X-Google-Sender-Auth: 77355ffe5acf4938
Message-ID: <c331d99a1001262319g5ec8350fwff2651e96fbf5d25@mail.gmail.com>
From: Nikos Mavrogiannopoulos <nmav@gnutls.org>
To: tls@ietf.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: ietf@ietf.org
Subject: Re: [TLS] Confirming consensus about one draft-ietf-tls-renegotiation detail
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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, 27 Jan 2010 07:19:45 -0000

Concerning the SCSV behavior I prefer publishing the specification as-is.

regards,
Nikos

On Tue, Jan 26, 2010 at 9:49 AM,  <Pasi.Eronen@nokia.com> wrote:
> Concerns have been raised that the IESG may have judged community
> consensus about one specific detail of draft-ietf-tls-renegotiation
> prematurely. In particular, the discussion that happened just after
> the IETF Last Call ended might have caused some people to change their
> opinion, and also the holiday season may have delayed replies. =A0To
> eliminate doubt about the situation, and allow the RFC to come out as
> soon as possible, we have decided to confirm the community consensus
> about this detail.
>
> The detail in question is whether the "Signalling Cipher Suite Value"
> (SCSV) can be included when performing secure renegotiation (in
> addition to the renegotiation_info extension).
>
> Currently, the SCSV is not included. In the version that went to IETF
> Last Call (version -01), the relevant text was:
>
> =A0 "This cipher suite has exactly the same semantics as an empty
> =A0 "renegotiation_info" extension. [..] =A0Because this cipher suite is
> =A0 equivalent to an empty "renegotiation_info" extension, only
> =A0 "renegotiation_info" may be used rehandshakes." (in Section 4)
>
> Version -03 (the latest version) has rephrased the text as follows:
>
> =A0 "The SCSV MUST NOT be included." (in Section 3.5, "Client Behavior:
> =A0 Secure Renegotiation")
>
> =A0 "When ClientHello is received, the server MUST verify that it does
> =A0 not contain the TLS_RENEGO_PROTECTION_REQUEST SCSV. =A0If the SCSV is
> =A0 present, the server MUST abort the handshake." (in Section 3.7,
> =A0 "Server Behavior: Secure Renegotiation")
>
> It has been suggested that recent discussions may have changed the
> consensus, and some people have proposed changing this so that
> including the SCSV in secure renegotiation ClientHellos is allowed
> (but not required), and rephrasing the text that says SCSV, when
> received, is treated the same as an empty renegotiation_info extension
> (which means "not renegotiation").
>
> Note that this text applies to secure renegotiation ClientHellos.
> Other possible changes to the details concerning the SCSV (such as
> requiring it in all ClientHellos) were suggested during the IETF Last
> Call, but are explicitly outside the scope of this email.
>
> According to our notes, at least the following individuals seem to
> have expressed support for publishing version 01/02/03 (without making
> further changes to the details concerning the SCSV):
>
> Adrian Farrel
> Alexey Melnikov
> Ben Laurie
> Bodo Moeller
> Chris Newman
> Cullen Jennings
> Dan Romascanu
> David P. Kemp
> Eric Rescorla
> Geoffrey Keating
> Glen Zorn
> Jari Arkko
> Lars Eggert
> Lisa Dusseault
> Magnus Westerlund
> Nicolas Williams
> Pasi Eronen
> Peter Robinson
> Ralph Droms
> Rob P. Williams
> Robert Relya
> Robert Sparks
> Ron Bonica
> Stephen Farrell
> Steve Checkoaway
> Steve Dispensa
> Tim Polk
> Uri Blumenthal
>
> The following individuals seems to have expressed a preference for
> *not* publishing this document until the details concerning the SCSV
> are changed as described above:
>
> Marsh Ray
> Martin Rex
> Michael D'Errico
> Nasko Oskov
> Robert Dugal
> Stephen Henson
> Yoav Nir
>
> A number of other people also sent comments during the IETF Last Call
> (possibly proposing other changes to the details concerning the SCSV),
> but did not clearly fall into either list above.
>
> If the recent discussions have caused you to change your mind (or we
> have interpreted your preference incorrectly, or you were not on
> either list), please send an email to the TLS WG mailing list by
> Tuesday February 2nd. In your reply, please include one of the
> following:
>
> =A0 (1) I prefer publishing the specification as-is.
>
> =A0 (2) I prefer *NOT* publishing the specification as-is, and instead
> =A0 prefer changing the text so that including the SCSV in secure
> =A0 renegotiation ClientHellos is allowed (but not required).
>
> Unless a significant amount of additional people believe that making
> this change if preferable over publishing the spec now, the IESG
> expects to have the RFC out soon after February 2nd. =A0So we hope this
> consensus confirmation does not delay the RFC, or deployment of its
> implementations.
>
> Note that this is not a general call to revisit other details of
> draft-ietf-tls-renegotiation, or propose additional changes. =A0If you
> absolutely wish to have other discussions related to the draft, we
> respectfully ask you to change the subject line.
>
> Best regards,
> Pasi
> IETF Security Area Director

From n.mavrogiannopoulos@gmail.com  Tue Jan 26 23:33:00 2010
Return-Path: <n.mavrogiannopoulos@gmail.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7DE4D3A6A14; Tue, 26 Jan 2010 23:33:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
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 u+3fDJrz9a2V; Tue, 26 Jan 2010 23:32:59 -0800 (PST)
Received: from mail-pw0-f50.google.com (mail-pw0-f50.google.com [209.85.160.50]) by core3.amsl.com (Postfix) with ESMTP id C09A53A681F; Tue, 26 Jan 2010 23:32:59 -0800 (PST)
Received: by pwi20 with SMTP id 20so3866179pwi.29 for <multiple recipients>; Tue, 26 Jan 2010 23:33:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=2V+4jk6hDOZLseaZIUJvXWfXy7uK04PkIYyoFdqcmss=; b=hDzm/3UFXCbomGv4Zx1qUU1UUuaaHc0WnmkuYeZiGZWylRr/d8tNGy8bmY11QpDnoK dRveC2Aiqftmyfia2BDL29Zx7OPNuQnNaOQk/wbtuVOKhiMzLT9MtHdNGQ7DRuqV+BFB tNjCHZBJckqq961MSx4vg8XnLgjuxrx/Seyek=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=XKJ5Dfn1buOTTln2F1iHUoj8KIcrsqAvWLVZSMMmcafEKq645ub0ZRqc21VANrJFiA T78gxeT6rbJ5FmCq6WUZTAqWHqOBGPN3Bv7WPS6UI1LeMxmIhPUJcu6c+wvFxQvzCbCj BI9VwMqKpjUxpud71U8xdmA5bWBPrwU+sSMr0=
MIME-Version: 1.0
Sender: n.mavrogiannopoulos@gmail.com
Received: by 10.114.214.28 with SMTP id m28mr6313514wag.227.1264577590143;  Tue, 26 Jan 2010 23:33:10 -0800 (PST)
In-Reply-To: <201001270005.o0R05dX8018122@fs4113.wdf.sap.corp>
References: <E1NZvE3-0005m4-Qw@wintermute02.cs.auckland.ac.nz> <201001270005.o0R05dX8018122@fs4113.wdf.sap.corp>
Date: Wed, 27 Jan 2010 08:33:10 +0100
X-Google-Sender-Auth: ca7789d66fc3e088
Message-ID: <c331d99a1001262333n1c369dd3qec421542004bed97@mail.gmail.com>
From: Nikos Mavrogiannopoulos <nmav@gnutls.org>
To: mrex@sap.com
Content-Type: text/plain; charset=ISO-8859-1
Cc: tls@ietf.org, ietf@ietf.org
Subject: Re: [TLS] Metadiscussion on changes in draft-ietf-tls-renegotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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, 27 Jan 2010 07:33:00 -0000

On Wed, Jan 27, 2010 at 1:05 AM, Martin Rex <mrex@sap.com> wrote:

>> <aside>That's been the standard for PKIX RFCs for at least ten years
>> (actively acknowledged by WG mmembers), although perhaps its spread
>> to other groups should be discouraged.</aside>
>
> I fully agree.
>
> That may be attributed to the fact that a large part of PKIX is dealing
> with policy issues with the objective to prevent/prohibit interoperability.

On the contrary. I believe allowing the sending of both SCSV and extension
might harm interoperability instead. Consider the case of most popular client
implementations are sending both SCSV and extension (it's easier to do so).
A developer of a server might then consider checking only for SCSV (since all
of the popular ones he tested with send both). Thus interoperability with less
popular clients that only send extension stops.

This scenario might not be very likely, but this kind of issues were
not rare in
TLS for quite long :)

best regards,
Nikos

From ynir@checkpoint.com  Tue Jan 26 23:56:31 2010
Return-Path: <ynir@checkpoint.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 013D73A68B0; Tue, 26 Jan 2010 23:56:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.382
X-Spam-Level: 
X-Spam-Status: No, score=-2.382 tagged_above=-999 required=5 tests=[AWL=0.217,  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 cpx2fzAn-zOV; Tue, 26 Jan 2010 23:56:30 -0800 (PST)
Received: from dlpdemo.checkpoint.com (dlpdemo.checkpoint.com [194.29.32.54]) by core3.amsl.com (Postfix) with ESMTP id ACB4B3A6820; Tue, 26 Jan 2010 23:56:29 -0800 (PST)
X-CheckPoint: {4B5FEF06-10005-14201DC2-FFFF}
Received: by dlpdemo.checkpoint.com (Postfix, from userid 105) id 7FE0729C09A; Wed, 27 Jan 2010 09:56:42 +0200 (IST)
Received: from michael.checkpoint.com (michael.checkpoint.com [194.29.32.68]) by dlpdemo.checkpoint.com (Postfix) with ESMTP id 5174629C094; Wed, 27 Jan 2010 09:56:42 +0200 (IST)
X-CheckPoint: {4B5FEF06-10000-14201DC2-FFFF}
Received: from il-ex01.ad.checkpoint.com (il-ex01.checkpoint.com [194.29.32.26]) by michael.checkpoint.com (8.12.10+Sun/8.12.10) with ESMTP id o0R7ugT7011502; Wed, 27 Jan 2010 09:56:42 +0200 (IST)
X-CheckPoint: {4B5FF1AD-0-1B201DC2-5FFFF}
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Wed, 27 Jan 2010 09:56:56 +0200
From: Yoav Nir <ynir@checkpoint.com>
To: "Kemp, David P." <DPKemp@missi.ncsc.mil>
Date: Wed, 27 Jan 2010 09:56:34 +0200
Thread-Topic: [TLS] Confirming consensus about one
Thread-Index: AcqfJkwVWu9svHkcRg2+kKSDKWkFTw==
Message-ID: <04D03489-0B2F-4301-A957-E0D4030716E6@checkpoint.com>
References: <201001261530.o0QFUxAT014069@stingray.missi.ncsc.mil> from "Kemp,	David P." at Jan 26,	10 10:30:20 am <201001262143.o0QLhWA6009324@fs4113.wdf.sap.corp> <201001262251.o0QMpJMf020349@stingray.missi.ncsc.mil>
In-Reply-To: <201001262251.o0QMpJMf020349@stingray.missi.ncsc.mil>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "tls@ietf.org" <tls@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>
Subject: Re: [TLS] Confirming consensus about one
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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, 27 Jan 2010 07:56:31 -0000

I've stayed out of this discussion so far, because my opinion has already b=
een noted, but since you've changed the subject...

On Jan 27, 2010, at 12:50 AM, Kemp, David P. wrote:

> Yes.  I agree that SCSV could be defined to convey only 1 bit of
> information while RI conveys 2 bits, and agree that -01 (which went
> through last call) does not define it that way.
>=20
> What I don't understand is why the issue of changing the semantics of
> -01 and -03 to reflect a "1 bit SCSV" is so #$%& important.=20
> 1. It is trivially easy to code to either version.

Actually it's easier to hard-code the ciphersuite list on the client, becau=
se it never changes with most applications. Adding logic to differentiate b=
etween initial handshakes and repeated handshakes complicates the code (tho=
ugh not by much)

> 2. There is no security impact of using either version.
> 3. It is easier to articulate and to understand an "identical" soundbite
> than to explain how SCSV and empty RI are semantically different, and

"SCSV means the client supports RI". There. That was easy to articulate. An=
 empty extension is less easy IMO.

> 4. The "identical" version is ready to go, in the form of -03 that can
> be published as an RFC right now.

And this would be very important, if the world was holding its breath waiti=
ng for RI. I think it will take several years before RI is really deployed =
in a useful way, so I don't agree that spending a few more weeks getting it=
 right is wrong because we have to publish this thing "now"

>=20
> And although I hesitate to bring up the following since they are
> non-essential,
> 5. SCSV is a hack meant to appease ancient and/or non-conforming
> servers.  That is one ugly baby, and I wish it would just disappear.
> There is absolutely no reason for it ever to be sent in a ClientHello
> containing a non-empty RI (it is a no-op that just wastes N bits of
> bandwidth to convey 0 bits of additional information, and no legacy
> implementation would ever send or interpret it), so I see absolutely no
> downside to prohibiting it during renegotiation.

To me RI looks like a hack just as much as SCSV. Hopefully in the future, t=
he way to indicate support for secure renegotiation would be in the client =
version of the ClientHello.

> 6. Reducing optional elements is always good security hygiene (hash
> collision space, covert channels, stack overflow alignment, etc.)  Take
> away a useless knob and nobody can twiddle that knob against you.
>=20
> Dave


From yngve@opera.com  Wed Jan 27 05:17:33 2010
Return-Path: <yngve@opera.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0BE983A693F; Wed, 27 Jan 2010 05:17:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 IvBxEOULIuum; Wed, 27 Jan 2010 05:17:32 -0800 (PST)
Received: from smtp.opera.com (smtp.opera.com [213.236.208.81]) by core3.amsl.com (Postfix) with ESMTP id E6A353A6948; Wed, 27 Jan 2010 05:17:31 -0800 (PST)
Received: from killashandra.oslo.osa (pat-tdc.opera.com [213.236.208.22]) by smtp.opera.com (8.14.3/8.14.3/Debian-5) with ESMTP id o0RDEGnq026519 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 27 Jan 2010 13:14:17 GMT
Date: Wed, 27 Jan 2010 14:17:41 +0100
To: tls@ietf.org, ietf@ietf.org
From: "Yngve Nysaeter Pettersen" <yngve@opera.com>
Organization: Opera Software
Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15
MIME-Version: 1.0
References: <808FD6E27AD4884E94820BC333B2DB775841199A56@NOK-EUMSG-01.mgdnok.nokia.com>
Content-Transfer-Encoding: 7bit
Message-ID: <op.u660jrvmvqd7e2@killashandra.oslo.osa>
In-Reply-To: <808FD6E27AD4884E94820BC333B2DB775841199A56@NOK-EUMSG-01.mgdnok.nokia.com>
User-Agent: Opera Mail/9.65 (Win32)
Subject: Re: [TLS] Confirming consensus about one draft-ietf-tls-renegotiation detail
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: yngve@opera.com
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/listinfo/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, 27 Jan 2010 13:17:33 -0000

I prefer publishing the specification as-is.


Additional comment:

The SCSV is a temporary fallback, one that will not be needed when clients  
enter strict mode, since when that happens servers have to support the RI  
extension.  Its use should therefore be kept to the minimum needed to  
provide the extra security it is designed to provide.

IMO the only situations in which the SCSV should be sent are:

    1) Initial connections when the server is known to not tolerate TLS  
Extensions, or this is not known, and
    2) During renegotiation with a server known not to support the RI  
extension _and_ that does not tolerate TLS Extensions, just in case this  
is a MITM attack and the real server actually supports RI, in which case  
we want the connection shut down. If the server tolerates extensions then  
only the RI extension should be sent.


On Tue, 26 Jan 2010 09:49:06 +0100, <Pasi.Eronen@nokia.com> wrote:

> If the recent discussions have caused you to change your mind (or we
> have interpreted your preference incorrectly, or you were not on
> either list), please send an email to the TLS WG mailing list by
> Tuesday February 2nd. In your reply, please include one of the
> following:
>
>    (1) I prefer publishing the specification as-is.
>   (2) I prefer *NOT* publishing the specification as-is, and instead
>    prefer changing the text so that including the SCSV in secure
>    renegotiation ClientHellos is allowed (but not required).



From martin.rex@sap.com  Wed Jan 27 06:19:32 2010
Return-Path: <martin.rex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DFFBC3A6AA0; Wed, 27 Jan 2010 06:19:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.77
X-Spam-Level: 
X-Spam-Status: No, score=-9.77 tagged_above=-999 required=5 tests=[AWL=0.479,  BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 dcS69rI+tgJd; Wed, 27 Jan 2010 06:19:32 -0800 (PST)
Received: from smtpgw.sap-ag.de (smtpgw01.sap-ag.de [155.56.66.96]) by core3.amsl.com (Postfix) with ESMTP id 8D4723A6A9F; Wed, 27 Jan 2010 06:19:31 -0800 (PST)
From: "Rex, Martin" <martin.rex@sap.com>
To: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Date: Wed, 27 Jan 2010 15:19:34 +0100
Thread-Topic: [TLS] Metadiscussion on changes in draft-ietf-tls-renegotiation
Thread-Index: AcqfV1ndf4wT1KnaTMaCihQFKy0zwQAAezfg
Message-ID: <D28848FB278CE54FB6A302F413ECF730059269903F@DEWDFECCR07.wdf.sap.corp>
References: <E1NZvE3-0005m4-Qw@wintermute02.cs.auckland.ac.nz> <201001270005.o0R05dX8018122@fs4113.wdf.sap.corp> <c331d99a1001262333n1c369dd3qec421542004bed97@mail.gmail.com>
In-Reply-To: <c331d99a1001262333n1c369dd3qec421542004bed97@mail.gmail.com>
Accept-Language: en-US, de-DE
Content-Language: de-DE
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US, de-DE
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "tls@ietf.org" <tls@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>
Subject: Re: [TLS] Metadiscussion on changes in draft-ietf-tls-renegotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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, 27 Jan 2010 14:19:33 -0000

=20

> -----Original Message-----
> From: mrex@sap.com [mailto:mrex@sap.com] On Behalf Of Nikos=20
> Mavrogiannopoulos
> Sent: Wednesday, 27. January 2010 08:33
> To: Rex, Martin
> Cc: Peter Gutmann; ietf@ietf.org; tls@ietf.org
> Subject: Re: [TLS] Metadiscussion on changes in=20
> draft-ietf-tls-renegotiation
>=20
> On Wed, Jan 27, 2010 at 1:05 AM, Martin Rex <mrex@sap.com> wrote:
> >
> > That may be attributed to the fact that a large part of PKIX is dealing
> > with policy issues with the objective to prevent/prohibit interoperabil=
ity.

The above was a comment about PKIX, not SCSV.


>=20
> On the contrary. I believe allowing the sending of both SCSV=20
> and extension might harm interoperability instead. Consider the
> case of most popular client implementations are sending both SCSV
> and extension (it's easier to do so).
> A developer of a server might then consider checking only for=20
> SCSV (since all of the popular ones he tested with send both).
> Thus interoperability with less popular clients that only send
> extension stops.

I'm somewhat confused what makes you saying this.
Support for SCSV is *required* for initial handshakes in the
-03 document -- if it wasn't, SCSV could be removed from the
document entirely.  The reason for this is that otherwise
existing usage scenarios would be susceptible to downgrade
attacks (which is what the confusing reference in section 4.2
refers to).


What I am opposing is the MUST NOT for the secure renegotiation.

Secure renegotiation requires that both, server and client
verify the contents of the "renegotiation_info".  If some
implementor forgets that without the SCSV MUST NOT, then you
have much more serious issues to worry about than SCSV semantics.

If _some_ implementors, without this MUST NOT, would really accidentally
forget to verify the verify_data of the renegotiation_info for
secure renegotiation, then we should dump TLS extension RI and
go for the approach draft-mrex-tls-secure-renegotiation, because
it is fairly unlikely that you get an implementation of this
draft to interoperate in regular interop scenario _without_
getting the secure renegotiation working correctly.


>=20
> This scenario might not be very likely, but this kind of issues were
> not rare in TLS for quite long :)

I would have loved to get rid of the empty TLS extension RI entirely,
(making SCSV the mandatory to use signaling method) just like
Eric Rescorla proposed here:

http://www.ietf.org/mail-archive/web/tls/current/msg04794.html

because it would the most robust approach, but it had severe
aesthetical acceptance problems (not a single technical
problem is on record).


-Martin=

From DPKemp@missi.ncsc.mil  Wed Jan 27 06:40:16 2010
Return-Path: <DPKemp@missi.ncsc.mil>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 77E7E3A68B8 for <tls@core3.amsl.com>; Wed, 27 Jan 2010 06:40:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 qc2OsaKrEErY for <tls@core3.amsl.com>; Wed, 27 Jan 2010 06:40:15 -0800 (PST)
Received: from stingray.missi.ncsc.mil (stingray.missi.ncsc.mil [144.51.50.20]) by core3.amsl.com (Postfix) with ESMTP id A07D33A6960 for <tls@ietf.org>; Wed, 27 Jan 2010 06:40:15 -0800 (PST)
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Wed, 27 Jan 2010 09:39:34 -0500
Message-ID: <201001271440.o0REeTJU015911@stingray.missi.ncsc.mil>
In-Reply-To: <04D03489-0B2F-4301-A957-E0D4030716E6@checkpoint.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Chatter on consensus
thread-index: AcqfJkwVWu9svHkcRg2+kKSDKWkFTwAMBFhw
References: <201001261530.o0QFUxAT014069@stingray.missi.ncsc.mil> from "Kemp, David P." at Jan 26, 10 10:30:20 am <201001262143.o0QLhWA6009324@fs4113.wdf.sap.corp> <201001262251.o0QMpJMf020349@stingray.missi.ncsc.mil> <04D03489-0B2F-4301-A957-E0D4030716E6@checkpoint.com>
From: "Kemp, David P." <DPKemp@missi.ncsc.mil>
To: <tls@ietf.org>
X-OriginalArrivalTime: 27 Jan 2010 14:41:06.0031 (UTC) FILETIME=[C1C7A7F0:01CA9F5E]
Subject: [TLS] Chatter on consensus
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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, 27 Jan 2010 14:40:16 -0000

-----Original Message-----
From: Yoav Nir [mailto:ynir@checkpoint.com]=20

> I've stayed out of this discussion so far, because my opinion has
already
> been noted, but since you've changed the subject...

Actually Martin and I failed to change the subject while changing the
topic.
Sorry.  Fixed.  Ietf list dropped.

> "SCSV means the client supports RI". There. That was easy to
articulate.
> An empty extension is less easy IMO.

"RI means the client supports RI" is less easy?  That doesn't pass the
sniff test.

> And this would be very important, if the world was holding its breath
> waiting for RI. I think it will take several years before RI is really
> deployed in a useful way, so I don't agree that spending a few more
> weeks getting it right is wrong because we have to publish this thing
"now"

Agreed.  As noted earlier, I think -03 has already gotten it right in
terms of normative requirements -- MUST NOTs.  I have no position
on whether informative text should continue to be refined.

> To me RI looks like a hack just as much as SCSV. Hopefully in the
future,
> the way to indicate support for secure renegotiation would be in the
> client version of the ClientHello.

I don't understand.  The essence of negotiation is "client sends
everything
it supports, server responds with the intersection of what it supports."

* Client sending an extension to say it supports that extension is
standard.
* Client sending an extension with no prior context to signal that there
was no prior handshake sounds logical to me.
* Client sending an extension with prior context to signal that there
was
a prior handshake sounds logical to me.

* Client sending a ciphersuite to say it supports an extension, and
server
responding with an extension that was not sent by the client is an
unprecedented exception to a general rule (i.e., a hack).
* Client sending a ciphersuite to say it supports an extension in the
same
message that contains that extension is redundant (i.e., a hack).

Dave


From mrex@sap.com  Wed Jan 27 07:08:56 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8BCBF3A690B for <tls@core3.amsl.com>; Wed, 27 Jan 2010 07:08:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level: 
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 4Sq2BIaOKYvJ for <tls@core3.amsl.com>; Wed, 27 Jan 2010 07:08:55 -0800 (PST)
Received: from smtpde03.sap-ag.de (smtpde03.sap-ag.de [155.56.68.140]) by core3.amsl.com (Postfix) with ESMTP id 9BE453A68C4 for <tls@ietf.org>; Wed, 27 Jan 2010 07:08:55 -0800 (PST)
Received: from mail.sap.corp by smtpde03.sap-ag.de (26) with ESMTP id o0RF98W1021223 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 27 Jan 2010 16:09:08 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001271509.o0RF97fO015438@fs4113.wdf.sap.corp>
To: DPKemp@missi.ncsc.mil (Kemp, David P.)
Date: Wed, 27 Jan 2010 16:09:07 +0100 (MET)
In-Reply-To: <201001271440.o0REeTJU015911@stingray.missi.ncsc.mil> from "Kemp, David P." at Jan 27, 10 09:39:34 am
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal05
X-SAP: out
Cc: tls@ietf.org
Subject: Re: [TLS] Chatter on consensus
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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, 27 Jan 2010 15:08:56 -0000

Kemp, David P. wrote:
> 
> As noted earlier, I think -03 has already gotten it right in
> terms of normative requirements -- MUST NOTs.  I have no position
> on whether informative text should continue to be refined.

These two MUST NOTs and the two unexplained NOT RECOMMENDEDs
to which I'm opposed are clear violations of rfc-2119 section 6:

http://tools.ietf.org/html/rfc2119#section-6

6. Guidance in the use of these Imperatives


   Imperatives of the type defined in this memo must be used with care
   and sparingly.  In particular, they MUST only be used where it is
   actually required for interoperation or to limit behavior which has
   potential for causing harm (e.g., limiting retransmisssions)  For
   example, they must not be used to try to impose a particular method
   on implementors where the method is not required for
   interoperability.


-Martin

From mrex@sap.com  Wed Jan 27 07:37:00 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 906663A6AB6; Wed, 27 Jan 2010 07:37:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level: 
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 MrpTEeqzbahL; Wed, 27 Jan 2010 07:36:59 -0800 (PST)
Received: from smtpde03.sap-ag.de (smtpde03.sap-ag.de [155.56.68.140]) by core3.amsl.com (Postfix) with ESMTP id 5FA0D28C0D6; Wed, 27 Jan 2010 07:36:57 -0800 (PST)
Received: from mail.sap.corp by smtpde03.sap-ag.de (26) with ESMTP id o0RFb4tH004363 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 27 Jan 2010 16:37:04 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001271537.o0RFb31s016880@fs4113.wdf.sap.corp>
To: ynir@checkpoint.com (Yoav Nir)
Date: Wed, 27 Jan 2010 16:37:03 +0100 (MET)
In-Reply-To: <04D03489-0B2F-4301-A957-E0D4030716E6@checkpoint.com> from "Yoav Nir" at Jan 27, 10 09:56:34 am
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal07
X-SAP: out
Cc: DPKemp@missi.ncsc.mil, tls@ietf.org, ietf@ietf.org
Subject: Re: [TLS] Confirming consensus about one
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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, 27 Jan 2010 15:37:00 -0000

Yoav Nir wrote:
> 
> On Jan 27, 2010, at 12:50 AM, Kemp, David P. wrote:
> 
> > Yes.  I agree that SCSV could be defined to convey only 1 bit of
> > information while RI conveys 2 bits, and agree that -01 (which went
> > through last call) does not define it that way.
> > 
> > What I don't understand is why the issue of changing the semantics of
> > -01 and -03 to reflect a "1 bit SCSV" is so #$%& important. 
> > 1. It is trivially easy to code to either version.
> 
> Actually it's easier to hard-code the ciphersuite list on the client,
> because it never changes with most applications. Adding logic to
> differentiate between initial handshakes and repeated handshakes
> complicates the code (though not by much)

It more complicated than that, because SCSV is additionally necessary
for sensible behaviour even with -03 when doing old renegotiation
on a connection where the initial ClientHello did not use any
TLS extensions.

And it is a different question whether providers of an implementation
offer this configuration option (which a number of them likely has to),
or wether we recommend that this configuration setting is actually used.

These are two different guidances, and the -03 document does not
distinguish them, which is a bad idea.

> 
> > 2. There is no security impact of using either version.
> > 3. It is easier to articulate and to understand an "identical" soundbite
> > than to explain how SCSV and empty RI are semantically different, and
> 
> "SCSV means the client supports RI". There. That was easy to articulate.
> An empty extension is less easy IMO.

The concept that I had in mind when I created the label
TLS_RENEGO_PROTECTION_REQUEST was a signal that indicates
"Please protect me from an old-style TLS handshake"

And an old-style TLS handshake is one where you have no possibility
to detect whether there is an MitM attacking you.


> 
> > 4. The "identical" version is ready to go, in the form of -03 that can
> > be published as an RFC right now.


Process-wise, Pasi could have made a consensus call on exact SCSV
semantics on Dec 17th providing several options,  the result of a
free and open discussion on SCSV semantics could have been part
of -03, Pasi could have re-issued an IETF Last Call on Jan 7th, we
would have received further editorial comments and today
an -04 document could be in much better shape, ready for IESG
approval and in perfect alignment with the IETF processes.


> 
> > And although I hesitate to bring up the following since they are
> > non-essential,
> > 5. SCSV is a hack meant to appease ancient and/or non-conforming
> > servers.  That is one ugly baby, and I wish it would just disappear.
> > There is absolutely no reason for it ever to be sent in a ClientHello
> > containing a non-empty RI (it is a no-op that just wastes N bits of
> > bandwidth to convey 0 bits of additional information, and no legacy
> > implementation would ever send or interpret it), so I see absolutely no
> > downside to prohibiting it during renegotiation.
> 
> To me RI looks like a hack just as much as SCSV.  Hopefully in the
> future, the way to indicate support for secure renegotiation would
> be in the client version of the ClientHello.

Unfortunately, that "go away" is impossible for any implementation
of TLS that offers interop with protocol versions 0x03,0x00 -> 0x03,0x03
(aka SSLv3 and TLS protocol version v1.0->v1.2).

And although clients could stop sending SCSV when they stop using
extension-less ClientHellos, the server-side support for SCSV is going
to stick forever.

Likewise, the TLS extension RI band-aid is going to be with us
for at least 20 years.  It's not possible to make this design
an integral part of a future TLS version that obviates sending
this data over the wire.  Except maybe defining an alternative
and negotiating that as well.  The latter could obviate transfering
the data, but would require implementations to implement essentialls
two solutions for the same problem, which, unless someone finds 
a problem with TLS extension RI (which I doubt), would be
a complete waste of resources.

I remember that Stephen Farrell suggested to standardize both
(TLS extension RI without SCSV plus a well-discussed successor
of draft-mrex-tls-secure-renegotiation), but *I* don't like
two solution where one is sufficient.


-Martin

From nelson@bolyard.me  Wed Jan 27 08:55:32 2010
Return-Path: <nelson@bolyard.me>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 65AA43A6961 for <tls@core3.amsl.com>; Wed, 27 Jan 2010 08:55:32 -0800 (PST)
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 ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nURY+5JpV8RC for <tls@core3.amsl.com>; Wed, 27 Jan 2010 08:55:32 -0800 (PST)
Received: from smtpauth18.prod.mesa1.secureserver.net (smtpauth18.prod.mesa1.secureserver.net [64.202.165.31]) by core3.amsl.com (Postfix) with SMTP id 35C633A683E for <tls@ietf.org>; Wed, 27 Jan 2010 08:55:32 -0800 (PST)
Received: (qmail 25455 invoked from network); 27 Jan 2010 16:49:07 -0000
Received: from unknown (24.5.142.42) by smtpauth18.prod.mesa1.secureserver.net (64.202.165.31) with ESMTP; 27 Jan 2010 16:49:07 -0000
Message-ID: <4B606E82.8080905@bolyard.me>
Date: Wed, 27 Jan 2010 08:49:06 -0800
From: Nelson B Bolyard <nelson@bolyard.me>
Organization: Network Security Services
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.9.1b1pre) Gecko/20081004 NOT Firefox/2.0 SeaMonkey/2.0a2pre
MIME-Version: 1.0
To: tls@ietf.org
References: <201001271537.o0RFb31s016880@fs4113.wdf.sap.corp>
In-Reply-To: <201001271537.o0RFb31s016880@fs4113.wdf.sap.corp>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: ietf@ietf.org
Subject: Re: [TLS] Confirming consensus about one
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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, 27 Jan 2010 16:55:32 -0000

On 2010-01-27 07:37 PST, Martin Rex wrote:
> Yoav Nir wrote:

>> Actually it's easier to hard-code the ciphersuite list on the client,
>> because it never changes with most applications. Adding logic to
>> differentiate between initial handshakes and repeated handshakes
>> complicates the code (though not by much)
> 
> It more complicated than that, because SCSV is additionally necessary
> for sensible behaviour even with -03 when doing old renegotiation
> on a connection where the initial ClientHello did not use any
> TLS extensions.

I think you meant to write "necessary to prevent vulnerable renegotiation on
a connection where the initial ClientHello did not use any TLS extensions".
 If that is what you meant, please confirm.

What you wrote sounds more like you were expecting "old renegotiation" to
succeed.  If you were indeed expecting that, then why does SCSV play any
role in that at all?

From mrex@sap.com  Wed Jan 27 09:18:01 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2DFEC3A6816; Wed, 27 Jan 2010 09:18:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level: 
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 gMhFNGxu6WIB; Wed, 27 Jan 2010 09:18:00 -0800 (PST)
Received: from smtpde01.sap-ag.de (smtpde01.sap-ag.de [155.56.68.171]) by core3.amsl.com (Postfix) with ESMTP id 11E0828C137; Wed, 27 Jan 2010 09:17:59 -0800 (PST)
Received: from mail.sap.corp by smtpde01.sap-ag.de (26) with ESMTP id o0RHI2MG010224 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 27 Jan 2010 18:18:02 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001271718.o0RHI1de023338@fs4113.wdf.sap.corp>
To: nelson@bolyard.me (Nelson B Bolyard)
Date: Wed, 27 Jan 2010 18:18:01 +0100 (MET)
In-Reply-To: <4B606E82.8080905@bolyard.me> from "Nelson B Bolyard" at Jan 27, 10 08:49:06 am
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal07
X-SAP: out
Cc: tls@ietf.org, ietf@ietf.org
Subject: Re: [TLS] Confirming consensus about one
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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, 27 Jan 2010 17:18:01 -0000

Nelson B Bolyard wrote:
> 
> On 2010-01-27 07:37 PST, Martin Rex wrote:
> > Yoav Nir wrote:
> 
> >> Actually it's easier to hard-code the ciphersuite list on the client,
> >> because it never changes with most applications. Adding logic to
> >> differentiate between initial handshakes and repeated handshakes
> >> complicates the code (though not by much)
> > 
> > It more complicated than that, because SCSV is additionally necessary
> > for sensible behaviour even with -03 when doing old renegotiation
> > on a connection where the initial ClientHello did not use any
> > TLS extensions.
> 
> I think you meant to write "necessary to prevent vulnerable renegotiation on
> a connection where the initial ClientHello did not use any TLS extensions".
> If that is what you meant, please confirm.

It is necessary to actually perform an old-renegotiaion successfully
while at the same time preventing an attacker from being able to
proxy that old renegotiation into a renegotiation handshake of
an updated server that still allows backwards-interoperable
old renegotiation for old clients.

> 
> What you wrote sounds more like you were expecting "old renegotiation" to
> succeed.

Correct, I am expecting that.

That is a configuration option that implementations (hotfixes into
installed base, early during the transition) are likely required
to offer.

That we recommend to discontinue old-style renegotiation is
a totally different issue.

>
> If you were indeed expecting that, then why does SCSV play any
> role in that at all?

The purpose of SCSV is to reliably prevent any undesired renegotiations
from being possible.  The only handshakes where you can reliably
distinguish desired from undesired is those between updated clients
and updated servers.  

If an implementation of TLS offers a configuration option to allow
old-style reneogitation for interop with installed base old servers,
then we should an can limit that fallback to old servers.  This is
what the brand-new section 4.2 tries to explain (although it is
in dire need of editorial fixes in order to become comprehensible).


-Martin

From braden@ISI.EDU  Wed Jan 27 09:52:21 2010
Return-Path: <braden@ISI.EDU>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 23D763A6828; Wed, 27 Jan 2010 09:52:21 -0800 (PST)
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 ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rkcF+RGX6c1i; Wed, 27 Jan 2010 09:52:20 -0800 (PST)
Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) by core3.amsl.com (Postfix) with ESMTP id 7200A3A6767; Wed, 27 Jan 2010 09:52:20 -0800 (PST)
Received: from [127.0.0.1] (rtb.isi.edu [128.9.168.81]) by boreas.isi.edu (8.13.8/8.13.8) with ESMTP id o0RHp9OM016702; Wed, 27 Jan 2010 09:51:10 -0800 (PST)
Message-ID: <4B607D16.70104@isi.edu>
Date: Wed, 27 Jan 2010 09:51:18 -0800
From: Bob Braden <braden@ISI.EDU>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: mrex@sap.com
References: <201001262043.o0QKh7fX005524@fs4113.wdf.sap.corp>
In-Reply-To: <201001262043.o0QKh7fX005524@fs4113.wdf.sap.corp>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-ISI-4-43-8-MailScanner: Found to be clean
X-MailScanner-From: braden@isi.edu
X-Mailman-Approved-At: Wed, 27 Jan 2010 10:10:09 -0800
Cc: ietf@ietf.org, Paul Hoffman <paul.hoffman@vpnc.org>, tls@ietf.org
Subject: Re: [TLS] Metadiscussion on changes in draft-ietf-tls-renegotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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, 27 Jan 2010 17:52:21 -0000

Martin Rex wrote:

> what do you want to say with this?
> That implementors should ignore at least half of the MUSTs and SHOULDs
> in IETF documents, because they don't make any sense, create unnecessary
> interop problems or are otherwise harmful -- and should not be in the
> document in the first place?

All in all, that pretty much sums up the current (and long standing) 
situation, IMHO.

Bob Braden




From mike-list@pobox.com  Wed Jan 27 10:52:20 2010
Return-Path: <mike-list@pobox.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 109F43A6971; Wed, 27 Jan 2010 10:52:20 -0800 (PST)
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 ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jXfXmVL0FDJl; Wed, 27 Jan 2010 10:52:19 -0800 (PST)
Received: from sasl.smtp.pobox.com (a-pb-sasl-quonix.pobox.com [208.72.237.25]) by core3.amsl.com (Postfix) with ESMTP id 1E6823A6927; Wed, 27 Jan 2010 10:52:19 -0800 (PST)
Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 976A394BF6; Wed, 27 Jan 2010 13:52:33 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=sasl; bh=WbJ5c0PGb+pI Qo1JpMnIrgRXBRc=; b=LuwCsW18IlR226JrWIpV20JcpXek/Ix9wSk6UdQc1nyC zUx8gU49hGbs0Fflj2F8XV37LaUdEFdMeSVEJnoKzI6QnGDn6uxM1EJ6uC9suLC/ oqMzUMq8HgTM5SRcNxaeqjycq/cVHS3V/elnmAjS6aeyfQdA9MRttMfvLtyYLrY=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=message-id:date :from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sasl; b=yETHZC Ld6HqlURnBBiH0bT9snsQ3cxO4O5eDaklcVm/Z2z3F/oXhaEALheUPAMHsDN0Ku7 J64rJ+jgsUNe3dl/5IC/m5hqCylSssz74Kxf63VYUwN46rPUtNSNKj37CYT+vzz0 wcEP+tGjFe2to74W+LPtie3zpQcQK4FRpTrvc=
Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 83ACE94BF4; Wed, 27 Jan 2010 13:52:32 -0500 (EST)
Received: from administrators-macbook-pro.local (unknown [24.234.114.35]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 1366F94BE8; Wed, 27 Jan 2010 13:52:30 -0500 (EST)
Message-ID: <4B608C23.3090004@pobox.com>
Date: Wed, 27 Jan 2010 10:55:31 -0800
From: Michael D'Errico <mike-list@pobox.com>
User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812)
MIME-Version: 1.0
To: tls@ietf.org
References: <201001271718.o0RHI1de023338@fs4113.wdf.sap.corp>
In-Reply-To: <201001271718.o0RHI1de023338@fs4113.wdf.sap.corp>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Pobox-Relay-ID: 204848F2-0B75-11DF-A9B3-6AF7ED7EF46B-38729857!a-pb-sasl-quonix.pobox.com
Cc: ietf@ietf.org
Subject: Re: [TLS] Confirming consensus about one
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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, 27 Jan 2010 18:52:20 -0000

Martin Rex wrote:
> Nelson B Bolyard wrote:
> 
>> What you wrote sounds more like you were expecting "old renegotiation" to
>> succeed.
> 
> Correct, I am expecting that.
> 
> That is a configuration option that implementations (hotfixes into
> installed base, early during the transition) are likely required
> to offer.

In my code, I added three boolean configuration options
which all default to false:

     AllowUnsafeInitialConnect
     AllowRenegotiation
     AllowUnsafeRenegotiation

Hopefully this will make it obvious to people that choosing
the Unsafe options are just that (though the first one will
be needed for a while yet).

Mike

From DPKemp@missi.ncsc.mil  Wed Jan 27 11:12:53 2010
Return-Path: <DPKemp@missi.ncsc.mil>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4AAF73A6918 for <tls@core3.amsl.com>; Wed, 27 Jan 2010 11:12:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 0ktNCvLplOza for <tls@core3.amsl.com>; Wed, 27 Jan 2010 11:12:48 -0800 (PST)
Received: from stingray.missi.ncsc.mil (stingray.missi.ncsc.mil [144.51.50.20]) by core3.amsl.com (Postfix) with ESMTP id B29D93A67F4 for <tls@ietf.org>; Wed, 27 Jan 2010 11:12:47 -0800 (PST)
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Wed, 27 Jan 2010 14:13:00 -0500
Message-ID: <201001271913.o0RJD2B7008022@stingray.missi.ncsc.mil>
In-Reply-To: <201001271509.o0RF97fO015438@fs4113.wdf.sap.corp>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] Chatter on consensus
thread-index: AcqfYskC8bgaAXanTqePrOQM5pt83wAAIsQA
References: <201001271440.o0REeTJU015911@stingray.missi.ncsc.mil> from "Kemp, David P." at Jan 27, 10 09:39:34 am <201001271509.o0RF97fO015438@fs4113.wdf.sap.corp>
From: "Kemp, David P." <DPKemp@missi.ncsc.mil>
To: <mrex@sap.com>
X-OriginalArrivalTime: 27 Jan 2010 19:13:38.0390 (UTC) FILETIME=[D48B9F60:01CA9F84]
Cc: tls@ietf.org
Subject: Re: [TLS] Chatter on consensus
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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, 27 Jan 2010 19:12:53 -0000

> From: Martin Rex [mailto:mrex@sap.com]
>
> These two MUST NOTs and the two unexplained NOT RECOMMENDEDs
> to which I'm opposed are clear violations of rfc-2119 section 6:

This is admittedly a strong argument.  However, in my opinion, alignment
with 2119 must be evaluated in light of:

> [Nikos]: I believe allowing the sending of both SCSV=20
> and extension might harm interoperability instead.

and

> [Pettersen]: The SCSV is a temporary fallback, one that=20
> will not be needed when clients enter strict mode, since=20
> when that happens servers have to support the RI extension.

When the reality of development practices is taken into account, the
MUST NOTs arguably *are* being used to enhance interoperability, in
accordance with rfc-2119.



> From: Martin Rex [mailto:mrex@sap.com]
>
> It more complicated than that, because SCSV is additionally
> necessary for sensible behaviour even with -03 when doing
> old renegotiation on a connection where the initial
> ClientHello did not use any TLS extensions.

Say whaaaaat?  When doing old renegotiation, neither SCSV nor RI are
necessary because by assumption the client, the server, or both do not
support secure renegotiation.  If an old server requests a new client to
renegotiate, and:
1) the client ignores the RECOMMENDED refusal to renegotiate, and
2) the old server INCORRECTLY fails to ignore extensions, and
3) the client sends an RI extension as RECOMMENDED,
... then there may be a handshake failure, which sounds to me like the
desired outcome in such a broken circumstance.

If the client instead sends SCSV in order to dodge a handshake failure,
which is NOT RECOMMENDED, the server is prevented from immediately
detecting an attack.  Sending SCSV in this circumstance, far from being
necessary or sensible, sounds to me like reckless behavior - pushing the
envelope of legacy interoperability.

As above, it might enhance interoperability long-term if new clients
operating in secure renegotiation mode simply failed to renegotiate with
broken servers.  If I were for changes to -03 (which I am NOT!), it
would be to change NOT RECOMMENDED to MUST NOT send SCSV in insecure
renegotiation.

Dave


From marsh@extendedsubset.com  Wed Jan 27 12:25:09 2010
Return-Path: <marsh@extendedsubset.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 75AA63A698C for <tls@core3.amsl.com>; Wed, 27 Jan 2010 12:25:09 -0800 (PST)
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 ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sHe3KJNXXqtU for <tls@core3.amsl.com>; Wed, 27 Jan 2010 12:25:08 -0800 (PST)
Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) by core3.amsl.com (Postfix) with ESMTP id 88F623A6972 for <tls@ietf.org>; Wed, 27 Jan 2010 12:25:08 -0800 (PST)
Received: from xs01.extendedsubset.com ([69.164.193.58]) by mho-02-ewr.mailhop.org with esmtpa (Exim 4.68) (envelope-from <marsh@extendedsubset.com>) id 1NaES3-0005Vz-6a for tls@ietf.org; Wed, 27 Jan 2010 20:25:23 +0000
Received: from prairie.local.dns (localhost [127.0.0.1]) by xs01.extendedsubset.com (Postfix) with ESMTP id 57D7562E0 for <tls@ietf.org>; Wed, 27 Jan 2010 20:25:22 +0000 (UTC)
X-Mail-Handler: MailHop Outbound by DynDNS
X-Originating-IP: 69.164.193.58
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX18cHMqPIQaztpWl0eyOVVXfpu+UqEiqySI=
Message-ID: <4B60A132.4030007@extendedsubset.com>
Date: Wed, 27 Jan 2010 14:25:22 -0600
From: Marsh Ray <marsh@extendedsubset.com>
User-Agent: Thunderbird 2.0.0.22 (X11/20090704)
MIME-Version: 1.0
To: tls@ietf.org
References: <201001271718.o0RHI1de023338@fs4113.wdf.sap.corp>
In-Reply-To: <201001271718.o0RHI1de023338@fs4113.wdf.sap.corp>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [TLS] Confirming consensus about one
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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, 27 Jan 2010 20:25:09 -0000

Martin Rex wrote:
> It is necessary to actually perform an old-renegotiaion successfully
>   

It is impossible for an implementation of the SSLv3 or TLS specs to 
perform an "old-renegotiaion successfully" unless your definition of 
"success" accepts the possibility of a MitM remixing the plaintext.

Since SSL/TLS have promised to provide data integrity protection since 
the beginning, everything which follows in your analysis is irrelevant.

- Marsh


From rrelyea@redhat.com  Wed Jan 27 12:40:29 2010
Return-Path: <rrelyea@redhat.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 302C43A68AD for <tls@core3.amsl.com>; Wed, 27 Jan 2010 12:40:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level: 
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, 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 4dY36Eus5INO for <tls@core3.amsl.com>; Wed, 27 Jan 2010 12:40:28 -0800 (PST)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by core3.amsl.com (Postfix) with ESMTP id 845593A6774 for <tls@ietf.org>; Wed, 27 Jan 2010 12:40:28 -0800 (PST)
Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o0RKehTM001765 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <tls@ietf.org>; Wed, 27 Jan 2010 15:40:43 -0500
Received: from [10.3.234.90] (vpn-234-90.phx2.redhat.com [10.3.234.90]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o0RKehLU013220 for <tls@ietf.org>; Wed, 27 Jan 2010 15:40:43 -0500
Message-ID: <4B60A4CA.4060908@redhat.com>
Date: Wed, 27 Jan 2010 12:40:42 -0800
From: Robert Relyea <rrelyea@redhat.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0
MIME-Version: 1.0
To: tls@ietf.org
References: <808FD6E27AD4884E94820BC333B2DB775841199A56@NOK-EUMSG-01.mgdnok.nokia.com>
In-Reply-To: <808FD6E27AD4884E94820BC333B2DB775841199A56@NOK-EUMSG-01.mgdnok.nokia.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21
Subject: Re: [TLS] Confirming consensus about one draft-ietf-tls-renegotiation detail
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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, 27 Jan 2010 20:40:29 -0000

On 01/26/2010 12:49 AM, Pasi.Eronen@nokia.com wrote:
>    (1) I prefer publishing the specification as-is.=20
>  =20
I confirm I prefer publishing the spec as-is


From mrex@sap.com  Wed Jan 27 13:02:09 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1264A3A69F6 for <tls@core3.amsl.com>; Wed, 27 Jan 2010 13:02:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level: 
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 x+DdoE6svvhC for <tls@core3.amsl.com>; Wed, 27 Jan 2010 13:02:07 -0800 (PST)
Received: from smtpde01.sap-ag.de (smtpde01.sap-ag.de [155.56.68.171]) by core3.amsl.com (Postfix) with ESMTP id 7921B3A6828 for <tls@ietf.org>; Wed, 27 Jan 2010 13:02:06 -0800 (PST)
Received: from mail.sap.corp by smtpde01.sap-ag.de (26) with ESMTP id o0RL2JUL007673 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 27 Jan 2010 22:02:19 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001272102.o0RL2I9x007631@fs4113.wdf.sap.corp>
To: DPKemp@missi.ncsc.mil (Kemp David P.)
Date: Wed, 27 Jan 2010 22:02:18 +0100 (MET)
In-Reply-To: <201001271913.o0RJD2B7008022@stingray.missi.ncsc.mil> from "Kemp, David P." at Jan 27, 10 02:13:00 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal06
X-SAP: out
Cc: tls@ietf.org
Subject: Re: [TLS] Chatter on consensus
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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, 27 Jan 2010 21:02:09 -0000

Kemp, David P. wrote:
> 
> > From: Martin Rex [mailto:mrex@sap.com]
> >
> > These two MUST NOTs and the two unexplained NOT RECOMMENDEDs
> > to which I'm opposed are clear violations of rfc-2119 section 6:
> 
> This is admittedly a strong argument.  However, in my opinion, alignment
> with 2119 must be evaluated in light of:
> 
> > [Nikos]: I believe allowing the sending of both SCSV 
> > and extension might harm interoperability instead.

This is a clear misunderstanding on the issue.

Secure renegotiation requires verification of the contents
of the verify_data contained in the renegotiation_info.
So if the presence of an empty RI or SCSV in a ClientHello
during a handshake that is a renegotiation to the server
confuses a server about having to match the verify_data,
then you have much more serious issues to worry about.

> 
> > [Pettersen]: The SCSV is a temporary fallback, one that 
> > will not be needed when clients enter strict mode, since 
> > when that happens servers have to support the RI extension.

This is also a misunderstanding.  The requirement for the server
to recognize SCSV is PERMANENT, even in -03.  Clients may stop
sending SCSV when they stop sending extension-less ClientHellos
or SSLv2 CLIENT-HELLO, but the requirement for the server to
recognize SCSV is going to stick for just as long as the
support for TLS protocol_versions {0x03,0x00} to {0x03,0x03}


Personally, I believe it is not possible to create an argument
(that is not lame) to justify that violation of rfc-2119 section 6.

As previously mentioned, I have provided an explanation along the
lines of a semi-formal correctness proof that these signals do
not interfere with each other -- it only a bad choice of description
in the document. 


The only reason why this awkward exception was added to the document
is to make it less obvious that not making SCSV mandatory and getting
rid of empty RI on initial handshakes in ClientHello is a poor
engineering decision.


Just as it is often possible to simplify logic circuits to obtain the
results of complex boolean functions, the use of abstract architecture
and methodologies from functional correctness proofing can
help you simplify the results if you, for whatever reason, want
to combine two different implementations of the same feature
of an abstract architecture.

 
> 
> > From: Martin Rex [mailto:mrex@sap.com]
> >
> > It more complicated than that, because SCSV is additionally
> > necessary for sensible behaviour even with -03 when doing
> > old renegotiation on a connection where the initial
> > ClientHello did not use any TLS extensions.
> 
> Say whaaaaat?  When doing old renegotiation, neither SCSV nor RI are
> necessary because by assumption the client, the server, or both do not
> support secure renegotiation.


For me, that's a deja-vu.  I've found myself pretty unsuccessful convincing
people at the abstract architecture level.  I always have to resort to
scaring people with depictions of attack scenarios to get their attention.


In case that you are a TLS implementor, then we DEFINITELY need that
brand-new section 4.2 in the -03 document fixed before publication.

It's been discussed during IETF Last Call of the -01 document:
 Martin Rex    http://www.ietf.org/mail-archive/web/tls/current/msg05151.html
 Marsh Ray     http://www.ietf.org/mail-archive/web/tls/current/msg05155.html
 Pasi Eronen   http://www.ietf.org/mail-archive/web/tls/current/msg05186.html


We in the IETF are supposed to provide the highest possible
interoperability, configuration options for policy and resonable
default settings.

Quoting section 4 from the -03 ("current") version of the WG document:

   4. Backward Compatibility

   Existing implementations which do not support this extension are
   widely deployed and in general must interoperate with newer
   implementations which do support it.  This section describes
   considerations for backward compatible interoperation.


What exact settings the consumer of the technology uses is up to
the consumer.  If you are worried about "original" TLS, then
your browser ought to have regular HTTP and FTP securely disabled?
(my browser does not even provide such a setting...)

>
> If an old server requests a new client to renegotiate, and:
> 1) the client ignores the RECOMMENDED refusal to renegotiate, and
> 2) the old server INCORRECTLY fails to ignore extensions, and
> 3) the client sends an RI extension as RECOMMENDED,
> ... then there may be a handshake failure, which sounds to me like the
> desired outcome in such a broken circumstance.


If that was really the desired outcome, then our browsers would already
have old renegotiation securely removed for months.  Browsers probably
are the most regularly patched pieces of software we have.

No.  A client MUST send either RI or SCSV to an _old_ server on a
permitted old renegotiation so that this handshake can not be
proxied by an MitM into an initial handshake of a _patched_ server.

If the connection is not attack, that signal ends up being totally
ignored.  Which is exactly what the convoluted section 4.2 says.


> 
> If the client instead sends SCSV in order to dodge a handshake failure,
> which is NOT RECOMMENDED, the server is prevented from immediately
> detecting an attack.  Sending SCSV in this circumstance, far from being
> necessary or sensible, sounds to me like reckless behavior - pushing the
> envelope of legacy interoperability.

That NOT RECOMMENDED makes no sense here and violates rfc-2119 section 6.

The general interop recommendation in TLS is that you get the highest
chance of interoperability if a client supplies the same parameters
in a renegotiation ClientHello that it applied in the initial
ClientHello on a connection.  Same for session resume on a new
connection.

If the client didn't send TLS extensinons in the initial ClientHello,
it is a pretty bad advice to start sending TLS extensions in the
renegotiation ClientHello, and it is in conflict with the general
recommendation for what TLS client should do for maximum interop
(send the same parameters in ClientHello).

And if the client does not want to renegotiate, then there is no
ClientHello to be sent but instead either a warning-level
no_renegotiation alert if the clients wants to try continue
talking or a fatal handshake_failure if the client wants to
abort the connection.


> 
> As above, it might enhance interoperability long-term if new clients
> operating in secure renegotiation mode simply failed to renegotiate with
> broken servers.  If I were for changes to -03 (which I am NOT!), it
> would be to change NOT RECOMMENDED to MUST NOT send SCSV in insecure
> renegotiation.

That would not only violate rfc-2119, that would be completely
unreasonable.

I do _not_ mind if you do not care for backwards interop scenarios,
but I would recommend that you get out of the way of those who care
because they must provide it to their customers in a non-disruptive
fashion.  


-Martin

From mrex@sap.com  Wed Jan 27 13:15:59 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 42FC33A6902 for <tls@core3.amsl.com>; Wed, 27 Jan 2010 13:15:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level: 
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 scDSt2FUjetx for <tls@core3.amsl.com>; Wed, 27 Jan 2010 13:15:58 -0800 (PST)
Received: from smtpde01.sap-ag.de (smtpde01.sap-ag.de [155.56.68.171]) by core3.amsl.com (Postfix) with ESMTP id 487AF3A688C for <tls@ietf.org>; Wed, 27 Jan 2010 13:15:55 -0800 (PST)
Received: from mail.sap.corp by smtpde01.sap-ag.de (26) with ESMTP id o0RLG77l028178 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 27 Jan 2010 22:16:07 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001272116.o0RLG69w008492@fs4113.wdf.sap.corp>
To: marsh@extendedsubset.com (Marsh Ray)
Date: Wed, 27 Jan 2010 22:16:06 +0100 (MET)
In-Reply-To: <4B60A132.4030007@extendedsubset.com> from "Marsh Ray" at Jan 27, 10 02:25:22 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal07
X-SAP: out
Cc: tls@ietf.org
Subject: Re: [TLS] Confirming consensus about one
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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, 27 Jan 2010 21:15:59 -0000

Marsh Ray wrote:
> 
> Martin Rex wrote:
> > It is necessary to actually perform an old-renegotiaion successfully
> >   
> 
> It is impossible for an implementation of the SSLv3 or TLS specs to 
> perform an "old-renegotiaion successfully" unless your definition of 
> "success" accepts the possibility of a MitM remixing the plaintext.
> 
> Since SSL/TLS have promised to provide data integrity protection since 
> the beginning, everything which follows in your analysis is irrelevant.

You can call it "in an interoperable fashion", if you prefer that.
The IETF is all about interoperability, even though the security
area is known (and frowned upon) for providing the most feature-rich
set of policy options with the purpose of breaking^H^H^H^H^H^H^H^H limiting
or "constraining" interoperability.
 

It refers to interoperability where at least one of the TLS peers
implements one of the existing protocol SSLv3 or TLSv1.0->1.2 but
not the TLS extension RI update.

Providing the interoperability in the protocol is the task of
the IETF TLS WG, implementing interoperability with the installed
base correctly is the task for the TLS implementor,
and deciding and configuring whether interoperability with
old peers on renegotiation handshakes is necessary, is the task
of the consumer of the technology (configurable policy options).


-Martin

From mrex@sap.com  Wed Jan 27 13:39:45 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E86CF3A6931; Wed, 27 Jan 2010 13:39:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level: 
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 xdi8garQSi7t; Wed, 27 Jan 2010 13:39:45 -0800 (PST)
Received: from smtpde03.sap-ag.de (smtpde03.sap-ag.de [155.56.68.140]) by core3.amsl.com (Postfix) with ESMTP id DB5433A6882; Wed, 27 Jan 2010 13:39:44 -0800 (PST)
Received: from mail.sap.corp by smtpde03.sap-ag.de (26) with ESMTP id o0RLdwLi009737 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 27 Jan 2010 22:39:58 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001272139.o0RLdv3D010207@fs4113.wdf.sap.corp>
To: braden@ISI.EDU (Bob Braden)
Date: Wed, 27 Jan 2010 22:39:57 +0100 (MET)
In-Reply-To: <4B607D16.70104@isi.edu> from "Bob Braden" at Jan 27, 10 09:51:18 am
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal06
X-SAP: out
Cc: ietf@ietf.org, paul.hoffman@vpnc.org, tls@ietf.org
Subject: Re: [TLS] Metadiscussion on changes in draft-ietf-tls-renegotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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, 27 Jan 2010 21:39:46 -0000

Bob Braden wrote:
>
> Martin Rex wrote:
> >
> > what do you want to say with this?
> > That implementors should ignore at least half of the MUSTs and SHOULDs
> > in IETF documents, because they don't make any sense, create unnecessary
> > interop problems or are otherwise harmful -- and should not be in the
> > document in the first place?
> 
> All in all, that pretty much sums up the current (and long standing) 
> situation, IMHO.

In that case, it should be the task of the IETF process
(Document Shepard and responsible Area Director) to reduce the
amount of inappropriate uses of imperatives from rfc-2119.

I have never seen an IETF AD fight so passionately for the
addition of rfc-2119-violating and unreasonable imperatives into
a document such as Pasi is doing it now.


-Martin

From paul.hoffman@vpnc.org  Wed Jan 27 14:26:25 2010
Return-Path: <paul.hoffman@vpnc.org>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9FD3B3A69C3; Wed, 27 Jan 2010 14:26:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.066
X-Spam-Level: 
X-Spam-Status: No, score=-6.066 tagged_above=-999 required=5 tests=[AWL=-0.020, BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-4]
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 InWaHLonyM7p; Wed, 27 Jan 2010 14:26:25 -0800 (PST)
Received: from balder-227.proper.com (Balder-227.Proper.COM [192.245.12.227]) by core3.amsl.com (Postfix) with ESMTP id E2A803A6926; Wed, 27 Jan 2010 14:26:24 -0800 (PST)
Received: from [10.20.30.158] (75-101-30-90.dsl.dynamic.sonic.net [75.101.30.90]) (authenticated bits=0) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id o0RMFH1m010679 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 27 Jan 2010 15:15:19 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
Mime-Version: 1.0
Message-Id: <p0624083bc78667d47224@[10.20.30.158]>
In-Reply-To: <201001272139.o0RLdv3D010207@fs4113.wdf.sap.corp>
References: <201001272139.o0RLdv3D010207@fs4113.wdf.sap.corp>
Date: Wed, 27 Jan 2010 14:15:16 -0800
To: mrex@sap.com
From: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: text/plain; charset="us-ascii"
Cc: tls@ietf.org, ietf@ietf.org
Subject: Re: [TLS] Metadiscussion on changes in draft-ietf-tls-renegotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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, 27 Jan 2010 22:26:25 -0000

At 10:39 PM +0100 1/27/10, Martin Rex wrote:
>I have never seen an IETF AD fight so passionately for the
>addition of rfc-2119-violating and unreasonable imperatives into
>a document such as Pasi is doing it now.

The terms "fight" and "passionately" apply to others in the discussion (certainly to you, given the tone and humorously large number of posts), but not to Pasi.

--Paul Hoffman, Director
--VPN Consortium

From dkg@fifthhorseman.net  Wed Jan 27 14:35:51 2010
Return-Path: <dkg@fifthhorseman.net>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6C2B33A69D0 for <tls@core3.amsl.com>; Wed, 27 Jan 2010 14:35:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 G8ipdPbBRNgr for <tls@core3.amsl.com>; Wed, 27 Jan 2010 14:35:50 -0800 (PST)
Received: from relay01.pair.com (relay01.pair.com [209.68.5.15]) by core3.amsl.com (Postfix) with SMTP id 56F503A635F for <tls@ietf.org>; Wed, 27 Jan 2010 14:35:50 -0800 (PST)
Received: (qmail 91411 invoked from network); 27 Jan 2010 22:36:05 -0000
Received: from 216.254.70.154 (HELO ?192.168.23.207?) (216.254.70.154) by relay01.pair.com with SMTP; 27 Jan 2010 22:36:05 -0000
X-pair-Authenticated: 216.254.70.154
Message-ID: <4B60BFCE.8000605@fifthhorseman.net>
Date: Wed, 27 Jan 2010 17:35:58 -0500
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109)
MIME-Version: 1.0
To: tls@ietf.org
References: <201001272116.o0RLG69w008492@fs4113.wdf.sap.corp>
In-Reply-To: <201001272116.o0RLG69w008492@fs4113.wdf.sap.corp>
X-Enigmail-Version: 0.95.7
OpenPGP: id=D21739E9; url=http://fifthhorseman.net/dkg.gpg
Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigD07E4AC377FEFDC271795C67"
Subject: [TLS] interoperability and security guarantees [was: Re: Confirming consensus about one]
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: tls@ietf.org
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/listinfo/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, 27 Jan 2010 22:35:51 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigD07E4AC377FEFDC271795C67
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 01/27/2010 04:16 PM, Martin Rex wrote:
> Providing the interoperability in the protocol is the task of
> the IETF TLS WG, implementing interoperability with the installed
> base correctly is the task for the TLS implementor,
> and deciding and configuring whether interoperability with
> old peers on renegotiation handshakes is necessary, is the task
> of the consumer of the technology (configurable policy options).

Martin, you seem very concerned with interoperability, and i appreciate
your advocacy for that concern.  I also value interoperability, and want
to see a smoothly phased-in transition.  However, the TLS working group
is not *only* about interoperability; it is also about how to offer
well-vetted, well-understood, comprehensible communications security
properties to the users of TLS.

It's clear from this discussion that the communications security
properties that earlier (uh, make that "all existing") versions of TLS
offered were either simply wrong, or at least very widely misunderstood
by not only users of TLS but also many TLS implementers.

Having simple and clear rules for implementers to follow will produce
less-buggy software, which will improve our ability as a WG to fulfill
the promises of private and authenticated communication that have been
made from the beginning of the standard.

The part you're arguing about (MUST NOT show SCSV during non-empty RI,
as i understand it) may or may not overstep the bounds outlined in RFC
2119; but it does not affect the security guarantees, and it is
relatively easy to implement either way.   But we can't resolve the
clear outstanding security flaws in the protocol while we're still
quibbling about this sort of detail.  From what i can see, nearly
everyone else has moved on to building and testing interoperable
implementations, whether they agree with the MUST NOT or not.

That's not happening because they don't care about interoperability.
They care about interoperability *and* about offering functional
security capabilities to their users.

If i agree with you that the MUST NOT seems a bit excessive, can you
agree with me that it doesn't actually alter the security guarantees one
way or another?  Can we then move on, accept that the standard might be
a bit stricter than it needs to be, and implement it anyway?  I favor
publishing the -03 as it is because it looks like it resolves the
problem at hand, not because i think it has every word written in the
best possible way.

The bottom line is that *all* TLS (and SSL!) implementations need
patching.  The sooner we agree on what those patches should do, the
sooner we can start rolling them out, and the sooner we can get back to
the guarantees we thought we had with TLS in the first place.

Regards,

	--dkg


--------------enigD07E4AC377FEFDC271795C67
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIVAwUBS2C/08zS7ZTSFznpAQq/Ag//c3t4TuG8ztZgdPIZuTdsSVx36L1DMyx0
1oax9brP3VusDL4VLwWrGzborcMpV4XmQ/ilQ+vV8Lmld1Es1iZHOk1RG0P1Y7EK
4eRFsSiea7qfT7weUTLlE+bhe7YGKNejDLWBhFuNvmnEt5Sm3l5FnzD5yl/XpulF
/lGqjLRiw7aRaLaBOrKy1VG7Rizg5jFP3Y/MJSj7HOw3rmhPTQ95Nw+jXmwFO18j
1mpkvjqXKG6SAtV9hpDDZbNXZzSvmskevVRz9ehAAsh0nqjm5VHuHHx5Aa5qb0QE
Y7M/akFnECvZYGoRwVBnj20kaDHtSqxkr380mwxA9rgTer68rpxx9yyHQQ8v8l9R
9o2xqK+/a0kZeXjvhrh2mawPh3bF0Eky1BXkbmRVEooOXrGlQhIjYEaZmt2mDWJG
q7opMRHjiy0fWWgJeczM5qfkd4/xn0X/y/lGXTV5CctUn0igJ2zM5Km6/7EMc6et
BSJ/Qx7HB2HAkyHf3jbgaSy4IMkkkHKrxOFxwsJGln/znQyG5TduZwKJdEC0jthl
t87q1W2psKLF6+zKbUwbwc8sq1T2WuTZSsF856DKCOU1lNrwP1IP1ik/+YSb9NiH
l3p8RGT3IERkr9DaQNm8+8kyTbXUd76G304wDe3zXehYYcTzQHbfssB/bkE6RIku
NH49INqOC1w=
=LFIA
-----END PGP SIGNATURE-----

--------------enigD07E4AC377FEFDC271795C67--

From DPKemp@missi.ncsc.mil  Wed Jan 27 15:06:44 2010
Return-Path: <DPKemp@missi.ncsc.mil>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D245D3A69E9 for <tls@core3.amsl.com>; Wed, 27 Jan 2010 15:06:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 XRYoAlZO2Mml for <tls@core3.amsl.com>; Wed, 27 Jan 2010 15:06:44 -0800 (PST)
Received: from stingray.missi.ncsc.mil (stingray.missi.ncsc.mil [144.51.50.20]) by core3.amsl.com (Postfix) with ESMTP id CA3E23A635F for <tls@ietf.org>; Wed, 27 Jan 2010 15:06:43 -0800 (PST)
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Wed, 27 Jan 2010 18:06:58 -0500
Message-ID: <201001272306.o0RN6xOx027395@stingray.missi.ncsc.mil>
In-Reply-To: <201001272102.o0RL2I9x007631@fs4113.wdf.sap.corp>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] Chatter on consensus
thread-index: AcqflCHxeKran32GSySJURB2sZ3aswAALzow
References: <201001271913.o0RJD2B7008022@stingray.missi.ncsc.mil> from "Kemp, David P." at Jan 27, 10 02:13:00 pm <201001272102.o0RL2I9x007631@fs4113.wdf.sap.corp>
From: "Kemp, David P." <DPKemp@missi.ncsc.mil>
To: <tls@ietf.org>
X-OriginalArrivalTime: 27 Jan 2010 23:07:35.0828 (UTC) FILETIME=[8382AD40:01CA9FA5]
Subject: Re: [TLS] Chatter on consensus
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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, 27 Jan 2010 23:06:44 -0000

Michael D'Errico's solution:

> In my code, I added three boolean configuration
> options which all default to false:
>
>     AllowUnsafeInitialConnect
>     AllowRenegotiation
>     AllowUnsafeRenegotiation
>
> Hopefully this will make it obvious to people that
> choosing the Unsafe options are just that (though
> the first one will be needed for a while yet).

... sounds quite reasonable.

But how many bits would it take to fully control how renegotiation is
performed assuming that -03 permits everything (contains no MUSTs/MUST
NOTs), and how many of those bits would any customers really want to
have or understand how to use?

	default (all others false - renegotiation not allowed, sends
neither SCSV nor RI)

Secure_renegotiation flag is True:
	AllowRenegotiationUsingExtension (sends RI) (Section 3.5
required by elimination)
	AllowRenegotiationUsingBoth (sends SCSV and RI) (Section 3.5
MUST NOT)

Secure_renegotiation flag is False:
	AllowUnsafeRenegotiationUsingSSLTLS (sends neither SCSV nor RI)
(uses legacy specs)
	AllowUnsafeRenegotiationUsingExtension (sends RI) (Section 4.2
recommended by elimination)
	AllowUnsafeRenegotiationUsingCipherSuite (sends SCSV) (Section
4.2 NOT RECOMMENDED)
	AllowUnsafeRenegotiationUsingBoth (sends SCSV and RI) (Section
4.2 silent)


For secure renegotiation, if you eliminate the MUST NOT in section 3.5,
then you must add a configuration somewhere (either hard coded or as a
configuration option) that determines how the software will behave.

For insecure renegotiation, backwards interop scenarios can be supported
non-disruptively in 3 different ways in accordance with -03, but they
can also be supported non-disruptively in a 4th way, by following the
RFCs for TLSv1.0-v1.2 and ignoring -03.

As a customer, I don't really care about having 4 different ways of
doing insecure renegotiation; I'd be just as happy using software that
acts like a legacy application when it talks to other legacy
applications, and where that legacy behavior can be turned off with a
single switch when interop isn't needed.

Dave=20



-----Original Message-----
From: Martin Rex [mailto:mrex@sap.com]

I do _not_ mind if you do not care for backwards interop scenarios,
but I would recommend that you get out of the way of those who care
because they must provide it to their customers in a non-disruptive
fashion. =20


-Martin

From mike-list@pobox.com  Wed Jan 27 15:36:42 2010
Return-Path: <mike-list@pobox.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2E8023A69F6 for <tls@core3.amsl.com>; Wed, 27 Jan 2010 15:36:42 -0800 (PST)
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 ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XrUD+jOJnVUa for <tls@core3.amsl.com>; Wed, 27 Jan 2010 15:36:41 -0800 (PST)
Received: from sasl.smtp.pobox.com (a-pb-sasl-quonix.pobox.com [208.72.237.25]) by core3.amsl.com (Postfix) with ESMTP id 16D623A69E0 for <tls@ietf.org>; Wed, 27 Jan 2010 15:36:41 -0800 (PST)
Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 72B249400E for <tls@ietf.org>; Wed, 27 Jan 2010 18:36:56 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=message-id :date:from:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; s=sasl; bh=5wJUDzoH0n1e QMpQU+96ruS3kfg=; b=DMwFJ2gb12b6RZplJS11USNMvpTk/KRHn0QMpUbaliKb UVUrE8hkrp+Gut+oI7S17P9ITlZlQGtBKYWGuAoZFEYCBSuUgbYjTrWBvBcC1Ews k3HCtMmLlOHF9HcHi3AbVbfI26m3reU2ePWUmuUoZIanOZCW+bdu2xb0pjgmLNY=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=message-id:date :from:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sasl; b=JxR4e3 /q6x31pAHzzAhx0VDIMbKj3vreSaMj3WKBjPKaAr5jE0OJKRHzkWieluLFqv+h1i 0/MUQ0ZSmSYgWBxVdfEVCzxUjaHV02CsRadBrzSI33fWA8wzWEdDj622T1PJ69V0 CUhDbBq+hH5snoBIdcoDIy+NUyjWppTQ4c3VE=
Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 6EDAD9400D for <tls@ietf.org>; Wed, 27 Jan 2010 18:36:56 -0500 (EST)
Received: from administrators-macbook-pro.local (unknown [24.234.114.35]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 060849400C for <tls@ietf.org>; Wed, 27 Jan 2010 18:36:55 -0500 (EST)
Message-ID: <4B60CECD.50508@pobox.com>
Date: Wed, 27 Jan 2010 15:39:57 -0800
From: Michael D'Errico <mike-list@pobox.com>
User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812)
MIME-Version: 1.0
To: tls@ietf.org
References: <201001271913.o0RJD2B7008022@stingray.missi.ncsc.mil> from "Kemp,  David P." at Jan 27, 10 02:13:00 pm <201001272102.o0RL2I9x007631@fs4113.wdf.sap.corp> <201001272306.o0RN6xOx027395@stingray.missi.ncsc.mil>
In-Reply-To: <201001272306.o0RN6xOx027395@stingray.missi.ncsc.mil>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Pobox-Relay-ID: DB2B1948-0B9C-11DF-A69E-6AF7ED7EF46B-38729857!a-pb-sasl-quonix.pobox.com
Subject: Re: [TLS] Chatter on consensus
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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, 27 Jan 2010 23:36:42 -0000

Kemp, David P. wrote:
> Michael D'Errico's solution:
> 
>> In my code, I added three boolean configuration
>> options which all default to false:
>>
>>     AllowUnsafeInitialConnect
>>     AllowRenegotiation
>>     AllowUnsafeRenegotiation
>>
>> Hopefully this will make it obvious to people that
>> choosing the Unsafe options are just that (though
>> the first one will be needed for a while yet).
> 
> ... sounds quite reasonable.
> 
> But how many bits would it take to fully control how renegotiation is
> performed assuming that -03 permits everything (contains no MUSTs/MUST
> NOTs), and how many of those bits would any customers really want to
> have or understand how to use?

I have one other related client option:  UseExtensions.  If it is
false, then SCSV is sent instead of RI.  If a renegotiation happens,
an RI is sent even though UseExtensions is false (though no others
are sent).

These 4 bits seem to be enough to fully control renegotiation
without moving to a callback-style interface.

Mike



> 	default (all others false - renegotiation not allowed, sends
> neither SCSV nor RI)
> 
> Secure_renegotiation flag is True:
> 	AllowRenegotiationUsingExtension (sends RI) (Section 3.5
> required by elimination)
> 	AllowRenegotiationUsingBoth (sends SCSV and RI) (Section 3.5
> MUST NOT)
> 
> Secure_renegotiation flag is False:
> 	AllowUnsafeRenegotiationUsingSSLTLS (sends neither SCSV nor RI)
> (uses legacy specs)
> 	AllowUnsafeRenegotiationUsingExtension (sends RI) (Section 4.2
> recommended by elimination)
> 	AllowUnsafeRenegotiationUsingCipherSuite (sends SCSV) (Section
> 4.2 NOT RECOMMENDED)
> 	AllowUnsafeRenegotiationUsingBoth (sends SCSV and RI) (Section
> 4.2 silent)
> 
> 
> For secure renegotiation, if you eliminate the MUST NOT in section 3.5,
> then you must add a configuration somewhere (either hard coded or as a
> configuration option) that determines how the software will behave.
> 
> For insecure renegotiation, backwards interop scenarios can be supported
> non-disruptively in 3 different ways in accordance with -03, but they
> can also be supported non-disruptively in a 4th way, by following the
> RFCs for TLSv1.0-v1.2 and ignoring -03.
> 
> As a customer, I don't really care about having 4 different ways of
> doing insecure renegotiation; I'd be just as happy using software that
> acts like a legacy application when it talks to other legacy
> applications, and where that legacy behavior can be turned off with a
> single switch when interop isn't needed.
> 
> Dave 

From mrex@sap.com  Wed Jan 27 16:54:25 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0DCF13A6768 for <tls@core3.amsl.com>; Wed, 27 Jan 2010 16:54:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level: 
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 vj50pD+fV-Md for <tls@core3.amsl.com>; Wed, 27 Jan 2010 16:54:24 -0800 (PST)
Received: from smtpde01.sap-ag.de (smtpde01.sap-ag.de [155.56.68.171]) by core3.amsl.com (Postfix) with ESMTP id 009B13A6877 for <tls@ietf.org>; Wed, 27 Jan 2010 16:54:23 -0800 (PST)
Received: from mail.sap.corp by smtpde01.sap-ag.de (26) with ESMTP id o0S0sbRf004722 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 28 Jan 2010 01:54:37 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001280054.o0S0sbjo022469@fs4113.wdf.sap.corp>
To: DPKemp@missi.ncsc.mil (Kemp David P.)
Date: Thu, 28 Jan 2010 01:54:37 +0100 (MET)
In-Reply-To: <201001272306.o0RN6xOx027395@stingray.missi.ncsc.mil> from "Kemp, David P." at Jan 27, 10 06:06:58 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal07
X-SAP: out
Cc: tls@ietf.org
Subject: Re: [TLS] Chatter on consensus
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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: Thu, 28 Jan 2010 00:54:25 -0000

Kemp, David P. wrote:
> 
> For secure renegotiation, if you eliminate the MUST NOT in section 3.5,
> then you must add a configuration somewhere (either hard coded or as a
> configuration option) that determines how the software will behave.

I'm sorry, I completely lost you.

Removing that MUST NOT simplifies the architecture, the protocol
and the implementations.  Guaranteed.  You will find out when
you implement this.

Discussing this at the theory level is much more difficult,
and likely the reason why there is so much discussion and
disagreement.

I know that pretty well.  I completely foobared the implementation
guidance in the initial version (-00) of my draft, because I hadn't
sufficiently thought about implementing it.

It is possible to do it at the theoretical level, though.
That's what I did with the -03 document when I implemented
it exactly according to my own spec in OpenSSL-0.9.8l.


>
> For insecure renegotiation, backwards interop scenarios can be supported
> non-disruptively in 3 different ways in accordance with -03, but they
> can also be supported non-disruptively in a 4th way, by following the
> RFCs for TLSv1.0-v1.2 and ignoring -03.
 
I'm sorry, I can not follow.

Insecure renegotiation is what happens, if you do not abort renegotiation
in the consistent absence of secure renegotiation.

I do not understand what you are refering to with "in three different ways".

There are a number of constraints that need to be checked, and it
is up to the implementer whether he implements each check individually
with its own error handling and own error number, or wether he
combines certain conditionals, error handling and error codes.

The MUST NOTs and the NOT RECOMMENDEDs I'm objecting to are
completely invisible at both, the API level and in the policy configuration
that determines which kind of interoperability should be allowed.


-Martin

From brian@briansmith.org  Wed Jan 27 20:30:15 2010
Return-Path: <brian@briansmith.org>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 603AE28B56A for <tls@core3.amsl.com>; Wed, 27 Jan 2010 20:30:15 -0800 (PST)
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 ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id drArcdesZNXv for <tls@core3.amsl.com>; Wed, 27 Jan 2010 20:30:14 -0800 (PST)
Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by core3.amsl.com (Postfix) with ESMTP id C4A0E3A6991 for <tls@ietf.org>; Wed, 27 Jan 2010 20:30:13 -0800 (PST)
Received: from T60 (unknown [70.245.70.178]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 90E93509B4 for <tls@ietf.org>; Wed, 27 Jan 2010 23:30:23 -0500 (EST)
From: "Brian Smith" <brian@briansmith.org>
To: <tls@ietf.org>
Date: Wed, 27 Jan 2010 22:30:18 -0600
Message-ID: <000501ca9fd2$9db45470$d91cfd50$@org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 12.0
Content-Language: en-us
thread-index: Acqf0pg+dkubdL9jRrepksMr2EMc8A==
Subject: [TLS] Inconsistency/redundant length encoding of RenegotiationInfo structure
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Thu, 28 Jan 2010 04:30:15 -0000

An "empty" RegenotiationInfo structure is encoded like this:

    0xff 0x01 extension_type
    0x00 0x01 extension_data length
    0x00      redundant length byte

Why does RenegotiationInfo needs this redundant length byte? It seems to me
that it adds nothing except extra code in the implementation--in particular,
more cases that have to be tested.

An empty RFC5077 session ticket extension is encoded like this:

    0x00 0x23 extension_type
    0x00 0x00 extension_data length

An empty server name extension is similarly encoded:

    0x00 0x00 extension_type
    0x00 0x00 extension_data length

The extensions from RFC4366--Server Name Indication, Truncated HMAC, Client
Certificate URL, Trusted CA Key, and Certificate Status extensions are all
encoded like the RFC5077 extension--that is, without a redundant length
byte. I think the RenegotiationInfo extension should be encoded similarly,
because it lets implementations reuse more already-tested parsing code.

To be clear, I'm not talking about just the case where RenegotiationInfo is
empty. The redundant length byte seems to be a useless complication in all
cases.

Regards,
Brian


From mrex@sap.com  Wed Jan 27 20:51:50 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1F13F3A69BD for <tls@core3.amsl.com>; Wed, 27 Jan 2010 20:51:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level: 
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 s4O7omQz1daK for <tls@core3.amsl.com>; Wed, 27 Jan 2010 20:51:49 -0800 (PST)
Received: from smtpde03.sap-ag.de (smtpde03.sap-ag.de [155.56.68.140]) by core3.amsl.com (Postfix) with ESMTP id 0F14D3A6993 for <tls@ietf.org>; Wed, 27 Jan 2010 20:51:48 -0800 (PST)
Received: from mail.sap.corp by smtpde03.sap-ag.de (26) with ESMTP id o0S4q1pu020900 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 28 Jan 2010 05:52:01 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001280452.o0S4q1D3007190@fs4113.wdf.sap.corp>
To: brian@briansmith.org (Brian Smith)
Date: Thu, 28 Jan 2010 05:52:01 +0100 (MET)
In-Reply-To: <000501ca9fd2$9db45470$d91cfd50$@org> from "Brian Smith" at Jan 27, 10 10:30:18 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal07
X-SAP: out
Cc: tls@ietf.org
Subject: Re: [TLS] Inconsistency/redundant length encoding of RenegotiationInfo
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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: Thu, 28 Jan 2010 04:51:50 -0000

Deliberate choice based on an original lack-of-clarity and the
choice the majority of early adopters had taken or preferred.

Nelson Bolyard http://www.ietf.org/mail-archive/web/tls/current/msg04161.html
Eric Rescorla  http://www.ietf.org/mail-archive/web/tls/current/msg04176.html

-Martin

Brian Smith wrote:
> 
> An "empty" RegenotiationInfo structure is encoded like this:
> 
>     0xff 0x01 extension_type
>     0x00 0x01 extension_data length
>     0x00      redundant length byte
> 
> Why does RenegotiationInfo needs this redundant length byte? It seems to me
> that it adds nothing except extra code in the implementation--in particular,
> more cases that have to be tested.
> 
> An empty RFC5077 session ticket extension is encoded like this:
> 
>     0x00 0x23 extension_type
>     0x00 0x00 extension_data length
> 
> An empty server name extension is similarly encoded:
> 
>     0x00 0x00 extension_type
>     0x00 0x00 extension_data length
> 
> The extensions from RFC4366--Server Name Indication, Truncated HMAC, Client
> Certificate URL, Trusted CA Key, and Certificate Status extensions are all
> encoded like the RFC5077 extension--that is, without a redundant length
> byte. I think the RenegotiationInfo extension should be encoded similarly,
> because it lets implementations reuse more already-tested parsing code.
> 
> To be clear, I'm not talking about just the case where RenegotiationInfo is
> empty. The redundant length byte seems to be a useless complication in all
> cases.
> 
> Regards,
> Brian
> 
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
> 


From ynir@checkpoint.com  Wed Jan 27 21:39:58 2010
Return-Path: <ynir@checkpoint.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D3F2B3A6881 for <tls@core3.amsl.com>; Wed, 27 Jan 2010 21:39:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.413
X-Spam-Level: 
X-Spam-Status: No, score=-2.413 tagged_above=-999 required=5 tests=[AWL=0.186,  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 OBwzP9JMZJy2 for <tls@core3.amsl.com>; Wed, 27 Jan 2010 21:39:57 -0800 (PST)
Received: from dlpdemo.checkpoint.com (dlpdemo.checkpoint.com [194.29.32.54]) by core3.amsl.com (Postfix) with ESMTP id 707233A682B for <tls@ietf.org>; Wed, 27 Jan 2010 21:39:57 -0800 (PST)
X-CheckPoint: {4B61207E-10010-14201DC2-FFFF}
Received: by dlpdemo.checkpoint.com (Postfix, from userid 105) id 49BE029C00A; Thu, 28 Jan 2010 07:40:13 +0200 (IST)
Received: from michael.checkpoint.com (michael.checkpoint.com [194.29.32.68]) by dlpdemo.checkpoint.com (Postfix) with ESMTP id 1052129C002; Thu, 28 Jan 2010 07:40:13 +0200 (IST)
X-CheckPoint: {4B61207E-10000-14201DC2-FFFF}
Received: from il-ex01.ad.checkpoint.com (il-ex01.checkpoint.com [194.29.32.26]) by michael.checkpoint.com (8.12.10+Sun/8.12.10) with ESMTP id o0S5eCT7007478; Thu, 28 Jan 2010 07:40:12 +0200 (IST)
X-CheckPoint: {4B612324-0-1B201DC2-5FFFF}
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Thu, 28 Jan 2010 07:40:33 +0200
From: Yoav Nir <ynir@checkpoint.com>
To: "mrex@sap.com" <mrex@sap.com>
Date: Thu, 28 Jan 2010 07:40:03 +0200
Thread-Topic: [TLS] Confirming consensus about one
Thread-Index: Acqf3GjD/D9OF6HJTC+ow7Ed/lt/vA==
Message-ID: <02F6A83D-6FE0-4095-8523-A91C95BE1481@checkpoint.com>
References: <201001271537.o0RFb31s016880@fs4113.wdf.sap.corp>
In-Reply-To: <201001271537.o0RFb31s016880@fs4113.wdf.sap.corp>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "David P. Kemp" <DPKemp@missi.ncsc.mil>, "tls@ietf.org Group" <tls@ietf.org>
Subject: Re: [TLS] Confirming consensus about one
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Thu, 28 Jan 2010 05:39:59 -0000

On Jan 27, 2010, at 5:37 PM, Martin Rex wrote:

>>=20
>>> And although I hesitate to bring up the following since they are
>>> non-essential,
>>> 5. SCSV is a hack meant to appease ancient and/or non-conforming
>>> servers.  That is one ugly baby, and I wish it would just disappear.
>>> There is absolutely no reason for it ever to be sent in a ClientHello
>>> containing a non-empty RI (it is a no-op that just wastes N bits of
>>> bandwidth to convey 0 bits of additional information, and no legacy
>>> implementation would ever send or interpret it), so I see absolutely no
>>> downside to prohibiting it during renegotiation.
>>=20
>> To me RI looks like a hack just as much as SCSV.  Hopefully in the
>> future, the way to indicate support for secure renegotiation would
>> be in the client version of the ClientHello.
>=20
> Unfortunately, that "go away" is impossible for any implementation
> of TLS that offers interop with protocol versions 0x03,0x00 -> 0x03,0x03
> (aka SSLv3 and TLS protocol version v1.0->v1.2).
>=20
> And although clients could stop sending SCSV when they stop using
> extension-less ClientHellos, the server-side support for SCSV is going
> to stick forever.
>=20
> Likewise, the TLS extension RI band-aid is going to be with us
> for at least 20 years.  It's not possible to make this design
> an integral part of a future TLS version that obviates sending
> this data over the wire.  Except maybe defining an alternative
> and negotiating that as well.  The latter could obviate transfering
> the data, but would require implementations to implement essentialls
> two solutions for the same problem, which, unless someone finds=20
> a problem with TLS extension RI (which I doubt), would be
> a complete waste of resources.
>=20
> I remember that Stephen Farrell suggested to standardize both
> (TLS extension RI without SCSV plus a well-discussed successor
> of draft-mrex-tls-secure-renegotiation), but *I* don't like
> two solution where one is sufficient.

There has been discussion about whether RI should actually hold the old ver=
ify_data, or whether that should be incorporated into the signature without=
 explicitly sending it. We've settled on the former partly because it is ea=
sier to implement in existing code, and easier to explain to certify.

A new version of TLS (4.0?  It's time to stop explaining that three-point-o=
ne-means-one-point-zero) would have to be certified again anyway, so it mig=
ht as well change the way Finished is calculated. Then you don't need eithe=
r SCSV or RI.

Of course as long as you support older versions of TLS, you still need them=
, but fully 4.0 handshakes will need neither SCSV nor RI.


From Pasi.Eronen@nokia.com  Thu Jan 28 02:22:48 2010
Return-Path: <Pasi.Eronen@nokia.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 24F123A690F; Thu, 28 Jan 2010 02:22:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.186
X-Spam-Level: 
X-Spam-Status: No, score=-6.186 tagged_above=-999 required=5 tests=[AWL=0.413,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 1dyljInQuXT0; Thu, 28 Jan 2010 02:22:47 -0800 (PST)
Received: from mgw-mx06.nokia.com (smtp.nokia.com [192.100.122.233]) by core3.amsl.com (Postfix) with ESMTP id 203DB3A68F5; Thu, 28 Jan 2010 02:22:46 -0800 (PST)
Received: from vaebh105.NOE.Nokia.com (vaebh105.europe.nokia.com [10.160.244.31]) by mgw-mx06.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o0SAMtSi003732; Thu, 28 Jan 2010 12:23:01 +0200
Received: from vaebh102.NOE.Nokia.com ([10.160.244.23]) by vaebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 28 Jan 2010 12:23:01 +0200
Received: from smtp.mgd.nokia.com ([65.54.30.6]) by vaebh102.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 28 Jan 2010 12:22:55 +0200
Received: from NOK-EUMSG-01.mgdnok.nokia.com ([65.54.30.86]) by nok-am1mhub-02.mgdnok.nokia.com ([65.54.30.6]) with mapi; Thu, 28 Jan 2010 11:22:55 +0100
From: <Pasi.Eronen@nokia.com>
To: <mrex@sap.com>
Date: Thu, 28 Jan 2010 11:22:54 +0100
Thread-Topic: Metadiscussion on changes in draft-ietf-tls-renegotiation
Thread-Index: AcqfmV2X9ckL8MtnSJuSPn9W3i/g8wAaiBVA
Message-ID: <808FD6E27AD4884E94820BC333B2DB7758411DE69C@NOK-EUMSG-01.mgdnok.nokia.com>
References: <4B607D16.70104@isi.edu> from "Bob Braden" at Jan 27,	10 09:51:18 am <201001272139.o0RLdv3D010207@fs4113.wdf.sap.corp>
In-Reply-To: <201001272139.o0RLdv3D010207@fs4113.wdf.sap.corp>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginalArrivalTime: 28 Jan 2010 10:22:55.0947 (UTC) FILETIME=[DB6229B0:01CAA003]
X-Nokia-AV: Clean
Cc: ietf@ietf.org, tls@ietf.org
Subject: Re: [TLS] Metadiscussion on changes in draft-ietf-tls-renegotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Thu, 28 Jan 2010 10:22:48 -0000

Martin Rex wrote:

> I have never seen an IETF AD fight so passionately for the
> addition of rfc-2119-violating and unreasonable imperatives into
> a document such as Pasi is doing it now.

"Now"? "Addition"?=20

I would like to remind you that version -01 of the document also=20
very clearly prohibited sending the SCSV in secure renegotiation
ClientHello, and also used upper-case RFC 2119 keywords in that text.

Best regards,
Pasi

From mrex@sap.com  Thu Jan 28 06:37:11 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 76A253A67AC; Thu, 28 Jan 2010 06:37:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level: 
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 JzVEo1xaedOE; Thu, 28 Jan 2010 06:37:10 -0800 (PST)
Received: from smtpde01.sap-ag.de (smtpde01.sap-ag.de [155.56.68.171]) by core3.amsl.com (Postfix) with ESMTP id D38D63A68E3; Thu, 28 Jan 2010 06:37:09 -0800 (PST)
Received: from mail.sap.corp by smtpde01.sap-ag.de (26) with ESMTP id o0SEbPfj003515 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 28 Jan 2010 15:37:26 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001281437.o0SEbOG9014103@fs4113.wdf.sap.corp>
To: Pasi.Eronen@nokia.com
Date: Thu, 28 Jan 2010 15:37:24 +0100 (MET)
In-Reply-To: <808FD6E27AD4884E94820BC333B2DB7758411DE69C@NOK-EUMSG-01.mgdnok.nokia.com> from "Pasi.Eronen@nokia.com" at Jan 28, 10 11:22:54 am
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal06
X-SAP: out
Cc: ietf@ietf.org, tls@ietf.org
Subject: Re: [TLS] Metadiscussion on changes in draft-ietf-tls-renegotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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: Thu, 28 Jan 2010 14:37:11 -0000

Pasi.Eronen@nokia.com wrote:
> 
> Martin Rex wrote:
> 
> > I have never seen an IETF AD fight so passionately for the
> > addition of rfc-2119-violating and unreasonable imperatives into
> > a document such as Pasi is doing it now.
> 
> "Now"? "Addition"? 
> 
> I would like to remind you that version -01 of the document also 
> very clearly prohibited sending the SCSV in secure renegotiation
> ClientHello, and also used upper-case RFC 2119 keywords in that text.


It could be that we are refering to different versions of -01,
the one on tools.ietf.org doesn't have a MUST NOT send, and in
particular, it does not have a MUST abort when received.

If you think that there an implied MUST NOT in there -- I can see
explicit MUSTs to the contrary in -01 and more so in -02!



What to send on renegotiations has been returned to the WG as a
discussion item, and that is also reflected by a pair of [TODO:]
items in the document.


-01 also has the following:

   5. Requirements for Sending and Receiving


   TLS clients which support this draft MUST generate either the
   "renegotiation_info" extension or the TLS_RENEGO_PROTECTION_REQUEST
   cipher suite with every ClientHello.

which is _NOT_ limited to *initial* ClientHellos.


and -02 goes even further:

   5. Requirements for Sending and Receiving


   TLS clients which support this specification MUST generate either the
   "renegotiation_info" extension or the TLS_RENEGO_PROTECTION_REQUEST
   SCSV with every ClientHello, including ClientHellos where session
   resumption is being offered.

   TLS servers MUST support both the "renegotiation_info" extension and
   the TLS_RENEGO_PROTECTION_REQUEST SCSV.  TLS servers which support
   this specification MUST generate the "renegotiation_info" extension
   in the ServerHello in response to any client which offers either
   "renegotiation_info" or TLS_RENEGO_PROTECTION_REQUEST in the
   ClientHello. 






These are all of the MUST & MUST NOTs in -01 on tools.ietf.org:


   Upon receipt of the "renegotiation_info" extension, both client and
   server implementations which support the extension MUST verify that
   it contains the correct contents as specified above.  If the contents
   are incorrect, then it MUST generate a fatal "handshake_failure"
   alert and terminate the connection.

   Servers MUST treat receipt of TLS_RENEGO_PROTECTION_REQUEST exactly
   as if the client had sent an empty "renegotiation_info" extension and
   respond with their own "renegotiation_info" extension.


                                                 TLS implementations
   MUST continue to comply with 7.4.1.4 for all other extensions.
   Servers MUST NOT select this cipher suite in any handshake, as it
   does not correspond to any valid set of algorithms.


                          Clients which do support renegotiation MUST
   implement Section 3 as well.


                 TLS servers which support this draft MUST generate the
   "renegotiation_info" extension in the ServerHello in response to any
   client which offers either "renegotiation_info" or
   TLS_RENEGO_PROTECTION_REQUEST in the ClientHello.

   Existing implementations which do not support this extension are
   widely deployed and in general must interoperate with newer
   implementations which do support it. 


   If clients wish to ensure that such attacks are impossible, they MUST
   terminate the connection immediately upon failure to receive the
   extension without completing the handshake. 

   If servers wish to ensure that such attacks are impossible they MUST
   NOT allow clients who do not offer the "renegotiation_info" extension
   to renegotiate with them 


   By default, TLS implementations conforming to this document MUST
   verify that once the peer has been identified and authenticated
   within the TLS handshake, the identity does not change on subsequent
   renegotiations.  For certificate based cipher suites, this means
   bitwise equality of the end-entity certificate.  If the other end
   attempts to authenticate with a different identity, the renegotiation
   MUST fail.  If the server_name extension is used, it MUST NOT change
   when doing renegotiation.



-Martin

From DPKemp@missi.ncsc.mil  Thu Jan 28 06:55:02 2010
Return-Path: <DPKemp@missi.ncsc.mil>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8EE613A690F for <tls@core3.amsl.com>; Thu, 28 Jan 2010 06:55:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 Atx0P7jMXyCY for <tls@core3.amsl.com>; Thu, 28 Jan 2010 06:55:01 -0800 (PST)
Received: from stingray.missi.ncsc.mil (stingray.missi.ncsc.mil [144.51.50.20]) by core3.amsl.com (Postfix) with ESMTP id A93813A67BD for <tls@ietf.org>; Thu, 28 Jan 2010 06:55:01 -0800 (PST)
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Thu, 28 Jan 2010 09:55:16 -0500
Message-ID: <201001281455.o0SEtHXW017914@stingray.missi.ncsc.mil>
In-Reply-To: <201001280054.o0S0sbjo022469@fs4113.wdf.sap.corp>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] Chatter on consensus
thread-index: AcqftKnZjbC14gQhTMqYGqSPqkoyQgAcaNDA
References: <201001272306.o0RN6xOx027395@stingray.missi.ncsc.mil> from "Kemp, David P." at Jan 27, 10 06:06:58 pm <201001280054.o0S0sbjo022469@fs4113.wdf.sap.corp>
From: "Kemp, David P." <DPKemp@missi.ncsc.mil>
To: <mrex@sap.com>
X-OriginalArrivalTime: 28 Jan 2010 14:55:54.0531 (UTC) FILETIME=[FDC7BF30:01CAA029]
Cc: tls@ietf.org
Subject: Re: [TLS] Chatter on consensus
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Thu, 28 Jan 2010 14:55:02 -0000

-----Original Message-----
From: Martin Rex [mailto:mrex@sap.com]

The MUST NOTs and the NOT RECOMMENDEDs I'm objecting to are
completely invisible at both, the API level and in the policy
configuration
that determines which kind of interoperability should be allowed.

-----End-----


But they must not be invisible to you, as a code author, since you are
objecting to the lack of freedom to do things in different ways that are
visible outside the implementation.

And they are not invisible to someone examining bits on the wire,
because if they wished to color flows, they could distinguish
implementation A from implementations B, C, and D based on whether Hello
messages contained SCSV, RI, both, or neither.  There would be fewer
colors if -03 said SCSV MUST NOT be sent under any circumstances, or if
Michael's UseExtensions option was set.

It's been an interesting discussion, but I'm in most people's kill files
by now so I'll shut up.

Regards,
Dave

From mrex@sap.com  Thu Jan 28 06:56:39 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1C8EC3A693F for <tls@core3.amsl.com>; Thu, 28 Jan 2010 06:56:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level: 
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 FLnQngB56BAw for <tls@core3.amsl.com>; Thu, 28 Jan 2010 06:56:38 -0800 (PST)
Received: from smtpde01.sap-ag.de (smtpde01.sap-ag.de [155.56.68.171]) by core3.amsl.com (Postfix) with ESMTP id 12B763A67BD for <tls@ietf.org>; Thu, 28 Jan 2010 06:56:37 -0800 (PST)
Received: from mail.sap.corp by smtpde01.sap-ag.de (26) with ESMTP id o0SEumIs027693 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 28 Jan 2010 15:56:48 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001281456.o0SEulXn015572@fs4113.wdf.sap.corp>
To: ynir@checkpoint.com (Yoav Nir)
Date: Thu, 28 Jan 2010 15:56:47 +0100 (MET)
In-Reply-To: <02F6A83D-6FE0-4095-8523-A91C95BE1481@checkpoint.com> from "Yoav Nir" at Jan 28, 10 07:40:03 am
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal08
X-SAP: out
Cc: DPKemp@missi.ncsc.mil, tls@ietf.org
Subject: Re: [TLS] Confirming consensus about one
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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: Thu, 28 Jan 2010 14:56:39 -0000

Yoav Nir wrote:
> 
> A new version of TLS (4.0?  It's time to stop explaining that
> three-point-one-means-one-point-zero) would have to be certified
> again anyway, so it might as well change the way Finished is
> calculated. Then you don't need either SCSV or RI.
> 
> Of course as long as you support older versions of TLS, you still
> need them, but fully 4.0 handshakes will need neither SCSV nor RI.

I could imagine that a part of the installed base might have an
interop problems with protcol_versions where the major_number
is != 0x03.  (I believe ours does). 

In order to allow servers to perform some plausibility tests on
the initial incoming data of a connection to recognize ClientHellos
and distinguish them from e.g. HTTP GET/PUT/... the protocol_version
at the record layer should IMHO use the lowest(!) protocol_version
acceptable to the client.

I'm also wondering about one thing I encountered not so long ago
during interop tests:  when a Server aborts a handshake while
processing the initial ClientHello on a connection, there seems
to be an uncertainty what protocol_version that alert will
use at the record layer and from which set of available alerts
it will be chosen.

If possible, the protocol_version for that alert (and therefore
the set of avaiable alert numbers) should --if possible-- be chosen
to match a protocol version _not_ exceeding the highest protocol_version
proposed by the client in client_version.  There may be TLS server
implementations that do not account for this yet.


-Martin

From mrex@sap.com  Thu Jan 28 07:07:40 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DB97F3A6A1E for <tls@core3.amsl.com>; Thu, 28 Jan 2010 07:07:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level: 
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 0zpQSvkEPtxN for <tls@core3.amsl.com>; Thu, 28 Jan 2010 07:07:40 -0800 (PST)
Received: from smtpde01.sap-ag.de (smtpde01.sap-ag.de [155.56.68.171]) by core3.amsl.com (Postfix) with ESMTP id A11D13A695C for <tls@ietf.org>; Thu, 28 Jan 2010 07:07:39 -0800 (PST)
Received: from mail.sap.corp by smtpde01.sap-ag.de (26) with ESMTP id o0SF7jQN000487 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 28 Jan 2010 16:07:45 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001281507.o0SF7iKb016361@fs4113.wdf.sap.corp>
To: mrex@sap.com
Date: Thu, 28 Jan 2010 16:07:44 +0100 (MET)
In-Reply-To: <201001281456.o0SEulXn015572@fs4113.wdf.sap.corp> from "Martin Rex" at Jan 28, 10 03:56:47 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal07
X-SAP: out
Cc: DPKemp@missi.ncsc.mil, tls@ietf.org
Subject: Re: [TLS] Confirming consensus about one
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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: Thu, 28 Jan 2010 15:07:41 -0000

Martin Rex wrote:
> 
> Yoav Nir wrote:
> > 
> > A new version of TLS (4.0?  It's time to stop explaining that
> > three-point-one-means-one-point-zero) would have to be certified
> > again anyway, so it might as well change the way Finished is
> > calculated. Then you don't need either SCSV or RI.
> > 
> > Of course as long as you support older versions of TLS, you still
> > need them, but fully 4.0 handshakes will need neither SCSV nor RI.
> 
> I could imagine that a part of the installed base might have an
> interop problems with protcol_versions where the major_number
> is != 0x03.  (I believe ours does). 
> 
> In order to allow servers to perform some plausibility tests on
> the initial incoming data of a connection to recognize ClientHellos
> and distinguish them from e.g. HTTP GET/PUT/... the protocol_version
> at the record layer should IMHO use the lowest(!) protocol_version
> acceptable to the client.
> 
> I'm also wondering about one thing I encountered not so long ago
> during interop tests:  when a Server aborts a handshake while
> processing the initial ClientHello on a connection, there seems
> to be an uncertainty what protocol_version that alert will
> use at the record layer and from which set of available alerts
> it will be chosen.
> 
> If possible, the protocol_version for that alert (and therefore
> the set of avaiable alert numbers) should --if possible-- be chosen
> to match a protocol version _not_ exceeding the highest protocol_version
> proposed by the client in client_version.  There may be TLS server
> implementations that do not account for this yet.

Ooops, bad memories.

The confusion I ran into was different and may apply only to the
specific case that the highest protocol_version offered by the
client in ClientHello.client_version is lower than the lowest
protocol_version offered/allowed by the Server  (so the server
should send back the alert with a protocol version lower than
it would accept for communication).

The problem gets more complicated for clients that send (for whatever
reason) a client version  {0x03,0x00} (aka SSLv3).  SSLv3 does not
define an alert protocol_version(70).  But sending this alert value
anyway (_while_ using the 0x03,0x00 protocol version on the record
layer for the alert packet!) is maybe still a good idea.

-Martin

From n.mavrogiannopoulos@gmail.com  Thu Jan 28 08:18:32 2010
Return-Path: <n.mavrogiannopoulos@gmail.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5B9763A6960 for <tls@core3.amsl.com>; Thu, 28 Jan 2010 08:18:32 -0800 (PST)
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 ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UUElocHI7eiH for <tls@core3.amsl.com>; Thu, 28 Jan 2010 08:18:31 -0800 (PST)
Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by core3.amsl.com (Postfix) with ESMTP id 3F5D93A6837 for <tls@ietf.org>; Thu, 28 Jan 2010 08:18:31 -0800 (PST)
Received: by ey-out-2122.google.com with SMTP id 22so235591eye.51 for <tls@ietf.org>; Thu, 28 Jan 2010 08:18:45 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:openpgp:content-type:content-transfer-encoding; bh=ElcITcOYVJBhZLrYuE/3h7TNbR3btymr/thlAICcS5w=; b=FEhmT5Uo0FUl+mzk2I9NkoFZEh77vM3wwhqaak9lYhk/66hrtALtHvCJkXcnqCWMwd 9l3tSTIYgt/ziQMfXrgBLvpCSNCjEeYIDBVwjfsxWVuj6y+2UFUzDffgfQnQLZ86Llhh C+nItVzA3eprh1c6twQMhos7wqq50xNuQD634=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:openpgp:content-type :content-transfer-encoding; b=ge0vtiFJCtD9Y8ttLEhJScFpaP66t2IVm52HsAVt3YyMfc2cBWPEcJYOstMX7uchbC yodC9L2YrKs+kHdjwQVpfByWIvj6Smw36IVgHSdvEvI6mmGMgpft9XKsmbighfGWI44+ 6St03kgm910yvxNw7ZCo5otuuzcaNviprcmbQ=
Received: by 10.213.100.7 with SMTP id w7mr6985497ebn.23.1264695525203; Thu, 28 Jan 2010 08:18:45 -0800 (PST)
Received: from ?10.100.2.14? (78-23-67-218.access.telenet.be [78.23.67.218]) by mx.google.com with ESMTPS id 15sm729385ewy.8.2010.01.28.08.18.42 (version=SSLv3 cipher=RC4-MD5); Thu, 28 Jan 2010 08:18:43 -0800 (PST)
Sender: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
Message-ID: <4B61B8E1.9060801@gnutls.org>
Date: Thu, 28 Jan 2010 17:18:41 +0100
From: Nikos Mavrogiannopoulos <nmav@gnutls.org>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: mrex@sap.com
References: <201001272102.o0RL2I9x007631@fs4113.wdf.sap.corp>
In-Reply-To: <201001272102.o0RL2I9x007631@fs4113.wdf.sap.corp>
X-Enigmail-Version: 0.95.7
OpenPGP: id=96865171
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: "Kemp David P." <DPKemp@missi.ncsc.mil>, tls@ietf.org
Subject: Re: [TLS] Chatter on consensus
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Thu, 28 Jan 2010 16:18:32 -0000

Martin Rex wrote:

>>> [Nikos]: I believe allowing the sending of both SCSV 
>>> and extension might harm interoperability instead.
> 
> This is a clear misunderstanding on the issue.
> 
> Secure renegotiation requires verification of the contents
> of the verify_data contained in the renegotiation_info.
> So if the presence of an empty RI or SCSV in a ClientHello
> during a handshake that is a renegotiation to the server
> confuses a server about having to match the verify_data,
> then you have much more serious issues to worry about.

You are considering only the case where the extension is non empty. On
initial connection the extension is empty, thus checking for extension
or the SCSV has equivalent results.

regards,
Nikos



From Pasi.Eronen@nokia.com  Thu Jan 28 09:07:30 2010
Return-Path: <Pasi.Eronen@nokia.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8C4773A6AA5 for <tls@core3.amsl.com>; Thu, 28 Jan 2010 09:07:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.3
X-Spam-Level: 
X-Spam-Status: No, score=-6.3 tagged_above=-999 required=5 tests=[AWL=0.299, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 tkvv+78JzEDv for <tls@core3.amsl.com>; Thu, 28 Jan 2010 09:07:29 -0800 (PST)
Received: from mgw-mx06.nokia.com (smtp.nokia.com [192.100.122.233]) by core3.amsl.com (Postfix) with ESMTP id 67B343A6AA3 for <tls@ietf.org>; Thu, 28 Jan 2010 09:07:29 -0800 (PST)
Received: from vaebh105.NOE.Nokia.com (vaebh105.europe.nokia.com [10.160.244.31]) by mgw-mx06.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o0SH7Q53017669; Thu, 28 Jan 2010 19:07:45 +0200
Received: from esebh102.NOE.Nokia.com ([172.21.138.183]) by vaebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 28 Jan 2010 19:07:27 +0200
Received: from smtp.mgd.nokia.com ([65.54.30.6]) by esebh102.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 28 Jan 2010 19:07:27 +0200
Received: from NOK-EUMSG-01.mgdnok.nokia.com ([65.54.30.86]) by nok-am1mhub-02.mgdnok.nokia.com ([65.54.30.6]) with mapi; Thu, 28 Jan 2010 18:07:27 +0100
From: <Pasi.Eronen@nokia.com>
To: <mrex@sap.com>
Date: Thu, 28 Jan 2010 18:07:26 +0100
Thread-Topic: Metadiscussion on changes in draft-ietf-tls-renegotiation
Thread-Index: AcqgJ3oOucVUVi77QP28Y+4ZYmc8fgADvY+w
Message-ID: <808FD6E27AD4884E94820BC333B2DB7758412272FD@NOK-EUMSG-01.mgdnok.nokia.com>
References: <808FD6E27AD4884E94820BC333B2DB7758411DE69C@NOK-EUMSG-01.mgdnok.nokia.com> from "Pasi.Eronen@nokia.com" at Jan 28, 10 11:22:54 am <201001281437.o0SEbOG9014103@fs4113.wdf.sap.corp>
In-Reply-To: <201001281437.o0SEbOG9014103@fs4113.wdf.sap.corp>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginalArrivalTime: 28 Jan 2010 17:07:27.0985 (UTC) FILETIME=[5EA53E10:01CAA03C]
X-Nokia-AV: Clean
Cc: tls@ietf.org
Subject: Re: [TLS] Metadiscussion on changes in draft-ietf-tls-renegotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Thu, 28 Jan 2010 17:07:30 -0000

Martin Rex wrote:

> > "Now"? "Addition"?
> >
> > I would like to remind you that version -01 of the document also
> > very clearly prohibited sending the SCSV in secure renegotiation
> > ClientHello, and also used upper-case RFC 2119 keywords in that text.
>=20
> It could be that we are refering to different versions of -01, the
> one on tools.ietf.org doesn't have a MUST NOT send, and in
> particular, it does not have a MUST abort when received.
>
> If you think that there an implied MUST NOT in there -- I can see
> explicit MUSTs to the contrary in -01 and more so in -02!

There are different styles of writing specification text; some people
prefer to use upper-case RFC 2119 keywords as much as possible; others
prefer normal English.

The TLS main specification (RFC 5246) is clearly in the latter camp,
and mostly avoids using RFC 2119 key words. For example, when
describing the processing of received ClientHello, the text just says:

   "The server will select a cipher suite or, if no acceptable choices
   are presented, return a handshake failure alert and close the
   connection."

For an implementor, this means the same thing as "MUST select a cipher
suite from the list sent by the client or, [...] , MUST return a handshake
failure...". The lack of RFC 2119 keywords doesn't mean that a
compliant server could, e.g., use a cipher suite that was not proposed
by the client, or do something else completely.

The relevant text from -01 version was quoted in my email on January
26, and I'm not going to repeat it here.  The text does not in any way
contradict the "MUST generate either [..]  or [..] in every
ClientHello" in Section 5; text elsewhere in the document explains
when the different cases apply. For example, that sentence taken alone
would allow sending just the SCSV (without RI) in secure renegotiation;=20
something that's clearly forbidden elsewhere in the document.

Best regards,
Pasi

From mrex@sap.com  Thu Jan 28 10:50:16 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 587F03A695B for <tls@core3.amsl.com>; Thu, 28 Jan 2010 10:50:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level: 
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 vKahqSvyjHRH for <tls@core3.amsl.com>; Thu, 28 Jan 2010 10:50:15 -0800 (PST)
Received: from smtpde03.sap-ag.de (smtpde03.sap-ag.de [155.56.68.140]) by core3.amsl.com (Postfix) with ESMTP id 147503A67F2 for <tls@ietf.org>; Thu, 28 Jan 2010 10:50:14 -0800 (PST)
Received: from mail.sap.corp by smtpde03.sap-ag.de (26) with ESMTP id o0SIoWVB026056 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 28 Jan 2010 19:50:32 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001281850.o0SIoVl4000492@fs4113.wdf.sap.corp>
To: Pasi.Eronen@nokia.com
Date: Thu, 28 Jan 2010 19:50:31 +0100 (MET)
In-Reply-To: <808FD6E27AD4884E94820BC333B2DB7758412272FD@NOK-EUMSG-01.mgdnok.nokia.com> from "Pasi.Eronen@nokia.com" at Jan 28, 10 06:07:26 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal06
X-SAP: out
Cc: tls@ietf.org
Subject: Re: [TLS] Metadiscussion on changes in draft-ietf-tls-renegotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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: Thu, 28 Jan 2010 18:50:16 -0000

Pasi.Eronen@nokia.com wrote:
> 
> Martin Rex wrote:
> 
> > > "Now"? "Addition"?
> > >
> > > I would like to remind you that version -01 of the document also
> > > very clearly prohibited sending the SCSV in secure renegotiation
> > > ClientHello, and also used upper-case RFC 2119 keywords in that text.
> > 
> > It could be that we are refering to different versions of -01, the
> > one on tools.ietf.org doesn't have a MUST NOT send, and in
> > particular, it does not have a MUST abort when received.
> >
> > If you think that there an implied MUST NOT in there -- I can see
> > explicit MUSTs to the contrary in -01 and more so in -02!
> 
> There are different styles of writing specification text; some people
> prefer to use upper-case RFC 2119 keywords as much as possible; others
> prefer normal English.
> 
> The TLS main specification (RFC 5246) is clearly in the latter camp,
> and mostly avoids using RFC 2119 key words. For example, when
> describing the processing of received ClientHello, the text just says:
> 
>    "The server will select a cipher suite or, if no acceptable choices
>    are presented, return a handshake failure alert and close the
>    connection."
> 
> For an implementor, this means the same thing as "MUST select a cipher
> suite from the list sent by the client or, [...] , MUST return a handshake
> failure...". The lack of RFC 2119 keywords doesn't mean that a
> compliant server could, e.g., use a cipher suite that was not proposed
> by the client, or do something else completely.
> 
> The relevant text from -01 version was quoted in my email on January
> 26, and I'm not going to repeat it here.  The text does not in any way
> contradict the "MUST generate either [..]  or [..] in every
> ClientHello" in Section 5; text elsewhere in the document explains
> when the different cases apply. For example, that sentence taken alone
> would allow sending just the SCSV (without RI) in secure renegotiation; 
> something that's clearly forbidden elsewhere in the document.


If "MUST send either empty TLS extension or SCSV" would "clearly"
mean a mathematical X-OR, then this should have been changed in -03.

-03 clarifies that it does _NOT_ imply X-OR, but Inclusive OR.

As you can see in the WG discussion, some implementors did _NOT_
read this to mean X-OR, and some asked for spelling out that it
means Inclusive OR.


The document quality, and in particular the inconsistencies in
the document were just to numerous to make any assessments which
specific semantics someone may have "confirmed" by humming for
the -01 document in the Last Call.


If anything, the explicit MUSTs are a much more reliable indicator
of what is meant, and that says that a server must accept both
signals in a client hello.  The rest is just inconsistent wording.


The use of the label TLS_RENEGO_PROTECTION_REQUEST is also a strong
indicator that Eric's attempt at defining what this represents
is not necessarily final or completely accurate.


And from the message that *I* am getting here, the explicit MUSTs,
that require to accept SCSV Inclusive-OR on every ClientHello
is considered a "substantial" characteristic, where a changes
requires consensus, while an initial attempt to describe the
characteristics is an editorial issue and could be changed
mostly at discretion of the author.


-Martin











From paul.hoffman@vpnc.org  Thu Jan 28 11:10:06 2010
Return-Path: <paul.hoffman@vpnc.org>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 93D753A69B1; Thu, 28 Jan 2010 11:10:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.077
X-Spam-Level: 
X-Spam-Status: No, score=-6.077 tagged_above=-999 required=5 tests=[AWL=-0.031, BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-4]
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 LGUTCvMrRlY4; Thu, 28 Jan 2010 11:10:05 -0800 (PST)
Received: from balder-227.proper.com (Balder-227.Proper.COM [192.245.12.227]) by core3.amsl.com (Postfix) with ESMTP id 5E1DB3A6834; Thu, 28 Jan 2010 11:10:05 -0800 (PST)
Received: from [10.20.30.158] (75-101-30-90.dsl.dynamic.sonic.net [75.101.30.90]) (authenticated bits=0) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id o0SJAMTk099026 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 28 Jan 2010 12:10:23 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
Mime-Version: 1.0
Message-Id: <p06240878c787913aa5c7@[10.20.30.158]>
In-Reply-To: <808FD6E27AD4884E94820BC333B2DB775841199A56@NOK-EUMSG-01.mgdnok.nokia.com>
References: <808FD6E27AD4884E94820BC333B2DB775841199A56@NOK-EUMSG-01.mgdnok.nokia.com>
Date: Thu, 28 Jan 2010 11:10:20 -0800
To: tls@ietf.org, <ietf@ietf.org>
From: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [TLS] Confirming consensus about one draft-ietf-tls-renegotiation detail
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Thu, 28 Jan 2010 19:10:06 -0000

At 9:49 AM +0100 1/26/10, <Pasi.Eronen@nokia.com> wrote:
>If the recent discussions have caused you to change your mind (or we
>have interpreted your preference incorrectly, or you were not on
>either list), please send an email to the TLS WG mailing list by
>Tuesday February 2nd. In your reply, please include one of the
>following:
>
>   (1) I prefer publishing the specification as-is.
> 
>   (2) I prefer *NOT* publishing the specification as-is, and instead
>   prefer changing the text so that including the SCSV in secure
>   renegotiation ClientHellos is allowed (but not required).

The metadiscussion is raging (in both senses of the word), but the number of people expressing an opinion has dropped to near zero. This is just a gentle nudge to those who care but have not responded to do so.

From mrex@sap.com  Thu Jan 28 12:20:19 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AE1923A6915; Thu, 28 Jan 2010 12:20:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level: 
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 mP3mT+6f3NOS; Thu, 28 Jan 2010 12:20:01 -0800 (PST)
Received: from smtpde03.sap-ag.de (smtpde03.sap-ag.de [155.56.68.140]) by core3.amsl.com (Postfix) with ESMTP id 2F1BD3A6914; Thu, 28 Jan 2010 12:20:00 -0800 (PST)
Received: from mail.sap.corp by smtpde03.sap-ag.de (26) with ESMTP id o0SKKIGb000759 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 28 Jan 2010 21:20:18 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001282020.o0SKKH1L006450@fs4113.wdf.sap.corp>
To: tls@ietf.org
Date: Thu, 28 Jan 2010 21:20:17 +0100 (MET)
In-Reply-To: <808FD6E27AD4884E94820BC333B2DB775841199A56@NOK-EUMSG-01.mgdnok.nokia.com> from "Pasi.Eronen@nokia.com" at Jan 26, 10 09:49:06 am
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal06
X-SAP: out
Cc: ietf@ietf.org
Subject: Re: [TLS] Confirming consensus about one draft-ietf-tls-renegotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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: Thu, 28 Jan 2010 20:20:20 -0000

 
    (2) I prefer *NOT* publishing the specification as-is, and instead
    prefer to remove the 4 accidentally added rfc-2119-incompliant
    imperatives from -03 back to the technically sensible semantics
    which had the original WG and IETF consensus.  The document editor
    has proposed fixed text to make this an editoral change from -02,
    so this change is not going to hold up the document.

-Martin

From mrex@sap.com  Thu Jan 28 12:52:00 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9AED428C101 for <tls@core3.amsl.com>; Thu, 28 Jan 2010 12:52:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level: 
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 RGtS-goV+0uH for <tls@core3.amsl.com>; Thu, 28 Jan 2010 12:51:59 -0800 (PST)
Received: from smtpde03.sap-ag.de (smtpde03.sap-ag.de [155.56.68.140]) by core3.amsl.com (Postfix) with ESMTP id 6D57D3A682E for <tls@ietf.org>; Thu, 28 Jan 2010 12:51:59 -0800 (PST)
Received: from mail.sap.corp by smtpde03.sap-ag.de (26) with ESMTP id o0SKq5Zf010694 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 28 Jan 2010 21:52:05 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001282052.o0SKq4lg008352@fs4113.wdf.sap.corp>
To: nmav@gnutls.org (Nikos Mavrogiannopoulos)
Date: Thu, 28 Jan 2010 21:52:04 +0100 (MET)
In-Reply-To: <4B61B8E1.9060801@gnutls.org> from "Nikos Mavrogiannopoulos" at Jan 28, 10 05:18:41 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal07
X-SAP: out
Cc: DPKemp@missi.ncsc.mil, tls@ietf.org
Subject: Re: [TLS] Chatter on consensus
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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: Thu, 28 Jan 2010 20:52:00 -0000

Nikos Mavrogiannopoulos wrote:
> 
> Martin Rex wrote:
> 
> >>> [Nikos]: I believe allowing the sending of both SCSV 
> >>> and extension might harm interoperability instead.
> > 
> > This is a clear misunderstanding on the issue.
> > 
> > Secure renegotiation requires verification of the contents
> > of the verify_data contained in the renegotiation_info.
> > So if the presence of an empty RI or SCSV in a ClientHello
> > during a handshake that is a renegotiation to the server
> > confuses a server about having to match the verify_data,
> > then you have much more serious issues to worry about.
> 
> You are considering only the case where the extension is non empty. On
> initial connection the extension is empty, thus checking for extension
> or the SCSV has equivalent results.

I'm sorry, I fail to understand.

Look at the -03 document (server receiving ClientHello), and what
the removal of the rfc-2119 incompliant imperative in -03 will
mean for the text and what it will mean for the TLS implementation
(I'm leaving out the obviated tests in the test framework for simplicity).

You can look at it form every perspective, it's simple,
it's an obvious improvement, and will make it rfc-2119 compliant.


3.7. Server Behavior: Secure Renegotiation


   This text applies if the connection's "secure_renegotiation" flag is
   set to TRUE (if it is set to FALSE, see Section 4.4).

-  o  When ClientHello is received, the server MUST verify that it does
-     not contain the TLS_RENEGO_PROTECTION_REQUEST SCSV.  If the SCSV
-     is present, the server MUST abort the handshake.
   o  The server MUST verify that the "renegotiation_info" extension is
      present; if it is not, the server MUST abort the handshake.
   o  The server MUST verify that the value of the
      "renegotiated_connection" field is equal to the saved
      client_verify_data value; if it is not, the server MUST abort the
      handshake.


In Meta-Code this might look like this:

   extensions = GetHelloExtensions(hmsg, ptr, hmsg_len)

   if ( NULL!=cur_session->cipher_state ) {
      /* this is a renegotiation */
      if ( (secure_renegotiation) ) {
         /* this ought to be a secure renegotiation */

-        if ( scsv_flag ) {
-             send_alert( cur_session, AL_FATAL, AL_HANDSHAKE_FAILURE );
-             rc = ERR_POSSIBLE_RENEGO_ATTACK;
-             goto error_cleanup;
-        }
-
         ri_contents = get_RI_contents(extensions);
         if ( NULL==ri_contents ) {
              send_alert( cur_session, AL_FATAL, AL_HANDSHAKE_FAILURE );
              rc = ERR_POSSIBLE_RENEGO_ATTACK;
              goto error_cleanup;
         }
         
         if ( !verify_RI_contents(cur_session,ri_contents) ) { 
              send_alert( cur_session, AL_FATAL, AL_HANDSHAKE_FAILURE );
              rc = ERR_POSSIBLE_RENEGO_ATTACK;
              goto error_cleanup;
         }
 


-Martin

From frantz@pwpconsult.com  Thu Jan 28 13:28:58 2010
Return-Path: <frantz@pwpconsult.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 337333A68DF for <tls@core3.amsl.com>; Thu, 28 Jan 2010 13:28:58 -0800 (PST)
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 ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HYVDoGdVyNnD for <tls@core3.amsl.com>; Thu, 28 Jan 2010 13:28:57 -0800 (PST)
Received: from elasmtp-banded.atl.sa.earthlink.net (elasmtp-banded.atl.sa.earthlink.net [209.86.89.70]) by core3.amsl.com (Postfix) with ESMTP id 3DF8E3A67FC for <tls@ietf.org>; Thu, 28 Jan 2010 13:28:56 -0800 (PST)
Received: from [173.75.83.34] (helo=[192.168.1.5]) by elasmtp-banded.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from <frantz@pwpconsult.com>) id 1NabvQ-0007Cw-1H; Thu, 28 Jan 2010 16:29:16 -0500
Date: Thu, 28 Jan 2010 13:31:46 -0800
From: Bill Frantz <frantz@pwpconsult.com>
To: tls@ietf.org
X-Priority: 3
In-Reply-To: <p06240878c787913aa5c7@[10.20.30.158]>
Message-ID: <r02010500-1049-89BFB88A0C5411DF826D0030658F0F64@[192.168.1.5]>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
X-Mailer: Mailsmith 2.1.5 (Blindsider)
X-ELNK-Trace: 3a5e54fa03f1b3e21aa676d7e74259b7b3291a7d08dfec7968325342742fc7c6f5400a8c6d76ad8e350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 173.75.83.34
Cc: Paul Hoffman <paul.hoffman@vpnc.org>
Subject: Re: [TLS] Confirming consensus about one draft-ietf-tls-renegotiation detail
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Thu, 28 Jan 2010 21:28:58 -0000

paul.hoffman@vpnc.org (Paul Hoffman) on Thursday, January 28, 2010 wrote:

>The metadiscussion is raging (in both senses of the word), but the number =
of people expressing an opinion has dropped to near zero.=20
>This is just a gentle nudge to those who care but have not responded to do=
 so.

Let me cast a weak vote for:

   (1) I prefer publishing the specification as-is.

My real interest is getting on to the next version of TLS. I hope it
includes changes designed to:

(1) Limit the effect of bugs in a particular feature to those who actually
use the feature. Very few applications actually used renegotiation, but all
were affected. The use of PKI for peer authentication might fall in this
category.

(2) Eliminate features which can reasonably be handled at the application
layer. To my mind, renegotiation for key/certificate change on long-lasting
connections falls in this category.

(3) Enable future security bug fixes to be handled by the industry standard
mantra, "Just upgrade to the latest version", instead of requiring hacks to
be compatible with versions back as far as SSL2. (I realize this is more of
a social than a technical goal.)

Cheers - Bill

---------------------------------------------------------------------------
Bill Frantz        |"After all, if the conventional wisdom was working, the
408-356-8506       | rate of systems being compromised would be going down,
www.periwinkle.com | wouldn't it?" -- Marcus Ranum

From stefan@aaa-sec.com  Fri Jan 29 00:59:36 2010
Return-Path: <stefan@aaa-sec.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2E6E53A67D8 for <tls@core3.amsl.com>; Fri, 29 Jan 2010 00:59:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.249
X-Spam-Level: 
X-Spam-Status: No, score=-2.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_SE=0.35]
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 TzT1lYkunIu3 for <tls@core3.amsl.com>; Fri, 29 Jan 2010 00:59:35 -0800 (PST)
Received: from s87.loopia.se (s87.loopia.se [194.9.95.114]) by core3.amsl.com (Postfix) with ESMTP id 4B3923A6452 for <tls@ietf.org>; Fri, 29 Jan 2010 00:59:34 -0800 (PST)
Received: from s19.loopia.se (s34.loopia.se [194.9.94.70]) by s87.loopia.se (Postfix) with ESMTP id 89B6235A058 for <tls@ietf.org>; Fri, 29 Jan 2010 09:45:14 +0100 (CET)
Received: (qmail 18526 invoked from network); 29 Jan 2010 08:45:09 -0000
Received: from 213-64-142-247-no153.business.telia.com (HELO [192.168.1.6]) (stefan@fiddler.nu@[213.64.142.247]) (envelope-sender <stefan@aaa-sec.com>) by s19.loopia.se (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for <nmav@gnutls.org>; 29 Jan 2010 08:45:09 -0000
User-Agent: Microsoft-Entourage/12.23.0.091001
Date: Fri, 29 Jan 2010 09:45:07 +0100
From: Stefan Santesson <stefan@aaa-sec.com>
To: Nikos Mavrogiannopoulos <nmav@gnutls.org>, <mrex@sap.com>
Message-ID: <C7885EA3.7F9D%stefan@aaa-sec.com>
Thread-Topic: [TLS] Metadiscussion on changes in draft-ietf-tls-renegotiation
Thread-Index: Acqgv1uhIJ3HhLP6RE27N7biS3auKQ==
In-Reply-To: <c331d99a1001262333n1c369dd3qec421542004bed97@mail.gmail.com>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
Cc: tls@ietf.org, ietf@ietf.org
Subject: Re: [TLS] Metadiscussion on changes in draft-ietf-tls-renegotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Fri, 29 Jan 2010 08:59:36 -0000

This makes no sense to me.

Developers tend to live by the rule to be "liberal in what you accept" as it
tends to generate less interop problems.
It makes no sense to abort a TLS handshake just because it contains an SCSV
if everything else is OK. So This "MUST NOT" requirement will likely be
ignored by some implementations.

03 gives SCSV somewhat double and conflicting semantics.

1) Present in an initial handshake it signals client support for secure
renegotiation.

2) Present in a renegotiation handshake it signals that the client DOES NOT
support secure renegotiation (Handshake MUST be aborted).

I think this is asking for trouble.

/Stefan


On 10-01-27 8:33 AM, "Nikos Mavrogiannopoulos" <nmav@gnutls.org> wrote:

> On Wed, Jan 27, 2010 at 1:05 AM, Martin Rex <mrex@sap.com> wrote:
> 
>>> <aside>That's been the standard for PKIX RFCs for at least ten years
>>> (actively acknowledged by WG mmembers), although perhaps its spread
>>> to other groups should be discouraged.</aside>
>> 
>> I fully agree.
>> 
>> That may be attributed to the fact that a large part of PKIX is dealing
>> with policy issues with the objective to prevent/prohibit interoperability.
> 
> On the contrary. I believe allowing the sending of both SCSV and extension
> might harm interoperability instead. Consider the case of most popular client
> implementations are sending both SCSV and extension (it's easier to do so).
> A developer of a server might then consider checking only for SCSV (since all
> of the popular ones he tested with send both). Thus interoperability with less
> popular clients that only send extension stops.
> 
> This scenario might not be very likely, but this kind of issues were
> not rare in
> TLS for quite long :)
> 
> best regards,
> Nikos
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls



From marsh@extendedsubset.com  Fri Jan 29 07:52:47 2010
Return-Path: <marsh@extendedsubset.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8383628C15F; Fri, 29 Jan 2010 07:52:47 -0800 (PST)
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=[AWL=0.000,  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 bnpOsfY7LIuu; Fri, 29 Jan 2010 07:52:46 -0800 (PST)
Received: from mho-01-ewr.mailhop.org (mho-01-ewr.mailhop.org [204.13.248.71]) by core3.amsl.com (Postfix) with ESMTP id 7554F28C14B; Fri, 29 Jan 2010 07:52:46 -0800 (PST)
Received: from xs01.extendedsubset.com ([69.164.193.58]) by mho-01-ewr.mailhop.org with esmtpa (Exim 4.68) (envelope-from <marsh@extendedsubset.com>) id 1Nat9g-000GcQ-DF; Fri, 29 Jan 2010 15:53:08 +0000
Received: from [127.0.0.1] (localhost [127.0.0.1]) by xs01.extendedsubset.com (Postfix) with ESMTP id C2F2E6048; Fri, 29 Jan 2010 15:53:06 +0000 (UTC)
X-Mail-Handler: MailHop Outbound by DynDNS
X-Originating-IP: 69.164.193.58
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX18HHmwiUL3pqoC2mKdSTsQjtvugdelU/ak=
Message-ID: <4B630461.1030001@extendedsubset.com>
Date: Fri, 29 Jan 2010 09:53:05 -0600
From: Marsh Ray <marsh@extendedsubset.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Stefan Santesson <stefan@aaa-sec.com>
References: <C7885EA3.7F9D%stefan@aaa-sec.com>
In-Reply-To: <C7885EA3.7F9D%stefan@aaa-sec.com>
X-Enigmail-Version: 0.96.0
OpenPGP: id=1E36DBF2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: tls@ietf.org, ietf@ietf.org
Subject: Re: [TLS] Metadiscussion on changes in draft-ietf-tls-renegotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Fri, 29 Jan 2010 15:52:47 -0000

Stefan Santesson wrote:
> This makes no sense to me.
> 
> Developers tend to live by the rule to be "liberal in what you accept" as it
> tends to generate less interop problems.

Not in my experience.

HTML is perhaps the ultimate example of a liberal implementation of a
spec. To this day, many years later, it's common to find pages that
render badly with one or more implementations.

Whenever an application is actively being "liberal in what it accepts",
the sending application is in fact relying on undocumented behavior.
This is what causes the ineterop problems, not strictness.

In practice, if protocol receiving applications are consistently strict
about what they accept, then mutant protocol sending applications do not
get out to pollute the ecosystem.

> It makes no sense to abort a TLS handshake just because it contains an SCSV
> if everything else is OK.

This is a cryptographic data security protocol for which
interoperability must be secondary to security. If anything is malformed
or suspicious, the handshake should be aborted.

> So This "MUST NOT" requirement will likely be
> ignored by some implementations.

They should expect the market to hold them accountable if problems result.

The implementers on this list have indicated they could produce
interoperable implementations of this spec. And they appear to have
proven it by demonstrating implementations which actually interoperate.

> 03 gives SCSV somewhat double and conflicting semantics.
> 
> 1) Present in an initial handshake it signals client support for secure
> renegotiation.
> 
> 2) Present in a renegotiation handshake it signals that the client DOES NOT
> support secure renegotiation (Handshake MUST be aborted).
> 
> I think this is asking for trouble.

Yep, it's an inelegant hack. None of this is how any of us would have
designed it that way from the beginning.

I would recommend that clients always send a proper RI extension and
don't even mess with sending SCSV. Extensions-intolerant servers should
just go away. Servers just treat SCSV like an empty RI (clearly wrong
for a renegotiation) without adding much complexity.

As for "[Upgraded] Clients which choose to renegotiate [] with an
un-upgraded server", they deserve whatever they get.

SCSV is just for those implementers that want to make insecure
connections with old and broken peers. That task has always involved
added complexity and they know the work they're buying for themselves.

- Marsh

From mrex@sap.com  Fri Jan 29 09:15:32 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 084FB3A6837 for <tls@core3.amsl.com>; Fri, 29 Jan 2010 09:15:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.949
X-Spam-Level: 
X-Spam-Status: No, score=-9.949 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, HELO_EQ_DE=0.35, J_CHICKENPOX_33=0.6, RCVD_IN_DNSWL_HI=-8]
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 eOh2TkYkdUWa for <tls@core3.amsl.com>; Fri, 29 Jan 2010 09:15:31 -0800 (PST)
Received: from smtpde03.sap-ag.de (smtpde03.sap-ag.de [155.56.68.140]) by core3.amsl.com (Postfix) with ESMTP id AA6AA3A672F for <tls@ietf.org>; Fri, 29 Jan 2010 09:15:30 -0800 (PST)
Received: from mail.sap.corp by smtpde03.sap-ag.de (26) with ESMTP id o0THFpVv005770 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <tls@ietf.org>; Fri, 29 Jan 2010 18:15:51 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001291715.o0THFov6024039@fs4113.wdf.sap.corp>
To: tls@ietf.org
Date: Fri, 29 Jan 2010 18:15:50 +0100 (MET)
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal05
X-SAP: out
Subject: [TLS] Certificate handshake message - common config problems
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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: Fri, 29 Jan 2010 17:15:32 -0000

Dear TLS,

I have just analyzed an interop problem reported by a customer
that was caused by a misconfigured apache web server of a third
party.

The problem is, that this apache sends a Certificate message
that contains the EndEntity certificate twice in a row,
followed by an otherwise correct chain of 3 CA certificates.

Browsers like Firefox and MSIE do not report this as an error.
MSIE doesn't barf, because AFAIK it applies a generic cert chain building
algorithm to all certs following the initial end entity cert.  I don't
know what kind of algorithm firefox uses in order to eliminate the
duplicated end entity cert.

The cause of the problem is the lack of consistency checks performed
by OpenSSL when building the certificate_list in Certficate handshake
messages.  The SSL&TLS spec are clear that what this server is sending
is not compliant to the protocol.  The only one able to fix this
configuration problem is the operator of the server, and the one
who would be able to prevent this problem from occurring is OpenSSL.


I think it that original protocol requirement (well-formed cert chain)
is a very useful protocol feature, because it can save code,
dynamic memory footprint and cpu-cycles, and it also leads to
much more consistent results if everyone validates _the_same_
certificate path.  Having OpenSSL build the chain before
sending it (in addition to when receiving it) might be a good
idea -- and could catch other errors, such as missing intermediate
certs, immediately and under control of those who are able to
and responsible for fixing it.


What do other implementers think about this issue?


-Martin

From simon@josefsson.org  Fri Jan 29 09:35:45 2010
Return-Path: <simon@josefsson.org>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1B28D3A6917 for <tls@core3.amsl.com>; Fri, 29 Jan 2010 09:35:45 -0800 (PST)
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 ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1ziq03e1o1-Q for <tls@core3.amsl.com>; Fri, 29 Jan 2010 09:35:44 -0800 (PST)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id 05E413A6901 for <tls@ietf.org>; Fri, 29 Jan 2010 09:35:43 -0800 (PST)
Received: from mocca (c80-216-24-99.bredband.comhem.se [80.216.24.99]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5) with ESMTP id o0THa36q017661 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 29 Jan 2010 18:36:04 +0100
From: Simon Josefsson <simon@josefsson.org>
To: mrex@sap.com
References: <201001291715.o0THFov6024039@fs4113.wdf.sap.corp>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:100129:tls@ietf.org::Cp9AymaxsI7vnG2/:0P/5
X-Hashcash: 1:22:100129:mrex@sap.com::tKmLAMODr2CzWwB/:7rvm
Date: Fri, 29 Jan 2010 18:36:03 +0100
In-Reply-To: <201001291715.o0THFov6024039@fs4113.wdf.sap.corp> (Martin Rex's message of "Fri, 29 Jan 2010 18:15:50 +0100 (MET)")
Message-ID: <877hr024qk.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: clamav-milter 0.95.3 at yxa-v
X-Virus-Status: Clean
Cc: tls@ietf.org
Subject: Re: [TLS] Certificate handshake message - common config problems
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Fri, 29 Jan 2010 17:35:45 -0000

Martin Rex <mrex@sap.com> writes:

> What do other implementers think about this issue?

GnuTLS requires a correctly ordered certificate chain and will not
attempt to reorder it.

People have reported this as a problem from time to time, but it is
always a server problem that can/should be fixed, so right now I don't
see us spend any time to improving this on the validator side.  As you
noticed, some browser appears to accept this situation, hence people
might not notice the misconfiguration directly.

/Simon

From mrex@sap.com  Fri Jan 29 10:13:10 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5A5A93A696C for <tls@core3.amsl.com>; Fri, 29 Jan 2010 10:13:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.933
X-Spam-Level: 
X-Spam-Status: No, score=-9.933 tagged_above=-999 required=5 tests=[AWL=-0.284, BAYES_00=-2.599, HELO_EQ_DE=0.35, J_CHICKENPOX_33=0.6, RCVD_IN_DNSWL_HI=-8]
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 8cNEK-ckK2Vg for <tls@core3.amsl.com>; Fri, 29 Jan 2010 10:13:08 -0800 (PST)
Received: from smtpde01.sap-ag.de (smtpde01.sap-ag.de [155.56.68.171]) by core3.amsl.com (Postfix) with ESMTP id 60E623A659C for <tls@ietf.org>; Fri, 29 Jan 2010 10:13:02 -0800 (PST)
Received: from mail.sap.corp by smtpde01.sap-ag.de (26) with ESMTP id o0TIDJLV001840 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <tls@ietf.org>; Fri, 29 Jan 2010 19:13:19 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001291813.o0TIDIc0027801@fs4113.wdf.sap.corp>
To: mrex@sap.com
Date: Fri, 29 Jan 2010 19:13:18 +0100 (MET)
In-Reply-To: <201001291715.o0THFov6024039@fs4113.wdf.sap.corp> from "Martin Rex" at Jan 29, 10 06:15:50 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal07
X-SAP: out
Cc: tls@ietf.org
Subject: Re: [TLS] Certificate handshake message - common config problems
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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: Fri, 29 Jan 2010 18:13:10 -0000

Martin Rex wrote:
> 
> Dear TLS,
> 
> I have just analyzed an interop problem reported by a customer
> that was caused by a misconfigured apache web server of a third
> party.
> 
> The problem is, that this apache sends a Certificate message
> that contains the EndEntity certificate twice in a row,
> followed by an otherwise correct chain of 3 CA certificates.
> 
> Browsers like Firefox and MSIE do not report this as an error.
> MSIE doesn't barf, because AFAIK it applies a generic cert chain building
> algorithm to all certs following the initial end entity cert.  I don't
> know what kind of algorithm firefox uses in order to eliminate the
> duplicated end entity cert.
> 
> The cause of the problem is the lack of consistency checks performed
> by OpenSSL when building the certificate_list in Certficate handshake
> messages.  The SSL&TLS spec are clear that what this server is sending
> is not compliant to the protocol.  The only one able to fix this
> configuration problem is the operator of the server, and the one
> who would be able to prevent this problem from occurring is OpenSSL.
> 
> 
> I think it that original protocol requirement (well-formed cert chain)
> is a very useful protocol feature, because it can save code,
> dynamic memory footprint and cpu-cycles, and it also leads to
> much more consistent results if everyone validates _the_same_
> certificate path.  Having OpenSSL build the chain before
> sending it (in addition to when receiving it) might be a good
> idea -- and could catch other errors, such as missing intermediate
> certs, immediately and under control of those who are able to
> and responsible for fixing it.

Clarifying myself:

the TLS peer receiving the Certificate message
(i.e. the TLS client receiving the server's Certificate message)
needs to do a certificate path validation, but could save
chain building when the well-formed chain requirement in the
spec is followed.

The TLS peer sending a Certificate message does not need to perform
a full certificate path validation, a chain building alone would 
already improve the situation and catch most of the current
interop problems in that area.

I know little about apache&OpenSSL (never installed or operated
one myself), but IIRC, there are two seperate files, one with
the EndEntity cert and one with the CertificateChain.
It appears that all of the certificates from the Chain file will
be blindly appended to the EndEntity cert when the certificate_list
for the Certificate handshake message is composed. 


To easily see the cause of the problem, you need either WireShark
or an SSL implementation that can visualize what it _receives_!.
MSIE is fairly useless for this purpose, because it does _not_
show you what it receives.  If anything, it shows
what it _validates_, which is something entirely different.
This becomes apparent in situations like this (duplicated cert
in the chain), incorrectly ordered certs, or _missing_ certs
in the chain if there's AIA information included.


-Martin

From cfinss@dial.pipex.com  Fri Jan 29 10:41:19 2010
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 835DD3A6405 for <tls@core3.amsl.com>; Fri, 29 Jan 2010 10:41:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.19
X-Spam-Level: 
X-Spam-Status: No, score=-2.19 tagged_above=-999 required=5 tests=[AWL=0.365,  BAYES_00=-2.599, DATE_IN_PAST_03_06=0.044]
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 u89-OaM5rLdH for <tls@core3.amsl.com>; Fri, 29 Jan 2010 10:41:18 -0800 (PST)
Received: from mk-outboundfilter-6.mail.uk.tiscali.com (mk-outboundfilter-6.mail.uk.tiscali.com [212.74.114.14]) by core3.amsl.com (Postfix) with ESMTP id 960E53A67DA for <tls@ietf.org>; Fri, 29 Jan 2010 10:41:18 -0800 (PST)
X-Trace: 177778586/mk-outboundfilter-6.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.100.83/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.100.83
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AqsGAJ+6Yks+vGRT/2dsb2JhbAA8gWsWhTuJBslfCoQ4BA
X-IronPort-AV: E=Sophos;i="4.49,370,1262563200"; d="scan'208";a="177778586"
X-IP-Direction: IN
Received: from 1cust83.tnt1.lnd9.gbr.da.uu.net (HELO allison) ([62.188.100.83]) by smtp.pipex.tiscali.co.uk with SMTP; 29 Jan 2010 18:41:40 +0000
Message-ID: <000501caa10a$452555a0$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: <tls@ietf.org>
References: <808FD6E27AD4884E94820BC333B2DB775841199A56@NOK-EUMSG-01.mgdnok.nokia.com> <p06240878c787913aa5c7@[10.20.30.158]>
Date: Fri, 29 Jan 2010 14:42:55 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
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: [TLS] Confirming consensus about one draft-ietf-tls-renegotiation detail
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
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/listinfo/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: Fri, 29 Jan 2010 18:41:19 -0000

----- Original Message -----
From: "Paul Hoffman" <paul.hoffman@vpnc.org>
To: <tls@ietf.org>; <ietf@ietf.org>
Sent: Thursday, January 28, 2010 8:10 PM
Subject: Re: [TLS] Confirming consensus about one draft-ietf-tls-renegotiation
detail


> At 9:49 AM +0100 1/26/10, <Pasi.Eronen@nokia.com> wrote:
> >If the recent discussions have caused you to change your mind (or we
> >have interpreted your preference incorrectly, or you were not on
> >either list), please send an email to the TLS WG mailing list by
> >Tuesday February 2nd. In your reply, please include one of the
> >following:
> >


   (2) I prefer *NOT* publishing the specification as-is, and instead
   prefer changing the text so that including the SCSV in secure
   renegotiation ClientHellos is allowed (but not required).

Tom Petch


From dkg@fifthhorseman.net  Fri Jan 29 14:32:44 2010
Return-Path: <dkg@fifthhorseman.net>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 897E93A677C for <tls@core3.amsl.com>; Fri, 29 Jan 2010 14:32:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 kHqTvyDoISTU for <tls@core3.amsl.com>; Fri, 29 Jan 2010 14:32:43 -0800 (PST)
Received: from relay00.pair.com (relay00.pair.com [209.68.5.9]) by core3.amsl.com (Postfix) with SMTP id 815923A6969 for <tls@ietf.org>; Fri, 29 Jan 2010 14:32:42 -0800 (PST)
Received: (qmail 73683 invoked from network); 29 Jan 2010 22:33:05 -0000
Received: from 216.254.70.154 (HELO ?192.168.23.207?) (216.254.70.154) by relay00.pair.com with SMTP; 29 Jan 2010 22:33:05 -0000
X-pair-Authenticated: 216.254.70.154
Message-ID: <4B63621F.7000208@fifthhorseman.net>
Date: Fri, 29 Jan 2010 17:33:03 -0500
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109)
MIME-Version: 1.0
To: tls@ietf.org
References: <201001291813.o0TIDIc0027801@fs4113.wdf.sap.corp>
In-Reply-To: <201001291813.o0TIDIc0027801@fs4113.wdf.sap.corp>
X-Enigmail-Version: 0.95.7
OpenPGP: id=D21739E9; url=http://fifthhorseman.net/dkg.gpg
Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig675DC3F6FC4CF62DC80D3059"
Subject: Re: [TLS] Certificate handshake message - common config problems
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: tls@ietf.org
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/listinfo/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: Fri, 29 Jan 2010 22:32:44 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig675DC3F6FC4CF62DC80D3059
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 01/29/2010 01:13 PM, Martin Rex wrote:
> I know little about apache&OpenSSL (never installed or operated
> one myself), but IIRC, there are two seperate files, one with
> the EndEntity cert and one with the CertificateChain.
> It appears that all of the certificates from the Chain file will
> be blindly appended to the EndEntity cert when the certificate_list
> for the Certificate handshake message is composed.=20

The docs for mod_ssl are pretty clear that the SSLCertificateChainFile
need not be used if the relevant certificates for the intermediate and
root CAs are already found in SSLCaCertificatePath, in which case it
appears that OpenSSL builds the chain automatically (and presumably
correctly):

http://httpd.apache.org/docs/2.2/mod/mod_ssl.html#sslcertificatechainfile=


Unfortunately, they also don't explicitly state that the certificates
*must* be properly ordered to be RFC-compliant.  in fact, they only say
"usually in certificate chain order".  This is probably a bug in mod_ssl
(at least in its documentation).  They should check and warn if the
provided CertificateChainFile does not form a proper chain.

> To easily see the cause of the problem, you need either WireShark
> or an SSL implementation that can visualize what it _receives_!.
> MSIE is fairly useless for this purpose, because it does _not_
> show you what it receives.  If anything, it shows
> what it _validates_, which is something entirely different.
> This becomes apparent in situations like this (duplicated cert
> in the chain), incorrectly ordered certs, or _missing_ certs
> in the chain if there's AIA information included.

I think you want:

 openssl s_client -connect $HOST:$PORT -showcerts

hth,

	--dkg


--------------enig675DC3F6FC4CF62DC80D3059
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIVAwUBS2NiIMzS7ZTSFznpAQrs7xAAhRtULbw1IZ9z9DZ2thz50HCL5FkW9+oJ
4KDCJ8ENkwx1ha8bSKuH3wap6QAO5aLK6SxzwyWrnedP5hgnJ9zPUyAnG2zBmyY5
0Bu0V9NbRmzy5z0FUqvl2I7HEbhjrowfIL6/J/24NhyE7To3mjVEP18g+cMqlOTz
oF6A1+8bObhvFxPrLDl+ZXjEi6uABPn3rEATOrkR2DDGYEPevN0CfpwnP0P+Cb0k
U+2bBRQc7y8IJhNrjF7EzWugCfnzjun4GqlMEdqXi9ayDYrYffOHt3mcMZlXfeRo
tvqfk82fTqqoT31y8zBi8+uSAhOfvwGeGCPBdjawLoU6sFnHcU5jHhI8DOzUWwGf
pceyj49mlaaWWvTh9fFJ1VdUAtN6/as/6pmK83uZJjpPHtFFFuVfBvoH3TMv2DaY
ihWWTm8VPVHM6v1ycw1ElCIUBNtXc86sOYUHjrEYbzbmz2pNrXAj8LVTV3uBbJko
+mU5VkCvs9XVNJ/cu9Cv22usIwsazPI2i7RS9DbwsyvwWyYqjhJVOqxh8wWMBN1D
FDQ+ELfXAg4OorgxyLZpQhsLbng+T5TGOdCnmWEL+zcj2aP5PapxZWOIIVJJEZB7
vhQnPsqTfaIRxs470MbxWd3d6+C0EHXH45BiK/XunF+/nMKFVozeR+u7du15JQmK
DeQbI9l1QEE=
=nwKd
-----END PGP SIGNATURE-----

--------------enig675DC3F6FC4CF62DC80D3059--

From mrex@sap.com  Fri Jan 29 15:39:52 2010
Return-Path: <mrex@sap.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 918B53A695E for <tls@core3.amsl.com>; Fri, 29 Jan 2010 15:39:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.219
X-Spam-Level: 
X-Spam-Status: No, score=-10.219 tagged_above=-999 required=5 tests=[AWL=0.030, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 aKTVm5Qt+zfW for <tls@core3.amsl.com>; Fri, 29 Jan 2010 15:39:51 -0800 (PST)
Received: from smtpde03.sap-ag.de (smtpde03.sap-ag.de [155.56.68.140]) by core3.amsl.com (Postfix) with ESMTP id 7BBC93A68AD for <tls@ietf.org>; Fri, 29 Jan 2010 15:39:50 -0800 (PST)
Received: from mail.sap.corp by smtpde03.sap-ag.de (26) with ESMTP id o0TNeDkn020354 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <tls@ietf.org>; Sat, 30 Jan 2010 00:40:13 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201001292340.o0TNeC5f018719@fs4113.wdf.sap.corp>
To: tls@ietf.org
Date: Sat, 30 Jan 2010 00:40:12 +0100 (MET)
In-Reply-To: <4B63621F.7000208@fifthhorseman.net> from "Daniel Kahn Gillmor" at Jan 29, 10 05:33:03 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal07
X-SAP: out
Subject: Re: [TLS] Certificate handshake message - common config problems
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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/listinfo/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: Fri, 29 Jan 2010 23:39:52 -0000

Thanks!

Having that information helps us providing clues.

We have to tell our customer what he will have to tell his
business partner to fix on that server...   :-)

-Martin

Daniel Kahn Gillmor wrote:
> 
> On 01/29/2010 01:13 PM, Martin Rex wrote:
> > I know little about apache&OpenSSL (never installed or operated
> > one myself), but IIRC, there are two seperate files, one with
> > the EndEntity cert and one with the CertificateChain.
> > It appears that all of the certificates from the Chain file will
> > be blindly appended to the EndEntity cert when the certificate_list
> > for the Certificate handshake message is composed. 
> 
> The docs for mod_ssl are pretty clear that the SSLCertificateChainFile
> need not be used if the relevant certificates for the intermediate and
> root CAs are already found in SSLCaCertificatePath, in which case it
> appears that OpenSSL builds the chain automatically (and presumably
> correctly):
> 
> http://httpd.apache.org/docs/2.2/mod/mod_ssl.html#sslcertificatechainfile
> 
> Unfortunately, they also don't explicitly state that the certificates
> *must* be properly ordered to be RFC-compliant.  in fact, they only say
> "usually in certificate chain order".  This is probably a bug in mod_ssl
> (at least in its documentation).  They should check and warn if the
> provided CertificateChainFile does not form a proper chain.
> 
> > To easily see the cause of the problem, you need either WireShark
> > or an SSL implementation that can visualize what it _receives_!.
> > MSIE is fairly useless for this purpose, because it does _not_
> > show you what it receives.  If anything, it shows
> > what it _validates_, which is something entirely different.
> > This becomes apparent in situations like this (duplicated cert
> > in the chain), incorrectly ordered certs, or _missing_ certs
> > in the chain if there's AIA information included.
> 
> I think you want:
> 
>  openssl s_client -connect $HOST:$PORT -showcerts
> 
> hth,
> 
> 	--dkg

From stefan@aaa-sec.com  Fri Jan 29 16:05:15 2010
Return-Path: <stefan@aaa-sec.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 953DF3A6978 for <tls@core3.amsl.com>; Fri, 29 Jan 2010 16:05:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.249
X-Spam-Level: 
X-Spam-Status: No, score=-2.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_SE=0.35]
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 OGz1blvp4eHa for <tls@core3.amsl.com>; Fri, 29 Jan 2010 16:05:14 -0800 (PST)
Received: from s87.loopia.se (s87.loopia.se [194.9.95.114]) by core3.amsl.com (Postfix) with ESMTP id 69A613A6804 for <tls@ietf.org>; Fri, 29 Jan 2010 16:05:13 -0800 (PST)
Received: from s42.loopia.se (s34.loopia.se [194.9.94.70]) by s87.loopia.se (Postfix) with ESMTP id 2D84835338A for <tls@ietf.org>; Sat, 30 Jan 2010 00:54:30 +0100 (CET)
Received: (qmail 23164 invoked from network); 29 Jan 2010 23:54:19 -0000
Received: from 213-64-142-247-no153.business.telia.com (HELO [192.168.1.15]) (stefan@fiddler.nu@[213.64.142.247]) (envelope-sender <stefan@aaa-sec.com>) by s42.loopia.se (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for <marsh@extendedsubset.com>; 29 Jan 2010 23:54:19 -0000
User-Agent: Microsoft-Entourage/12.23.0.091001
Date: Sat, 30 Jan 2010 00:54:15 +0100
From: Stefan Santesson <stefan@aaa-sec.com>
To: Marsh Ray <marsh@extendedsubset.com>
Message-ID: <C78933B7.7FDE%stefan@aaa-sec.com>
Thread-Topic: [TLS] Metadiscussion on changes in draft-ietf-tls-renegotiation
Thread-Index: AcqhPlzFyx1SW+Qt1k2YophNZUJpeg==
In-Reply-To: <4B630461.1030001@extendedsubset.com>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
Cc: tls@ietf.org, ietf@ietf.org
Subject: Re: [TLS] Metadiscussion on changes in draft-ietf-tls-renegotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Sat, 30 Jan 2010 00:05:15 -0000

Good points Marsh, but a few comments in line:


On 10-01-29 4:53 PM, "Marsh Ray" <marsh@extendedsubset.com> wrote:

> Stefan Santesson wrote:
>> This makes no sense to me.
>> 
>> Developers tend to live by the rule to be "liberal in what you accept" as it
>> tends to generate less interop problems.
> 
> Not in my experience.
> 
> HTML is perhaps the ultimate example of a liberal implementation of a
> spec. To this day, many years later, it's common to find pages that
> render badly with one or more implementations.
> 
> Whenever an application is actively being "liberal in what it accepts",
> the sending application is in fact relying on undocumented behavior.
> This is what causes the ineterop problems, not strictness.
> 
> In practice, if protocol receiving applications are consistently strict
> about what they accept, then mutant protocol sending applications do not
> get out to pollute the ecosystem.
> 

I'm just speaking out of personal experience during my 5 years working with
developers of PKI and internet security protocols. It was constant battle of
taking all non compliant implementations into account and to break as few of
them as possible IF it could be done without reducing security.

I could give you a long list of interesting examples :)

The key is though that being liberal is only an option when this does not
hurt security, and that is a tricky balance act.


>> It makes no sense to abort a TLS handshake just because it contains an SCSV
>> if everything else is OK.
> 
> This is a cryptographic data security protocol for which
> interoperability must be secondary to security. If anything is malformed
> or suspicious, the handshake should be aborted.
> 

I totally agree in principle. However, if a renegotiating client sends a
full RI extension with valid data AND the client also sends SCSV, then what
security problem is introduced by allowing the renegotiation (i.e. Not
aborting)

No matter how hard I try, I can't find the security problem and I can't find
the interoperability advantage.

Hence, the "MUST abort" requirement seems like an unmotivated restriction.
I'm not saying that we have to change the current draft, I'm just curious to
understand the real benefits of this requirement.


>> So This "MUST NOT" requirement will likely be
>> ignored by some implementations.
> 
> They should expect the market to hold them accountable if problems result.
> 
> The implementers on this list have indicated they could produce
> interoperable implementations of this spec. And they appear to have
> proven it by demonstrating implementations which actually interoperate.
> 

Again, based on what I have seen, I would not be surprised.
I don't think being accountable to the market is a very strong threat if a
safe adjustment to a more liberal processing helps customers to avoid
interop problems while maintaining the security of the protocol.

Hence, if there IS a security threat that motivates this, then it is
extremely important to spell it out in the clear.

>> 03 gives SCSV somewhat double and conflicting semantics.
>> 
>> 1) Present in an initial handshake it signals client support for secure
>> renegotiation.
>> 
>> 2) Present in a renegotiation handshake it signals that the client DOES NOT
>> support secure renegotiation (Handshake MUST be aborted).
>> 
>> I think this is asking for trouble.
> 
> Yep, it's an inelegant hack. None of this is how any of us would have
> designed it that way from the beginning.
> 

And here we totally agree :)

/Stefan


> I would recommend that clients always send a proper RI extension and
> don't even mess with sending SCSV. Extensions-intolerant servers should
> just go away. Servers just treat SCSV like an empty RI (clearly wrong
> for a renegotiation) without adding much complexity.
> 
> As for "[Upgraded] Clients which choose to renegotiate [] with an
> un-upgraded server", they deserve whatever they get.
> 
> SCSV is just for those implementers that want to make insecure
> connections with old and broken peers. That task has always involved
> added complexity and they know the work they're buying for themselves.
> 
> - Marsh



From paul.hoffman@vpnc.org  Fri Jan 29 16:11:39 2010
Return-Path: <paul.hoffman@vpnc.org>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3CEB83A67F3 for <tls@core3.amsl.com>; Fri, 29 Jan 2010 16:11:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.084
X-Spam-Level: 
X-Spam-Status: No, score=-6.084 tagged_above=-999 required=5 tests=[AWL=-0.038, BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-4]
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 5CT5tH20QqZT for <tls@core3.amsl.com>; Fri, 29 Jan 2010 16:11:32 -0800 (PST)
Received: from balder-227.proper.com (Balder-227.Proper.COM [192.245.12.227]) by core3.amsl.com (Postfix) with ESMTP id DA5D93A68B8 for <tls@ietf.org>; Fri, 29 Jan 2010 16:11:25 -0800 (PST)
Received: from [10.20.30.158] (75-101-30-90.dsl.dynamic.sonic.net [75.101.30.90]) (authenticated bits=0) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id o0TNgRhv021967 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <tls@ietf.org>; Fri, 29 Jan 2010 16:42:29 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
Mime-Version: 1.0
Message-Id: <p0624089bc78922bdaddd@[10.20.30.158]>
Date: Fri, 29 Jan 2010 15:42:26 -0800
To: tls@ietf.org
From: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: text/plain; charset="us-ascii"
Subject: [TLS] New drafts: adding input to the TLS master secret
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Sat, 30 Jan 2010 00:11:39 -0000

Greetings again. I have submitted two drafts that are probably of interest to some people in the TLS WG. I intend to submit them as individual submissions, not through the WG, but getting input from the WG before I do so would be great.

The first document changes the TLS/DTLS master secret calculation when there are particular kinds of extensions present. Of course, it does not change the calculation when those extensions are not present, and there are no extensions yet that would kick in the change.

The second document is an extension that is similar to the one that Ekr proposed over a year ago. It allows one or both parties to add more random input to the master secret calculation. This is desired by some organizations who want to match the guaranteed amount of randomness in the master secret calculation with the strength of the encryption and authentication functions.

Both documents are (purposely) short and hopefully easy to read. If you have any comments, send them to me or, if you think they pertain to the WG, maybe send them here. Again, these are not meant to be WG work items; I doubt that the effort to recharter and so on would be worth the value.

--Paul Hoffman

	Title		: Additional Master Secret Inputs for TLS
	Author(s)	: P. Hoffman
	Filename	: draft-hoffman-tls-master-secret-input-00.txt
	Pages		: 4
	Date		: 2010-1-29
	
   This document describes a mechanism for using additional master
   secret inputs with Transport Layer Security (TLS) and Datagram TLS
   (DTLS).

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-hoffman-tls-master-secret-input-00.txt

	Title		: Additional Random Extension to TLS
	Author(s)	: P. Hoffman
	Filename	: draft-hoffman-tls-additional-random-ext-00.txt
	Pages		: 3
	Date		: 2010-1-29
	
   This document specifies a TLS/DTLS extension that uses the additional
   master secret inputs to achieve useful security properties.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-hoffman-tls-additional-random-ext-00.txt


--Paul Hoffman, Director
--VPN Consortium

From s@pahtak.org  Fri Jan 29 16:24:19 2010
Return-Path: <s@pahtak.org>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E88973A679C; Fri, 29 Jan 2010 16:24:19 -0800 (PST)
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 ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dFYQMpdQocbf; Fri, 29 Jan 2010 16:24:19 -0800 (PST)
Received: from mail-gx0-f226.google.com (mail-gx0-f226.google.com [209.85.217.226]) by core3.amsl.com (Postfix) with ESMTP id CF9FF3A635F; Fri, 29 Jan 2010 16:24:18 -0800 (PST)
Received: by gxk26 with SMTP id 26so736295gxk.8 for <multiple recipients>; Fri, 29 Jan 2010 16:24:38 -0800 (PST)
Received: by 10.150.184.16 with SMTP id h16mr2474807ybf.344.1264811077631; Fri, 29 Jan 2010 16:24:37 -0800 (PST)
Received: from ?128.54.2.40? ([128.54.2.40]) by mx.google.com with ESMTPS id 20sm902231ywh.17.2010.01.29.16.24.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 29 Jan 2010 16:24:36 -0800 (PST)
Mime-Version: 1.0 (Apple Message framework v1077)
Content-Type: text/plain; charset=us-ascii
From: Steve Checkoway <s@pahtak.org>
In-Reply-To: <C78933B7.7FDE%stefan@aaa-sec.com>
Date: Fri, 29 Jan 2010 16:24:31 -0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <5D436DF5-AE4B-42DC-9454-0383004D9C66@pahtak.org>
References: <C78933B7.7FDE%stefan@aaa-sec.com>
To: tls@ietf.org
X-Mailer: Apple Mail (2.1077)
Cc: ietf@ietf.org
Subject: Re: [TLS] Metadiscussion on changes in draft-ietf-tls-renegotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Sat, 30 Jan 2010 00:24:20 -0000

On Jan 29, 2010, at 3:54 PM, Stefan Santesson wrote:

> The key is though that being liberal is only an option when this does =
not
> hurt security, and that is a tricky balance act.

I'm not sure why you say that. Marsh's example of HTML shows interop =
issues that came from being liberal that had nothing to do with =
security. Allowing SCSV + RI doesn't hurt security, but that's not an =
argument for allowing it.

> I totally agree in principle. However, if a renegotiating client sends =
a
> full RI extension with valid data AND the client also sends SCSV, then =
what
> security problem is introduced by allowing the renegotiation (i.e. Not
> aborting)

None.

> Hence, the "MUST abort" requirement seems like an unmotivated =
restriction.
> I'm not saying that we have to change the current draft, I'm just =
curious to
> understand the real benefits of this requirement.

I'm not convinced that there is a real benefit one way or the other. =
People have been disagreeing about which is better, but none of the =
arguments on either side have been very convincing.

>=20
>=20
>>> So This "MUST NOT" requirement will likely be
>>> ignored by some implementations.
>>=20
>> They should expect the market to hold them accountable if problems =
result.
>>=20
>> The implementers on this list have indicated they could produce
>> interoperable implementations of this spec. And they appear to have
>> proven it by demonstrating implementations which actually =
interoperate.
>>=20
>=20
> Again, based on what I have seen, I would not be surprised.
> I don't think being accountable to the market is a very strong threat =
if a
> safe adjustment to a more liberal processing helps customers to avoid
> interop problems while maintaining the security of the protocol.

It seems rather unlikely that disallowing SCSV + RI is going to cause =
interop problems. An implementor who hasn't bothered to read the 1700+ =
emails about this is going to determine pretty quickly that SCSV + RI is =
not in spec during normal testing if the MUST NOT was overlooked in the =
spec.

Given that there are no security concerns and the interop concerns seem =
pretty minor at best, it makes sense to me to publish and get the fix =
out sooner rather than spending another month arguing about something, =
that in the end, doesn't change the security guarantees of TLS.

--=20
Steve Checkoway





From stefan@aaa-sec.com  Fri Jan 29 16:35:12 2010
Return-Path: <stefan@aaa-sec.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9EFB63A682C for <tls@core3.amsl.com>; Fri, 29 Jan 2010 16:35:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.249
X-Spam-Level: 
X-Spam-Status: No, score=-2.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_SE=0.35]
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 pT9g1SNyibUH for <tls@core3.amsl.com>; Fri, 29 Jan 2010 16:35:11 -0800 (PST)
Received: from s87.loopia.se (s87.loopia.se [194.9.95.114]) by core3.amsl.com (Postfix) with ESMTP id 751943A635F for <tls@ietf.org>; Fri, 29 Jan 2010 16:35:10 -0800 (PST)
Received: from s29.loopia.se (s34.loopia.se [194.9.94.70]) by s87.loopia.se (Postfix) with ESMTP id 1FE3334683D for <tls@ietf.org>; Sat, 30 Jan 2010 01:35:42 +0100 (CET)
Received: (qmail 54621 invoked from network); 30 Jan 2010 00:35:32 -0000
Received: from 213-64-142-247-no153.business.telia.com (HELO [192.168.1.15]) (stefan@fiddler.nu@[213.64.142.247]) (envelope-sender <stefan@aaa-sec.com>) by s29.loopia.se (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for <paul.hoffman@vpnc.org>; 30 Jan 2010 00:35:32 -0000
User-Agent: Microsoft-Entourage/12.23.0.091001
Date: Sat, 30 Jan 2010 01:35:31 +0100
From: Stefan Santesson <stefan@aaa-sec.com>
To: Paul Hoffman <paul.hoffman@vpnc.org>, <tls@ietf.org>
Message-ID: <C7893D63.7FE7%stefan@aaa-sec.com>
Thread-Topic: [TLS] New drafts: adding input to the TLS master secret
Thread-Index: AcqhRCCVpeRCS7IhQ0CHq1UvNZovaw==
In-Reply-To: <p0624089bc78922bdaddd@[10.20.30.158]>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
Subject: Re: [TLS] New drafts: adding input to the TLS master secret
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Sat, 30 Jan 2010 00:35:12 -0000

Paul, 

I have a few questions:

1)  Could/Should the draft say anything more about the benefits?

The draft states the undeniable fact that "This mixing creates a
cryptographic binding of the added material directly into the secret that is
used to protect the TLS session.  For example, some systems want to be sure
that there is sufficient randomness in the TLS master_secret"

But is this solution provided because the PRF, unless amended with
additional entropy, could cause security issues that motivates this change?

2) What is the added value of defining the amended master secret calculation
in absence of any extension that provide data to the calculation.

Once such extension is defined, would it not have to more or less duplicate
the definition provided in this draft? (e.g. see question 3)

3) How do you decide the order of input from multiple extensions?

Which extension will provide ClientHello.additional_ms_input_1 and
ClientHello.additional_ms_input_2. How can you sort this out unless each
extension explicitly define its input order in relation to other similar
extensions or by creating an IANA registry where input's and their order are
registered.


/Stefan


On 10-01-30 12:42 AM, "Paul Hoffman" <paul.hoffman@vpnc.org> wrote:

> Greetings again. I have submitted two drafts that are probably of interest to
> some people in the TLS WG. I intend to submit them as individual submissions,
> not through the WG, but getting input from the WG before I do so would be
> great.
> 
> The first document changes the TLS/DTLS master secret calculation when there
> are particular kinds of extensions present. Of course, it does not change the
> calculation when those extensions are not present, and there are no extensions
> yet that would kick in the change.
> 
> The second document is an extension that is similar to the one that Ekr
> proposed over a year ago. It allows one or both parties to add more random
> input to the master secret calculation. This is desired by some organizations
> who want to match the guaranteed amount of randomness in the master secret
> calculation with the strength of the encryption and authentication functions.
> 
> Both documents are (purposely) short and hopefully easy to read. If you have
> any comments, send them to me or, if you think they pertain to the WG, maybe
> send them here. Again, these are not meant to be WG work items; I doubt that
> the effort to recharter and so on would be worth the value.
> 
> --Paul Hoffman
> 
> Title  : Additional Master Secret Inputs for TLS
> Author(s) : P. Hoffman
> Filename : draft-hoffman-tls-master-secret-input-00.txt
> Pages  : 4
> Date  : 2010-1-29
> 
>    This document describes a mechanism for using additional master
>    secret inputs with Transport Layer Security (TLS) and Datagram TLS
>    (DTLS).
> 
> A URL for this Internet-Draft is:
> http://www.ietf.org/internet-drafts/draft-hoffman-tls-master-secret-input-00.t
> xt
> 
> Title  : Additional Random Extension to TLS
> Author(s) : P. Hoffman
> Filename : draft-hoffman-tls-additional-random-ext-00.txt
> Pages  : 3
> Date  : 2010-1-29
> 
>    This document specifies a TLS/DTLS extension that uses the additional
>    master secret inputs to achieve useful security properties.
> 
> A URL for this Internet-Draft is:
> http://www.ietf.org/internet-drafts/draft-hoffman-tls-additional-random-ext-00
> .txt
> 
> 
> --Paul Hoffman, Director
> --VPN Consortium
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls



From paul.hoffman@vpnc.org  Fri Jan 29 17:10:04 2010
Return-Path: <paul.hoffman@vpnc.org>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8EE5A3A635F for <tls@core3.amsl.com>; Fri, 29 Jan 2010 17:10:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.082
X-Spam-Level: 
X-Spam-Status: No, score=-6.082 tagged_above=-999 required=5 tests=[AWL=-0.036, BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-4]
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 yjuzfSgu6SFL for <tls@core3.amsl.com>; Fri, 29 Jan 2010 17:10:02 -0800 (PST)
Received: from balder-227.proper.com (Balder-227.Proper.COM [192.245.12.227]) by core3.amsl.com (Postfix) with ESMTP id 72F053A68DF for <tls@ietf.org>; Fri, 29 Jan 2010 17:10:02 -0800 (PST)
Received: from [10.20.30.158] (75-101-30-90.dsl.dynamic.sonic.net [75.101.30.90]) (authenticated bits=0) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id o0U1AKKV026944 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 29 Jan 2010 18:10:22 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
Mime-Version: 1.0
Message-Id: <p0624089cc7893479d5d1@[10.20.30.158]>
In-Reply-To: <C7893D63.7FE7%stefan@aaa-sec.com>
References: <C7893D63.7FE7%stefan@aaa-sec.com>
Date: Fri, 29 Jan 2010 17:10:18 -0800
To: Stefan Santesson <stefan@aaa-sec.com>, <tls@ietf.org>
From: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [TLS] New drafts: adding input to the TLS master secret
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Sat, 30 Jan 2010 01:10:04 -0000

At 1:35 AM +0100 1/30/10, Stefan Santesson wrote:
>1)  Could/Should the draft say anything more about the benefits?

Not really; I put what I knew into the doc.

>The draft states the undeniable fact that "This mixing creates a
>cryptographic binding of the added material directly into the secret that is
>used to protect the TLS session.  For example, some systems want to be sure
>that there is sufficient randomness in the TLS master_secret"
>
>But is this solution provided because the PRF, unless amended with
>additional entropy, could cause security issues that motivates this change?

The first sentence (mixing) is, as you say, undeniable. Different people want different items cryptographically mixed into the secret. For instance, some people really want the parties' identities mixed in. (Note that I'm not proposing to do that, just saying that some folks want it.)

The second sentence (random) is the motivation for the extension. A PRF which turns out to be weaker than expected might have that weakness shored up by stuffing more random in the master_secret. To date, no PRF weaknesses have ever been made worse by adding random inputs.

>2) What is the added value of defining the amended master secret calculation
>in absence of any extension that provide data to the calculation.
>
>Once such extension is defined, would it not have to more or less duplicate
>the definition provided in this draft? (e.g. see question 3)

There is no value to amending the calculation unless there is at least one extension that will use it. However, do not assume that the only possible valuable extension is for adding randomness; there are others that other folks might want in the future.

>3) How do you decide the order of input from multiple extensions?

That's covered in draft-hoffman-tls-master-secret-input:

   For the calculation of the master secret, the
   extensions MUST be sorted by extension type order.  Note that RFC
   5246 specifies that there can only be one extension per type, and the
   extensions can appear in mixed order.

--Paul Hoffman, Director
--VPN Consortium

From marsh@extendedsubset.com  Sat Jan 30 14:08:23 2010
Return-Path: <marsh@extendedsubset.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A2C3D3A67CF; Sat, 30 Jan 2010 14:08:23 -0800 (PST)
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 ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RLyimwQ7rQlG; Sat, 30 Jan 2010 14:08:22 -0800 (PST)
Received: from mho-01-ewr.mailhop.org (mho-01-ewr.mailhop.org [204.13.248.71]) by core3.amsl.com (Postfix) with ESMTP id A3A253A67B6; Sat, 30 Jan 2010 14:08:22 -0800 (PST)
Received: from xs01.extendedsubset.com ([69.164.193.58]) by mho-01-ewr.mailhop.org with esmtpa (Exim 4.68) (envelope-from <marsh@extendedsubset.com>) id 1NbLUn-0004k6-KQ; Sat, 30 Jan 2010 22:08:49 +0000
Received: from [127.0.0.1] (localhost [127.0.0.1]) by xs01.extendedsubset.com (Postfix) with ESMTP id 1831C6048; Sat, 30 Jan 2010 22:08:48 +0000 (UTC)
X-Mail-Handler: MailHop Outbound by DynDNS
X-Originating-IP: 69.164.193.58
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1/L2SjdR9WaJRcZsho7O5pDchH7bo/SKC4=
Message-ID: <4B64ADEF.2020501@extendedsubset.com>
Date: Sat, 30 Jan 2010 16:08:47 -0600
From: Marsh Ray <marsh@extendedsubset.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Stefan Santesson <stefan@aaa-sec.com>
References: <C78933B7.7FDE%stefan@aaa-sec.com>
In-Reply-To: <C78933B7.7FDE%stefan@aaa-sec.com>
X-Enigmail-Version: 0.96.0
OpenPGP: id=1E36DBF2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: tls@ietf.org, ietf@ietf.org
Subject: Re: [TLS] Metadiscussion on changes in draft-ietf-tls-renegotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Sat, 30 Jan 2010 22:08:23 -0000

Stefan Santesson wrote:
> 
> I totally agree in principle. However, if a renegotiating client sends a
> full RI extension with valid data AND the client also sends SCSV, then what
> security problem is introduced by allowing the renegotiation (i.e. Not
> aborting)
> 
> No matter how hard I try, I can't find the security problem and I can't find
> the interoperability advantage.
>
> Hence, the "MUST abort" requirement seems like an unmotivated restriction.
> I'm not saying that we have to change the current draft, I'm just curious to
> understand the real benefits of this requirement.

In a sense it allows a consistent definition of the semantics of SCSV:
The presence of SCSV is equivalent to an empty RI extension. Under such
a definition, the presence of multiple conflicting RIs (especially an
empty RI during a renegotiation) is clearly an abort-able offense!

This "permitted, though NOT RECOMMENDED" practice of sending SCSV during
insecure renegotiation can be (charitably) thought of as not changing
the semantics of SCSV, but instead being a sneaky manipulation in order
to probe the target server to double check that he's still not upgraded.
 This probably does not add any real security (MitM could just drop the
RI from the Server Hello and the client might not be able to detect it
until after he sent his Finished message). Seems like implementations
wishing to use this kind of trickery could do so without it having been
explicitly permitted by the spec.

> Again, based on what I have seen, I would not be surprised.
> I don't think being accountable to the market is a very strong threat

Seriously, got anything better in mind? Security researchers dropping
0-days maybe?

> if a
> safe adjustment to a more liberal processing helps customers to avoid
> interop problems while maintaining the security of the protocol.
> 
> Hence, if there IS a security threat that motivates this, then it is
> extremely important to spell it out in the clear.

At one time some there seemed to be some ambiguity in the specs (or at
least some interpreted it that way) as to whether or not extension data
on the Hellos was actually to included in calculations for the Finished
message verify_data. Perhaps some vendors included it and some did not,
and no one noticed at the time because there were no extensions defined.
I vaguely recall somebody suggesting on this list that (for
interoperability of course) some implementation calculated the
verify_data both ways and accepted either one that matched.

If this is in fact the case, it seems plausible that there might be
implementations (of older specs like SSLv3) out there for which
extension data can be dropped or changed by MitM.

I wonder if considerations for these systems has anything to do with it?

- Marsh

From dean@av8.com  Sat Jan 30 14:13:23 2010
Return-Path: <dean@av8.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E91C13A67B6 for <tls@core3.amsl.com>; Sat, 30 Jan 2010 14:13:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.588
X-Spam-Level: 
X-Spam-Status: No, score=-2.588 tagged_above=-999 required=5 tests=[AWL=0.011,  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 6FamcfKsUso2 for <tls@core3.amsl.com>; Sat, 30 Jan 2010 14:13:20 -0800 (PST)
Received: from cirrus.av8.net (cirrus.av8.net [130.105.36.66]) by core3.amsl.com (Postfix) with ESMTP id 517243A6873 for <tls@ietf.org>; Sat, 30 Jan 2010 14:13:20 -0800 (PST)
Received: from citation2.av8.net (citation2.av8.net [130.105.12.10]) (authenticated bits=0) by cirrus.av8.net (8.12.11/8.12.11) with ESMTP id o0UMDfIf007869 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sat, 30 Jan 2010 17:13:45 -0500
Date: Sat, 30 Jan 2010 17:13:41 -0500 (EST)
From: Dean Anderson <dean@av8.com>
X-X-Sender: dean@citation2.av8.net
To: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <p0624089bc78922bdaddd@[10.20.30.158]>
Message-ID: <Pine.LNX.4.44.1001301646090.20139-100000@citation2.av8.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Cc: tls@ietf.org
Subject: Re: [TLS] New drafts: adding input to the TLS master secret
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Sat, 30 Jan 2010 22:13:23 -0000

On Fri, 29 Jan 2010, Paul Hoffman wrote:

> The first document changes the TLS/DTLS master secret calculation when
> there are particular kinds of extensions present. Of course, it does
> not change the calculation when those extensions are not present, and
> there are no extensions yet that would kick in the change.

Unless I misunderstand what you plan to change, te master secret
calculation is a core subject of TLS and thus the TLS Working Group
activity.

I am concerned that this is an out-of-WG framework change that
effectively alters WG standards on the master secret calculation and
impacts subsequent extensions; and that as it is outside of the WG
standards process.  Independent submissions are not allowed on WG
subject matter. It would seem to me that the RFC editor ought to reject
this independent submission because it is related to WG activity, and
amounts to an end-run around WG decision-making on master secret
calculation and how TLS extensions affect core facilities. Merely
bringing such work to the attention of the WG before independent
submission seems to be insufficient to comply with the requirement that
Working Groups decide on standards in their chartered area.

Changing the master secret calculation in a nonstandard way is a
proprietary change.  The WG gives approval by accepting the document,
reviewing it, and deciding on it. Saying "Hey WG, look at this" isn't
sufficient.  Putting an "RFC"  imprimatur on your change via independent
submission doesn't alter the fact of WG non-standardization, but merely
confuses both implementers and the public, and constrains WG decisions
in the future. But of course, that's why the RFC editor is supposed to
reject independent submissions that overlap WG work.

		--Dean




-- 
Av8 Internet   Prepared to pay a premium for better service?
www.av8.net         faster, more reliable, better service
617 256 5494



From paul.hoffman@vpnc.org  Sat Jan 30 17:33:45 2010
Return-Path: <paul.hoffman@vpnc.org>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5C8E43A67A8 for <tls@core3.amsl.com>; Sat, 30 Jan 2010 17:33:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.081
X-Spam-Level: 
X-Spam-Status: No, score=-6.081 tagged_above=-999 required=5 tests=[AWL=-0.035, BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-4]
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 y9j+jjzZcGJ1 for <tls@core3.amsl.com>; Sat, 30 Jan 2010 17:33:44 -0800 (PST)
Received: from balder-227.proper.com (Balder-227.Proper.COM [192.245.12.227]) by core3.amsl.com (Postfix) with ESMTP id 52D733A6829 for <tls@ietf.org>; Sat, 30 Jan 2010 17:33:44 -0800 (PST)
Received: from [10.20.30.158] (75-101-30-90.dsl.dynamic.sonic.net [75.101.30.90]) (authenticated bits=0) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id o0V1YBZh010461 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <tls@ietf.org>; Sat, 30 Jan 2010 18:34:12 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
Mime-Version: 1.0
Message-Id: <p062408bbc78a8c9e5ede@[10.20.30.158]>
In-Reply-To: <Pine.LNX.4.44.1001301646090.20139-100000@citation2.av8.net>
References: <Pine.LNX.4.44.1001301646090.20139-100000@citation2.av8.net>
Date: Sat, 30 Jan 2010 17:34:08 -0800
To: tls@ietf.org
From: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [TLS] New drafts: adding input to the TLS master secret
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Sun, 31 Jan 2010 01:33:45 -0000

At 5:13 PM -0500 1/30/10, Dean Anderson wrote:
>On Fri, 29 Jan 2010, Paul Hoffman wrote:
>
>> The first document changes the TLS/DTLS master secret calculation when
>> there are particular kinds of extensions present. Of course, it does
>> not change the calculation when those extensions are not present, and
>> there are no extensions yet that would kick in the change.
>
>Unless I misunderstand what you plan to change, te master secret
>calculation is a core subject of TLS and thus the TLS Working Group
>activity.

You do not misunderstand what I plan to change. What I am far from clear on is whether this WG can add such a work item without rechartering, given that the charter disagrees with your view that this is inherently a WG activity. If the WG can adopt the work without rechartering, that would be fine with me. If, however, it takes a bunch of silly work, there is no need to do that: individual submission would give folks just as much review opportunity and will give the AD just as much input from the community.

>I am concerned that this is an out-of-WG framework change that
>effectively alters WG standards on the master secret calculation and
>impacts subsequent extensions; and that as it is outside of the WG
>standards process. 

As you can see from the draft itself, it only affects "subsequent extensions" if those extensions want to be affected. That is, they have to explicitly declare themselves as affected; otherwise, they aren't.

>Independent submissions are not allowed on WG
>subject matter. It would seem to me that the RFC editor ought to reject
>this independent submission because it is related to WG activity, and
>amounts to an end-run around WG decision-making on master secret
>calculation and how TLS extensions affect core facilities. Merely
>bringing such work to the attention of the WG before independent
>submission seems to be insufficient to comply with the requirement that
>Working Groups decide on standards in their chartered area.

All quite true. That's why I said I intended them to be by "individual submission", not "independent submission".

>Changing the master secret calculation in a nonstandard way is a
>proprietary change. 

True, but completely irrelevant. As one can see from the drafts themselves, they are meant to be on standards track.

>The WG gives approval by accepting the document,
>reviewing it, and deciding on it. Saying "Hey WG, look at this" isn't
>sufficient.  Putting an "RFC"  imprimatur on your change via independent
>submission doesn't alter the fact of WG non-standardization, but merely
>confuses both implementers and the public, and constrains WG decisions
>in the future. But of course, that's why the RFC editor is supposed to
>reject independent submissions that overlap WG work.

Again, true but irrelevant. Independent submissions are fully vetted in the IETF, and the AD would certainly want to be sure that there was "enough" technical discussion in the TLS WG before even considering the documents for IETF Last Call.

--Paul Hoffman, Director
--VPN Consortium

From kanno.satoru@po.ntts.co.jp  Wed Jan 27 18:47:09 2010
Return-Path: <kanno.satoru@po.ntts.co.jp>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1A0703A6905 for <tls@core3.amsl.com>; Wed, 27 Jan 2010 18:47:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.09
X-Spam-Level: 
X-Spam-Status: No, score=-0.09 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_JP=1.244, HOST_EQ_JP=1.265]
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 QPWFvlAGBJh1 for <tls@core3.amsl.com>; Wed, 27 Jan 2010 18:47:08 -0800 (PST)
Received: from mail2.ics.ntts.co.jp (mail2.ics.ntts.co.jp [202.32.24.42]) by core3.amsl.com (Postfix) with ESMTP id 3DF8C3A687B for <tls@ietf.org>; Wed, 27 Jan 2010 18:47:07 -0800 (PST)
Received: from sadoku34.silk.ntts.co.jp (sadoku34 [10.7.18.34]) by mail2.ics.ntts.co.jp (8.13.8/NTTSOFT) with ESMTP id o0S2lNs0006389 for <tls@ietf.org>; Thu, 28 Jan 2010 11:47:23 +0900 (JST)
Received: (from root@localhost) by sadoku34.silk.ntts.co.jp (8.13.8/NTTSOFT) id o0S2lNeR029997 for tls@ietf.org; Thu, 28 Jan 2010 11:47:23 +0900 (JST)
Received: from ccmds36.silk.ntts.co.jp [10.107.0.36]  by sadoku34.silk.ntts.co.jp with SMTP id MAA29996; Thu, 28 Jan 2010 11:47:23 +0900
Received: from mail125.silk.ntts.co.jp (ccmds36.ntts.co.jp [127.0.0.1]) by ccmds36.silk.ntts.co.jp (8.14.3/8.14.3) with ESMTP id o0S2lMkZ021801 for <tls@ietf.org>; Thu, 28 Jan 2010 11:47:22 +0900
Received: from mail125.silk.ntts.co.jp (localhost [127.0.0.1]) by mail125.silk.ntts.co.jp (8.14.3/NTTSOFT) with ESMTP id o0S2lMcV002270 for <tls@ietf.org>; Thu, 28 Jan 2010 11:47:22 +0900 (JST)
Received: from ccmds36 (ccmds36.silk.ntts.co.jp [10.107.0.36]) by mail125.silk.ntts.co.jp (8.14.3/NTTSOFT) with SMTP id o0S2lM4Z002267 for <tls@ietf.org>; Thu, 28 Jan 2010 11:47:22 +0900 (JST)
Message-ID: <4B60FAAA.4030502@po.ntts.co.jp>
Date: Thu, 28 Jan 2010 11:47:06 +0900
From: Satoru Kanno <kanno.satoru@po.ntts.co.jp>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1
MIME-Version: 1.0
To: tls@ietf.org
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit
X-CC-Mail-RelayStamp: CC-Mail-V4.2-Client
X-CC-Mail-RelayStamp: CC-Mail-V4.2-Server
X-Mailman-Approved-At: Sun, 31 Jan 2010 22:43:00 -0800
Subject: [TLS] Call for Review on draft-kanno-tls-camellia-ecc-sha
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Thu, 28 Jan 2010 02:47:09 -0000

Dear all,

I've posted new revision of draft-kanno-tls-camellia-ecc-sha-01.
 URL: http://tools.ietf.org/id/draft-kanno-tls-camellia-ecc-sha-01.txt

I summarize modifications:
 - Revised Introduction and Security Considerations

Comments about our document would be welcome.

We plan to make this draft to next step 'Publication Request'
within two weeks.

Best regards,

-------------------------------------------------------------
A new version of I-D, draft-kanno-tls-camellia-ecc-sha-01.txt has been
successfuly submitted by Satoru Kanno and posted to the IETF repository.

Filename:	 draft-kanno-tls-camellia-ecc-sha
Revision:	 01
Title:		 Addition of Camellia Elliptic Curve Cipher Suites with SHA-1
and SHA-2
Creation_date:	 2010-01-27
WG ID:		 Independent Submission
Number_of_pages: 5

Abstract:
This document specifies a set of elliptic curve cipher suites for the
Transport Security Layer (TLS) protocol to support the Camellia
encryption algorithm as a block cipher.  This document describes
sixteen new cipher suites for TLS that specify HMAC-SHA1 and HMAC-
SHA2.


The IETF Secretariat.
-------------------------------------------------------------

-- 
Satoru Kanno

Security Business Unit
Mobile and Security Solution Business Group
NTT Software Corporation

e-mail: kanno.satoru@po.ntts.co.jp


From kanno.satoru@po.ntts.co.jp  Wed Jan 27 18:47:25 2010
Return-Path: <kanno.satoru@po.ntts.co.jp>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8E8F13A6905 for <tls@core3.amsl.com>; Wed, 27 Jan 2010 18:47:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.09
X-Spam-Level: 
X-Spam-Status: No, score=-0.09 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_JP=1.244, HOST_EQ_JP=1.265]
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 Ro2j3K0oe0ic for <tls@core3.amsl.com>; Wed, 27 Jan 2010 18:47:24 -0800 (PST)
Received: from mail2.ics.ntts.co.jp (mail2.ics.ntts.co.jp [202.32.24.42]) by core3.amsl.com (Postfix) with ESMTP id 99FEF3A687B for <tls@ietf.org>; Wed, 27 Jan 2010 18:47:24 -0800 (PST)
Received: from sadoku34.silk.ntts.co.jp (sadoku34 [10.7.18.34]) by mail2.ics.ntts.co.jp (8.13.8/NTTSOFT) with ESMTP id o0S2lee7006406 for <tls@ietf.org>; Thu, 28 Jan 2010 11:47:40 +0900 (JST)
Received: (from root@localhost) by sadoku34.silk.ntts.co.jp (8.13.8/NTTSOFT) id o0S2lekP000017 for tls@ietf.org; Thu, 28 Jan 2010 11:47:40 +0900 (JST)
Received: from ccmds36.silk.ntts.co.jp [10.107.0.36]  by sadoku34.silk.ntts.co.jp with SMTP id MAA00016; Thu, 28 Jan 2010 11:47:40 +0900
Received: from mail125.silk.ntts.co.jp (ccmds36.ntts.co.jp [127.0.0.1]) by ccmds36.silk.ntts.co.jp (8.14.3/8.14.3) with ESMTP id o0S2ld0n021930 for <tls@ietf.org>; Thu, 28 Jan 2010 11:47:39 +0900
Received: from mail125.silk.ntts.co.jp (localhost [127.0.0.1]) by mail125.silk.ntts.co.jp (8.14.3/NTTSOFT) with ESMTP id o0S2leWk002304 for <tls@ietf.org>; Thu, 28 Jan 2010 11:47:40 +0900 (JST)
Received: from ccmds36 (ccmds36.silk.ntts.co.jp [10.107.0.36]) by mail125.silk.ntts.co.jp (8.14.3/NTTSOFT) with SMTP id o0S2ler7002301 for <tls@ietf.org>; Thu, 28 Jan 2010 11:47:40 +0900 (JST)
Message-ID: <4B60FABB.2000500@po.ntts.co.jp>
Date: Thu, 28 Jan 2010 11:47:23 +0900
From: Satoru Kanno <kanno.satoru@po.ntts.co.jp>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1
MIME-Version: 1.0
To: tls@ietf.org
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit
X-CC-Mail-RelayStamp: CC-Mail-V4.2-Client
X-CC-Mail-RelayStamp: CC-Mail-V4.2-Server
X-Mailman-Approved-At: Sun, 31 Jan 2010 22:43:00 -0800
Subject: [TLS] Call for Review on draft-kanno-tls-camellia-gcm-00
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Thu, 28 Jan 2010 02:47:25 -0000

Dear all,

I've posted draft-kanno-tls-camellia-gcm-00.
 URL: http://tools.ietf.org/id/draft-kanno-tls-camellia-gcm-00.txt

Comments about our document would be welcome.

We plan to make this draft to next step 'Publication Request'
within two weeks.

Best regards,

-------------------------------------------------------------
Filename:	 draft-kanno-tls-camellia-gcm
Revision:	 00
Title:		 Camellia Galois Counter Mode (GCM) Cipher Suites for TLS
Creation_date:	 2010-01-27
WG ID:		 Independent Submission
Number_of_pages: 9

Abstract:
This document describes the use of the Camellia in Galois Counter
Mode (GCM) as a Transport Layer Security (TLS) authenticated
encryption operation.  This document defines TLS cipher suites that
use Camellia-GCM with RSA, DSA, Diffie-Hellman-based key exchange and
Elliptic Curve Cryptography (ECC).


The IETF Secretariat.
-------------------------------------------------------------

-- 
Satoru Kanno

Security Business Unit
Mobile and Security Solution Business Group
NTT Software Corporation

e-mail: kanno.satoru@po.ntts.co.jp


From kanno.satoru@po.ntts.co.jp  Wed Jan 27 18:47:41 2010
Return-Path: <kanno.satoru@po.ntts.co.jp>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 139283A687B for <tls@core3.amsl.com>; Wed, 27 Jan 2010 18:47:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.09
X-Spam-Level: 
X-Spam-Status: No, score=-0.09 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_JP=1.244, HOST_EQ_JP=1.265]
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 3InrlLlHWFCj for <tls@core3.amsl.com>; Wed, 27 Jan 2010 18:47:40 -0800 (PST)
Received: from mail2.ics.ntts.co.jp (mail2.ics.ntts.co.jp [202.32.24.42]) by core3.amsl.com (Postfix) with ESMTP id 288103A6905 for <tls@ietf.org>; Wed, 27 Jan 2010 18:47:40 -0800 (PST)
Received: from sadoku34.silk.ntts.co.jp (sadoku34 [10.7.18.34]) by mail2.ics.ntts.co.jp (8.13.8/NTTSOFT) with ESMTP id o0S2luaJ006419 for <tls@ietf.org>; Thu, 28 Jan 2010 11:47:56 +0900 (JST)
Received: (from root@localhost) by sadoku34.silk.ntts.co.jp (8.13.8/NTTSOFT) id o0S2lukB000033 for tls@ietf.org; Thu, 28 Jan 2010 11:47:56 +0900 (JST)
Received: from ccmds36.silk.ntts.co.jp [10.107.0.36]  by sadoku34.silk.ntts.co.jp with SMTP id MAA00032; Thu, 28 Jan 2010 11:47:56 +0900
Received: from mail125.silk.ntts.co.jp (ccmds36.ntts.co.jp [127.0.0.1]) by ccmds36.silk.ntts.co.jp (8.14.3/8.14.3) with ESMTP id o0S2ltlM022054 for <tls@ietf.org>; Thu, 28 Jan 2010 11:47:55 +0900
Received: from mail125.silk.ntts.co.jp (localhost [127.0.0.1]) by mail125.silk.ntts.co.jp (8.14.3/NTTSOFT) with ESMTP id o0S2lulZ002357 for <tls@ietf.org>; Thu, 28 Jan 2010 11:47:56 +0900 (JST)
Received: from ccmds36 (ccmds36.silk.ntts.co.jp [10.107.0.36]) by mail125.silk.ntts.co.jp (8.14.3/NTTSOFT) with SMTP id o0S2ltbC002354 for <tls@ietf.org>; Thu, 28 Jan 2010 11:47:55 +0900 (JST)
Message-ID: <4B60FACE.10205@po.ntts.co.jp>
Date: Thu, 28 Jan 2010 11:47:42 +0900
From: Satoru Kanno <kanno.satoru@po.ntts.co.jp>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1
MIME-Version: 1.0
To: tls@ietf.org
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit
X-CC-Mail-RelayStamp: CC-Mail-V4.2-Client
X-CC-Mail-RelayStamp: CC-Mail-V4.2-Server
X-Mailman-Approved-At: Sun, 31 Jan 2010 22:43:00 -0800
Subject: [TLS] Call for Review on draft-kanno-tls-camellia-psk-00
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Thu, 28 Jan 2010 02:47:41 -0000

Dear all,

I've posted draft-kanno-tls-camellia-psk-00.
 URL: http://tools.ietf.org/id/draft-kanno-tls-camellia-psk-00.txt

Comments about our document would be welcome.

We plan to make this draft to next step 'Publication Request'
within two weeks.

Best regards,

-------------------------------------------------------------
A new version of I-D, draft-kanno-tls-camellia-psk-00.txt has been
successfuly submitted by Satoru Kanno and posted to the IETF repository.

Filename:	 draft-kanno-tls-camellia-psk
Revision:	 00
Title:		 Pre-Shared Key Cipher Suites for Camellia for TLS
Creation_date:	 2010-01-24
WG ID:		 Independent Submission
Number_of_pages: 12

Abstract:
This document specifies new Camellia cipher suites for the Transport
Layer Security (TLS) protocol to support authentication based on Pre-
Shared Key (PSK).  This document realizes compatibility with RFC4297,
RFC5487, and RFC5489 specified in AES cipher suites.


The IETF Secretariat.
-------------------------------------------------------------

-- 
Satoru Kanno

Security Business Unit
Mobile and Security Solution Business Group
NTT Software Corporation

e-mail: kanno.satoru@po.ntts.co.jp

