Re: [Asrg] CRI Header

Yakov Shafranovich <research@solidmatrix.com> Wed, 04 June 2003 18:07 UTC

Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged)) by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA04103 for <asrg-archive@odin.ietf.org>; Wed, 4 Jun 2003 14:07:05 -0400 (EDT)
Received: (from mailnull@localhost) by www1.ietf.org (8.11.6/8.11.6) id h54I6eT06335 for asrg-archive@odin.ietf.org; Wed, 4 Jun 2003 14:06:40 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176]) by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h54I6eB06332 for <asrg-web-archive@optimus.ietf.org>; Wed, 4 Jun 2003 14:06:40 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA04079; Wed, 4 Jun 2003 14:06:35 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 19Nccv-0006Jx-00; Wed, 04 Jun 2003 14:04:45 -0400
Received: from ietf.org ([132.151.1.19] helo=www1.ietf.org) by ietf-mx with esmtp (Exim 4.12) id 19Nccv-0006Ju-00; Wed, 04 Jun 2003 14:04:45 -0400
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1]) by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h54I3pB06153; Wed, 4 Jun 2003 14:03:51 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176]) by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h54I0kB06023 for <asrg@optimus.ietf.org>; Wed, 4 Jun 2003 14:00:46 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA03709 for <asrg@ietf.org>; Wed, 4 Jun 2003 14:00:41 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 19NcXD-0006ER-00 for asrg@ietf.org; Wed, 04 Jun 2003 13:58:51 -0400
Received: from 000-229-267.area5.spcsdns.net ([68.27.134.160] helo=68.27.134.160 ident=trilluser) by ietf-mx with smtp (Exim 4.12) id 19NcXB-0006EB-00 for asrg@ietf.org; Wed, 04 Jun 2003 13:58:50 -0400
Message-Id: <5.2.0.9.2.20030604140020.00ba4f80@solidmatrix.com>
X-Sender: research@solidmatrix.com
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
To: Eric Dean <eric@purespeed.com>, asrg@ietf.org
From: Yakov Shafranovich <research@solidmatrix.com>
Subject: Re: [Asrg] CRI Header
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-MimeHeaders-Plugin-Info: v2.03.00
X-GCMulti: 1
Sender: asrg-admin@ietf.org
Errors-To: asrg-admin@ietf.org
X-BeenThere: asrg@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/asrg>, <mailto:asrg-request@ietf.org?subject=unsubscribe>
List-Id: Anti-Spam Research Group - IRTF <asrg.ietf.org>
List-Post: <mailto:asrg@ietf.org>
List-Help: <mailto:asrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/asrg>, <mailto:asrg-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/asrg/>
Date: Wed, 04 Jun 2003 14:00:21 -0400

At 09:43 AM 6/3/2003 -0400, Eric Dean wrote:

>Trying to come up with the right place to shim in the CRI control headers.
>It seems we can do the following:
>
>1) Use SMTP headers: beyond the deployment issues, CRI is not limited to the
>envelope and there are often many mail relays in the path that could remove
>such headers.  We do not want to restrict mail clients from implementing
>CRI.

As I mentioned before, SMTP would be a good solution only for those cases 
when two C/R systems are inter-operable and there is a need for the sender 
to take the burden of storing the message. Otherwise, plain email should be 
used so us humans can read the challenge message.

>2) Use RFC 2822 headers: we could possibly introduce a new field altogether
>or use an optional field as spec'd in 3.6.8

Using RFC 2822 headers would limit the amount of information since each 
header is limited to 998 characters (as per section 2.1.1). Vernon Schryver 
(https://www1.ietf.org/mail-archive/working-groups/asrg/current/msg05168.html) 
has already pointed out that MIME headers can store more information which 
would be a factor in case some kind of PKI signatures are used.. 
Additionally, some C/R systems might want to combine several challenges 
into one message and that would be awkward to do with RFC 2822 headers. On 
the other hand, if such headers are used for single sender-single receiver 
C/R headers are the simplest solution.

>3) Use MIME headers (registered or private): though CRI has little relavancy
>with MIME.  Private headers can not become a standard.  There isn't such a
>limitation on 2822 3.6.8
>
>Thoughts?

Some of the purposes of MIME as stated in RFC 2045 and look perfectly 
suited for us:

"(2) an extensible set of different formats for non-textual message bodies, 
(3) multi-part message bodies, and"

In our case we can utilize MIME to create a multi-part message with one 
part containing a human-readable challenge and other parts containing 
machine-readable challenges (i.e. non-textual message bodies). The 
advantages to using MIME is that:
1. We can include both human and machine requests in one messages, NOT 
limited in size.
2. We can include PKI signatures, hashcash codes, etc.
3. We can include multiple challenges and responses in one message.

I think that all three approaches are good and they fulfill different 
needs. I think all three should be used and we will allow C/R systems 
to  negotiate between themselves:
1. The basic CRI protocol should use RFC 2822 headers, with single 
challenge per each sender. This allows for easier use with existing email 
systems and non interoperable C/R systems. Such messages will have the 
regular challenge message for humans in the message body with additional 
information in the headers. Using custom MIME types can make email software 
choke and leave the information unreadable to a human being.
2. IF a C/R system is used by the sender, then it can identify itself 
either via ESMTP or an RFC 2822 header. Then the two systems can negotiate 
on the use of RFC 2822 headers, MIME headers or plain SMTP. This would be 
similar to the way HTTP clients negotiate with "Accept-Encoding" and 
"Content-Encoding" methods. This would allow interoperable C/R systems to 
use MIME and SMTP methods for cases like challenges to multiple senders, 
custom PKI, burden of storage on sender, etc.

Yakov  

_______________________________________________
Asrg mailing list
Asrg@ietf.org
https://www1.ietf.org/mailman/listinfo/asrg