From http-wg-request@cuckoo.hpl.hp.com  Thu May  4 01:44:25 2000
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA22998
	for <http-archive@odin.ietf.org>; Thu, 4 May 2000 01:44:24 -0400 (EDT)
Received: from l3107mxr.atl.hp.com (l3107mxr.atl.hp.com [15.19.254.19])
	by palrel3.hp.com (Postfix) with ESMTP
	id 903FE1F1; Wed,  3 May 2000 22:44:23 -0700 (PDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by l3107mxr.atl.hp.com (Postfix) with ESMTP
	id A3BA14FD84; Thu,  4 May 2000 01:43:50 -0400 (EDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id GAA12700;
	Thu, 4 May 2000 06:43:47 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id GAA14137; Thu, 4 May 2000 06:43:39 +0100 (BST)
Resent-Date: Thu, 4 May 2000 06:43:39 +0100 (BST)
Message-ID: <39110DD2.A35FEEFD@netscape.com>
Date: Wed, 03 May 2000 22:42:42 -0700
From: jpierre@netscape.com (Julien Pierre)
Organization: Netscape Communications Corp. - America On-Line, Inc. - Sun-Netscape 
 Alliance - iPlanet E-commerce Solutions - AOL Time Warner, Inc. - what 
 next ?
X-Mailer: Mozilla 4.7 [en]C-NSCP  (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Scott Lawrence <lawrence@agranat.com>
Cc: IETF HTTP List <http-wg@hplb.hpl.hp.com>
Subject: Re: draft-ietf-tls-http-upgrade reissued
References: <001701bf5852$b07feec0$954768c0@oyster.agranat.com>
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------msCA016DA0A2E8B595CA1D251F"
Resent-Message-ID: <"W2g361.0.pS3.BuG4v"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/768
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

This is a cryptographically signed message in MIME format.

--------------msCA016DA0A2E8B595CA1D251F
Content-Type: multipart/mixed;
 boundary="------------F4129DC57ADD67F4BA5B14EC"

This is a multi-part message in MIME format.
--------------F4129DC57ADD67F4BA5B14EC
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

I know this is an old messsage, but I must ask : has anybody tried to
implement this TLS upgrade draft ? Or is anybody contemplating it ?
I would certainly like to get the benefits of secure software virtual
servers, but I have concerns about this draft.

At first, as a server implementer, the proposal in this draft looks good,
and quite straightforward to implement . All I have to do is parse the
clear-text TLS upgrade request from the client, find the right keys and
certs for the virtual host requested, and upgrade the existing connection to
TLS. Also, I can force a connection upon the client if an ACL is set. This
is nothing major and looks clean.

However, upon further examination, there are logistical and security
problems with doing a TLS upgrade. Here are a few.

1) It is a fact that many server products out there use confidential data,
like application session keys, or other confidential state information, as
part of the URI.

Section 8.1 states :
"servers may apply resource access rules such as 'the FORM on this page must
be served and submitted using TLS'

Even if a server enforces such a restriction, the URI will already be
compromised as part of the TLS upgrade process, because it is transmitted in
clear by the client before the server instructs it to upgrade to TLS.

2) Nowadays, web users know if they have an http link that the connection is
not secure, and that if it's https it is secure (SSL). It's possible by
looking at the source for an HTML form to determine ahead of time if the
data you will submit will go out in clear or not. The new upgrade draft
makes it unpredictable, by its use of regular http URLs.

With the new draft, there may be http:// link on a web form, for example to
submit (POST) confidential data, made with the assumption that the server
has an ACL requiring a TLS upgrade and therefore that the connection will be
secured.

A current-generation HTTP client will create a request with the form data
from the user, and submit it in clear text to the server, compromising the
data even before the server gets a chance to deny it by requesting a TLS
upgrade with an HTTP 426 return code. This compromises security in order to
retain compatibility with existing HTTP clients. I do not think it is an
acceptable compromise.

3) Section 8.1 states :

"8.1 Implications for the https: URI Scheme

   While nothing in this memo affects the definition of the 'https' URI
   scheme, widespread adoption of this mechanism for HyperText content
   could use 'http' to identify both secure and non-secure resources.

   The choice of what security characteristics are required on the
   connection is left to the client and server.  This allows either
   party to use any information available in making this determination.
   For example, user agents may rely on user preference settings or
   information about the security of the network such as 'TLS required
   on all POST operations not on my local net', or servers may apply
   resource access rules such as 'the FORM on this page must be served
   and submitted using TLS'. "

When it comes to security, I don't think ambiguity is a good thing, and it
is not good to leave it entirely
"up to the client and server" to determine what security characteristics are
needed for the connection.
I think the draft should define at least one standard way to tell clients
that an upgrade is in order before connection establishment.

Take the HTML form example described in my second remark.

What is a new HTTP client aware of the TLS upgrade draft supposed to do when
submitting such an HTML form ? Should it always try first thing to upgrade
the connection to any HTTP server to TLS, before issuing any meaningful
request (containing URI and maybe also POST data) ?

That would certainly work technically and ensure best possible security, but
it would be a major waste of bandwidth in 99% of the cases since current
servers will not understand the upgrade request and reject it. Many existing
servers don't support keep-alive and will even close the connection,
introducing extra latency due to the need to reconnect.

It may also be a waste of CPU for both the server and client, since perhaps
the connection didn't really need to be secure, but ended up as TLS because
of the way the client negotiated the upgrade for every server, and the
server just accepted it.

I think a key problem even for a next-generation HTTP client that is aware
of the upgrade mechanism in this draft, and would be able to perform the
upgrade to TLS - is that the original HTML form fails to specify that the
client should not POST the data in clear, but must request upgrade to TLS.

There needs to be a way to inform the client to request security prior to
the establishment of the connection. I think something still needs to be
specified in the URL to let the client know ahead of time that security is
required for the connection. It cannot be a regular https:// URL since that
will not allow the server to differentiate the virtual host for which the
data is intended. I believe a clean way to do it is to instead have a
distinct protocol name in the URL.

Perhaps there should be other ways to specify it than a protocol name, and
perhaps it doesn't belong in the HTML and not HTTP specification, but I
think that this is a major hole in the draft. Certainly, a new protocol name
means that some clients will not be able to follow some links on new servers
that require a TLS step up, but I think it is acceptable in the name of
uncompromised security.


I believe there is another approach to solving this problem of tying secure
virtual servers to IP addresses. It is completely different than the
proposal in this draft, and does not address the issues of using dual ports
for non-secure and TLS, but I believe is is still relevant.

Instead of trying to define a mechanism to upgrade the connection from
non-secure to secure, the virtual host negotiation could be made a standard
part of the SSL/TLS protocols. I think that makes sense since these
protocols exchange certificates which are tied to the virtual host names.
This is how I would envision it would work :

Let's take two virtual hosts, say secure.sun.com and secure.netscape.com .
They both resolve to the same IP address.

A client wants to connect to https://secure.sun.com . The server happens to
present its public key with the certificate for secure.netscape.com . At
that point, the client normally brings a pop-up dialog saying that the
certificate doesn't match the host requested - which was secure.sun.com ,
then asks the user if he wants to continue, and the user usually stops the
connection.

Instead, the client would by default agree to communicate with the server on
the current SSL/TLS socket, specifically to issue a "virtual host change"
request for secure.sun.com .

The server would then realize that it also knows the key and cert for
secure.sun.com, and would be given the opportunity to renegotiate the SSL
connection with the client, this time presenting secure.sun.com's public key
and certificate. The client could then verify that certificate and accept
it, and the whole process would be transparent for the user.

As you will note, this process requires two full SSL/TLS handshakes, so it
is more expensive in CPU. But that can be optimized. The secure virtual
server could have a unique public key, with several certificates signing
that same key - one certificate for each virtual host. It would then only
have to transmit the certificate for secure.sun.com, without having to
transmit a different public key. This second certificate would satisfy the
client, and would be much faster since it would save a second full
handshake. As part of TLS, this process would be generically applicable to
any other type of TCP client/server application with TLS, not specifically
tied to HTTP.

If you have made it this far, I'm now waiting for all your objections, so go
ahead and shoot !

Scott Lawrence wrote:

> The secretariat didn't forward this announcement to this list, so I
> will.
>
> The only change from version -04 is the addition of the standard
> boilerplate and references  regarding the keywords (MUST, SHOULD,
> MAY, etc).
>
> 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           : Upgrading to TLS Within HTTP/1.1
>         Author(s)       : R. Khare, S. Lawrence
>         Filename        : draft-ietf-tls-http-upgrade-05.txt
>         Pages           : 13
>         Date            : 05-Jan-00
>
> This memo explains how to use the Upgrade mechanism in HTTP/1.1 to
> initiate Transport Layer Security (TLS) over an existing TCP
> connection. This allows unsecured and secured HTTP traffic to share
> the same well known port (in this case, http: at 80 rather than
> https: at 443). It also enables 'virtual hosting,' so a single HTTP
> + TLS server can disambiguate traffic intended for several hostnames
> at a single IP address.
> Since HTTP/1.1[1] defines Upgrade as a hop-by-hop mechanism, this
> memo also documents the HTTP CONNECT method for establishing
> end-to-end tunnels across HTTP proxies. Finally, this memo
> establishes new IANA registries for public HTTP status codes, as
> well as public or private Upgrade product tokens.
>
> A URL for this Internet-Draft is:
> http://www.ietf.org/internet-drafts/draft-ietf-tls-http-upgrade-05.t
> xt
>
> Internet-Drafts are also available by anonymous FTP. Login with the
> username
> "anonymous" and a password of your e-mail address. After logging in,
> type "cd internet-drafts" and then
>         "get draft-ietf-tls-http-upgrade-05.txt".
>
> A list of Internet-Drafts directories can be found in
> http://www.ietf.org/shadow.html
> or ftp://ftp.ietf.org/ietf/1shadow-sites.txt
>
> Internet-Drafts can also be obtained by e-mail.
>
> Send a message to:
>         mailserv@ietf.org.
> In the body type:
>         "FILE /internet-drafts/draft-ietf-tls-http-upgrade-05.txt".
>
> NOTE:   The mail server at ietf.org can return the document in
>         MIME-encoded form by using the "mpack" utility.  To use this
>         feature, insert the command "ENCODING mime" before the "FILE"
>         command.  To decode the response(s), you will need "munpack" or
>         a MIME-compliant mail reader.  Different MIME-compliant mail
> readers
>         exhibit different behavior, especially when dealing with
>         "multipart" MIME messages (i.e. documents which have been split
>         up into multiple messages), so check your local documentation on
>         how to manipulate these messages.
>
> --
> Scott Lawrence      Director of R & D        <lawrence@agranat.com>
> Agranat Systems   Embedded Web Technology   http://www.agranat.com/

--
for a good time, try kill -9 -1


--------------F4129DC57ADD67F4BA5B14EC
Content-Type: text/x-vcard; charset=us-ascii;
 name="jpierre.vcf"
Content-Description: Card for Julien Pierre
Content-Disposition: attachment;
 filename="jpierre.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Pierre;Julien
tel;work:408 276 3664
x-mozilla-html:FALSE
url:http://www.iplanet.com
org:iPlanet E-commerce Solutions, a Sun-Netscape Alliance;Web Server
adr:;;;Santa Clara;California;95054;USA
version:2.1
email;internet:jpierre@netscape.com
title:Software Developer
x-mozilla-cpt:;31920
fn:Julien Pierre
end:vcard

--------------F4129DC57ADD67F4BA5B14EC--

--------------msCA016DA0A2E8B595CA1D251F
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
Content-Transfer-Encoding: base64

MIIIiQYJKoZIhvcNAQcCoIIIejCCCHYCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC
BlwwggMPMIICeKADAgECAgIY9zANBgkqhkiG9w0BAQQFADCBkzELMAkGA1UEBhMCVVMxCzAJ
BgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRswGQYDVQQKExJBbWVyaWNhIE9u
bGluZSBJbmMxGTAXBgNVBAsTEEFPTCBUZWNobm9sb2dpZXMxJzAlBgNVBAMTHkludHJhbmV0
IENlcnRpZmljYXRlIEF1dGhvcml0eTAeFw0wMDAzMDkyMzA0NTNaFw0wMDA5MDUyMzA0NTNa
MIGFMRMwEQYKCZImiZPyLGQBGRYDY29tMRgwFgYKCZImiZPyLGQBGRYIbmV0c2NhcGUxIzAh
BgkqhkiG9w0BCQEWFGpwaWVycmVAbmV0c2NhcGUuY29tMRYwFAYDVQQDEw1KdWxpZW4gUGll
cnJlMRcwFQYKCZImiZPyLGQBARMHanBpZXJyZTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkC
gYEA3QSGxo7n60AUq9zfp96BwOzboYbjYXBhxILxpbkJBSh6wlLqQvjlyO3EZ2+KwDZvgBuh
5Z6uy95ZTfT32bIrr0p97eNXLKGFEN87KQhR7kltc8CSelu0ZP3MsfqBYMnEJBH2myrWpySd
vflZR0cOz4jaudtp4/Stfx99rLL5YUcCAwEAAaN+MHwwEQYJYIZIAYb4QgEBBAQD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QEww
CXgWt5HFi2btsLuF7NvuvwZdNG8+idrHsTG8LYk=
--------------msCA016DA0A2E8B595CA1D251F--



From http-wg-request@cuckoo.hpl.hp.com  Thu May  4 02:13:41 2000
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA29875
	for <http-archive@odin.ietf.org>; Thu, 4 May 2000 02:13:40 -0400 (EDT)
Received: from l3107mxr.atl.hp.com (l3107mxr.atl.hp.com [15.19.254.19])
	by palrel1.hp.com (Postfix) with ESMTP
	id 5D502EC0; Wed,  3 May 2000 23:13:39 -0700 (PDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by l3107mxr.atl.hp.com (Postfix) with ESMTP
	id 453944FD88; Thu,  4 May 2000 02:12:10 -0400 (EDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id HAA14305;
	Thu, 4 May 2000 07:12:05 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id HAA14464; Thu, 4 May 2000 07:12:03 +0100 (BST)
Resent-Date: Thu, 4 May 2000 07:12:03 +0100 (BST)
Delivered-To: fixup-http-wg@hplb.hpl.hp.com@fixme
Mime-Version: 1.0
X-Sender: rohit@128.195.1.70
Message-Id: <v0420551fb536c1aae7a1@[216.160.64.9]>
In-Reply-To: <39110DD2.A35FEEFD@netscape.com>
References: <001701bf5852$b07feec0$954768c0@oyster.agranat.com>
 <39110DD2.A35FEEFD@netscape.com>
Date: Wed, 3 May 2000 23:10:57 -0700
To: Julien Pierre <jpierre@netscape.com>
From: Rohit Khare <rohit@uci.edu>
Subject: Re: draft-ietf-tls-http-upgrade reissued
Cc: Scott Lawrence <lawrence@agranat.com>,
        IETF HTTP List <http-wg@hplb.hpl.hp.com>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Resent-Message-ID: <"ZHon93.0.zX3.pIH4v"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/769
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

At 10:42 PM -0700 5/3/00, Julien Pierre wrote:
>I know this is an old messsage, but I must ask : has anybody tried to
>implement this TLS upgrade draft ?

Yes, Scott has, and some other Internet Printing Protocol folks.

>At first, as a server implementer, the proposal in this draft looks good,
>and quite straightforward to implement .

Thanks! Scott  & I will take all the credit for the fine editing job, 
and none of the blame for the ideas :-)

>1) It is a fact that many server products out there use confidential data,
>like application session keys, or other confidential state information, as
>part of the URI.

Can't do much about that.

This is a general theme of my following comments. Guns can be pointed 
at feet. Triggers can be pulled...

>Even if a server enforces such a restriction, the URI will already be
>compromised as part of the TLS upgrade process, because it is transmitted in
>clear by the client before the server instructs it to upgrade to TLS.

In general, I suspect that a secure-real-time web application should 
be negotiating TLS *before* handing out a FORM at all. But even if it 
did, the following rule applies:

You can *never* prevent a client from publishing data in the New York Times.

If the user's filling in sensitive data, it's the user-agent's job to 
demand secure upgrades before sending as much as the server's, if not 
more.

>2) Nowadays, web users know if they have an http link that the connection is
>not secure, and that if it's https it is secure (SSL).

User behavior has little to do with TCP port numbers. On the other 
hand, nothing in the draft supposes that we will ever change the 
existing practice for Web Hypertext surfing applications.

>A current-generation HTTP client will create a request with the form data
>from the user, and submit it in clear text to the server, compromising the
>data even before the server gets a chance to deny it by requesting a TLS
>upgrade with an HTTP 426 return code. This compromises security in order to
>retain compatibility with existing HTTP clients. I do not think it is an
>acceptable compromise.

Don't send the FORM in the clear, either.

>When it comes to security, I don't think ambiguity is a good thing, and it
>is not good to leave it entirely
>"up to the client and server" to determine what security characteristics are
>needed for the connection.

There is no such thing as absolute security. It is always, in the 
end, in the eye of the beholders.

>I think the draft should define at least one standard way to tell clients
>that an upgrade is in order before connection establishment.

Yes, it does -- 426.

>That would certainly work technically and ensure best possible security, but
>it would be a major waste of bandwidth in 99% of the cases since current
>servers will not understand the upgrade request and reject it. Many existing
>servers don't support keep-alive and will even close the connection,
>introducing extra latency due to the need to reconnect.

Bala Krishnamurthy's PRO-COW compliance survey can tell you about the 
smaller fraction that don't support any form of keep-alive.

>It may also be a waste of CPU for both the server and client, since perhaps
>the connection didn't really need to be secure, but ended up as TLS because
>of the way the client negotiated the upgrade for every server, and the
>server just accepted it.

Purely as a matter of opinion, I'm worried about keeping Andy Grove 
employed, not the other way around :-) Someday, every packet will 
finally be encrypted, and the cycle-time argument is moot.

>It cannot be a regular https:// URL since that
>will not allow the server to differentiate the virtual host for which the
>data is intended.

Sure it can -- interpret https: in a next-generation "client" as an 
invitation to first try Upgrade on port 80, then fall-back to 423.

>Instead of trying to define a mechanism to upgrade the connection from
>non-secure to secure, the virtual host negotiation could be made a standard
>part of the SSL/TLS protocols. I think that makes sense since these
>protocols exchange certificates which are tied to the virtual host names.

This has long been on the "to-do" list for TLS/SSL. Installed base 
strikes again, though, in making this case fairly unlikely. But I 
agree that's the "right" solution for so many more TLS/SSL enabled 
apps than HTTP alone.

Late night thoughts,
Rohit Khare



From http-wg-request@cuckoo.hpl.hp.com  Thu May  4 07:59:55 2000
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA03681
	for <http-archive@odin.ietf.org>; Thu, 4 May 2000 07:59:54 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel1.hp.com (Postfix) with ESMTP
	id 1597B35F; Thu,  4 May 2000 04:59:48 -0700 (PDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id MAA08460;
	Thu, 4 May 2000 12:59:43 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id MAA15410; Thu, 4 May 2000 12:59:33 +0100 (BST)
Resent-Date: Thu, 4 May 2000 12:59:33 +0100 (BST)
From: "Scott Lawrence" <lawrence@agranat.com>
To: "Julien Pierre" <jpierre@netscape.com>
Cc: "IETF HTTP List" <http-wg@hplb.hpl.hp.com>,
        "Rohit Khare" <rohit@ics.uci.edu>
Subject: RE: draft-ietf-tls-http-upgrade reissued
Date: Thu, 4 May 2000 07:55:30 -0400
Message-ID: <001601bfb5bf$a561e320$954768c0@oyster.agranat.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
In-Reply-To: <39110DD2.A35FEEFD@netscape.com>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Resent-Message-ID: <"J1bfS2.0.lm3.bOM4v"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/770
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit


Rohit covered the ground pretty well, and all the points you raise
were discussed the first time around in one way or another, but I'll
reiterate a point or two.

Users have been trained to believe that an 'https:' scheme means
'secure', but what does it really mean?  What it means is 'try this
connection first on port 443 and negotiate (via the TLS/SSL
handshake) a set of security services'.  Key to this is
'negotiate' - the resulting connection could negotiate a set of
services using any of several cipher suites, including easily
breakable or null encryption.  The 'https:' is, in effect, a single
bit of information about how secure the connection for the request
should be, and that isn't enough to be meaningful.  A proper
comprehensive mechanism might provide for (for example) additional
attributes to accompany HTML href that would specify the minimum
required security services, but those don't exist and are outside
the scope of a protocol spec.

Several reviewers objected (as you have) to the fact that an http:
URL is exposed when first requested, and suggested that this
represents a 'leak' - it should only be used on a secure connection.
The implication is that content (such as the link) should never be
used over a connection less secure than the one over which it was
first obtained (I serve a document over a secure connection, the
user clicks on a link and exposes a piece of it on an unsecured
channel).  The problem with this argument is that web clients do not
now and never have had this rule - secured and unsecured content is
treated in the same way.  What is the security status (rules for
linking) of a document I get from a floppy given to me by someone
else who downloaded it?  If there is a need for labelling of content
with security attributes, then that need is best met in the content
itself, and the 'single bit' of appending an 's' to the scheme name
is grossly insufficient.

The spec also serves to complete the definition of how the HTTP
Upgrade mechanism should be used for any protocol change on an
existing connection.  When we actually tried to work it out for this
one case, we found that a number of issues (such as the lack of 426)
had not been addressed in the original 1.1 RFCs.

--
Scott Lawrence      Director of R & D        <lawrence@agranat.com>
Agranat Systems   Embedded Web Technology   http://www.agranat.com/



From http-wg-request@cuckoo.hpl.hp.com  Thu May  4 13:11:52 2000
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA11816
	for <http-archive@odin.ietf.org>; Thu, 4 May 2000 13:11:52 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel3.hp.com (Postfix) with ESMTP
	id 37D8A1DCA; Thu,  4 May 2000 10:11:47 -0700 (PDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id SAA29351;
	Thu, 4 May 2000 18:11:44 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id SAA16570; Thu, 4 May 2000 18:11:32 +0100 (BST)
Resent-Date: Thu, 4 May 2000 18:11:32 +0100 (BST)
Delivered-To: fixup-http-wg@hplb.hpl.hp.com@fixme
Mime-Version: 1.0
X-Sender: rohit@128.195.1.70
Message-Id: <v04205530b53759359c84@[216.160.64.9]>
In-Reply-To: <v0420551fb536c1aae7a1@[216.160.64.9]>
References: <001701bf5852$b07feec0$954768c0@oyster.agranat.com>
 <39110DD2.A35FEEFD@netscape.com> <v0420551fb536c1aae7a1@[216.160.64.9]>
Date: Thu, 4 May 2000 09:48:14 -0700
To: Scott Lawrence <lawrence@agranat.com>,
        IETF HTTP List <http-wg@hplb.hpl.hp.com>, <jpierre@netscape.com>
From: Rohit Khare <rohit@uci.edu>
Subject: Re: draft-ietf-tls-http-upgrade reissued
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Resent-Message-ID: <"YPfdT2.0.t24.4zQ4v"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/771
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

>Bala Krishnamurthy's PRO-COW compliance survey can tell you about 
>the smaller fraction that don't support any form of keep-alive.

To be sure, the blame is also on Martin Arlitt's shoulders :-)

http://fog.hpl.hp.com/techreports/1999/HPL-1999-99.html

>PRO-COW: Protocol Compliance on the Web
>
>Krishnamurthy, Balachander; Arlitt, Martin
>
>HPL-1999-99
>990921
>External
>
>Keyword(s): HTTP/1.1; protocol; World Wide Web; compliancy
>
>Abstract: With the recent (draft) standardization of the HTTP/1.1 
>protocol on the Web, it is natural to ask what percentage of popular 
>Web sites speak HTTP/1.1 and how compliant are these so-called 
>HTTP/1.1 servers. We attempt to answer these questions through a 
>series of experiments based on the protocol standard. The tests are 
>run on a comprehensive list of popular Web sites to which a good 
>fraction of the Web traffic is directed. Our experiments were 
>conducted on a global extensible testing infrastructures that we 
>built to answer the above questions. The same infrastructure will be 
>used to answer questions like the percentage of the traffic flow 
>that is end-to-end HTTP/1.1 protocol compliancy and the subset of 
>features actually available to end users.
>
>23 Pages


The bottom line is that two thirds or more of public Web servers 
already support persistent connections.

Best,
Rohit Khare



From http-wg-request@cuckoo.hpl.hp.com  Thu May  4 17:05:04 2000
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA17571
	for <http-archive@odin.ietf.org>; Thu, 4 May 2000 17:05:03 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel3.hp.com (Postfix) with ESMTP
	id 857AC15E3; Thu,  4 May 2000 14:04:58 -0700 (PDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id WAA16128;
	Thu, 4 May 2000 22:04:53 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id WAA17170; Thu, 4 May 2000 22:04:51 +0100 (BST)
Resent-Date: Thu, 4 May 2000 22:04:51 +0100 (BST)
Message-ID: <3911E5BB.FE07F664@netscape.com>
Date: Thu, 04 May 2000 14:03:55 -0700
From: jpierre@netscape.com (Julien Pierre)
Organization: Netscape Communications Corp. - America On-Line, Inc. - Sun-Netscape 
 Alliance - iPlanet E-commerce Solutions - AOL Time Warner, Inc. - what 
 next ?
X-Mailer: Mozilla 4.7 [en]C-NSCP  (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Rohit Khare <rohit@uci.edu>
Cc: Scott Lawrence <lawrence@agranat.com>,
        IETF HTTP List <http-wg@hplb.hpl.hp.com>
Subject: Re: draft-ietf-tls-http-upgrade reissued
References: <001701bf5852$b07feec0$954768c0@oyster.agranat.com>
	 <39110DD2.A35FEEFD@netscape.com> <v0420551fb536c1aae7a1@[216.160.64.9]>
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------msD54B7298C56AC3176FBDE5C4"
Resent-Message-ID: <"mcMK62.0.BC4.pNU4v"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/772
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

This is a cryptographically signed message in MIME format.

--------------msD54B7298C56AC3176FBDE5C4
Content-Type: multipart/mixed;
 boundary="------------6EE5BE546D4850201A3BB333"

This is a multi-part message in MIME format.
--------------6EE5BE546D4850201A3BB333
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

Rohit Khare wrote:

> Thanks! Scott  & I will take all the credit for the fine editing job,
> and none of the blame for the ideas :-)

I don't think you'll get away with that. See below.

> >1) It is a fact that many server products out there use confidential data,
> >like application session keys, or other confidential state information, as
> >part of the URI.
>
> Can't do much about that.
>
> This is a general theme of my following comments. Guns can be pointed
> at feet. Triggers can be pulled...
>
> >Even if a server enforces such a restriction, the URI will already be
> >compromised as part of the TLS upgrade process, because it is transmitted in
> >clear by the client before the server instructs it to upgrade to TLS.
>
> In general, I suspect that a secure-real-time web application should
> be negotiating TLS *before* handing out a FORM at all.

My question is : what would cause it to perform that TLS negotiation before hand,
since the URL is regular http ?

> But even if it
> did, the following rule applies:
>
> You can *never* prevent a client from publishing data in the New York Times.
>
> If the user's filling in sensitive data, it's the user-agent's job to
> demand secure upgrades before sending as much as the server's, if not
> more.

I don't think users will waste their time filling forms if they are not ahead of
time certain that it will be transmitted securely.
The user-agent can only warn after the negotiation fails, and the user only has
the option of discarding all the data he entered.

> >2) Nowadays, web users know if they have an http link that the connection is
> >not secure, and that if it's https it is secure (SSL).
>
> User behavior has little to do with TCP port numbers. On the other
> hand, nothing in the draft supposes that we will ever change the
> existing practice for Web Hypertext surfing applications.

Maybe your draft is appropriate for your internet printing applications. But
clearly, it will not fill the needs of web surfers and ISPs who want to provide
secure virtual hosting without exhausting the IPv4 address space.

The duplicate TCP port number issue is IMHO less of a problem because it is rare
to exhaust all 2**16 possible TCP ports on a server. That would mean you are
running that many different daemons ...

> >A current-generation HTTP client will create a request with the form data
> >from the user, and submit it in clear text to the server, compromising the
> >data even before the server gets a chance to deny it by requesting a TLS
> >upgrade with an HTTP 426 return code. This compromises security in order to
> >retain compatibility with existing HTTP clients. I do not think it is an
> >acceptable compromise.
>
> Don't send the FORM in the clear, either.

Again, how do you propose that the client make the decision to upgrade ?
Does it have to try to upgrade on every non-secure HTTP link ?
Will the browser prompt users for every link whether they want security ?

> >When it comes to security, I don't think ambiguity is a good thing, and it
> >is not good to leave it entirely
> >"up to the client and server" to determine what security characteristics are
> >needed for the connection.
>
> There is no such thing as absolute security. It is always, in the
> end, in the eye of the beholders.

That's no reason to make it easier for people to shoot themselves in the foot,
which is what this draft does.

> >I think the draft should define at least one standard way to tell clients
> >that an upgrade is in order before connection establishment.
>
> Yes, it does -- 426.

Just how do you get a 426 before you establish a connection with the server ?
Take the case with my HTML form, residing on site a, a product catalog site,
which has no security.
It's got a link to POST the order data to site b , which is a secure virtual
server supporting TLS upgrade.
With your proposal, this link must be a regular http link.
What will cause the browser to negotiate security when the credit card
information is submitted to site b ?
I contend that there has to be something on the order page to tell it to do so. I
think it should be part of the URL, perhaps a protocol of "httpt" - to specify
http over TLS with upgrade.
The trigger cannot be a prompting option configured globally in the user-agent,
because it would not be practical for users to be prompted for security on every
regular HTTP request, and they would just disable it.


> >That would certainly work technically and ensure best possible security, but
> >it would be a major waste of bandwidth in 99% of the cases since current
> >servers will not understand the upgrade request and reject it. Many existing
> >servers don't support keep-alive and will even close the connection,
> >introducing extra latency due to the need to reconnect.
>
> Bala Krishnamurthy's PRO-COW compliance survey can tell you about the
> smaller fraction that don't support any form of keep-alive.

Even so, the original point is bandwidth waste, and it is still valid.
To implement this, the user-agent must always initiate an upgrade request to the
server as its first request, then wait for the server to accept or ignore that
request. This also adds latency in the initial client request to the server,
which is delayed by this negotiation.


> >It may also be a waste of CPU for both the server and client, since perhaps
> >the connection didn't really need to be secure, but ended up as TLS because
> >of the way the client negotiated the upgrade for every server, and the
> >server just accepted it.
>
> Purely as a matter of opinion, I'm worried about keeping Andy Grove
> employed, not the other way around :-) Someday, every packet will
> finally be encrypted, and the cycle-time argument is moot.

I'm in very strong disagreement. Keeping Intel (or Sun, for the matter) in
business is not the issue.
You may not be aware of that fact, but in a typical secure web server today, the
overhead of doing encryption represents about 90% of CPU cycles spent. This means
a web server is an order of magnitude slower if it has to server secure
connections vs non-secure.

In turn, your proposal would result in an average tenfold increase in the
hardware requirement for servers, as well as waste of energy to power all those
CPUs, all for no good reason at all. Or the alternative would be a tenfold
increase in average web server latency, given no hardware upgrade.

I contend that there are web applications for which it's perfectly ok to not be
secured - for instant, accessing publicly available content. And there is a
minority of web applications where security is absolutely required, like
electronic commerce.

So far, I have never heard of a single application where security "would be nice,
but it's ok if it is not available" . This is what this draft really enables. I
call it a misfeature and I'm not eager to see it appear in mainstream HTTP
clients and servers.

I think it is necessary for a web application to be able to enforce security or
no security.


> >It cannot be a regular https:// URL since that
> >will not allow the server to differentiate the virtual host for which the
> >data is intended.
>
> Sure it can -- interpret https: in a next-generation "client" as an
> invitation to first try Upgrade on port 80, then fall-back to 423.

No, this would break the semantic of the https URL.
When you specify an https URL nowadays, it implicitly tells the client to connect
onto the default https protocol port, which is 443, as long as the port is not
explicitly specified.
It is not very common, but I certainly have seen URLs of the form
https://mysite:443 , with the port explicitly.
But the biggest problem is , if a different port is specified.
What would be the behavior that you would propose for, say, an https://mysite:444
URL ?
Should the client skip the connection to port 80 and try TLS directly on 444 ?
This proposal seems shaky to me, because it effectively modifies the protocol by
virtue of running on a different port. I think the protocol should be able to run
on any TCP port without major behavior changes like this.

> >Instead of trying to define a mechanism to upgrade the connection from
> >non-secure to secure, the virtual host negotiation could be made a standard
> >part of the SSL/TLS protocols. I think that makes sense since these
> >protocols exchange certificates which are tied to the virtual host names.
>
> This has long been on the "to-do" list for TLS/SSL. Installed base
> strikes again, though, in making this case fairly unlikely. But I
> agree that's the "right" solution for so many more TLS/SSL enabled
> apps than HTTP alone.

Good. I think I will join their mailing list. Any pointers ?

--
for a good time, try kill -9 -1


--------------6EE5BE546D4850201A3BB333
Content-Type: text/x-vcard; charset=us-ascii;
 name="jpierre.vcf"
Content-Description: Card for Julien Pierre
Content-Disposition: attachment;
 filename="jpierre.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Pierre;Julien
tel;work:408 276 3664
x-mozilla-html:FALSE
url:http://www.iplanet.com
org:iPlanet E-commerce Solutions, a Sun-Netscape Alliance;Web Server
adr:;;;Santa Clara;California;95054;USA
version:2.1
email;internet:jpierre@netscape.com
title:Software Developer
x-mozilla-cpt:;31920
fn:Julien Pierre
end:vcard

--------------6EE5BE546D4850201A3BB333--

--------------msD54B7298C56AC3176FBDE5C4
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
Content-Transfer-Encoding: base64

MIIIiQYJKoZIhvcNAQcCoIIIejCCCHYCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC
BlwwggMPMIICeKADAgECAgIY9zANBgkqhkiG9w0BAQQFADCBkzELMAkGA1UEBhMCVVMxCzAJ
BgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRswGQYDVQQKExJBbWVyaWNhIE9u
bGluZSBJbmMxGTAXBgNVBAsTEEFPTCBUZWNobm9sb2dpZXMxJzAlBgNVBAMTHkludHJhbmV0
IENlcnRpZmljYXRlIEF1dGhvcml0eTAeFw0wMDAzMDkyMzA0NTNaFw0wMDA5MDUyMzA0NTNa
MIGFMRMwEQYKCZImiZPyLGQBGRYDY29tMRgwFgYKCZImiZPyLGQBGRYIbmV0c2NhcGUxIzAh
BgkqhkiG9w0BCQEWFGpwaWVycmVAbmV0c2NhcGUuY29tMRYwFAYDVQQDEw1KdWxpZW4gUGll
cnJlMRcwFQYKCZImiZPyLGQBARMHanBpZXJyZTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkC
gYEA3QSGxo7n60AUq9zfp96BwOzboYbjYXBhxILxpbkJBSh6wlLqQvjlyO3EZ2+KwDZvgBuh
5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UABIGAOtGStLqf7owFQtb2ubLGDgsRdXkJg1ywsHI7oTuBHndlnYdHgvoFPEaJAfzw
MCx0XiPDWfcJXh/Pg4yoygafvRCi5vXCJzfihH+EvasqyVcWUoeZPN0DSwVXiRXWFZEPMGHB
DgmlJ+EvB10m0+oLwe4laEP7MP7XBNG3zPSoL9U=
--------------msD54B7298C56AC3176FBDE5C4--



From http-wg-request@cuckoo.hpl.hp.com  Thu May  4 17:31:39 2000
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA18688
	for <http-archive@odin.ietf.org>; Thu, 4 May 2000 17:31:38 -0400 (EDT)
Received: from l3107mxr.atl.hp.com (l3107mxr.atl.hp.com [15.19.254.19])
	by palrel3.hp.com (Postfix) with ESMTP
	id 3F1CA24DC; Thu,  4 May 2000 14:31:14 -0700 (PDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by l3107mxr.atl.hp.com (Postfix) with ESMTP
	id 3E5AC4FD93; Thu,  4 May 2000 17:30:17 -0400 (EDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id WAA18102;
	Thu, 4 May 2000 22:30:11 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id WAA17452; Thu, 4 May 2000 22:30:10 +0100 (BST)
Resent-Date: Thu, 4 May 2000 22:30:10 +0100 (BST)
Message-ID: <3911EB8F.24B140B2@netscape.com>
Date: Thu, 04 May 2000 14:28:47 -0700
From: jpierre@netscape.com (Julien Pierre)
Organization: Netscape Communications Corp. - America On-Line, Inc. - Sun-Netscape 
 Alliance - iPlanet E-commerce Solutions - AOL Time Warner, Inc. - what 
 next ?
X-Mailer: Mozilla 4.7 [en]C-NSCP  (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Scott Lawrence <lawrence@agranat.com>
Cc: IETF HTTP List <http-wg@hplb.hpl.hp.com>, Rohit Khare <rohit@ics.uci.edu>
Subject: Re: draft-ietf-tls-http-upgrade reissued
References: <001601bfb5bf$a561e320$954768c0@oyster.agranat.com>
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------msC766F184B34B3A458C79DE52"
Resent-Message-ID: <"98YRj3.0.fG4.XlU4v"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/773
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

This is a cryptographically signed message in MIME format.

--------------msC766F184B34B3A458C79DE52
Content-Type: multipart/mixed;
 boundary="------------6A5712B8DB2B5C0E4D990174"

This is a multi-part message in MIME format.
--------------6A5712B8DB2B5C0E4D990174
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

Scott Lawrence wrote:

> Rohit covered the ground pretty well, and all the points you raise
> were discussed the first time around in one way or another, but I'll
> reiterate a point or two.
>
> Users have been trained to believe that an 'https:' scheme means
> 'secure', but what does it really mean?  What it means is 'try this
> connection first on port 443 and negotiate (via the TLS/SSL
> handshake) a set of security services'.  Key to this is
> 'negotiate' - the resulting connection could negotiate a set of
> services using any of several cipher suites, including easily
> breakable or null encryption.

Agreed. However, one can disable the null & easily breakable cipher
suites in their client, and therefore be sure that when https URLs are
submitted, the connection is secure. The NULL encryption is by default
disabled in mainstream browsers.


>  If there is a need for labelling of content
> with security attributes, then that need is best met in the content
> itself, and the 'single bit' of appending an 's' to the scheme name
> is grossly insufficient.

I agree that it would be better to get more security information in the
content links than just that one "s" bit.

However, the complete lack of even that one bit to determine the
security attribute, which is what you propose by using regular http
URLs, is not merely grossly insufficient, but completely unacceptable.

I understand that you are trying to keep some level of compatibility
with existing clients, and at the same time trying to unify the ports
for secure/non-secure servers, and allowing secure virtual servers. I
believe however that none of the problems are solved adequately :

- existing HTTP clients will compromise security when connected to the
new servers, because they will not be able to negotiate the TLS ugrade
- existing HTTPS clients will not even connect to the new servers,
because the server will be expecting an initial non-secure connection
followed by an upgrade

This shows that it's not a practical solution for saving TCP ports at
this time. It requires an entirely new generation of servers and
clients, and even then there is still doubt about how the upgrade to TLS
is enforced, as mentioned in previous e-mails.

--
for a good time, try kill -9 -1


--------------6A5712B8DB2B5C0E4D990174
Content-Type: text/x-vcard; charset=us-ascii;
 name="jpierre.vcf"
Content-Description: Card for Julien Pierre
Content-Disposition: attachment;
 filename="jpierre.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Pierre;Julien
tel;work:408 276 3664
x-mozilla-html:FALSE
url:http://www.iplanet.com
org:iPlanet E-commerce Solutions, a Sun-Netscape Alliance;Web Server
adr:;;;Santa Clara;California;95054;USA
version:2.1
email;internet:jpierre@netscape.com
title:Software Developer
x-mozilla-cpt:;31920
fn:Julien Pierre
end:vcard

--------------6A5712B8DB2B5C0E4D990174--

--------------msC766F184B34B3A458C79DE52
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
Content-Transfer-Encoding: base64

MIIIiQYJKoZIhvcNAQcCoIIIejCCCHYCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC
BlwwggMPMIICeKADAgECAgIY9zANBgkqhkiG9w0BAQQFADCBkzELMAkGA1UEBhMCVVMxCzAJ
BgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRswGQYDVQQKExJBbWVyaWNhIE9u
bGluZSBJbmMxGTAXBgNVBAsTEEFPTCBUZWNobm9sb2dpZXMxJzAlBgNVBAMTHkludHJhbmV0
IENlcnRpZmljYXRlIEF1dGhvcml0eTAeFw0wMDAzMDkyMzA0NTNaFw0wMDA5MDUyMzA0NTNa
MIGFMRMwEQYKCZ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MCGgUAoIGxMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0B
BwEwHAYJKoZIhvcNAQkFMQ8XDTAwMDUwNDIxMjg0OFowIwYJKoZIhvcNAQkEMRYEFBS9GcQ9
wRkvG5fMO0C1UH+Ax+nZMFIGCSqGSIb3DQEJDzFFMEMwCgYIKoZIhvcNAwcwDgYIKoZIhvcN
AwICAgCAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgFAMA0GCCqGSIb3DQMCAgEoMA0GCSqGSIb3
DQEBAQUABIGAix4dNwOi00OtkPuKIxfS1x5wPVjQ3TtWi6f6cmSYmFizMfvn/oQYhpbhonox
dW75AJg78l0QBMYdHlvdPvIFvn8Un9PJsULgxbKhK3vYFA5BipGvQZRvELWPKuQfLZyl6f88
PMHavQiIBpVgq5z7ms+6Bf56xMlmacPpOteK1v4=
--------------msC766F184B34B3A458C79DE52--



From http-wg-request@cuckoo.hpl.hp.com  Thu May  4 17:41:44 2000
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA18898
	for <http-archive@odin.ietf.org>; Thu, 4 May 2000 17:41:44 -0400 (EDT)
Received: from l3107mxr.atl.hp.com (l3107mxr.atl.hp.com [15.19.254.19])
	by palrel1.hp.com (Postfix) with ESMTP
	id 9EA762E9B; Thu,  4 May 2000 14:41:40 -0700 (PDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by l3107mxr.atl.hp.com (Postfix) with ESMTP
	id 971604FD85; Thu,  4 May 2000 17:40:50 -0400 (EDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id WAA18827;
	Thu, 4 May 2000 22:40:45 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id WAA17698; Thu, 4 May 2000 22:40:43 +0100 (BST)
Resent-Date: Thu, 4 May 2000 22:40:43 +0100 (BST)
Sender: francis@localhost.localdomain
Message-ID: <3911EE25.10C32D04@ecal.com>
Date: Thu, 04 May 2000 17:39:49 -0400
From: John Stracke <francis@ecal.com>
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: IETF HTTP List <http-wg@hplb.hpl.hp.com>
Subject: Re: draft-ietf-tls-http-upgrade reissued
References: <001701bf5852$b07feec0$954768c0@oyster.agranat.com>
		 <39110DD2.A35FEEFD@netscape.com> <v0420551fb536c1aae7a1@[216.160.64.9]> <3911E5BB.FE07F664@netscape.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"d5YpW1.0.RK4.RvU4v"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/774
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

Julien Pierre wrote:

> You may not be aware of that fact, but in a typical secure web server today, the
> overhead of doing encryption represents about 90% of CPU cycles spent. This means
> a web server is an order of magnitude slower if it has to server secure
> connections vs non-secure.
>
> In turn, your proposal would result in an average tenfold increase in the
> hardware requirement for servers, as well as waste of energy to power all those
> CPUs, all for no good reason at all. Or the alternative would be a tenfold
> increase in average web server latency, given no hardware upgrade.

Just because a client always asks to upgrade doesn't mean the server has to obey.

--
/==============================================================\
|John Stracke    | http://www.ecal.com |My opinions are my own.|
|Chief Scientist |=============================================|
|eCal Corp.      |"HTTP is what happens in the absence of good |
|francis@ecal.com|design." -- Keith Moore                      |
\==============================================================/





From http-wg-request@cuckoo.hpl.hp.com  Thu May  4 18:33:41 2000
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA19911
	for <http-archive@odin.ietf.org>; Thu, 4 May 2000 18:33:41 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel1.hp.com (Postfix) with ESMTP
	id 741ABCF5; Thu,  4 May 2000 15:33:33 -0700 (PDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id XAA23246;
	Thu, 4 May 2000 23:31:53 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id XAA18228; Thu, 4 May 2000 23:31:52 +0100 (BST)
Resent-Date: Thu, 4 May 2000 23:31:52 +0100 (BST)
From: "Scott Lawrence" <lawrence@agranat.com>
To: "Julien Pierre" <jpierre@netscape.com>, "Rohit Khare" <rohit@uci.edu>
Cc: "IETF HTTP List" <http-wg@hplb.hpl.hp.com>
Subject: RE: draft-ietf-tls-http-upgrade reissued
Date: Thu, 4 May 2000 18:28:00 -0400
Message-ID: <000e01bfb618$010c0ae0$954768c0@oyster.agranat.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
In-reply-to: <3911E5BB.FE07F664@netscape.com>
Importance: Normal
Resent-Message-ID: <"05Uoj1.0.nS4.OfV4v"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/775
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

> From: Julien Pierre

> I don't think users will waste their time filling forms
> if they are not ahead of
> time certain that it will be transmitted securely.

If they are that concerned about it, then they should not fill out
forms that were not delivered securely.  If the form was delivered
over an unsecured connection, it may have been modified in any
number of ways to subvert the apparent intent of the form.  Browsers
don't normally expose the ACTION attribute of a form - an attacker
may have changed that, or modified field names - the possibilities
are endless.  Encrypting one exchange in a multiple exchange
transaction is no security at all.

> The duplicate TCP port number issue is IMHO less of a
> problem because it is rare
> to exhaust all 2**16 possible TCP ports on a server.

The concern is with the well-known ports - a much much smaller
space.

--
Scott Lawrence      Director of R & D        <lawrence@agranat.com>
Agranat Systems   Embedded Web Technology   http://www.agranat.com/



From http-wg-request@cuckoo.hpl.hp.com  Thu May  4 18:33:48 2000
Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA19923
	for <http-archive@odin.ietf.org>; Thu, 4 May 2000 18:33:48 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel2.hp.com (Postfix) with ESMTP
	id E2C3E2478; Thu,  4 May 2000 18:33:44 -0400 (EDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id XAA23407;
	Thu, 4 May 2000 23:33:41 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id XAA18374; Thu, 4 May 2000 23:33:39 +0100 (BST)
Resent-Date: Thu, 4 May 2000 23:33:39 +0100 (BST)
Message-ID: <3911FA76.9D4D3BAC@netscape.com>
Date: Thu, 04 May 2000 15:32:22 -0700
From: jpierre@netscape.com (Julien Pierre)
Organization: Netscape Communications Corp. - America On-Line, Inc. - Sun-Netscape 
 Alliance - iPlanet E-commerce Solutions - AOL Time Warner, Inc. - what 
 next ?
X-Mailer: Mozilla 4.7 [en]C-NSCP  (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: John Stracke <francis@ecal.com>
Cc: IETF HTTP List <http-wg@hplb.hpl.hp.com>
Subject: Re: draft-ietf-tls-http-upgrade reissued
References: <001701bf5852$b07feec0$954768c0@oyster.agranat.com>
			 <39110DD2.A35FEEFD@netscape.com> <v0420551fb536c1aae7a1@[216.160.64.9]> <3911E5BB.FE07F664@netscape.com> <3911EE25.10C32D04@ecal.com>
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms5870BFA03D066DB76D3C175E"
Resent-Message-ID: <"PY-dc2.0.3V4.3hV4v"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/776
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

This is a cryptographically signed message in MIME format.

--------------ms5870BFA03D066DB76D3C175E
Content-Type: multipart/mixed;
 boundary="------------36ADBE1842D6AB776133E3BE"

This is a multi-part message in MIME format.
--------------36ADBE1842D6AB776133E3BE
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

John Stracke wrote:

> > In turn, your proposal would result in an average tenfold increase in the
> > hardware requirement for servers, as well as waste of energy to power all those
> > CPUs, all for no good reason at all. Or the alternative would be a tenfold
> > increase in average web server latency, given no hardware upgrade.
>
> Just because a client always asks to upgrade doesn't mean the server has to obey.

So how does that make the draft useful if the upgrade is never allowed ?

--
for a good time, try kill -9 -1


--------------36ADBE1842D6AB776133E3BE
Content-Type: text/x-vcard; charset=us-ascii;
 name="jpierre.vcf"
Content-Description: Card for Julien Pierre
Content-Disposition: attachment;
 filename="jpierre.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Pierre;Julien
tel;work:408 276 3664
x-mozilla-html:FALSE
url:http://www.iplanet.com
org:iPlanet E-commerce Solutions, a Sun-Netscape Alliance;Web Server
adr:;;;Santa Clara;California;95054;USA
version:2.1
email;internet:jpierre@netscape.com
title:Software Developer
x-mozilla-cpt:;31920
fn:Julien Pierre
end:vcard

--------------36ADBE1842D6AB776133E3BE--

--------------ms5870BFA03D066DB76D3C175E
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
Content-Transfer-Encoding: base64

MIIIiQYJKoZIhvcNAQcCoIIIejCCCHYCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC
BlwwggMPMIICeKADAgECAgIY9zANBgkqhkiG9w0BAQQFADCBkzELMAkGA1UEBhMCVVMxCzAJ
BgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRswGQYDVQQKExJBbWVyaWNhIE9u
bGluZSBJbmMxGTAXBgNVBAsTEEFPTCBUZWNobm9sb2dpZXMxJzAlBgNVBAMTHkludHJhbmV0
IENlcnRpZmljYXRlIEF1dGhvcml0eTAeFw0wMDAzMDkyMzA0NTNaFw0wMDA5MDUyMzA0NTNa
MIGFMRMwEQYKCZImiZPyLGQBGRYDY29tMRgwFgYKCZImiZPyLGQBGRYIbmV0c2NhcGUxIzAh
BgkqhkiG9w0BCQEWFGpwaWVycmVAbmV0c2NhcGUuY29tMRYwFAYDVQQDEw1KdWxpZW4gUGll
cnJlMRcwFQYKCZImiZPyLGQBARMHanBpZXJyZTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkC
gYEA3QSGxo7n60AUq9zfp96BwOzboYbjYXBhxILxpbkJBSh6wlLqQvjlyO3EZ2+KwDZvgBuh
5Z6uy95ZTfT32bIrr0p97eNXLKGFEN87KQhR7kltc8CSelu0ZP3MsfqBYMnEJBH2myrWpySd
vflZR0cOz4jaudtp4/Stfx99rLL5YUcCAwEAAaN+MHwwEQYJYIZIAYb4QgEBBAQDAgWgMA4G
A1UdDwEB/wQEAwIEsDAfBgNVHSMEGDAWgBSiO2Uy9/cbifxVDQcBvIdIWv2QPTA2BggrBgEF
BQcBAQQqMCgwJgYIKwYBBQUHMAGGGmh0dHA6Ly9uc29jc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KwYBBQUHAwQGCCsGAQUFBwMCMBEGCWCGSAGG+EIBAQQEAwIBAjAfBgNVHSME
GDAWgBRyScJzNMZV9At2coF+d/SH58ayDjANBgkqhkiG9w0BAQQFAAOBgQC6UH38ALL/QbQH
CDkMIfRZSRcIzI7TzwxW8W/oCxppYusGgltprB2EJwY5yQ5+NRPQfsCPnFh8AzEshxDVYjtw
1Q6xZIA0Tln6xlnmRt5OaAh1QPUdjCnWrnetyT1p5ECNRJdGb756wFiksR9qpw8pUYqBDSmO
neQPMwuPjSQ97DGCAfUwggHxAgEBMIGaMIGTMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0Ex
FjAUBgNVBAcTDU1vdW50YWluIFZpZXcxGzAZBgNVBAoTEkFtZXJpY2EgT25saW5lIEluYzEZ
MBcGA1UECxMQQU9MIFRlY2hub2xvZ2llczEnMCUGA1UEAxMeSW50cmFuZXQgQ2VydGlmaWNh
dGUgQXV0aG9yaXR5AgIY9zAJBgUrDgMCGgUAoIGxMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0B
BwEwHAYJKoZIhvcNAQkFMQ8XDTAwMDUwNDIyMzIyM1owIwYJKoZIhvcNAQkEMRYEFIzBYl7h
5lNQXLwp2lMPqICni/GLMFIGCSqGSIb3DQEJDzFFMEMwCgYIKoZIhvcNAwcwDgYIKoZIhvcN
AwICAgCAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgFAMA0GCCqGSIb3DQMCAgEoMA0GCSqGSIb3
DQEBAQUABIGAqQJXd8XjH4EbDe4v1Vz9jCyTgvJ49MVDX27CKximyebCoKPHBLwRJjDDyAsl
U4dJIJSyQ8sgpnhWg2Iu68xnMwn265AT2jcqPl9LzBzxkv32gVP7eLz+FCVNEgGzgTdjS1ec
erHeHQwoOIFyIGvVZjK328qn9EVpA1d3fA52Dt0=
--------------ms5870BFA03D066DB76D3C175E--



From http-wg-request@cuckoo.hpl.hp.com  Thu May  4 21:36:36 2000
Received: from atlrel1.hp.com (atlrel1.hp.com [156.153.255.210])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA23416
	for <http-archive@odin.ietf.org>; Thu, 4 May 2000 21:36:32 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel1.hp.com (Postfix) with ESMTP
	id 120171A6D0; Thu,  4 May 2000 21:36:28 -0400 (EDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id CAA09393;
	Fri, 5 May 2000 02:36:24 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id CAA18971; Fri, 5 May 2000 02:36:16 +0100 (BST)
Resent-Date: Fri, 5 May 2000 02:36:16 +0100 (BST)
Message-ID: <39122552.AE0CAA7B@netscape.com>
Date: Thu, 04 May 2000 18:35:14 -0700
From: jpierre@netscape.com (Julien Pierre)
Organization: Netscape Communications Corp. - America On-Line, Inc. - Sun-Netscape 
 Alliance - iPlanet E-commerce Solutions - AOL Time Warner, Inc. - what 
 next ?
X-Mailer: Mozilla 4.7 [en]C-NSCP  (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Scott Lawrence <lawrence@agranat.com>
Cc: Rohit Khare <rohit@uci.edu>, IETF HTTP List <http-wg@hplb.hpl.hp.com>
Subject: Re: draft-ietf-tls-http-upgrade reissued
References: <000e01bfb618$010c0ae0$954768c0@oyster.agranat.com>
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms364BA619498B31E2E1C978FC"
Resent-Message-ID: <"j89VP2.0.Oe4.FMY4v"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/777
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

This is a cryptographically signed message in MIME format.

--------------ms364BA619498B31E2E1C978FC
Content-Type: multipart/mixed;
 boundary="------------4ABBBECD77D4CEF4C77635BF"

This is a multi-part message in MIME format.
--------------4ABBBECD77D4CEF4C77635BF
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

Scott Lawrence wrote:

> > From: Julien Pierre
>
> > I don't think users will waste their time filling forms
> > if they are not ahead of
> > time certain that it will be transmitted securely.
>
> If they are that concerned about it, then they should not fill out
> forms that were not delivered securely.  If the form was delivered
> over an unsecured connection, it may have been modified in any
> number of ways to subvert the apparent intent of the form.  Browsers
> don't normally expose the ACTION attribute of a form - an attacker
> may have changed that, or modified field names - the possibilities
> are endless.  Encrypting one exchange in a multiple exchange
> transaction is no security at all.

OK, assume the form was delivered on a secure server. Then it gets
submitted to somebody else - a virtual host on a payment processing
server - to actually process the transaction. This is very common. The
action URL will use regular http .
How does the security upgrade get triggered ?

One more thing to consider :
Let's say you are browsing a site and the connection got upgraded to TLS
. Then you sit idle for a while, and your keep-alive connection times
out. You are on a different part of the site now, filled with normal
http:// links. You click on one. The client has to reconnect. How does
the security get restored ?


>
> > The duplicate TCP port number issue is IMHO less of a
> > problem because it is rare
> > to exhaust all 2**16 possible TCP ports on a server.
>
> The concern is with the well-known ports - a much much smaller
> space.
>
> --
> Scott Lawrence      Director of R & D        <lawrence@agranat.com>
> Agranat Systems   Embedded Web Technology   http://www.agranat.com/

--
for a good time, try kill -9 -1


--------------4ABBBECD77D4CEF4C77635BF
Content-Type: text/x-vcard; charset=us-ascii;
 name="jpierre.vcf"
Content-Description: Card for Julien Pierre
Content-Disposition: attachment;
 filename="jpierre.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Pierre;Julien
tel;work:408 276 3664
x-mozilla-html:FALSE
url:http://www.iplanet.com
org:iPlanet E-commerce Solutions, a Sun-Netscape Alliance;Web Server
adr:;;;Santa Clara;California;95054;USA
version:2.1
email;internet:jpierre@netscape.com
title:Software Developer
x-mozilla-cpt:;31920
fn:Julien Pierre
end:vcard

--------------4ABBBECD77D4CEF4C77635BF--

--------------ms364BA619498B31E2E1C978FC
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
Content-Transfer-Encoding: base64

MIIIiQYJKoZIhvcNAQcCoIIIejCCCHYCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC
BlwwggMPMIICeKADAgECAgIY9zANBgkqhkiG9w0BAQQFADCBkzELMAkGA1UEBhMCVVMxCzAJ
BgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRswGQYDVQQKExJBbWVyaWNhIE9u
bGluZSBJbmMxGTAXBgNVBAsTEEFPTCBUZWNobm9sb2dpZXMxJzAlBgNVBAMTHkludHJhbmV0
IENlcnRpZmljYXRlIEF1dGhvcml0eTAeFw0wMDAzMDkyMzA0NTNaFw0wMDA5MDUyMzA0NTNa
MIGFMRMwEQYKCZImiZPyLGQBGRYDY29tMRgwFgYKCZImiZPyLGQBGRYIbmV0c2NhcGUxIzAh
BgkqhkiG9w0BCQEWFGpwaWVycmVAbmV0c2NhcGUuY29tMRYwFAYDVQQDEw1KdWxpZW4gUGll
cnJlMRcwFQYKCZImiZPyLGQBARMHanBpZXJyZTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkC
gYEA3QSGxo7n60AUq9zfp96BwOzboYbjYXBhxILxpbkJBSh6wlLqQvjlyO3EZ2+KwDZvgBuh
5Z6uy95ZTfT32bIrr0p97eNXLKGFEN87KQhR7kltc8CSelu0ZP3MsfqBYMnEJBH2myrWpySd
vflZR0cOz4jaudtp4/Stfx99rLL5YUcCAwEAAaN+MHwwEQYJYIZIAYb4QgEBBAQDAgWgMA4G
A1UdDwEB/wQEAwIEsDAfBgNVHSMEGDAWgBSiO2Uy9/cbifxVDQcBvIdIWv2QPTA2BggrBgEF
BQcBAQQqMCgwJ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ri May  5 08:49:16 2000
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA17149
	for <http-archive@odin.ietf.org>; Fri, 5 May 2000 08:49:15 -0400 (EDT)
Received: from l3107mxr.atl.hp.com (l3107mxr.atl.hp.com [15.19.254.19])
	by palrel1.hp.com (Postfix) with ESMTP
	id A7E931E544; Fri,  5 May 2000 05:48:52 -0700 (PDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by l3107mxr.atl.hp.com (Postfix) with ESMTP
	id AC2864FD88; Fri,  5 May 2000 08:48:08 -0400 (EDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id NAA04556;
	Fri, 5 May 2000 13:48:03 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id NAA28814; Fri, 5 May 2000 13:47:47 +0100 (BST)
Resent-Date: Fri, 5 May 2000 13:47:47 +0100 (BST)
Message-Id: <200005051246.HAA15091@iden012.ftw.paging.mot.com>
Date: Fri, 5 May 2000 07:46:33 -0500 (CST)
From: James Lacey <jlacey@ftw.paging.mot.com>
Reply-To: James Lacey <jlacey@ftw.paging.mot.com>
Subject: Using Chunked encoding to send control messages to a client
To: http-wg@hplb.hpl.hp.com
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: m3i7CPz8F2ejSrzNpLNOLg==
X-Mailer: dtmail 1.2.1 CDE Version 1.2.1 SunOS 5.6 sun4u sparc 
Resent-Message-ID: <"tMn7j1.0.727.pBi4v"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/778
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com



I'm using HTTP in an application as a transport for XML documents
that are 'POSTed' to a servlet for processing.

I am using persistent connections and I have a need to in some 
situations send a 'control message' back to a client indicating
that they have temporarily blocked from sending any more requests
to the server (say for example that the server has become very busy
and would like clients to stop sending requests until he can get
caught up).

I've thought about using chunked encoding to respond to a request
with a chunked message whose body indicates to the client he/she 
has been blocked. At a later time I can then send back another 
chunk indicating the client is no longer blocked, then send back
a chunk that has the response to the original request, and then
send back the zero chunk to indicate the end of the response.

I have some misgivings about this because I feel that it would
be using the chunked encoding for a purpose that it was not intended
for and the chunks should all collectively, once concatenated together,
make up the response to the original request.

Does anyone have any thoughts on this either way? Is it an OK thing
to do or is it a violation of the spirit of the protocol?

One problem I can see is that chunked responses are probably assembled
together on the client side at the session layer while the 'special'
control message needs to be understood at the application layer. It would
be bad for the session layer to have to know about application layer
control messages and somehow dispatch the event that one has been
received to the application lauyer.

thx,

--jl




From http-wg-request@cuckoo.hpl.hp.com  Fri May  5 11:24:16 2000
Received: from cosrel2.hp.com (cosrel2.hp.com [156.153.255.162])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA21305
	for <http-archive@odin.ietf.org>; Fri, 5 May 2000 11:24:15 -0400 (EDT)
Received: from l3107mxr.atl.hp.com (l3107mxr.atl.hp.com [15.19.254.19])
	by cosrel2.hp.com (Postfix) with ESMTP
	id 989FB1174; Fri,  5 May 2000 09:23:52 -0600 (MDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by l3107mxr.atl.hp.com (Postfix) with ESMTP
	id 04F484FD85; Fri,  5 May 2000 11:23:54 -0400 (EDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id QAA16427;
	Fri, 5 May 2000 16:23:49 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id QAA29551; Fri, 5 May 2000 16:23:32 +0100 (BST)
Resent-Date: Fri, 5 May 2000 16:23:32 +0100 (BST)
Sender: francis@localhost.localdomain
Message-ID: <3912E753.F2D6D4DC@ecal.com>
Date: Fri, 05 May 2000 11:23:00 -0400
From: John Stracke <francis@ecal.com>
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: IETF HTTP List <http-wg@hplb.hpl.hp.com>
Subject: Re: draft-ietf-tls-http-upgrade reissued
References: <001701bf5852$b07feec0$954768c0@oyster.agranat.com>
				 <39110DD2.A35FEEFD@netscape.com> <v0420551fb536c1aae7a1@[216.160.64.9]> <3911E5BB.FE07F664@netscape.com> <3911EE25.10C32D04@ecal.com> <3911FA76.9D4D3BAC@netscape.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"GyW1p.0.iD7.pTk4v"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/779
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

Julien Pierre wrote:

> John Stracke wrote:
>
> > Just because a client always asks to upgrade doesn't mean the server has to obey.
>
> So how does that make the draft useful if the upgrade is never allowed ?

Who said never?

A client that wants to use the draft can ask for an upgrade on every HTTP request.
Servers that aren't willing to spend cycles on TLS for a particular request can just
ignore the Upgrade: header.

--
/==============================================================\
|John Stracke    | http://www.ecal.com |My opinions are my own.|
|Chief Scientist |=============================================|
|eCal Corp.      |"God does not play games with His loyal      |
|francis@ecal.com|servants." "Whoo-ee, where have you *been*?" |
|                |--_Good Omens_                               |
\==============================================================/





From http-wg-request@cuckoo.hpl.hp.com  Fri May  5 11:43:45 2000
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA21928
	for <http-archive@odin.ietf.org>; Fri, 5 May 2000 11:43:44 -0400 (EDT)
Received: from l3107mxr.atl.hp.com (l3107mxr.atl.hp.com [15.19.254.19])
	by palrel3.hp.com (Postfix) with ESMTP
	id 47F6BA631; Fri,  5 May 2000 08:42:37 -0700 (PDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by l3107mxr.atl.hp.com (Postfix) with ESMTP
	id B2B114FD94; Fri,  5 May 2000 11:42:30 -0400 (EDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id QAA17321;
	Fri, 5 May 2000 16:42:25 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id QAA29821; Fri, 5 May 2000 16:42:24 +0100 (BST)
Resent-Date: Fri, 5 May 2000 16:42:24 +0100 (BST)
From: kugler@us.ibm.com
X-Lotus-FromDomain: IBMUS
To: James Lacey <jlacey@ftw.paging.mot.com>
Cc: http-wg@hplb.hpl.hp.com
Message-ID: <872568D6.0055A21E.00@d53mta08h.boulder.ibm.com>
Date: Fri, 5 May 2000 09:34:42 -0600
Subject: Re: Using Chunked encoding to send control messages to a client
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Resent-Message-ID: <"5sL4_2.0.wH7.Wlk4v"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/780
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com



Why can't the server just stop reading requests?  Then TCP will block the
sender automatically.

I don't think chunking alone will solve your problem.  You might be able to
get away with a MIME multipart response sent with chunked encoding.  The
issue that always gets raised when this kind of thing comes up is this:  an
HTTP proxy is allowed to buffer the response and remove the chunked
encoding, sending monolithic response to the client.  With the multipart
encoding, you could still pick apart the response, but now the timing would
be much different (you'd get all parts of the response at once).

That said, why would  a proxy ever want to do this buffering and
coalescing?  Most server vendors seem to abhor buffering arbitrarily large
quantities of data.  And, of course, there is a detrimental effect on
response time.  But that's the spec.  The HTTP spec even includes
pseudo-code for removing the chunked encoding and resending the body with
Content-Length.

     -Carl



James Lacey <jlacey@ftw.paging.mot.com> on 05/05/2000 06:46:33 AM

Please respond to James Lacey <jlacey@ftw.paging.mot.com>

To:   http-wg@hplb.hpl.hp.com
cc:
Subject:  Using Chunked encoding to send control messages to a client





I'm using HTTP in an application as a transport for XML documents
that are 'POSTed' to a servlet for processing.

I am using persistent connections and I have a need to in some
situations send a 'control message' back to a client indicating
that they have temporarily blocked from sending any more requests
to the server (say for example that the server has become very busy
and would like clients to stop sending requests until he can get
caught up).

I've thought about using chunked encoding to respond to a request
with a chunked message whose body indicates to the client he/she
has been blocked. At a later time I can then send back another
chunk indicating the client is no longer blocked, then send back
a chunk that has the response to the original request, and then
send back the zero chunk to indicate the end of the response.

I have some misgivings about this because I feel that it would
be using the chunked encoding for a purpose that it was not intended
for and the chunks should all collectively, once concatenated together,
make up the response to the original request.

Does anyone have any thoughts on this either way? Is it an OK thing
to do or is it a violation of the spirit of the protocol?

One problem I can see is that chunked responses are probably assembled
together on the client side at the session layer while the 'special'
control message needs to be understood at the application layer. It would
be bad for the session layer to have to know about application layer
control messages and somehow dispatch the event that one has been
received to the application lauyer.

thx,

--jl







From http-wg-request@cuckoo.hpl.hp.com  Fri May  5 11:55:12 2000
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA22102
	for <http-archive@odin.ietf.org>; Fri, 5 May 2000 11:55:11 -0400 (EDT)
Received: from l3107mxr.atl.hp.com (l3107mxr.atl.hp.com [15.19.254.19])
	by palrel3.hp.com (Postfix) with ESMTP
	id 85EFAAA67; Fri,  5 May 2000 08:53:29 -0700 (PDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by l3107mxr.atl.hp.com (Postfix) with ESMTP
	id 9A9F14FD96; Fri,  5 May 2000 11:53:23 -0400 (EDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id QAA18620;
	Fri, 5 May 2000 16:53:18 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id QAA00132; Fri, 5 May 2000 16:53:16 +0100 (BST)
Resent-Date: Fri, 5 May 2000 16:53:16 +0100 (BST)
Message-ID: <43C2F98D8414D411865A00508BC22AB908CB0A@odin.cromwellmedia.co.uk>
From: Miles Sabin <msabin@cromwellmedia.co.uk>
To: http-wg@hplb.hpl.hp.com
Subject: RE: Using Chunked encoding to send control messages to a client
Date: Fri, 5 May 2000 16:54:24 +0100 
X-Mailer: Internet Mail Service (5.5.2448.0)
Resent-Message-ID: <"LR3583.0.12.ivk4v"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/781
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

kugler@us.ibm.com wrote,
> The issue that always gets raised when this kind of thing 
> comes up is this:  an HTTP proxy is allowed to buffer the 
> response and remove the chunked encoding, sending monolithic 
> response to the client.  With the multipart encoding, you 
> could still pick apart the response, but now the timing would
> be much different (you'd get all parts of the response at 
> once).

That's one problem.

Another, which affects both chunked transfer encoding and the
multipart technique, is that a proxy is at liberty to set quite
a short idle-timeout (say 30 secs to a couple of minutes) to 
protect itself from hung origin servers and double-sided DOS 
attacks (malicious client on one side, malicious server on the
other).

Cheers,


Miles

-- 
Miles Sabin                       Cromwell Media
Internet Systems Architect        5/6 Glenthorne Mews
+44 (0)20 8817 4030               London, W6 0LJ, England
msabin@cromwellmedia.com          http://www.cromwellmedia.com/




From http-wg-request@cuckoo.hpl.hp.com  Fri May  5 20:24:21 2000
Received: from atlrel1.hp.com (atlrel1.hp.com [156.153.255.210])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA01565
	for <http-archive@odin.ietf.org>; Fri, 5 May 2000 20:24:20 -0400 (EDT)
Received: from l3107mxr.atl.hp.com (l3107mxr.atl.hp.com [15.19.254.19])
	by atlrel1.hp.com (Postfix) with ESMTP
	id 2918C1CBC9; Fri,  5 May 2000 20:24:22 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by l3107mxr.atl.hp.com (Postfix) with ESMTP
	id DF0264FD85; Fri,  5 May 2000 20:24:06 -0400 (EDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id BAA18544;
	Sat, 6 May 2000 01:24:02 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id BAA01404; Sat, 6 May 2000 01:23:52 +0100 (BST)
Resent-Date: Sat, 6 May 2000 01:23:52 +0100 (BST)
Message-ID: <391365CC.FD6D3B34@netscape.com>
Date: Fri, 05 May 2000 17:22:36 -0700
From: jpierre@netscape.com (Julien Pierre)
Organization: Netscape Communications Corp. - America On-Line, Inc. - Sun-Netscape 
 Alliance - iPlanet E-commerce Solutions - AOL Time Warner, Inc. - what 
 next ?
X-Mailer: Mozilla 4.7 [en]C-NSCP  (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: John Stracke <francis@ecal.com>
Cc: IETF HTTP List <http-wg@hplb.hpl.hp.com>
Subject: Re: draft-ietf-tls-http-upgrade reissued
References: <001701bf5852$b07feec0$954768c0@oyster.agranat.com>
					 <39110DD2.A35FEEFD@netscape.com> <v0420551fb536c1aae7a1@[216.160.64.9]> <3911E5BB.FE07F664@netscape.com> <3911EE25.10C32D04@ecal.com> <3911FA76.9D4D3BAC@netscape.com> <3912E753.F2D6D4DC@ecal.com>
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------msDE5D296786B07CAE9F03D4AE"
Resent-Message-ID: <"AC-Qf.0.rL.OOs4v"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/782
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

This is a cryptographically signed message in MIME format.

--------------msDE5D296786B07CAE9F03D4AE
Content-Type: multipart/mixed;
 boundary="------------999B234129F4AEF5765944F2"

This is a multi-part message in MIME format.
--------------999B234129F4AEF5765944F2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

John Stracke wrote:

> Julien Pierre wrote:
>
> > John Stracke wrote:
> >
> > > Just because a client always asks to upgrade doesn't mean the server has to obey.
> >
> > So how does that make the draft useful if the upgrade is never allowed ?
>
> Who said never?
>
> A client that wants to use the draft can ask for an upgrade on every HTTP request.
> Servers that aren't willing to spend cycles on TLS for a particular request can just
> ignore the Upgrade: header.

That still does not solve the problem !!!

If the client tries to upgrade to TLS on every request, it will fail 99% of the time,
because servers don't support it. Suppose in 1% of the cases it will actually work.

Now, suppose that in 2% of the cases, the request data was intended to be confidential
and the user really didn't want to submit the data unsecured, but the server didn't
negotiate TLS. The only way for a user to make sure he does not mistakenly submit data
unencrypted is to setup his browser to prompt him on every single HTTP request that
didn't successfully negotiate TLS.

In other words, a waste of time 98% of requests. Do you really find that to be acceptable
?

The whole point I'm trying to make is that there should be a way for a web application
that is intended to be secure to enforce that fact and reasonably function on a server
running on a common port with HTTP and TLS upgrade support. The draft does not propose a
way to do that.

It would be as simple as a new type of "httpt" URL - which would tell the user-agent to
connect insecurely with the server, and immediately negotiate a TLS connection; and
otherwise not to proceed if the TLS upgrade fail. This cannot be a global user-agent
setting for reasons explained before - security is not always required nor desirable.

If you really want to get ISPs to stop wasting IP addresses on multiple secure servers,
as well as separate the ports, then you need to make it possible to create new secure web
applications that will work with the new user-agents and servers proposed in the new
draft, without incurring a high risk of falling back to non-secure connections. The draft
is currently too vague in the way that the security is enforced and makes it way too easy
to shoot yourself in the foot and end up with a non-secure connection if the negotiation
fails, rather than aborting.

--
for a good time, try kill -9 -1


--------------999B234129F4AEF5765944F2
Content-Type: text/x-vcard; charset=us-ascii;
 name="jpierre.vcf"
Content-Description: Card for Julien Pierre
Content-Disposition: attachment;
 filename="jpierre.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Pierre;Julien
tel;work:408 276 3664
x-mozilla-html:FALSE
url:http://www.iplanet.com
org:iPlanet E-commerce Solutions, a Sun-Netscape Alliance;Web Server
adr:;;;Santa Clara;California;95054;USA
version:2.1
email;internet:jpierre@netscape.com
title:Software Developer
x-mozilla-cpt:;31920
fn:Julien Pierre
end:vcard

--------------999B234129F4AEF5765944F2--

--------------msDE5D296786B07CAE9F03D4AE
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
Content-Transfer-Encoding: base64

MIIIiQYJKoZIhvcNAQcCoIIIejCCCHYCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC
BlwwggMPMIICeKADAgECAgIY9zANBgkqhkiG9w0BAQQFADCBkzELMAkGA1UEBhMCVVMxCzAJ
BgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRswGQYDVQQKExJBbWVyaWNhIE9u
bGluZSBJbmMxGTAXBgNVBAsTEEFPTCBUZWNobm9sb2dpZXMxJzAlBgNVBAMTHkludHJhbmV0
IENlcnRpZmljYXRlIEF1dGhvcml0eTAeFw0wMDAzMDkyMzA0NTNaFw0wMDA5MDUyMzA0NTNa
MIGFMRMwEQYKCZImiZPyLGQBGRYDY29tMRgwFgYKCZImiZPyLGQB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iG9w0B
BwEwHAYJKoZIhvcNAQkFMQ8XDTAwMDUwNjAwMjIzN1owIwYJKoZIhvcNAQkEMRYEFJBp/+pv
2gDHer3tp+o6m7gsXrLXMFIGCSqGSIb3DQEJDzFFMEMwCgYIKoZIhvcNAwcwDgYIKoZIhvcN
AwICAgCAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgFAMA0GCCqGSIb3DQMCAgEoMA0GCSqGSIb3
DQEBAQUABIGAYhTqkHs6BqrA45QJGeGVZw75HQn49JEbLCr/RYoOVJnvaPvmb0z8iFC4Yh1q
4oYa8GqHPOyFWYJIkFSZD6JiawjNJjaLs/X4Oyih8auuB7O6ep9lldoC38VCxmwoF9iTMgO5
OjZkBOhxj0QspIJ8I5VR+1iJ9pTVcbPZfai+aXo=
--------------msDE5D296786B07CAE9F03D4AE--



From http-wg-request@cuckoo.hpl.hp.com  Fri May  5 22:28:40 2000
Received: from atlrel1.hp.com (atlrel1.hp.com [156.153.255.210])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA03881
	for <http-archive@odin.ietf.org>; Fri, 5 May 2000 22:28:40 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel1.hp.com (Postfix) with ESMTP
	id 95C851C9EA; Fri,  5 May 2000 22:28:37 -0400 (EDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id DAA25729;
	Sat, 6 May 2000 03:28:33 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id DAA01916; Sat, 6 May 2000 03:28:31 +0100 (BST)
Resent-Date: Sat, 6 May 2000 03:28:31 +0100 (BST)
Message-ID: <3913831E.E540F559@netscape.com>
Date: Fri, 05 May 2000 19:27:42 -0700
From: jpierre@netscape.com (Julien Pierre)
Organization: Netscape Communications Corp. - America On-Line, Inc. - Sun-Netscape 
 Alliance - iPlanet E-commerce Solutions - AOL Time Warner, Inc. - what 
 next ?
X-Mailer: Mozilla 4.7 [en]C-NSCP  (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Rohit Khare <rohit@uci.edu>
Cc: IETF HTTP List <http-wg@hplb.hpl.hp.com>
Subject: Re: draft-ietf-tls-http-upgrade reissued
References: <001701bf5852$b07feec0$954768c0@oyster.agranat.com>					
	 <39110DD2.A35FEEFD@netscape.com> <v0420551fb536c1aae7a1@[216.160.64.9]>
	 <3911E5BB.FE07F664@netscape.com> <3911EE25.10C32D04@ecal.com>
	 <3911FA76.9D4D3BAC@netscape.com> <3912E753.F2D6D4DC@ecal.com>
	 <391365CC.FD6D3B34@netscape.com> <v04205512b5392a0b0994@[209.181.90.143]>
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms461C22525316104CDBFBF09D"
Resent-Message-ID: <"Z5ev9.0.vT.FDu4v"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/783
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

This is a cryptographically signed message in MIME format.

--------------ms461C22525316104CDBFBF09D
Content-Type: multipart/mixed;
 boundary="------------68AF001CF36FB0451CBAE0BF"

This is a multi-part message in MIME format.
--------------68AF001CF36FB0451CBAE0BF
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

Rohit Khare wrote:

> You know, we send the HTTP/1.1 and Host: tokens 100% of the time.
> Isn't that wasteful, too?

Not as much. I meant also that the 98% of the time security pop-up *
millions of users would be a huge waste of time. I'm sure most everyone
would disable the browser setting if it existed.

> >Now, suppose that in 2% of the cases, the request data was intended
> >to be confidential
> >and the user really didn't want to submit the data unsecured, but
> >the server didn't
> >negotiate TLS.
>
> This client would have to force the upgrade via OPTIONS as outlined
> in the spec.

But how would the end-user inform its client of the fact that he wanted
the data to be secure ? You would have to remember to "force" security
somehow before submitting on a form ?

The security requirement is usually dictated by application logic. I
think the web application should have a way to hint the client, in the
way of something in the referring document, so that it would happen
transparently.

I'm not criticizing the underlying network protocol. I'm criticizing the
URL specification that clients will use.
The server will support both HTTP and HTTP with TLS upgrade. But there is
no good way for the client to decide when to use which, since http://
URLs are used.

> >The whole point I'm trying to make is that there should be a way for
> >a web application
> >that is intended to be secure to enforce that fact and reasonably
> >function on a server
> >running on a common port with HTTP and TLS upgrade support. The
> >draft does not propose a
> >way to do that.
>
> We believe it does, the last-call in the working group and the ietf
> announce list believes it does, and now it falls to all of us,
> including yourself, to find out if any of that rough consenus can be
> backed by running code.

I am quite confident that I can, but I'm not convinced yet that this is
the right way to do it.

> An "application" -- say,
> http://www.foo.edu/randompath/ReallySecureApp.cgi should send back a
> 426 for ANY request for a resource under /randompath/. A "user" who
> requires the same can use OPTIONS. A user who does not care, but
> wants to follow the lead of the server, should reuse the Upgraded TLS
> connection as long as he would have an equivalent port 443.

Again, what mechanism tells the client to use OPTIONS ?

> And recall that this method is *not* being proposed as the idea for
> hypertext publishing. The common browser is too deployed to be
> changed in its ways.

I don't think that's true. The rate of adoption for new HTTP software may
not be what it was in 1994 - 1996, but HTTP is still evolving, and there
is still an evolution in the mainstream browsers and servers. In fact,
the whole reason I'm here on this list is that I'm trying to make the
Netscape server support this evolution. I know some Netscape client
engineers are reading this as well, and they would like to make it happen
on their side too.

The fact is, routable static IP addresses have become expensive due to
the fact that we are quickly running out of them. ISPs want a way to do
secure software virtual servers, without buying expensive IP addresses
for each. There is a demand in the marketplace for this, maybe not
necessarily for the purpose of hypertext publishing, but certainly for
electronic commerce. Since the current protocols do not allow this, the
solution calls for a new generation of servers and clients. It will
certainly take time to upgrade a significant portion of HTTP clients and
servers in use today, but I think it can happen gradually. My wish is to
see it happen using open IETF standards in the next generation of HTTP
servers and clients, rather than have to wait for the one after that,
once the quirks in the current specs are acknowledged.

--
for a good time, try kill -9 -1


--------------68AF001CF36FB0451CBAE0BF
Content-Type: text/x-vcard; charset=us-ascii;
 name="jpierre.vcf"
Content-Description: Card for Julien Pierre
Content-Disposition: attachment;
 filename="jpierre.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Pierre;Julien
tel;work:408 276 3664
x-mozilla-html:FALSE
url:http://www.iplanet.com
org:iPlanet E-commerce Solutions, a Sun-Netscape Alliance;Web Server
adr:;;;Santa Clara;California;95054;USA
version:2.1
email;internet:jpierre@netscape.com
title:Software Developer
x-mozilla-cpt:;31920
fn:Julien Pierre
end:vcard

--------------68AF001CF36FB0451CBAE0BF--

--------------ms461C22525316104CDBFBF09D
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
Content-Transfer-Encoding: base64

MIIIiQYJKoZIhvcNAQcCoIIIejCCCHYCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC
BlwwggMPMIICeKADAgECAgIY9zANBgkqhkiG9w0BAQQFADCBkzELMAkGA1UEBhMCVVMxCzAJ
BgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRswGQYDVQQKExJBbWVyaWNhIE9u
bGluZSBJbmMxGTAXBgNVBAsTEEFPTCBUZWNobm9sb2dpZXMxJzAlBgNVBAMTHkludHJhbmV0
IENlcnRpZmljYXRlIEF1dGhvcml0eTAeFw0wMDAzMDkyMzA0NTNaFw0wMDA5MDUyMzA0NTNa
MIGFMRMwEQYKCZImiZPyLGQBGRYDY29tMRgwFgYKCZImiZPyLGQBGRYIbmV0c2NhcGUxIzAh
BgkqhkiG9w0BCQEWFGpwaWVycmVAbmV0c2NhcGUuY29tMRYwFAYDVQQDEw1KdWxpZW4gUGll
cnJlMRcwFQYKCZImiZPyLGQBARMHanBpZXJyZTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkC
gYEA3QSGx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AwIHMA0GCCqGSIb3DQMCAgFAMA0GCCqGSIb3DQMCAgEoMA0GCSqGSIb3
DQEBAQUABIGAQYW1yPjvp2hlyepO27aJjlDuVzSuRoWya0R4C9FHgC9hnCFdy/m+c+cNAln2
0Ql8qttzbUyxIb3LfZSCLe++MsItkUD/QT4vkwlP76qVE0Kqt0ygY9RDQLTAUlJdf10xrhad
asr/IqamRBRVpX7l2IK/aoQvAU4bJCxzojQBBEg=
--------------ms461C22525316104CDBFBF09D--



From http-wg-request@cuckoo.hpl.hp.com  Sun May  7 11:11:28 2000
Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA09166
	for <http-archive@odin.ietf.org>; Sun, 7 May 2000 11:11:27 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel2.hp.com (Postfix) with ESMTP
	id 6B3DE2AB; Sun,  7 May 2000 11:11:22 -0400 (EDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id QAA23640;
	Sun, 7 May 2000 16:11:17 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id QAA20552; Sun, 7 May 2000 16:11:08 +0100 (BST)
Resent-Date: Sun, 7 May 2000 16:11:08 +0100 (BST)
Message-ID: <39158754.CE6B1466@ie.cuhk.edu.hk>
Date: Sun, 07 May 2000 23:10:14 +0800
From: Kaming Young <kmyoung7@ie.cuhk.edu.hk>
X-Mailer: Mozilla 4.7 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: http-wg@cuckoo.hpl.hp.com
Subject: Has Netscape 5 become 6?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"AIQ_83.0.215.CUO5v"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/784
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

Hi,

I am currently working on a project on persistent connection and
non-persistent connection.
I found that
http://www.w3.org/Protocols/HTTP/Forum/Reports/#Public
Gagan Saksena mentions a test on Netscape 5
I cannot find Netscape 5 on their website

In addidtion, I will appreciate any related information about persistent
connection and non-persistent connection

Thx
Jacinle Young



From http-wg-request@cuckoo.hpl.hp.com  Mon May  8 10:04:16 2000
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA08014
	for <http-archive@odin.ietf.org>; Mon, 8 May 2000 10:04:16 -0400 (EDT)
Received: from l3107mxr.atl.hp.com (l3107mxr.atl.hp.com [15.19.254.19])
	by palrel3.hp.com (Postfix) with ESMTP
	id 1E899315F; Mon,  8 May 2000 07:02:44 -0700 (PDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by l3107mxr.atl.hp.com (Postfix) with ESMTP
	id 614404FDBE; Mon,  8 May 2000 10:01:27 -0400 (EDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id PAA13729;
	Mon, 8 May 2000 15:01:22 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id PAA01189; Mon, 8 May 2000 15:01:14 +0100 (BST)
Resent-Date: Mon, 8 May 2000 15:01:14 +0100 (BST)
Sender: francis@localhost.localdomain
Message-ID: <3916C864.21FB97BB@ecal.com>
Date: Mon, 08 May 2000 10:00:04 -0400
From: John Stracke <francis@ecal.com>
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: IETF HTTP List <http-wg@hplb.hpl.hp.com>
Subject: Re: draft-ietf-tls-http-upgrade reissued
References: <001701bf5852$b07feec0$954768c0@oyster.agranat.com>
						 <39110DD2.A35FEEFD@netscape.com> <v0420551fb536c1aae7a1@[216.160.64.9]> <3911E5BB.FE07F664@netscape.com> <3911EE25.10C32D04@ecal.com> <3911FA76.9D4D3BAC@netscape.com> <3912E753.F2D6D4DC@ecal.com> <391365CC.FD6D3B34@netscape.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"P4rSQ.0.YI.gYi5v"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/785
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

Julien Pierre wrote:

> If the client tries to upgrade to TLS on every request, it will fail 99% of the time,
> because servers don't support it.

Servers that don't support it ignore it, because RFC-2616 doesn't provide an error code to
mean "I don't understand that Upgrade:".  (I just tried it on Apache 1.3.9 and 1.3.12, NES
3.6, and IIS 5.0; they all behaved exactly the same with and without "Upgrade: foo".) This
means that a client that sends the Upgrade: all the time won't break anything; it will cost
a few extra bytes, but not the extra round trips you're talking about.

--
/================================================================\
|John Stracke    | http://www.ecal.com |My opinions are my own.  |
|Chief Scientist |===============================================|
|eCal Corp.      |The cheapest, fastest, most reliable components|
|francis@ecal.com|of a computer system are those that aren't     |
|                |there.--Gordon Bell                            |
\================================================================/





From http-wg-request@cuckoo.hpl.hp.com  Mon May  8 17:41:13 2000
Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA20507
	for <http-archive@odin.ietf.org>; Mon, 8 May 2000 17:41:13 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel2.hp.com (Postfix) with ESMTP
	id C750B3297; Mon,  8 May 2000 17:40:59 -0400 (EDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id WAA10873;
	Mon, 8 May 2000 22:40:54 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id WAA02352; Mon, 8 May 2000 22:40:52 +0100 (BST)
Resent-Date: Mon, 8 May 2000 22:40:52 +0100 (BST)
Date: Mon, 8 May 2000 16:39:52 -0500
From: Ari Gordon-Schlosberg <regs@nebcorp.com>
To: http-wg@cuckoo.hpl.hp.com
Subject: Re: Has Netscape 5 become 6?
Message-ID: <20000508163952.A30477@nebcorp.com>
Mail-Followup-To: http-wg@cuckoo.hpl.hp.com
References: <39158754.CE6B1466@ie.cuhk.edu.hk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <39158754.CE6B1466@ie.cuhk.edu.hk>; from kmyoung7@ie.cuhk.edu.hk on Sun, May 07, 2000 at 11:10:14PM +0800
Organization: Nebcorp.com: ruling your world since 1998
X-Mailer-Holy-War: Get Mutt, it bites!
Resent-Message-ID: <"pyhlS1.0.ja.aHp5v"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/786
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

[Kaming Young <kmyoung7@ie.cuhk.edu.hk>]
> Hi,
> 
> I am currently working on a project on persistent connection and
> non-persistent connection.
> I found that
> http://www.w3.org/Protocols/HTTP/Forum/Reports/#Public
> Gagan Saksena mentions a test on Netscape 5
> I cannot find Netscape 5 on their website
> 
 Yes.  There is to be no Netscape 5.  The next version (now in pre-release
alpha) is 6.

-- 
Ari							there is no spoon
-------------------------------------------------------------------------
http://www.nebcorp.com/~regs/pgp for PGP public key



From http-wg-request@cuckoo.hpl.hp.com  Wed May 10 19:30:27 2000
Received: from atlrel1.hp.com (atlrel1.hp.com [156.153.255.210])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA04914
	for <http-archive@odin.ietf.org>; Wed, 10 May 2000 19:30:26 -0400 (EDT)
Received: from l3107mxr.atl.hp.com (l3107mxr.atl.hp.com [15.19.254.19])
	by atlrel1.hp.com (Postfix) with ESMTP
	id 18EB9E4CB; Wed, 10 May 2000 19:30:27 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by l3107mxr.atl.hp.com (Postfix) with ESMTP
	id 6BAFC4FE06; Wed, 10 May 2000 19:29:59 -0400 (EDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id AAA18698;
	Thu, 11 May 2000 00:29:54 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id AAA25602; Thu, 11 May 2000 00:29:46 +0100 (BST)
Resent-Date: Thu, 11 May 2000 00:29:46 +0100 (BST)
Message-ID: <20000510232755.86345.qmail@hotmail.com>
X-Originating-IP: [131.107.3.71]
From: "Keith Hoffman" <hoffmankeith@hotmail.com>
To: "Ari Gordon-Schlosberg" <regs@nebcorp.com>, <http-wg@cuckoo.hpl.hp.com>
References: <39158754.CE6B1466@ie.cuhk.edu.hk> <20000508163952.A30477@nebcorp.com>
Subject: Re: Has Netscape 5 become 6?
Date: Wed, 10 May 2000 18:27:53 -0500
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 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Resent-Message-ID: <"mSUPh1.0._F6.g3V6v"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/787
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

Yep,  Netscape had to make sure they had a higher version number than
Internet Explorer because the version number is the true test of how
advanced/well developed an app is.  <G>

----- Original Message -----
From: "Ari Gordon-Schlosberg" <regs@nebcorp.com>
To: <http-wg@cuckoo.hpl.hp.com>
Sent: Monday, May 08, 2000 4:39 PM
Subject: Re: Has Netscape 5 become 6?


> [Kaming Young <kmyoung7@ie.cuhk.edu.hk>]
> > Hi,
> >
> > I am currently working on a project on persistent connection and
> > non-persistent connection.
> > I found that
> > http://www.w3.org/Protocols/HTTP/Forum/Reports/#Public
> > Gagan Saksena mentions a test on Netscape 5
> > I cannot find Netscape 5 on their website
> >
>  Yes.  There is to be no Netscape 5.  The next version (now in pre-release
> alpha) is 6.
>
> --
> Ari there is no spoon
> -------------------------------------------------------------------------
> http://www.nebcorp.com/~regs/pgp for PGP public key
>
>



From http-wg-request@cuckoo.hpl.hp.com  Wed May 10 22:04:16 2000
Received: from cosrel1.hp.com (cosrel1.hp.com [156.153.255.170])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA07072
	for <http-archive@odin.ietf.org>; Wed, 10 May 2000 22:04:15 -0400 (EDT)
Received: from l3107mxr.atl.hp.com (l3107mxr.atl.hp.com [15.19.254.19])
	by cosrel1.hp.com (Postfix) with ESMTP
	id 0FADC113; Wed, 10 May 2000 20:04:44 -0600 (MDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by l3107mxr.atl.hp.com (Postfix) with ESMTP
	id 2F6FC4FE10; Wed, 10 May 2000 22:04:09 -0400 (EDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id DAA28489;
	Thu, 11 May 2000 03:04:03 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id DAA25932; Thu, 11 May 2000 03:04:02 +0100 (BST)
Resent-Date: Thu, 11 May 2000 03:04:02 +0100 (BST)
Message-ID: <391A14EA.FEAE82E2@ie.cuhk.edu.hk>
Date: Thu, 11 May 2000 10:03:23 +0800
From: Kaming Young <kmyoung7@ie.cuhk.edu.hk>
X-Mailer: Mozilla 4.7 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: http-wg@cuckoo.hpl.hp.com
Subject: persistent conncetion HOL blocking
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"_BfWX.0.6L6.HKX6v"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/788
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

Hi,

I just wonder if we use persistent connection, if the HOL blocking would
affect the performance and in this case non-persistent connection will
do better.

Jacinle



From http-wg-request@cuckoo.hpl.hp.com  Thu May 11 12:09:31 2000
Received: from cosrel2.hp.com (cosrel2.hp.com [156.153.255.162])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA01583
	for <http-archive@odin.ietf.org>; Thu, 11 May 2000 12:09:30 -0400 (EDT)
Received: from l3107mxr.atl.hp.com (l3107mxr.atl.hp.com [15.19.254.19])
	by cosrel2.hp.com (Postfix) with ESMTP
	id 03A59200; Thu, 11 May 2000 10:09:13 -0600 (MDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by l3107mxr.atl.hp.com (Postfix) with ESMTP
	id 2D99B4FE20; Thu, 11 May 2000 12:09:13 -0400 (EDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id RAA28793;
	Thu, 11 May 2000 17:09:08 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id RAA06197; Thu, 11 May 2000 17:08:59 +0100 (BST)
Resent-Date: Thu, 11 May 2000 17:08:59 +0100 (BST)
Message-ID: <391ADAD5.48F40755@ie.cuhk.edu.hk>
Date: Fri, 12 May 2000 00:07:50 +0800
From: Kaming Young <kmyoung7@ie.cuhk.edu.hk>
X-Mailer: Mozilla 4.7 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: John Stracke <francis@ecal.com>, http-wg@cuckoo.hpl.hp.com
Subject: Re: persistent conncetion HOL blocking
References: <391A14EA.FEAE82E2@ie.cuhk.edu.hk> <391AD718.9623E7C0@ecal.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"uex4U.0.oW1.Rij6v"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/789
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

hi,

HOL blocking means Head Of Line blocking
What i mean is
consider
Alice send out a request for a large latest hit MP3 file and then a request
for a small text file
which both resides on the same server.
so the response for MP3 file will block the second response and the response
that follow in the persistent connection case.

Kaming Young

John Stracke wrote:

> Kaming Young wrote:
>
> > I just wonder if we use persistent connection, if the HOL blocking would
> > affect the performance
>
> What is HOL blocking?
>
> --
> /=================================================================\
> |John Stracke    | http://www.ecal.com |My opinions are my own.   |
> |Chief Scientist |================================================|
> |eCal Corp.      |Vlad was not a vampire, but that's the only nice|
> |francis@ecal.com|thing that could be said about him.             |
> \=================================================================/



From http-wg-request@cuckoo.hpl.hp.com  Thu May 11 12:38:12 2000
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA02300
	for <http-archive@odin.ietf.org>; Thu, 11 May 2000 12:38:05 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel3.hp.com (Postfix) with ESMTP
	id 0A13F849; Thu, 11 May 2000 09:37:59 -0700 (PDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id RAA00724;
	Thu, 11 May 2000 17:37:55 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id RAA06442; Thu, 11 May 2000 17:37:53 +0100 (BST)
Resent-Date: Thu, 11 May 2000 17:37:53 +0100 (BST)
From: ned.freed@innosoft.com
Date: Thu, 11 May 2000 09:26:20 -0800 (PST)
Subject: Review of Platform for Privacy Preferences (P3P) requested
To: http-wg@hplb.hpl.hp.com, wrec@cs.utk.edu
Message-id: <01JP9P6GD2480000BY@mauve.mrochek.com>
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=us-ascii
Resent-Message-ID: <"q7o9f2.0.da1.X7k6v"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/790
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

The W3C is finishing up their Platform for Privacy Preferences (P3P)
specification:

    http://www.w3.org/TR/2000/WD-P3P-20000424/

This specification appears to cover things that should be of interest to both
the HTTP and WREC working groups. Accordingly, I would like to ask that
interested parties review the current specification. Comments can either be
sent to the appropriate WG mailing lists or to the Application Area Directors
(myself, ned.freed@innosoft.com, and paf@swip.net).

Thanks!

				Ned



From http-wg-request@cuckoo.hpl.hp.com  Thu May 11 13:23:29 2000
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA03602
	for <http-archive@odin.ietf.org>; Thu, 11 May 2000 13:23:28 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel3.hp.com (Postfix) with ESMTP
	id DE21D799; Thu, 11 May 2000 10:23:20 -0700 (PDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id SAA03830;
	Thu, 11 May 2000 18:23:17 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id SAA06609; Thu, 11 May 2000 18:23:15 +0100 (BST)
Resent-Date: Thu, 11 May 2000 18:23:15 +0100 (BST)
From: Jeffrey Mogul <mogul@pa.dec.com>
Message-Id: <200005111721.KAA17975@wera.pa.dec.com>
To: Kaming Young <kmyoung7@ie.cuhk.edu.hk>
Cc: http-wg@cuckoo.hpl.hp.com
Subject: Re: persistent conncetion HOL blocking 
In-Reply-To: Your message of "Fri, 12 May 2000 00:07:50 +0800."
             <391ADAD5.48F40755@ie.cuhk.edu.hk> 
Date: Thu, 11 May 2000 10:21:49 -0700
X-Mts: smtp
Resent-Message-ID: <"zGYH71.0.Ed1.3ok6v"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/791
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

Kaming Young writes:

    HOL blocking means Head Of Line blocking

    What i mean is consider Alice send out a request for a large latest
    hit MP3 file and then a request for a small text file which both
    resides on the same server.  so the response for MP3 file will
    block the second response and the response that follow in the
    persistent connection case.
    
The HTTP/1.1 Draft Standard (RFC2616) address the head-of-line
blocking issue with respect to proxies, in section 8.1.4, where
it says:
   			A proxy SHOULD use up to 2*N connections to
   another server or proxy, where N is the number of simultaneously
   active users.

I can't remember why we didn't say "to avoid head-of-line blocking"
in this sentence, since this is precisely the reason for saying
that proxies aren't expected to multiplex lots of clients on
one connection.

The same paragraph says:
   A single-user client SHOULD NOT maintain more than 2 connections
   with any server or proxy.

The reasoning behind that requirement is related to a kind of
head-of-line blocking.  Consider a client loading a long HTML
page with lots of images.  The client should probably start
the process of loading the images (on connection #2) while
continuing to load the HTML (on connection #1); we don't want
the images blocked until the entire HTML file is loaded.

I'm not sure it makes sense for a single browser window to
be simultaneously loading a text file and an MP3 file, but
I guess it would make sense for a single user to be loading
both in separate windows of a single browser application.
Even so, the spec still allows these two simultaneous connections.

Anyway, we never specifically defined "single-user", so I
think a client implementor should use good judgement in
deciding whether a browser with multiple active windows
counts as one "user" or several.

The point of these requirements was not to force people to
suffer from head-of-line blocking.  It was to allow the
implementation of clients and proxies that do not suffer
from head-of-line blocking, while discouraging them from
using more TCP connections than necessary.

-Jeff



From http-wg-request@cuckoo.hpl.hp.com  Fri May 12 02:19:49 2000
Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA28541
	for <http-archive@odin.ietf.org>; Fri, 12 May 2000 02:19:49 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel2.hp.com (Postfix) with ESMTP
	id B6E2B3F5; Fri, 12 May 2000 02:19:44 -0400 (EDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id HAA23649;
	Fri, 12 May 2000 07:19:41 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id HAA16028; Fri, 12 May 2000 07:19:27 +0100 (BST)
Resent-Date: Fri, 12 May 2000 07:19:27 +0100 (BST)
Message-ID: <391BA0BF.98530277@ericpol.pl>
Date: Fri, 12 May 2000 08:12:15 +0200
From: Marek Wyrwicki <mawy@ericpol.pl>
Organization: ERICPOL TELECOM
X-Mailer: Mozilla 4.71 [en] (Win98; I)
X-Accept-Language: pl,en
MIME-Version: 1.0
To: http-wg@cuckoo.hpl.hp.com
Subject: WAP gateway and HTTP
Content-Type: multipart/mixed;
 boundary="------------785BAC9968CA0CC4ABAC17EA"
Resent-Message-ID: <"TpD2s.0.Mw3.l9w6v"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/792
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

This is a multi-part message in MIME format.
--------------785BAC9968CA0CC4ABAC17EA
Content-Type: text/plain; charset=iso-8859-2
Content-Transfer-Encoding: 7bit

Welcome

I would like ask you about WAP GATEWAY and Web Server.
May by somebody know what is sent in HTTP GET request header during communication
WAPGETWAY Web SERVER with HTTTP/1.1 protocol?
Which filds Accep, User-Agent ... and value I must use to recieve proper response (.hdml
or .wml file)?

Thanks for help.
Marek Wyrwicki

-- 
..............................
.. Marek Wyrwicki		
.. ERICPOL TELECOM		
.. e-mail: mawy@ericpol.pl	
.. Work phone: +48 42 6315532	
..
--------------785BAC9968CA0CC4ABAC17EA
Content-Type: text/x-vcard; charset=iso-8859-2;
 name="mawy.vcf"
Content-Description: Card for Marek Wyrwicki
Content-Disposition: attachment;
 filename="mawy.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Wyrwicki;Marek
x-mozilla-html:FALSE
org:ERICPOL TELECOM
version:2.1
email;internet:mawy@ericpol.pl
adr;quoted-printable:;;ul. Targowa 9;=A3=F3d=9F;;;Poland
x-mozilla-cpt:;0
tel;work:+48 42 6315532
fn:Marek Wyrwicki
end:vcard

--------------785BAC9968CA0CC4ABAC17EA--



From http-wg-request@cuckoo.hpl.hp.com  Fri May 12 03:18:09 2000
Received: from cosrel1.hp.com (cosrel1.hp.com [156.153.255.170])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA28886
	for <http-archive@odin.ietf.org>; Fri, 12 May 2000 03:18:08 -0400 (EDT)
Received: from l3107mxr.atl.hp.com (l3107mxr.atl.hp.com [15.19.254.19])
	by cosrel1.hp.com (Postfix) with ESMTP
	id 54A20664; Fri, 12 May 2000 01:18:37 -0600 (MDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by l3107mxr.atl.hp.com (Postfix) with ESMTP
	id DD20B4FE23; Fri, 12 May 2000 03:17:52 -0400 (EDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id IAA26264;
	Fri, 12 May 2000 08:17:16 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id IAA16189; Fri, 12 May 2000 08:17:14 +0100 (BST)
Resent-Date: Fri, 12 May 2000 08:17:14 +0100 (BST)
Date: Fri, 12 May 2000 15:09:47 +0800 (HKT)
From: young ka ming <kmyoung7@ie.cuhk.edu.hk>
X-Sender: kmyoung7@bansun07
To: Jeffrey Mogul <mogul@pa.dec.com>
Cc: http-wg@cuckoo.hpl.hp.com
Subject: Re: persistent conncetion HOL blocking 
In-Reply-To: <200005111721.KAA17975@wera.pa.dec.com>
Message-ID: <Pine.GSO.4.10.10005121507410.10815-100000@bansun07>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Resent-Message-ID: <"1V0rP.0.wy3.w_w6v"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/793
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

Hi,

Thank you so much for enlightening me.

How could a client know in advance that it will have got a hugh response
so that it opens another connection?
specification by file type?

Kaming


On Thu, 11 May 2000, Jeffrey Mogul wrote:

> Kaming Young writes:
> 
>     HOL blocking means Head Of Line blocking
> 
>     What i mean is consider Alice send out a request for a large latest
>     hit MP3 file and then a request for a small text file which both
>     resides on the same server.  so the response for MP3 file will
>     block the second response and the response that follow in the
>     persistent connection case.
>     
> The HTTP/1.1 Draft Standard (RFC2616) address the head-of-line
> blocking issue with respect to proxies, in section 8.1.4, where
> it says:
>    			A proxy SHOULD use up to 2*N connections to
>    another server or proxy, where N is the number of simultaneously
>    active users.
> 
> I can't remember why we didn't say "to avoid head-of-line blocking"
> in this sentence, since this is precisely the reason for saying
> that proxies aren't expected to multiplex lots of clients on
> one connection.
> 
> The same paragraph says:
>    A single-user client SHOULD NOT maintain more than 2 connections
>    with any server or proxy.
> 
> The reasoning behind that requirement is related to a kind of
> head-of-line blocking.  Consider a client loading a long HTML
> page with lots of images.  The client should probably start
> the process of loading the images (on connection #2) while
> continuing to load the HTML (on connection #1); we don't want
> the images blocked until the entire HTML file is loaded.
> 
> I'm not sure it makes sense for a single browser window to
> be simultaneously loading a text file and an MP3 file, but
> I guess it would make sense for a single user to be loading
> both in separate windows of a single browser application.
> Even so, the spec still allows these two simultaneous connections.
> 
> Anyway, we never specifically defined "single-user", so I
> think a client implementor should use good judgement in
> deciding whether a browser with multiple active windows
> counts as one "user" or several.
> 
> The point of these requirements was not to force people to
> suffer from head-of-line blocking.  It was to allow the
> implementation of clients and proxies that do not suffer
> from head-of-line blocking, while discouraging them from
> using more TCP connections than necessary.
> 
> -Jeff
> 
> 



From http-wg-request@cuckoo.hpl.hp.com  Fri May 12 14:49:01 2000
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA09701
	for <http-archive@odin.ietf.org>; Fri, 12 May 2000 14:49:00 -0400 (EDT)
Received: from l3107mxr.atl.hp.com (l3107mxr.atl.hp.com [15.19.254.19])
	by palrel1.hp.com (Postfix) with ESMTP
	id 431AECDD; Fri, 12 May 2000 11:48:59 -0700 (PDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by l3107mxr.atl.hp.com (Postfix) with ESMTP
	id 6349C4FE20; Fri, 12 May 2000 14:48:51 -0400 (EDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id TAA06471;
	Fri, 12 May 2000 19:48:47 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id TAA17513; Fri, 12 May 2000 19:48:37 +0100 (BST)
Resent-Date: Fri, 12 May 2000 19:48:37 +0100 (BST)
Date: Fri, 12 May 2000 11:44:43 -0700 (PDT)
From: Matthew Delco <delco@CS.Berkeley.EDU>
To: Jeffrey Mogul <mogul@pa.dec.com>
Cc: http-wg@cuckoo.hpl.hp.com
Subject: Re: persistent conncetion HOL blocking 
In-Reply-To: <200005111721.KAA17975@wera.pa.dec.com>
Message-ID: <Pine.SOL.4.10.10005121114460.27326-100000@sparky.CS.Berkeley.EDU>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Resent-Message-ID: <"D7vmL3.0.YH4.4857v"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/794
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

> The same paragraph says:
>    A single-user client SHOULD NOT maintain more than 2 connections
>    with any server or proxy.
> 
> The reasoning behind that requirement is related to a kind of
> head-of-line blocking.

Although, in the case of a proxy if a client is trying to get requests
from a number of different servers, through the same persistent connection
to a proxy, then it's not too difficult to get in a situation where a
proxy can't immediately return a response to the client because it's not
ready or able to reply to a previous request (on that same connection) 
from the client.

For example, a client could pipeline requests to a.com and b.com through a
proxy. b.com might be fast and reply right away to the proxy, but the
proxy can't forward the data to the client because a.com hasn't replied
yet (and thus the response from b.com must be queued).  Even though the
client can maintain two connections to the proxy, this doesn't eliminate
the problem (although it does make it less likely).  The problem can also
because worse in the case where b.com is cached by the proxy (or a delta
[i.e., "IM:" header ] can be computed for b.com), but a.com is not cached.

Adjusting HTTP so that responses can be returned back in a different order
from requests would be one way to address the issue.  It would also be
useful in the case where two requests are made to the same server, and the
second request can be serviced much sooner than the first request (e.g.,
the first request might be some sort of CGI request).  In the case of a
significant amount of pipelining, the feature would also give a server the
ability to choose the best order in which to produce responses (e.g., long
MP3s last).  I'm personally not a fan of "enhancing" protocols, so I'm
interested in any suggestions that people might have for working within
the current confines of HTTP.

MD



From http-wg-request@cuckoo.hpl.hp.com  Thu May 18 10:32:18 2000
Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA07688
	for <http-archive@odin.ietf.org>; Thu, 18 May 2000 10:32:17 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel2.hp.com (Postfix) with ESMTP
	id 0CF48731; Thu, 18 May 2000 10:32:12 -0400 (EDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id PAA16773;
	Thu, 18 May 2000 15:32:06 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id PAA18964; Thu, 18 May 2000 15:31:57 +0100 (BST)
Resent-Date: Thu, 18 May 2000 15:31:57 +0100 (BST)
Message-Id: <3.0.5.32.20000518103439.03123cb0@mail.monmouth.com>
X-Sender: wstreett@mail.monmouth.com
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32)
Date: Thu, 18 May 2000 10:34:39 -0400
To: http-wg@cuckoo.hpl.hp.com
From: Wilbur Streett <WStreett@mail.Monmouth.com>
Subject: Cookie problem with IE5 and Windows 2000
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Resent-Message-ID: <"1MyIl3.0.He4.Tx_8v"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/795
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

I created CGI applications a few years ago and set up a state management
system using Cookies.  The application platform worked with all of the
different browsers, so long as they supported cookes.  I created the cookie
headers specifically in agreement with the Netscape specification,
including putting spaces between the variables since it makes them easier
to read.

For some reason, with IE5 and Windows 2000, the cookies no longer work.  I
wrote software into the CGI to verify that the cookies were there, since
the design of the web site requires having some sort of state information
about the user.  Digging around on the internet via the search engines, I
see that other people are finding the same cookie problem, but I haven't
seen anyone specifically figure out what the cause of the problem is or a
generic solution.

Checking Microsoft's web pages, their own cookie tools do not put spaces
after the set-cookie: header, so I rewrote everything to remove all spaces
between variables in the cookie header, and yet the problem still persists.

I have statements that the IE5/W2K platform is working with Amazon.com's
cookies on the same machine, but not with mine.  I could probably compare
the cookies and reverse engine this particular foible of IE5 with W2K, but
I'd rather not.  So I guess that Microsoft tested a few web sites and made
their cookie handler work with them, but didn't write a generic handler.

Anyone else run into these problems?  Anyone have a solution?  I can
provide source if anyone is interested.

Wilbur

     --------------------------------------------
        Putting A Human Face On Technology ;-)
     --------------------------------------------
  Literally!  http://www.monmouth.com/~wstreett/FaceIT/



From http-wg-request@cuckoo.hpl.hp.com  Thu May 18 16:41:54 2000
Received: from cosrel1.hp.com (cosrel1.hp.com [156.153.255.170])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA12942
	for <http-archive@odin.ietf.org>; Thu, 18 May 2000 16:41:53 -0400 (EDT)
Received: from l3107mxr.atl.hp.com (l3107mxr.atl.hp.com [15.19.254.19])
	by cosrel1.hp.com (Postfix) with ESMTP
	id EC40F64F; Thu, 18 May 2000 14:41:52 -0600 (MDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by l3107mxr.atl.hp.com (Postfix) with ESMTP
	id 46A264FD90; Thu, 18 May 2000 15:41:29 -0400 (EDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id VAA08973;
	Thu, 18 May 2000 21:41:24 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id VAA19503; Thu, 18 May 2000 21:41:23 +0100 (BST)
Resent-Date: Thu, 18 May 2000 21:41:23 +0100 (BST)
Message-ID: <20000518204040.834.qmail@hotmail.com>
X-Originating-IP: [141.155.102.148]
From: "Anupama Devi" <anupamadevi@hotmail.com>
To: http-wg@cuckoo.hpl.hp.com
Subject: HTTP_REFERER
Date: Thu, 18 May 2000 20:40:40 GMT
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Resent-Message-ID: <"VQ6eD1.0.im4.pL59v"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/796
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

Hi all

I have created a filter which reads the HTTP_REFERER field and writes it to 
database.
As far as I know HTTP_REFERER is the server name where the current web page 
is hosted.
If I am asking for a page on my web server from a remote client ,
( i.e ,I don't have any web page in my browser and just typed the URL),it is 
giving the server name as Referer .
Can anyone help me in this regard?Any usesful links are there for this?

Thanks in advance.

Anupama

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com



From http-wg-request@cuckoo.hpl.hp.com  Thu May 25 20:44:27 2000
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA23597
	for <http-archive@odin.ietf.org>; Thu, 25 May 2000 20:44:26 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel3.hp.com (Postfix) with ESMTP
	id D87E7A44; Thu, 25 May 2000 17:44:23 -0700 (PDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id BAA04647;
	Fri, 26 May 2000 01:44:21 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id BAA00688; Fri, 26 May 2000 01:44:12 +0100 (BST)
Resent-Date: Fri, 26 May 2000 01:44:12 +0100 (BST)
Sender: frank@babar.eazel.com
Message-ID: <392DE204.B4D3AD11@eazel.com>
Date: Fri, 26 May 2000 02:31:32 +0000
From: Frank Siebenlist <frank@eazel.com>
Organization: Eazel, Inc.
X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.14-win4lin i686)
X-Accept-Language: en
MIME-Version: 1.0
To: http-wg@cuckoo.hpl.hp.com
Subject: local http-proxy with http in and https out
Content-Type: multipart/mixed;
 boundary="------------B83E43F2D4A40CFC98C4D17C"
Resent-Message-ID: <"G4dGB.0.jA.SZSBv"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/797
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

This is a multi-part message in MIME format.
--------------B83E43F2D4A40CFC98C4D17C
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Looking for a http-proxy that would run on Linux, accepts local http
requests and tunnels those as https through an ssl connection to web
servers.
Remember that this set-up was popular a few years ago when strong
encryption was not available for the browsers outside the US.
Looking for an open source version that runs on Linux.

Any pointers/suggestions are appreciated.
Thanks, Frank.




--------------B83E43F2D4A40CFC98C4D17C
Content-Type: text/x-vcard; charset=us-ascii;
 name="frank.vcf"
Content-Description: Card for Frank Siebenlist
Content-Disposition: attachment;
 filename="frank.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Siebenlist;Frank
tel;cell:408-406-9260
tel;fax:650-210-9922
tel;work:650-210-9133 ext.15
x-mozilla-html:FALSE
url:www.eazel.com
org:Eazel, Inc.
adr:;;1023 Corporation Way;Palo Alto;CA;94303;USA
version:2.1
email;internet:frank@eazel.com
title:The Security Guy
x-mozilla-cpt:;9344
fn:Frank Siebenlist
end:vcard

--------------B83E43F2D4A40CFC98C4D17C--



From http-wg-request@cuckoo.hpl.hp.com  Sat May 27 22:41:13 2000
Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA24917
	for <http-archive@odin.ietf.org>; Sat, 27 May 2000 22:41:13 -0400 (EDT)
Received: from l3107mxr.atl.hp.com (l3107mxr.atl.hp.com [15.19.254.19])
	by atlrel2.hp.com (Postfix) with ESMTP
	id 3251E91F; Sat, 27 May 2000 22:41:14 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by l3107mxr.atl.hp.com (Postfix) with ESMTP
	id 7DB214FD97; Sat, 27 May 2000 21:40:37 -0400 (EDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id DAA20348;
	Sun, 28 May 2000 03:40:32 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id DAA19555; Sun, 28 May 2000 03:40:23 +0100 (BST)
Resent-Date: Sun, 28 May 2000 03:40:23 +0100 (BST)
Message-Id: <3.0.5.32.20000527224101.03447200@mail.monmouth.com>
X-Sender: wstreett@mail.monmouth.com
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32)
Date: Sat, 27 May 2000 22:41:01 -0400
To: http-wg@cuckoo.hpl.hp.com
From: Wilbur Streett <WStreett@mail.Monmouth.com>
Subject: Re: Cookie problem with IE5 and Windows 2000
In-Reply-To: <3.0.5.32.20000518103439.03123cb0@mail.monmouth.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Resent-Message-ID: <"LTosB1.0.Tn4.NS8Cv"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/798
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

At 10:34 AM 5/18/00 -0400, you wrote:
<snip>

I found the problem.  IE5 requires LOWER CASE domain names in the
Set-Cookie: header or the cookies do not get set at all.

I don't think that I'll say anything more.

Wilbur






     --------------------------------------------
        Putting A Human Face On Technology ;-)
     --------------------------------------------
  Literally!  http://www.monmouth.com/~wstreett/FaceIT/



From http-wg-request@cuckoo.hpl.hp.com  Wed May 31 20:16:21 2000
Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA28161
	for <http-archive@odin.ietf.org>; Wed, 31 May 2000 20:16:20 -0400 (EDT)
Received: from l3107mxr.atl.hp.com (l3107mxr.atl.hp.com [15.19.254.19])
	by atlrel2.hp.com (Postfix) with ESMTP
	id D259A133F; Wed, 31 May 2000 20:16:20 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by l3107mxr.atl.hp.com (Postfix) with ESMTP
	id 5F51C4FDC5; Wed, 31 May 2000 19:16:06 -0400 (EDT)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id BAA15656;
	Thu, 1 Jun 2000 01:15:59 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id BAA02982; Thu, 1 Jun 2000 01:12:09 +0100 (BST)
Resent-Date: Thu, 1 Jun 2000 01:12:09 +0100 (BST)
From: Jeffrey Mogul <mogul@pa.dec.com>
Message-Id: <200006010010.RAA14042@wera.pa.dec.com>
To: http-wg@hplb.hpl.hp.com
Subject: Another revision of the I-D on "Delta encoding in HTTP"
Date: Wed, 31 May 2000 17:10:42 -0700
X-Mts: smtp
Resent-Message-ID: <"vJbB4.0.Zk.PfQDv"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/799
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

About 2 months ago, Balachander Krishnamurthy posted (on this list)
a Last Call on a proposed extension to HTTP/1.1 to support
"delta encoding."  (More details are available in that message;
see http://www.ics.uci.edu/pub/ietf/http/hypermail/2000/0074.html)
Our aim was to ask the IESG to advance this to Proposed Standard
status.

At the time, we thought that we had resolved all of the important
issues, but shortly thereafter we discovered some subtle flaws
in the design, which were the result of trying too hard to use
existing HTTP mechanisms (specifically, the Content-Encoding
and Accept-Encoding headers).  This resulted in several ambiguous
situations when combining delta encoding with existing HTTP/1.1
features.

Bala's Last Call is therefore retracted.

Over the past two months, we've hashed out a modified design that
seems to work (although, of course, that's what we originally
thought about the last one).  In many ways, the modified design is
a lot more straightforward, but it does require the definition
of some new HTTP headers.  We also had to add some details to
prevent improper caching of delta-encoded responses.

In the process, we simplified the "Delta encoding in HTTP"
draft by removing some optional features ("clustering" and
"templates") to a separate document, which is not yet ready
for release.  These features were raising complicated issues,
especially including potential security problems, and it
seemed expedient to isolate them into a separate proposal.

Here's an excerpt from the IETF announcement of the latest draft:

	Title		: Delta encoding in HTTP
	Author(s)	: J. Mogul, B. Krishnamurthy, F. Douglis,
                          A. Feldmann, Y. Goland, A. van Hoff,  
                          D. Hellerstein 
	Filename	: draft-mogul-http-delta-04.txt
	Pages		: 45
	Date		: 19-May-00
	
    Many HTTP requests cause the retrieval of slightly modified
    instances of resources for which the client already has a
    cache entry.  Research has shown that such modifying
    updates are frequent, and that the modifications are
    typically much smaller than the actual entity.  In such
    cases, HTTP would make more efficient use of network
    bandwidth if it could transfer a minimal description of the
    changes, rather than the entire new instance of the
    resource.  This is called 'delta encoding.'  This
    document describes how delta encoding can be supported as a
    compatible extension to HTTP/1.1.
    
    A URL for this Internet-Draft is:
    http://www.ietf.org/internet-drafts/draft-mogul-http-delta-04.txt

Discussion of the delta-encoding specification takes place
on a separate mailing list; you can join by sending a request
to <http-delta-request@pa.dec.com>.  We welcome comments from
people who have read the document.

-Jeff



