From owner-ipsec@lists.tislabs.com  Tue Jan 21 12:55:35 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA06890
	for <ipsec-archive@lists.ietf.org>; Tue, 21 Jan 2003 12:55:34 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id MAA19584; Tue, 21 Jan 2003 12:56:08 -0500 (EST)
Date: Tue, 21 Jan 2003 12:56:08 -0500 (EST)
Message-Id: <200301211756.MAA19584@lists.tislabs.com>
To: ipsec-archive@ietf.org
From: Majordomo@lists.tislabs.com
Subject: Welcome to ipsec
Reply-To: Majordomo@lists.tislabs.com

--

Welcome to the ipsec mailing list!

Please save this message for future reference.  Thank you.

If you ever want to remove yourself from this mailing list,
you can send mail to <Majordomo@lists.tislabs.com> with the following
command in the body of your email message:

    unsubscribe ipsec

or from another account, besides ipsec-archive@lists.ietf.org:

    unsubscribe ipsec ipsec-archive@lists.ietf.org

If you ever need to get in contact with the owner of the list,
(if you have trouble unsubscribing, or have questions about the
list itself) send email to <owner-ipsec@lists.tislabs.com> .
This is the general rule for most mailing lists when you need
to contact a human.

 Here's the general information for the list you've subscribed to,
 in case you don't already have it:

[Last updated on: Mon Apr  5  9:57:18 1999]

   The ipsec@lists.tislabs.com list is for discussing the business of the IETF's
IP Security Working Group (IPsec), which is an open forum for discussing
the standards efforts on IP Security.

   Announcements for open non-commercial security conferences, workshops,
symposia, and similar events may be posted provided anyone may attend.

   This list MUST NOT be used for job postings, product announcements,
off-topic discussions, requests for general help on Internet security,
or other commercial announcements.

   This list is managed by majordomo.  For more information send an email
message to "majordomo@lists.tislabs.com" with "help" in the body of the message.

 Compressed archive files, indicated with a ".Z" suffix, must be
retrieved via anonymous ftp from the host "ftp.tislabs.com" in the directory
"/pub/lists/ipsec".  If you don't have ftp access please find a friend who does.




From owner-ipsec@lists.tislabs.com  Tue Jan 21 20:10:39 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA17030
	for <ipsec-archive@lists.ietf.org>; Tue, 21 Jan 2003 20:10:38 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id RAA20246
	Tue, 21 Jan 2003 17:53:09 -0500 (EST)
From: Black_David@emc.com
Message-ID: <277DD60FB639D511AC0400B0D068B71E0564C7D8@corpmx14.us.dg.com>
To: ipsec@lists.tislabs.com
Subject: IKEv2 tunnel changes for ECN
Date: Tue, 21 Jan 2003 17:54:58 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

The "small draft" I promised to write on this topic
is available at:

http://members.bellatlantic.net/~vze4kfz2/drafts/draft-black-ipsec-ikev2-ecn
fix-00.txt

while the secretariat works on getting it onto the
I-D servers.

The draft specifies changes to IPsec tunnel decapsulation
so that ECN "just works" for any tunnel-mode SA created
by IKEv2 in order to avoid carrying the existing ECN
negotiation for IKEv2 forward to IKEv2.  It is intended
to be superseded by 2401bis when that draft is ready,
but is being done now to try to avoid carrying the
negotiation forward.  Please note the open issue
described in Section 5.2.

Thanks,
--David

----------------------------------------------------
David L. Black, Senior Technologist
EMC Corporation, 176 South St., Hopkinton, MA  01748
+1 (508) 293-7953             FAX: +1 (508) 293-7786
black_david@emc.com        Mobile: +1 (978) 394-7754
----------------------------------------------------


From owner-ipsec@lists.tislabs.com  Tue Jan 21 20:17:15 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA17201
	for <ipsec-archive@lists.ietf.org>; Tue, 21 Jan 2003 20:17:15 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id SAA20347
	Tue, 21 Jan 2003 18:39:44 -0500 (EST)
Mime-Version: 1.0
X-Sender: phoffvpnc@mail.vpnc.org
Message-Id: <p05210219ba538b082e02@[165.227.249.18]>
X-Habeas-SWE-1: winter into spring
X-Habeas-SWE-2: brightly anticipated
X-Habeas-SWE-3: like Habeas SWE (tm)
X-Habeas-SWE-4: Copyright 2002 Habeas (tm)
X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this
X-Habeas-SWE-6: email in exchange for a license for this Habeas
X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant
X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this
X-Habeas-SWE-9: mark in spam to <http://www.habeas.com/report>.
Date: Tue, 21 Jan 2003 15:41:55 -0800
To: ipsec@lists.tislabs.com
From: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
Subject: Ciphersuites for IKEv2
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Given the looming deadline for us to finish on IKEv2, we need to come to
some agreement on ciphersuites. The following comments are based on the
-04 draft.

In section 5.3.1, it says:

>For Suite-ID, the following values are defined:
>
>	  Name            Number   Algorithms
>	  IKE_CLASSIC       0       DH-Group #5 (1536 bits)
>					3DES encryption
>					HMAC-SHA1 integrity and prf
>
>	  ESP_CLASSIC       1       3DES encryption
>					HMAC-SHA1 integrity
>	  <some AES variants, AH (?))
>
>	  values 2-65000 are reserved to IANA. Values 65001-65533 are
>	  for private use among mutually consenting parties.

Later, in section 5.14, it says:

>  The mandatory to implement algorithms are AES-128-CBC and HMAC-SHA1.


So far, this list hasn't been able to agree on whether these are good
values, mostly due to people having different priorities. I propose that
the priority we choose for creating the MUST implement suite be that of
greatest interoperability. This means that we should not expect any
current IPsec vendor who has hardware acceleration to need to make
hardware upgrades to their IPsec devices.

Beyond that, we should also define suites that are expected to be used
in typical circumstances, but we should not attach a MUST or even a
SHOULD to those suites. We should also *not* name the suites because the
names will impart meaning in the future that may not be true. For
example, the name "IKE_CLASSIC" implies that the values are those used
by typical IKEv1 systems, but that is not true because many systems
don't even implement DH Group 5 (even though they obviously should).

Given those criteria, I propose that the following text be used in
section 5.3.1 (and the text noted above in section 5.14 be removed):

=====

For Suite-ID, the following values are defined:

Suite-ID  Meaning
--------  -------
0         Covers: IKE
          168-bit 3DES CBC encryption
          Diffie-Hellman group 2 (1024-bit)
          HMAC-SHA1 integrity and prf

1         Covers: ESP
          3DES encryption with three keys
          HMAC-SHA1 integrity

2         Covers: AH
          HMAC-SHA1 integrity

3         Covers: IKE
          168-bit 3DES CBC encryption
          Diffie-Hellman group 5 (1536-bit)
          HMAC-SHA1 integrity and prf

4         Covers: IKE
          AES encryption in CBC mode with 128-bit keys
          Diffie-Hellman group 5 (1536-bit)
          HMAC-SHA1 integrity and prf

5         Covers: IKE
          AES encryption in CBC mode with 128-bit keys
          Diffie-Hellman group 14 (2048-bit)
          HMAC-SHA1 integrity and prf

6         Covers: ESP
          AES encryption in CBC mode with 128-bit keys
          HMAC-SHA1 integrity

7         Covers: IKE
          AES encryption in CTR mode with 128-bit keys
          Diffie-Hellman group 14 (2048-bit)
          AES-CBC MAC + XCBC integrity and prf

8         Covers: ESP
          AES encryption in CTR mode with 128-bit keys
          AES-CBC MAC + XCBC integrity

Values 9-65000 are reserved to IANA. Values 65001-65533 are for private
use among mutually consenting parties. Additional Suite-ID values will
be assigned by IANA based on consultation with the IESG.

All implementations of IKEv2 MUST be able to negotiate Suite-ID 0 and
Suite-ID 1. Implementations SHOULD be able to negotiate Suite-IDs 3, 4,
5, and 6.

The must-be-implemented ciphersuites (0 and 1) are based on
currently-deployed hardware that meets the security requirements of the
vast majority of current IPsec users, and should be useful for at least
a decade according to cryptographic estimates from NIST for business
user scenarios. The should-be-implemented ciphersuites (3, 4, 5, and 6)
are based on expectations of where the security industry is moving
(namely, to the AES encryption suite) and where more security-conscious
users are moving as current key lengths become more attackable due to
the steady lowering of cost to mount brute-force attacks.

An important lesson learned from IKEv1 is that no system should only
implement the mandatory algorithms and expect them to be the best choice
for all customers. For example, at the time that this document was being
written, many IKEv1 implementers are starting to migrate to AES in CBC
mode for VPN applications. Many IPsec systems based on IKEv2 will
implement AES, longer Diffie-Hellman keys, and additional hash
algorithms, and some IPsec customers already require these algorithms in
addition to the mandatory ones listed above.

=====

Possible issues:

- Some people may want to have more suites as fallbacks in case of
a catastrophic failure of an algorithm. The WG seemed to want fewer
suites. This is why I had the IANA registry being updated with IESG
consultation instead of a standards-track RFC: we could get a number
easily for a non-compromised suite. Having a zillion suites defined
early won't cause implementers to handle them; note that TIGER was
a SHOULD in IKEv1 and almost no one implemented it at all.

- Should the ESP and AH MUST and SHOULDs be in the IKEv2 document or
in 2401bis? I think they should be in IKEv2, but others have said that
because they cover IPsec themselves, they should be in 2401bis.


--Paul Hoffman, Director
--VPN Consortium


From owner-ipsec@lists.tislabs.com  Tue Jan 21 21:37:51 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA19401
	for <ipsec-archive@lists.ietf.org>; Tue, 21 Jan 2003 21:37:50 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id TAA20652
	Tue, 21 Jan 2003 19:46:45 -0500 (EST)
Message-Id: <200301220049.h0M0n1G0009702@marajade.sandelman.ottawa.on.ca>
To: ipsec@lists.tislabs.com
Subject: Re: Ciphersuites for IKEv2 
In-reply-to: Your message of "Tue, 21 Jan 2003 15:41:55 PST."
             <p05210219ba538b082e02@[165.227.249.18]> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Tue, 21 Jan 2003 19:49:01 -0500
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "VPNC" == VPNC  <Paul> writes:
    VPNC> Given the looming deadline for us to finish on IKEv2, we need to come to
    VPNC> some agreement on ciphersuites. The following comments are based on the
    VPNC> -04 draft.

  I have reviewed the proposed items, and the 8 combinations make me
comfortable.

    VPNC> SHOULD to those suites. We should also *not* name the suites because the
    VPNC> names will impart meaning in the future that may not be true. For
    VPNC> example, the name "IKE_CLASSIC" implies that the values are those used
    VPNC> by typical IKEv1 systems, but that is not true because many systems
    VPNC> don't even implement DH Group 5 (even though they obviously
    VPNC> should).

  I concur with this reasoning.

  I would prefer to label 3 as MUST and 0 as SHOULD, but as long as people
read 2026 for definition as SHOULD, I'm happy.

]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBPi3qeoqHRg3pndX9AQFI/QQApJRbGRaNdE4y/LXP2QXzv08SU0Rdfov5
wXjpDj+pfHgpux0I2ekQ6ecggUJs6Be3ys1Bkx61DrniXPro7bv5EkpGgwCsh6fC
ZiV7GlSq1di/6ogotKuyg/SlQq+KDmAzH3zTTRjSo8k9GAQUxP8yF8SL9hfncC9+
M/XpaCcHpag=
=lqpL
-----END PGP SIGNATURE-----


From owner-ipsec@lists.tislabs.com  Wed Jan 22 20:59:04 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA13723
	for <ipsec-archive@lists.ietf.org>; Wed, 22 Jan 2003 20:59:03 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id SAA24104
	Wed, 22 Jan 2003 18:39:11 -0500 (EST)
Date: Thu, 23 Jan 2003 01:41:53 +0200 (IST)
From: Hugo Krawczyk <hugo@ee.technion.ac.il>
To: IPsec WG <ipsec@lists.tislabs.com>
Subject: Re: a change to the signature processing in IKEv2
Message-ID: <Pine.GSO.4.21.0301230053440.17560-100000@ee.technion.ac.il>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

In a message posted to this list on Dec 31st
http://www.vpnc.org/ietf-ipsec/mail-archive/msg02846.html
I requested to make a change to the signature processing in ikev2
in order to add to the cryptographic soundness and robustness of the
protocol (and, as a nice bonus, to secure SLA). See that message for the
rationale of that change.

I did not offer specific language then for the change since the ikev2
draft was in transition between 03 to 04 (and from 4 msgs to 6 msgs). Now
that 04 is out I can provide with the exact language necessary to specify
the change. The change takes 2-3 lines of text in the spec, 10 minutes of
programming, and 30 minutes of testing. It also adds several years of
extra cryptographic health to the protocol (and its derivatives)...

So here is the suggested change. The text that follows should
replace the first paragraph of section 4.15 (where the processing of the
signature operation is defined) in ikev2-04. No other change is needed.
The changes from the current paragraph are minimal and I marked them by 
putting them under brackets [...].

   4.15 Authentication of the IKE-SA

   The peers are authenticated by having each sign (or MAC using a
   shared secret as the key) a block of data. For the responder, the
   octets to be signed start with the first octet of the first SPI in
   the header of the second message and end with the last octet of the
   last payload in the second message.  Appended to this (for purposes
   of computing the signature) [are] the initiator's nonce Ni (just the
   value, not the payload containing it), [and a value MIDr computed as
   prf(SK_ar,IDr). Note that neither the nonce Ni or value MIDi are
   transmitted.]  Similarly, the initiator
   signs the first message, starting with the first octet of the first
   SPI in the header and ending with the last octet of the last payload.
   Appended to this (for purposes of computing the signature) [are] the
   responder's nonce Nr, [and a value MIDi computed as prf(SK_ai,IDi)].  

That's all. I gave the name MID to the added value to mean "Mac'ed ID".
The name is not strictly necessary since there is no need to refer to
this MID value in any other place of the spec (except for rationale). 

BTW, I am assuming that the keys SK_a are intended for use as keys to the
negotiated prf (and not, for example, to key a different MAC function). If
I am wrong here please let me know.

Regarding the second change I suggested in my note of 12/31, namely, that
each peer signs ALL the information it sends during the exchange, I still
think that this change would improve the cryptographic design of the
protocol, but it also would add some specification complexity. If there is
support for that change I can offer some text. 

In any case, I consider the introduction of the MID field as specified
above a first priority (in particular since it makes the protocol security
indpendent of the position of the identity in the exchange). Hopefully it
will make it to the ikev2 draft by the February's "deadline"...

Hugo



From owner-ipsec@lists.tislabs.com  Wed Jan 22 21:18:49 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA14018
	for <ipsec-archive@lists.ietf.org>; Wed, 22 Jan 2003 21:18:48 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id RAA23901
	Wed, 22 Jan 2003 17:50:14 -0500 (EST)
Date: Thu, 23 Jan 2003 00:53:01 +0200 (IST)
From: Hugo Krawczyk <hugo@ee.technion.ac.il>
To: Derrell Piper <ddp@electric-loft.org>
cc: IPsec WG <ipsec@lists.tislabs.com>
Subject: Re: a change to the signature processing in IKEv2
In-Reply-To: <CD3E0FB4-242F-11D7-B560-000393CDFD1A@electric-loft.org>
Message-ID: <Pine.GSO.4.21.0301230038420.17560-100000@ee.technion.ac.il>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk


On Thu, 9 Jan 2003, Derrell Piper wrote:

> Hugo,
> 
> There's been scant discussion about this since your post.  I've now 
> read your SIGMA paper and I like the first change you proposed.  I 
> think explicitly moving the identity binding MAC into the signature 
> definition is a very good change for all the reasons you noted.  I 
> would like to see this incorporated into the next revision of the IKEv2 
> draft, prior to the February submission.

I would like too. It is up to the editor now.
Now that version 04 is out I will send explicit language to incorporate
this change. It really is a triviality from the point of view of spec and
implementation.

 > 
> Regarding the second change, I'm generally in favor of what you 
> proposed.  I've always thought that the authenticator should include 
> all of the information transmitted by a peer.  I have in the past heard 
> arguments about wanting to limit the amount of data being signed, which 
> often results in an additional MAC step being applied before the 
> signature.  What are your thoughts here?  Clearly with SLA we weren't 
> concerned with this since we proposed a 'sign it all' signature, but I 
> bring it up here because the generalized IKEv2 change may imply some 
> potentially long certificate chains will now be included with the 
> addition of messages 3 and 4.

It would really be a better design that each party  signs the two messages
it sends, that is, each party signs ALL the information it sends in the
exchange (including stuff that may be added to the exchange at some future
revision...)
But this change is less trivial than the above one, in particular as you
say because of the potentially long certs that would get included
automatically. It is no big deal since hashing this information is very
fast, yet it may have a psychological effect on people. Also, signing two
messages instead of one makes the spec a bit more complicated due to the
need to concatenate the information and possibly move the signature to the
end of the message. None of this is big deal but I will not "fight" for
it.

Thanks for the support.

Hugo

> 
> Derrell
> 
> On Monday, December 30, 2002, at 04:38 PM, Hugo Krawczyk wrote:
> 
> >
> > This message contains a request for a change to the cryptographic
> > specifications of ikev2's signatures. It is a relatively easy change 
> > that
> > will add security to the protocol in the sense of making the protocol's
> > security more robust to changes (in particular new modes and variants 
> > such
> > as SLA). It will also improve the protocol by making its logic easier 
> > to
> > understand and analyze.
> >
> > In a previous message I described an "identity misbinding attack" on 
> > SLA.
> > I said there that this attack against the authenticity of the protocol 
> > is
> > NOT possible in IKEv2.  Indeed, IKEv2 provides strong authentication 
> > via
> > the combination of a digital signature on the DH exponentials and a MAC
> > on the signer's identity. This follows the "sign and mac" of the SIGMA
> > protocols which has been rigorously analyzed. Therefore I have no
> > complaints about the security of IKEv2 as specified now (draft v3).
> >
> > On the other hand, I do have a complaint (that I expressed several 
> > times in
> > the past) regarding the "robustness" of the IKEv2 design.
> > The problem is that the essential key-identity binding through a MAC
> > is achieved in IKEv2 in an indirect way that is not sufficiently 
> > explicit
> > and thus it is prone to misunderstandings and mistakes in modified 
> > versions
> > of the protocol.  I have been saying (since Nov 2001) that sooner or 
> > later
> > people will propose variants or changes that will fail to be secure 
> > due to
> > this design "obscurity". And indeed it happened sooner than later with 
> > the
> > design of SLA.
> >
> > The problem is that IKEv2 authentication (and specifically key-identity
> > binding) depends on two elements:
> >
> > (1) the MAC that is applied through the SK{} processing (which most 
> > people
> > understand as needed for identity protection, or encryption integrity,
> > rather than for the core authentication of the protocol)
> > (2) the transmission of the initiator's identity in message 3 and of 
> > the
> > responder's in message 4.
> >
> > If you remove any of these elements, or move the identities to another
> > message, the protocol becomes insecure.
> > SLA is an example in which the authentication in message 4 (the 
> > responder's)
> > is moved to message 2 but SK{} (and its MAC) is not carried to that 
> > message.
> > And it is not really the SLA designers fault: the SK{} processing 
> > includes
> > encryption while message 2 of SLA cannot be encrypted (since it 
> > contains KEr
> > which needs to be sent in the clear). Moreover, in SLA you do not care
> > about protecting the identity of the responder (the server) and thus 
> > the
> > SK{} processing is not only problematic but actually unnecessary.
> >
> > Another case in which the protocol's security would break down is in 
> > the
> > following (not completely) hypotetical scenario. Assume that in some 
> > setting
> > you do not care about identity protection of the initiator. In this 
> > case it
> > makes a lot of sense to transmit this identity already in the first 
> > message
> > so that the responder can make policy decisions early on based on this
> > identity (this, btw, was one of the properties people liked/wanted in 
> > the
> > aggressive modes of IKEv1).  In this case, the authentication by the
> > initiator still occurs in message 3, but the identity is not included 
> > there
> > (since it was sent in message 1). However, while this change (or 
> > option) may
> > seem very reasonable the resultant protocol would fail to "identity
> > misbinding" attacks (i.e.  the basic "mutual belief" property is lost).
> > Note that while the effect of such an attack is debatable in the 
> > specific
> > case of SLA, it is a major vulnerabiity in a general peer-to-peer key
> > exchange protocol as IKEv2.
> >
> > As a fix to SLA and a general fix to this lack of robustness of IKEv2 I
> > propose the following change to the signature computation (the AUTH 
> > payload)
> > in IKEv2.
> >
> > Currently IKEv2 defines that the signature is to be applied to the
> > concatenation of the peer's nonce and the contents of certain messages 
> > in
> > the protocol. The change I am asking for is to add to the signed 
> > information
> > also a value computed as MAC(SK_a,ID) where SK_a is is the MAC key 
> > already
> > computed by the protocol, and ID is the identity of the signer.
> > More specifically, in the initiator's signature (in message 3) this
> > additional value will be MAC(SK_ai,IDi), while in the responder's 
> > signature
> > it will be MAC(SK_ar,IDr).
> >
> > The computation of the keys SK_ai/SK_ar requires no additional 
> > processing
> > or change since they are already derived in IKEv2 for use in the MAC 
> > in SK{}.
> > Also note that the value MAC(SK_a,ID) added to the signature 
> > computation
> > will NOT be transmitted but just re-computed by the receiving end when
> > verifying the signature, so it requires no new payload nor it 
> > increases the
> > length of messages.
> >
> > Thus, while the proposed change adds negligible complexity relative to 
> > the
> > whole complexity of IKEv2 it provides for a significantly more robust 
> > and
> > easier to analyze design.  In particular:
> >
> > (1) the signatures can be moved to any message where they make sense 
> > (e.g.
> > to message 2 in SLA) without loosing the protocols security
> > (2) the identities can be transmitted in any message (e.g. the 
> > initiator's
> > identity in message 1) without impacting the authentication of the 
> > protocol
> > (3) the MAC used in SK{} will be confined to two functionalities:
> >    (a) protecting the identity encryption against active attacks
> >    (b) protecting the authenticity of phase-2 information piggybacked
> >        to msgs 3 and 4.
> >
> > Then I would also suggest a second change that will reduce the need for
> > SK{} to functionality (a) (identity protection) only.  The idea is
> > to expand the signature's scope to the WHOLE information sent by each 
> > signer.
> > That is, I's signature will be applied to the full messages 1 and 3, 
> > while R's
> > signature to the full messages 2 and 4. In this case the AUTH payload 
> > can be
> > moved to the end of messages 3 and 4 (before the SK{} processing).
> > Relative to what is signed today, this change has the cost that each
> > signature needs to be applied to two messages (instead of one message 
> > only).
> > However making sure that you sign ALL the information sent by each 
> > party
> > makes a better design.  And, not less important, we make the MAC under 
> > SK
> > only needed for identity protection.  In particular, the resultant 
> > protocol
> > can be proven secure even if the whole SK{} processing is omitted in 
> > case
> > that identity protection is not required. I consider this as a 
> > significant
> > robustness AND analytical advantage.
> >
> > In any case, while I'd prefer to see both changes accepted, I still 
> > consider
> > the firsr one (adding MAC(SK_a,ID) to the signatures) as more 
> > significant
> > and needed independently of the second change (i.e. expanding the 
> > scope of
> > signatures).
> >
> > If anyone opposes these changes (especially the first one) please 
> > explain
> > the rationale of this objection in a message to this list. I would 
> > suggest
> > that whoever wants to raise objections against these changes first 
> > reads the
> > SIGMA paper which addresses in much more detail the motivation and 
> > rationale
> > behind these changes (in particular, see section 5.4 of the paper).
> > The url (again) is http://www.ee.technion.ac.il/~hugo/sigma.ps [.pdf]
> >
> > Happy new year
> >
> > Hugo
> >
> 
> 



From owner-ipsec@lists.tislabs.com  Wed Jan 22 21:56:34 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA14927
	for <ipsec-archive@lists.ietf.org>; Wed, 22 Jan 2003 21:56:33 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id TAA24232
	Wed, 22 Jan 2003 19:37:34 -0500 (EST)
Date: Thu, 23 Jan 2003 02:40:52 +0200 (IST)
From: Hugo Krawczyk <hugo@ee.technion.ac.il>
To: Charlie_Kaufman@notesdev.ibm.com
cc: IPsec WG <ipsec@lists.tislabs.com>
Subject: some comments on ikev2 04
In-Reply-To: <OFF0EEEFC3.008C9598-ON85256CB2.0015D7B2-85256CB2.00165C8A@notesdev.ibm.com>
Message-ID: <Pine.GSO.4.21.0301230142270.17560-100000@ee.technion.ac.il>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Charlie,

Browsing over ikev2-04 I noticed several issues that may require 
clarifications or simple textual changes. None is crucial, yet here is a
list for you to consider.

(1) prf, authentication, etc:

The draft refers to  "prf", "MAC", and "integrity protection" as 
synonyms. Moreover, it seems that there is only one algorithm negotiated
for all of these functionalities (this includes key derivation,
authentication in preshared mode, and identity protection in SK{}). 
If this understanding is correct, I would suggest to make this more
clear and explicit in the text. If not, please let me know where is a
differentiation between these transforms.

Apropos, since the notion of "pseudorandom function" is not well 
represented in the more popular books about cryptography, it may 
be a good idea that ikev2 includes some language about what is meant
(assumed) as a good prf.
The following text (with a small addition) is from ike (v1):

 prf(key, msg) is the keyed pseudo-random function-- often a keyed
     hash function-- used to generate a deterministic output that
     appears pseudo-random, namely, indistinguishable from random
     for an observer who does not hold the prf key.  
     Pseudo-random functions prf's are used both for key derivations and
     for authentication (i.e. as a keyed MAC). (See [KBC96]).


(2) Anti-DoS cookie: I suggest that in your illustration of how to compute
the cookie (page 19) you add to the input of the hash the value Ni.
The rationale is that with this addition an attacker that
sees message 2 sent from R to I but did not see the corresponding message
1 from I to R cannot use this cookie since it does not know Ni. With
your definition, the attacker can use this cookie in a DoS attack by
forging I's source IP address (IPi) in its response (i.e. posing as I in
message 3). To do  this it does not need to see the original first message
from I. 
You may want to take a look at Section 2.3 of my draft
http://www.ee.technion.ac.il/~hugo/draft-krawczyk-ipsec-ike-sigma-00.txt
The proposal there is similar to what you do, but it includes
the nonce Ni and also an anti-replay value T to prevent
attackers from replaying valid cookies. The way way you do it is fine but
requires frequent changes of the <secret> to obsolete old cookies.

(3) Nonces (sec 4.10). You say that nonces need to be "at least equal to
the key size of the strongest cryptographic algorithm used".
Someone may understand that as 1024 (or even 2048) bits as the DH key
size... You do not care about "key size" but about "algorithm strength"

And, in a related issue: the key to prf in the derivation of the SKEYSEED
is Ni|Nr. If you think of HMAC (I know you do) this is not a problem since
HMAC has its built-in mechanism to deal with variable length keys.
But other perfectly good prf's (e.g. AES-CBC-MAC) will not accept too long
keys. You may want to say that the concatentation of Ni|Nr must be of the
length of the prf, but if it is longer than specified for the prf
then each nonce is truncated to contribute half of the bits of the key.

(4) Section 4.13, end of second par:
replace
"the fixed key size is the size of the output of the HMAC"
with 
"the fixed key size is the size of the output of the underlying hash
function"

The reason is that people may be confused about what the length of the 
"output of HMAC" is. Especially in the ipsec context some people think
that HMAC outputs 96 bits (I have a lot of experience dealing with these
confusions)

(5) Last words in 4.14: change them to
"the length of the output of the underlying hash function"

(6) Sec 4.15. I do not understand what good it makes to concatenate the
string "Key Pad for IKEv2" to the shared secret. You justify it on the 
seemingly "inevitable" use of passwords as shared keys. However, even in
this case how does the concatenated string help? If for any reason you
still want to put this string there make it an additional input to the
prf, not a concatenation to the key.

(7) Security considerations:

- can you explain to me what is the meaning of the first paragraph.
In what sense is the entropy of the DH consumed? (what is this entropy
anyway?) Maybe you want to say that using the same phase 1 with many 
non-DH phase 2's compromises the PFS property of the protocol.

-last par: I do not exactly understand the diffeentiation between
"random", "pseudo-random" and "strongly random" in this text.
I think that ALL these quantities should be cryptographically strong 
pseudo-random ("purely random" is a special case)

(8) I include this to make sure that there is at least one suggestion
that you will buy: there is a typo in the title of section 4.17 in the
TOC...

Hugo




From owner-ipsec@lists.tislabs.com  Wed Jan 22 23:35:09 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA16988
	for <ipsec-archive@lists.ietf.org>; Wed, 22 Jan 2003 23:35:08 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id UAA24404
	Wed, 22 Jan 2003 20:30:26 -0500 (EST)
Date: Thu, 23 Jan 2003 03:33:09 +0200 (IST)
From: Hugo Krawczyk <hugo@ee.technion.ac.il>
To: David Jablon <dpj@theworld.com>
cc: IPsec WG <ipsec@lists.tislabs.com>
Subject: Re: A proposal
In-Reply-To: <5.1.0.14.0.20030110230838.045dd440@pop.theworld.com>
Message-ID: <Pine.GSO.4.21.0301230242461.17560-100000@ee.technion.ac.il>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

David, I do not think this whole issue is too important or that
people really care, and I am glad that you agree that the xor-based
solution would be an appropriate way to mix the additional key into
the key derivation. Yet I do not really like having the "compound
authentication" to happen (implicitly) at the level of key derivation.

As for your specific responses to the technical objections in my previous
message, let me make some clarification that may help 
dispeling some misunderstandings.

The main point in your response is that the weaknesses I point out are
possible only if one assumes "weaker" prfs than allowed by IKE (v2).
That's wrong. Indeed, I illustrated my attack using a block-cipher based
prf. There is NO cryptographic reason to assume that those are bad prf's,
actually they may turn out to be better than HMAC-SHA1. These prf's are
allowed (and should be allowed) by IKE as IKE remains secure with them.

Moreover, my use of cipher-based prf's in the attack was needed because of
the fortuitous choice made in ikev2 to derive encryption keys before
authentication keys in the KEYMAT derivation. If this specification would
have been made the other way around (first authentication keys, then
encryption keys -- which is btw the ordering to derive the SKa and SKe
keys from SKEYSEED) then your proposal would fail with ANY prf (including
HMAC).

Another objection that I see in your note is:

> For the record, the disclosure of SK_d is not the result of my proposal.
> It is the result of MITM attack due to failed server-only authentication,
> a presumed pre-existing issue with SLA.

You are absolutely right that your propsal does not disclose SK_d. Yet,
it does not protect the SK_d derivation either. Thus the whole point of
such a propsal is to avoid the MitM from impersonating the user even in
case it obtained SK_d (something that is NOT avoided by introducing
further keying material in the keymat derivation). 
Your proposal does succeed to some extent against full user impersonation
but fails to known-key attacks.

Finally, in response to some of your comments regarding mutual
authentication, let me point out that the attack I described works even if
each of the tunnel and the underlying "legacy" authentication provide
strong mutual authentication. The problem is not with the individual
methods but with its composition.

In all, I do not believe that there was anything unfair about my comments.
Certainly there was no such intention on my part.

Hugo


>

On Mon, 13 Jan 2003, David Jablon wrote:

> Hugo,
> 
> You've raised a good point about the use of weaker alternative prf
> functions in conjunction with my proposal.  But the remaining analysis
> is either incorrect or misdirected.
> 
> All of the other "attacks" or potential weaknesses that you describe are
> either directly applicable to IKEv2 or SLA, or do not exist with any of these
> proposals, and they certainly do *not* result from my proposal to merely
> include optional added key material in KEYMAT.
> 
> Furthermore, the one valid point directed at my proposal is *only* valid
> when one implements prf with a function that is significantly weaker
> than HMAC, which is currently the only specifically described
> instantiation in the IKEv2 draft.
> 
> If the intent is indeed for IKEv2 to permit use of prf's based on reversible
> functions, such as the cipher-based functions you describe, then
> something else (like the alternative that you describe) would clearly be
> needed to fix the problem, and it may be a good idea in any case.
> If the intent is to not permit cipher-based prf's, and perhaps in any case,
> it may be a good idea to clarify the required properties of "prf" in the draft.
> 
> While many of your comments appear to unfairly criticise the proposal,
> I do note that you gracously ignored the extraneous third argument to prf,
> a typographical error on my part.
> 
> I also note that you have not disputed the main point I was trying to make,
> that the act of *properly* blending key material into the KEYMAT
> computation does not weaken the security of IKEv2 [+SLA, ...],
> all else being equal.
> 
> I elaborate on these concerns in the response below.
> 
> -- David
> 
> 
> >On Thu, 2 Jan 2003, David Jablon wrote:
> >> Here's what seems to me to be an obviously simple and secure extension.
> 
> At 08:40 AM 1/6/03 +0200, Hugo Krawczyk wrote:
> >Not so simple (due to the need to import a key from the underlying
> >authentication method to the tunneling protocol).
> 
> [David writes:]
> For the record, my proposal, as a refinement of SLA or similar proposals,
> does not introduce any new *need* to import a key from an underlying
> authentication method.  It simply provides a mechanism to make use
> of a suitable imported key when desired and available.
> 
> [David wrote:]
> >> Proposal
> >> 
> >>  From my reading of www.ietf.org/internet-drafts/draft-ietf-ipsec-ikev2-03.txt,
> >> optional added key material from supplementary authentication
> >> methods could be bound to the IKEv2 server-only authenticated key
> >> using:
> >> 
> >>         KEYMAT = prf+(SK_d, [added_key_material] | Ni | Nr, g^ir)
> >> 
> >> This would extend and replace the existing specification of:
> >> 
> >>         KEYMAT = prf+(SK_d, Ni | Nr, g^ir)
> >...
> 
> [Hugo wrote:]
> >An obvious weakness of resolving the mitm problem via the key derivation
> >(rather than by adding an explicit "compund authentication") is that you end
> >the key exchange protocol without an explicit authentication that binds the
> >two protocols. But this by itself can be considered as a DoS issue and not a
> >security bug.
> 
> I see no such "obvious weakness" in resolving the problem via a proper
> KEYMAT derivation, either from a security or DoS perspective. In a
> general case, one may legitimately argue that explicitly authenticating a
> secondary key or credential in the tunnel is not the same as another
> hypothetical compound tunneled authentication method that binds the
> keys together and then explicitly authenticates the result.  That's a fine
> academic point, on which I generally agree.
> 
> But every authentication protocol that can provide keying material either
> provides (or could provide) explicit authentication of that material, or the
> legacy credential from which it has been derived. And the intent to
> encompass tunneled protocols "as is" implies that explicit authentication
> is typically included. In this case, when explicit authentication is included,
> and the tunnel is broken, SK_d is compromised by the MITM and direct
> binding to SK_d becomes irrelevant.
> 
> If, on the other hand, in your use of "compound authentication" you refer
> to dual private key based authentication, that hardly seems a reasonable
> criticism of how my proposal improves upon or diminishes the prior
> IKEv2 + SLA (or similar) proposal.  In my proposal, derived keys are still
> just as authenticated (or not) by the IKEv2 server authentication steps as
> they would be without the added keying material.
> 
> To be absolutely clear, I think it's best to compare apples-to-apples.
> Consider two cases of using server-only authentication to tunnel a
> second authentication method based on legacy client credentials.
> Presume that the tunnelled method exports key material.
> Case (1) discards this material, while case (2) blends it, properly, into the
> computation of KEYMAT. Case (2) should be at least as secure as (1).
> 
> >However, your specific proposal introduces weaknesses beyond the DoS
> >scenario. It is open to "known-key attacks" by the Man-in-the-mittle
> >attacking the tunneled authentication.
> 
> My proposal was made based on prf using HMAC -- the only explicitly
> specified prf.  Your concern is based on prf being instantiated using a
> formerly unspecified method that might be possble in a future extension
> to the draft, where HMAC is replaced with a weaker construction.
> I don't dispute the legitimacy of your concern, but it is limited to such cases. 
> 
> >A known key attack is one in which the disclosure of one of the keys
> >(e.g the authentication key) compromises another key (e.g the encryption
> >key). Resistance to known key attacks is an important requirement of a
> >well-designed key exchange protocol, and in particular of any good key
> >derivation technique associated to the key exchange protocol.
> >
> >[...]
> >
> >It can be shown (and I sketch this below for those interested in the
> >details) that an attacker that knows SK_d (which is the case of the mitm
> >attacker against which your proposal tries to protect) can mount known-key
> >attacks even WITHOUT knowing the "added-key-material" coming from the
> >underlying authentication method. 
> >This is NOT possible in the regular ikev2 scenario where only the legitimate
> >parties to the exchange know SK_d.
> 
> For the record, the disclosure of SK_d is not the result of my proposal.
> It is the result of MITM attack due to failed server-only authentication,
> a presumed pre-existing issue with SLA.
> 
> >The specific attacks that I can see are not the most practical, yet they
> >are sufficient to show that one cannot claim (or prove) the compound key
> >derivation that you propose to be secure in a mathematical sense.
> 
> The proper addition of added_key_material into the computation of
> KEYMAT does not cause the disclosure of an otherwise undisclosable
> KEYMAT. But, you raise an excellent point about proper constructions,
> especially since different implementations of "prf" (as specified)
> may have very different properties:
> 
> >A secure suggestion is to do a second prf+, similar to the one defined 
> >in ikev2, keyd with key "added-key-material", and then XOR the results of the
> >two prf+ computations. ...
> 
> I agree that XOR is a better way to bind the keying material, especially
> when there is a concern that alternate constructions for prf are allowed,
> such as the weaker cipher-based constructions that you describe (below).
> I had presumed the use of the specified HMAC, or something at least as
> strong, due to its extensive analysis and broad acceptance as a key
> derivation function.
> 
> >... This however ASSUMES that the key "added-key-material"
> >was NOT used in any way (not even  to key other cryptographic algorithms) in
> >the underlying authentication protocol. ...
> 
> It's not clear to me what you mean by that statement.  Any added key
> material will surely be derived in some way from the credentials used
> in the underlying protocol.  Insuring the security and proper use of the
> exported/imported key is clearly the dual responsibility of both
> protocols, as I noted in an earlier post.
> 
> >PS: for those interested to see how a known-key attack could work against the
> >above proposal, this can be exemplified as follows. It is a bit involved,
> >somewhat artificial and it requires patience to be understood, I will only
> >sketch the idea. Imagine a case in which the keys derived (KEYMAT) in
> >sla/ikev2 are later used by the responder (server)  to send confidential
> >information to the iniitator (client), without the latter sending information
> >back.  This information could be a confidential real-time stream of data or
> >whatever. In this case, the initiator will never complete its explicit
> >authentication in the protocol since it will never show to the responder that
> >it knows KEYMAT. In particular if this client is the mitm against which we
> >want to protect, this attacker will never have to show that it knows the keys
> >derived in KEYMAT. So far this may be considered only as a DoS attack on the
> >server (which is sending information to a fake client, but one that supposedly
> >cannot decrypt the information).
> 
> Again, that sketch of a DoS issue, however (in)significant, seems to
> be based on a false presumption that there is no explicit authentication
> within the "tunnel".
> 
> >However, this is not the end of the story. Imagine that the attacker
> >records all this information and eventually learns the authentication keys
> >used in the session. (This can be the case if a month later the
> >authentication key shows up in some logs from that session; note that it
> >may make sense to log, even wthout secrecy, authentication keys from
> >expired sessions). Now our mitm attacker can also learn the encryption
> >keys! How? If we imagine that the prf is a block cipher (eg AES-128 or
> > AES-256) then if you look at the prf+ derivation in ikev2 you'll see
> >that the attacker THAT KNOWS SK_d can compute all keys derived via prf+
> >if it happens to know the output of a single prf+ stage (Ti), and
> > provided that the input to each prf+ stage is no longer than the cipher
> >block. (All of this is possible with 128-bit blocks and even more
> >plaussible with 256-bit blocks when no g^ir is involved, in particular 
> >when running phase 1).
> 
> The known-key attack that you've sketched is only relevant for the
> case where HMAC is replaced with an alternative weaker construction,
> such as AES-nnn.
> 
> As the only prf explicity specified in IKEv2 is HMAC, I had presumed that
> any suitable key derivation function would have comparable properties.
> If the draft is intended to permit the use of weaker prf constructions,
> including those that are based on reversible functions, perhaps it should
> more clearly specify the required (or non-required) properties of a suitable
> prf.
> 
> To be clear on this point:  In light of your comments, the IKEv2 draft
> seems well-defined, given the generally accepted definition of a
> pseudo-random function.  However something stronger than a simple
> cipher-based prf may be desired, and in any case, it can't hurt to add
> a reference to more clearly define the intent of "prf" to prevent others
> from making false assumptions.
> 
> >Moreover, it is only the fortitous definition in ikev2 that specifies 
> >that encryption keys are derived from the first octets of the output of prf+,
> >and authentication keys from the last octets, that prevents an even easier
> >attack. Indeed, had the definition been the other way (first derive the the
> >authentication key, then the encryption key ) an attack as above could have
> >been mounted with ANY prf (not just block ciphers as described above)
> >including HMAC.
> 
> What I think you're thinking of doesn't work against HMAC.  But I see no
> real point in exploring a non-disclosed "attack as above" that might have
> been mounted against some other non-specified proposal.
> 
> >NONE OF THESE ATTACKS or weaknesses ARE APPLICABLE to (or be blamed on)
> >IKEv2. They are possible because of the way the key from the underlying
> >authentication protocol, added_key_material, is involved in the proposed
> >key derivation.
> 
> I believe I have shown that, for other than the "prf" issue, the concerns
> that you've raised are either not a concern at all, not a concern with my
> proposal, or are best directed elsewhere.
> 
> -- David
> 



From owner-ipsec@lists.tislabs.com  Thu Jan 23 00:54:19 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA18132
	for <ipsec-archive@lists.ietf.org>; Thu, 23 Jan 2003 00:54:19 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id WAA24591
	Wed, 22 Jan 2003 22:42:25 -0500 (EST)
From: Charlie_Kaufman@notesdev.ibm.com
In-Reply-To: <28CAA5E1-2BD9-11D7-AAEC-000393CDFD1A@electric-loft.org>
Subject: Re: Secure legacy authentication for IKEv2
To: Derrell Piper <ddp@electric-loft.org>
Cc: ipsec@lists.tislabs.com
X-Mailer: Lotus Notes Build V601_11252002 November 25, 2002
Message-ID: <OFEB3B3EA5.B38E247C-ON85256CB7.00065F51-85256CB7.00102F22@notesdev.ibm.com>
Date: Wed, 22 Jan 2003 21:56:46 -0500
X-MIMETrack: Serialize by Router on Ace/Iris(Build V601_01162003NP|January 16, 2003) at
 01/22/2003 10:44:08 PM
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk





Derrell Piper <ddp@electric-loft.org> wrote on 01/19/2003 01:09:32 PM:

> To summarize the differences, some of which are admittedly trivial:
>
>
> 6) Is this a separate exchange type or not?

(CKnote: I reordered your differences, for clarity of responses).
I had misread the SLA proposal. The fact that it specifies a separate
exchange type removes some of my objections.

>
> 5) AUTH payload in message 2 or message 4?  --> implication for client
> identity protection

I believe this is the most important difference. Moving AUTH from message 4
up to message 2 makes the protocol quite different from the non-SLA case,
and (I believe) this makes a lot of other changes necessary. It also
complicates the analysis and changes the "what can an eavesdropper figure
out" properties. The main advantage is (possibly) saving a round trip,
which I would argue is not very important in a protocol that is interacting
with people.

> 1) Do we need to allow for the EAP identity exchange?  If so, where
> does it occur?

If it's going to happen, I think it should happen in messages 4 & 5. This
would extend the protocol one round trip in the case of legacy
authentication, with the benefit of protecting the client identity from
someone pretending to be the server.

As to whether it has to happen, I don't think so. If there were some future
EAP exchange that did not start with an identity request, then the ID
payload couldn't substitute. But that seems unlikely.

From a technical perspective, it's a trade off between one more round trip
and protecting the initiator's claimed identity from something
impersonating the server. I don't believe either of these issues is worth
fighting over. I'd happily go the other way but anticipated howling over 8
messages for username/password authentication.

>
> 2) Do we want to require or allow IKE ID payloads in addition to the
> EAP identity?

I don't think so. I think we want one or the other. I was proposing IKE ID
payload as a replacement for EAP identity exchange.

>
> 3) Addition of optional CERT payload returned by the gateway along with
> its AUTH payload.

I think this is necessary. You can't necessarily verify a signature without
the certs. I also believe the CERTREQ should precede the CERT so the client
can specify trusted roots and IDr should precede the CERT so the client can
name the server it wants to connect to in the case of a shared IP address.
These combined make it possible that message 1 will require fragmentation,
which in turn complicate the cookie/DOS stuff.

>
> 4) What is the order of the EAP payloads relative to other payloads?

I don't think we disagree on this one, though the SLA proposal saves a
round trip by not using the EAP syntax. I believe that's a false economy.

There is another important difference you didn't mention. My proposal has
an optional AUTH payload in the final message from client to server in the
event that the legacy authentication method establishes a key between the
two parties. The SLA spec doesn't say how such a key would be used, though
some possibilities have been proposed on the list.

          --Charlie

Opinions expressed may not even be mine by the time you read them, and
certainly don't reflect those of any other entity (legal or otherwise).



From owner-ipsec@lists.tislabs.com  Thu Jan 23 02:07:30 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA28861
	for <ipsec-archive@lists.ietf.org>; Thu, 23 Jan 2003 02:07:30 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id AAA24797
	Thu, 23 Jan 2003 00:08:06 -0500 (EST)
From: Charlie_Kaufman@notesdev.ibm.com
In-Reply-To: <Pine.GSO.4.21.0301230038420.17560-100000@ee.technion.ac.il>
Subject: Re: a change to the signature processing in IKEv2
To: Hugo Krawczyk <hugo@ee.technion.ac.il>
Cc: Derrell Piper <ddp@electric-loft.org>, IPsec WG <ipsec@lists.tislabs.com>,
        owner-ipsec@lists.tislabs.com
X-Mailer: Lotus Notes Build V601_11252002 November 25, 2002
Message-ID: <OFEE799E6B.8C26CC3C-ON85256CB7.0017D51C-85256CB7.0018A26F@notesdev.ibm.com>
Date: Wed, 22 Jan 2003 23:29:04 -0500
X-MIMETrack: Serialize by Router on Ace/Iris(Build V601_01162003NP|January 16, 2003) at
 01/23/2003 12:09:50 AM
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk





> > Regarding the second change, I'm generally in favor of what you
> > proposed.  I've always thought that the authenticator should include
> > all of the information transmitted by a peer.  I have in the past heard

> > arguments about wanting to limit the amount of data being signed, which

> > often results in an additional MAC step being applied before the
> > signature.  What are your thoughts here?  Clearly with SLA we weren't
> > concerned with this since we proposed a 'sign it all' signature, but I
> > bring it up here because the generalized IKEv2 change may imply some
> > potentially long certificate chains will now be included with the
> > addition of messages 3 and 4.
>
> It would really be a better design that each party  signs the two
messages
> it sends, that is, each party signs ALL the information it sends in the
> exchange (including stuff that may be added to the exchange at some
future
> revision...)
> But this change is less trivial than the above one, in particular as you
> say because of the potentially long certs that would get included
> automatically.It is no big deal since hashing this information is very
> fast, yet it may have a psychological effect on people. Also, signing two
> messages instead of one makes the spec a bit more complicated due to the
> need to concatenate the information and possibly move the signature to
the
> end of the message. None of this is big deal but I will not "fight" for
> it.

I would argue that the complexity is more than 'a bit', especially in light
of proposed revisions where there are more than "the two" messages sent and
where one side may send AUTH early in the exchange while the other side
sends it late. Beyond performance and spec complexity, there is the issue
of "plausible deniability" where I don't want to sign anything that can be
used to prove that I intentionally conversed with the named party, but the
"Me Tarzan/You Jane" IDr in message 3 would do just that if signed. It all
makes my head hurt. I'm glad you won't "fight" for it... I hope no one else
will either, and that if they do the argument includes proposed text.

          --Charlie

Opinions expressed may not even be mine by the time you read them, and
certainly don't reflect those of any other entity (legal or otherwise).



From owner-ipsec@lists.tislabs.com  Thu Jan 23 02:10:45 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA28893
	for <ipsec-archive@lists.ietf.org>; Thu, 23 Jan 2003 02:10:44 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id AAA24796
	Thu, 23 Jan 2003 00:08:06 -0500 (EST)
From: Charlie_Kaufman@notesdev.ibm.com
In-Reply-To: <Pine.GSO.4.21.0301230053440.17560-100000@ee.technion.ac.il>
Subject: Re: a change to the signature processing in IKEv2
To: Hugo Krawczyk <hugo@ee.technion.ac.il>
Cc: IPsec WG <ipsec@lists.tislabs.com>, owner-ipsec@lists.tislabs.com
X-Mailer: Lotus Notes Build V601_11252002 November 25, 2002
Message-ID: <OF4610D095.79091EB8-ON85256CB7.00142A45-85256CB7.00175F04@notesdev.ibm.com>
Date: Wed, 22 Jan 2003 23:15:17 -0500
X-MIMETrack: Serialize by Router on Ace/Iris(Build V601_01162003NP|January 16, 2003) at
 01/23/2003 12:09:47 AM
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk





Hugo Krawczyk <hugo@ee.technion.ac.il> wrote:

>    The peers are authenticated by having each sign (or MAC using a
>    shared secret as the key) a block of data. For the responder, the
>    octets to be signed start with the first octet of the first SPI in
>    the header of the second message and end with the last octet of the
>    last payload in the second message.  Appended to this (for purposes
>    of computing the signature) [are] the initiator's nonce Ni (just the
>    value, not the payload containing it), [and a value MIDr computed as
>    prf(SK_ar,IDr). Note that neither the nonce Ni or value MIDi are
>    transmitted.]  Similarly, the initiator
>    signs the first message, starting with the first octet of the first
>    SPI in the header and ending with the last octet of the last payload.
>    Appended to this (for purposes of computing the signature) [are] the
>    responder's nonce Nr, [and a value MIDi computed as prf(SK_ai,IDi)].

Point of clarification. We have to say whether it's the whole IDi payload,
or just the data portion, or the data portion plus the type. My preference
would be the while IDi payload, since I believe it's important to cover the
type and it's easier to specify the whole thing than to list subparts.

I have been resistant to this sort of change in the past believing it to be
overkill. But I'll grant that it does make it harder for future changes to
the protocol to introduce subtle problems (as illustrated by the SLA
discussion), so I'm now inclined to go along unless someone objects.

This does have an interaction with another discussion. In various
proposals, the IDi field replaced with other (authentication method
dependent) fields. This would commit us to always having IDi and IDr fields
even if the information they contain duplicates information elsewhere. I
can live with that... does anyone else object??

In legacy authentication, I proposed that any shared secret established by
the legacy authentication be used to compute the MAC for the client's AUTH
field, and that if the legacy authentication method doesn't produce such a
shared key then the client never sends an AUTH field. This is instead of
somehow mixing that shared key into SKEYSEED. This implies that the key is
no stronger than the Diffie-Hellman group used, but that has to be true
when using digital signatures and seems acceptable here. Do you have any
objections?

> BTW, I am assuming that the keys SK_a are intended for use as keys to the
> negotiated prf (and not, for example, to key a different MAC function).
If
> I am wrong here please let me know.

SK_a keys are used to compute a MAC over IKE packets. Currently, the only
MAC
allowed is the negotiated prf, and I can't imagine why anyone would make it
anything else. If a different MAC were used, I would presume that the same
MAC computed over IDi would be what you should sign. I don't think that
needs
saying, but there might be a natural place for the words.

> Regarding the second change I suggested in my note of 12/31, namely, that
> each peer signs ALL the information it sends during the exchange, I still
> think that this change would improve the cryptographic design of the
> protocol, but it also would add some specification complexity. If there
is
> support for that change I can offer some text.

I agree this would increase the robustness of the protocol against someone
revising the specification of the protocol in the future in a way that
makes the protocol less secure, but I also believe that it adds significant
specification complexity so I continue to oppose it.

          --Charlie

Opinions expressed may not even be mine by the time you read them, and
certainly don't reflect those of any other entity (legal or otherwise).



From owner-ipsec@lists.tislabs.com  Thu Jan 23 10:33:08 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA10363
	for <ipsec-archive@lists.ietf.org>; Thu, 23 Jan 2003 10:33:06 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id IAA25835
	Thu, 23 Jan 2003 08:15:42 -0500 (EST)
X-Originating-IP: [64.230.114.253]
From: "Andrew Krywaniuk" <askrywan@hotmail.com>
To: ipsec@lists.tislabs.com, paul.hoffman@vpnc.org
Date: Thu, 23 Jan 2003 04:12:17 -0500
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <F249YJluZs8aZzM0SIv0000676e@hotmail.com>
X-OriginalArrivalTime: 23 Jan 2003 09:12:19.0094 (UTC) FILETIME=[87B23360:01C2C2BF]
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

>Values 9-65000 are reserved to IANA. Values 65001-65533 are for private
>use among mutually consenting parties. Additional Suite-ID values will
>be assigned by IANA based on consultation with the IESG.

This sounds unreasonable to me. Why have 65000 values for IANA but only 533 
for private use? (Especially considering that this will no doubt be one of 
the most popular attributes for private use.)

Andrew
--------------------------------------
The odd thing about fairness is when
we strive so hard to be equitable
that we forget to be correct.




_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail



From owner-ipsec@lists.tislabs.com  Thu Jan 23 10:33:26 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA10391
	for <ipsec-archive@lists.ietf.org>; Thu, 23 Jan 2003 10:33:24 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id IAA25841
	Thu, 23 Jan 2003 08:16:44 -0500 (EST)
Message-Id: <200301231247.HAA04841@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: IETF-Announce:;;;;@tislabs.com;;;
Cc: ipsec@lists.tislabs.com
From: Internet-Drafts@ietf.org
Reply-to: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-ipsec-ikev2-ecnfix-00.txt
Date: Thu, 23 Jan 2003 07:47:03 -0500
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

--NextPart

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

	Title		: IKEv2: ECN Requirements for IPsec Tunnels
	Author(s)	: D. Black
	Filename	: draft-ietf-ipsec-ikev2-ecnfix-00.txt
	Pages		: 7
	Date		: 2003-1-22
	
IPsec (IP Security) tunnel encapsulation and decapsulation were 
specified prior to the addition of ECN (Explicit Congestion 
Notification) to IP, with the potential result that ECN congestion 
indications could be discarded by IPsec tunnel decapsulators.  The 
current ECN specification includes two ECN operating modes for 
IPsec tunnels to avoid this situation, and IKEv1/ISAKMP (Internet 
Key Exchange/Internet Security Association and Key Management 
Protocol) negotiation extensions to enable ECN to be used correctly 
with IPsec tunnels.  To simplify this situation, IKEv2 requires 
changes to tunnel decapsulation that prevent discarding of ECN 
congestion indication, obviating the need for multiple ECN 
operating modes and associated negotiation support.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ipsec-ikev2-ecnfix-00.txt

To remove yourself from the IETF Announcement list, send a message to 
ietf-announce-request with the word unsubscribe in the body of the message.

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-ipsec-ikev2-ecnfix-00.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-ipsec-ikev2-ecnfix-00.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.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

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

ENCODING mime
FILE /internet-drafts/draft-ietf-ipsec-ikev2-ecnfix-00.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-ipsec-ikev2-ecnfix-00.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

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

--OtherAccess--

--NextPart--



From owner-ipsec@lists.tislabs.com  Thu Jan 23 12:56:56 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA15081
	for <ipsec-archive@lists.ietf.org>; Thu, 23 Jan 2003 12:56:56 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id KAA26322
	Thu, 23 Jan 2003 10:53:22 -0500 (EST)
Message-ID: <3E300F56.6020904@juniper.net>
Date: Thu, 23 Jan 2003 10:50:46 -0500
From: Kevin Dubray <kdubray@juniper.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 (CK-SillyDog)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: ipsec@lists.tislabs.com
CC: randy@psg.com, Bert Wijnen <bwijnen@lucent.com>
Subject: IPsec benchmarking
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Hi,

There's an effort in the Benchmarking Methodology WG to assess whether
the BMWG should undertake an effort provide benchmarking guidelines
for IPsec devices.

A link to the initial proposal can be found here: 
http://www.ietf.org/mail-archive/working-groups/bmwg/current/msg00323.html

Discussion can be found on the BMWG mailing list and its archive:
http://www.ietf.org/mail-archive/working-groups/bmwg/current/maillist.html

If interested, please post your commentary to bmwg@ietf.org.

Thanks,
Kevin



From owner-ipsec@lists.tislabs.com  Thu Jan 23 15:20:28 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA19154
	for <ipsec-archive@lists.ietf.org>; Thu, 23 Jan 2003 15:20:27 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id MAA26578
	Thu, 23 Jan 2003 12:32:48 -0500 (EST)
Message-Id: <5.1.1.5.2.20030123092742.09dd2820@mira-sjc5-6.cisco.com>
X-Sender: mbaugher@mira-sjc5-6.cisco.com
X-Mailer: QUALCOMM Windows Eudora Version 5.1.1
Date: Thu, 23 Jan 2003 09:30:44 -0800
To: skent@gto-mailer1.bbn.com
From: Mark Baugher <mbaugher@cisco.com>
Subject: question on ESPbis, Sec. 2.1
Cc: ipsec@lists.tislabs.com
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Steve
   http://www.ietf.org/internet-drafts/draft-ietf-ipsec-esp-v3-03.txt uses 
the protocol id (ESP or AH) as part of the SA lookup as an option.  I don't 
understand why it is needed in either the unicast or the multicast cases.

Mark



From owner-ipsec@lists.tislabs.com  Thu Jan 23 15:48:29 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA19670
	for <ipsec-archive@lists.ietf.org>; Thu, 23 Jan 2003 15:48:29 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA26732
	Thu, 23 Jan 2003 13:24:16 -0500 (EST)
Date: Thu, 23 Jan 2003 13:26:29 -0500 (EST)
From: Henry Spencer <henry@spsystems.net>
To: Mark Baugher <mbaugher@cisco.com>
cc: ipsec@lists.tislabs.com
Subject: Re: question on ESPbis, Sec. 2.1
In-Reply-To: <5.1.1.5.2.20030123092742.09dd2820@mira-sjc5-6.cisco.com>
Message-ID: <Pine.BSI.3.91.1030123132233.29955A-100000@spsystems.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Thu, 23 Jan 2003, Mark Baugher wrote:
>    http://www.ietf.org/internet-drafts/draft-ietf-ipsec-esp-v3-03.txt uses 
> the protocol id (ESP or AH) as part of the SA lookup as an option.  I don't 
> understand why it is needed in either the unicast or the multicast cases.

The idea is that there is at least the option of giving ESP and AH
separate SPI number spaces.  This was the case in the past, and there have
been IPsec implementations which exploited it:  when asked to make a
connection using both ESP and AH, they would use the same SPI for both.

                                                          Henry Spencer
                                                       henry@spsystems.net



From owner-ipsec@lists.tislabs.com  Thu Jan 23 16:44:33 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA20962
	for <ipsec-archive@lists.ietf.org>; Thu, 23 Jan 2003 16:44:33 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA26874
	Thu, 23 Jan 2003 14:32:36 -0500 (EST)
Date: Thu, 23 Jan 2003 11:34:39 -0800
Subject: Re: Secure legacy authentication for IKEv2
Content-Type: text/plain; charset=US-ASCII; format=flowed
Mime-Version: 1.0 (Apple Message framework v551)
Cc: ipsec@lists.tislabs.com
To: Charlie_Kaufman@notesdev.ibm.com
From: Derrell Piper <ddp@electric-loft.org>
In-Reply-To: <OFEB3B3EA5.B38E247C-ON85256CB7.00065F51-85256CB7.00102F22@notesdev.ibm.com>
Message-Id: <B692EAF5-2F09-11D7-B884-000393CDFD1A@electric-loft.org>
Content-Transfer-Encoding: 7bit
X-Mailer: Apple Mail (2.551)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit


On Wednesday, January 22, 2003, at 06:56  PM, 
Charlie_Kaufman@notesdev.ibm.com wrote:

> Derrell Piper <ddp@electric-loft.org> wrote on 01/19/2003 01:09:32 PM:
>
>> To summarize the differences, some of which are admittedly trivial:
>>
>>
>> 6) Is this a separate exchange type or not?
>
> (CKnote: I reordered your differences, for clarity of responses).
> I had misread the SLA proposal. The fact that it specifies a separate
> exchange type removes some of my objections.

I'd still propose that we use a separate exchange type for the legacy 
authentication exchange.

Derrell



From owner-ipsec@lists.tislabs.com  Thu Jan 23 16:44:34 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA20978
	for <ipsec-archive@lists.ietf.org>; Thu, 23 Jan 2003 16:44:34 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA26846
	Thu, 23 Jan 2003 14:25:26 -0500 (EST)
Date: Thu, 23 Jan 2003 11:27:41 -0800
Subject: Re: Secure legacy authentication for IKEv2
Content-Type: text/plain; charset=US-ASCII; format=flowed
Mime-Version: 1.0 (Apple Message framework v551)
Cc: ipsec@lists.tislabs.com
To: Charlie_Kaufman@notesdev.ibm.com
From: Derrell Piper <ddp@electric-loft.org>
In-Reply-To: <OFEB3B3EA5.B38E247C-ON85256CB7.00065F51-85256CB7.00102F22@notesdev.ibm.com>
Message-Id: <BD7B7D60-2F08-11D7-B884-000393CDFD1A@electric-loft.org>
Content-Transfer-Encoding: 7bit
X-Mailer: Apple Mail (2.551)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit


On Wednesday, January 22, 2003, at 06:56  PM, 
Charlie_Kaufman@notesdev.ibm.com wrote:

>> 5) AUTH payload in message 2 or message 4?  --> implication for client
>> identity protection
>
> I believe this is the most important difference. Moving AUTH from 
> message 4
> up to message 2 makes the protocol quite different from the non-SLA 
> case,
> and (I believe) this makes a lot of other changes necessary. It also
> complicates the analysis and changes the "what can an eavesdropper 
> figure
> out" properties. The main advantage is (possibly) saving a round trip,
> which I would argue is not very important in a protocol that is 
> interacting
> with people.

I was hoping for more discussion from others.  I can go either way 
myself.  Since we're running out of time and there's been no other 
input, I'll defer to your preference.

>> 1) Do we need to allow for the EAP identity exchange?  If so, where
>> does it occur?
>
> If it's going to happen, I think it should happen in messages 4 & 5. 
> This
> would extend the protocol one round trip in the case of legacy
> authentication, with the benefit of protecting the client identity from
> someone pretending to be the server.
>
> As to whether it has to happen, I don't think so. If there were some 
> future
> EAP exchange that did not start with an identity request, then the ID
> payload couldn't substitute. But that seems unlikely.
>
> From a technical perspective, it's a trade off between one more round 
> trip
> and protecting the initiator's claimed identity from something
> impersonating the server. I don't believe either of these issues is 
> worth
> fighting over. I'd happily go the other way but anticipated howling 
> over 8
> messages for username/password authentication.

This question is really directed at folks who have implementation 
experience with EAP.  Is it the case that existing EAP implementations 
generally do not require the optional identity exchange when they have 
an identity available from some other out-of-band source?  I was hoping 
some EAP folks would speak up here...  Or do you sometimes masquerade 
in an EAP hat?  :-)

It's certainly cleaner for IKE if that's the case and if we can rely 
solely on our own ID's.  But I'd hate to see us say that that's how 
it's going to work and then find out that in the real world, BCP for 
EAP just doesn't work that way...  I think it behooves us to make sure 
that the way we're proposing to use EAP is realistic.  Are any EAP 
people following this discussion?  William?

Having gotten that off my chest, let's assume this is the case...  :-)

>> 2) Do we want to require or allow IKE ID payloads in addition to the
>> EAP identity?
>
> I don't think so. I think we want one or the other. I was proposing 
> IKE ID
> payload as a replacement for EAP identity exchange.

I'd prefer this too, again as long as this is copasetic with EAP folk.

>> 3) Addition of optional CERT payload returned by the gateway along 
>> with
>> its AUTH payload.
>
> I think this is necessary. You can't necessarily verify a signature 
> without
> the certs. I also believe the CERTREQ should precede the CERT so the 
> client
> can specify trusted roots and IDr should precede the CERT so the 
> client can
> name the server it wants to connect to in the case of a shared IP 
> address.
> These combined make it possible that message 1 will require 
> fragmentation,
> which in turn complicate the cookie/DOS stuff.

Yeah, fine.  SLA made some aggressive assumptions about its client's 
configuration and constraints.

> There is another important difference you didn't mention. My proposal 
> has
> an optional AUTH payload in the final message from client to server in 
> the
> event that the legacy authentication method establishes a key between 
> the
> two parties. The SLA spec doesn't say how such a key would be used, 
> though
> some possibilities have been proposed on the list.

Good point, sorry I missed that.  That's a great idea, though there is 
a nuance to saying that.  Does the client aggressively send an AUTH 
payload whenever *he* thinks the authentication is done, or does he 
send it only after receiving a positive EAP(success) from the gateway?  
I.e., does it end:

        HDR*, EAP(n), AUTH   -->
                             <--    HDR*, EAP(success), SAr2, TSi, TSr

...or...

        HDR*, EAP(n)         -->
                             <--    HDR*, EAP(success), SAr2, TSi, TSr
        HDR*, AUTH           -->

The issue with the former is that the client might not necessarily know 
which is his last response.  I'm thinking about SecurID Next Code mode, 
thought that's obviously a bad example for a shared key.  The issue 
with the latter is that it makes the exchange an odd number of 
messages, which is bad for our retransmission policy.
So we should probably chose the former.  So in the case of an extra 
round-trip it ends like this:

        HDR*, EAP(n), AUTH   -->
                             <--    HDR*, EAP(n)
        HDR*, EAP(n), AUTH   -->
                             <--    HDR*, EAP(success), SAr2, TSi, TSr

--------

So let's see if we agree on the generic protocol for the simple case 
(username/password):

        HDR, SAi1, KEi, Ni           -->
                                     <--    HDR, SAr1, KEr, Nr
        HDR*, IDi, [CERTREQ], [IDr,]
             SAi2, TSi, TSr          -->
                                     <--    HDR*, IDr, [CERT,] AUTH, 
EAP(n)
        HDR*, [AUTH,] EAP(n)         -->
                                     <--    HDR*, EAP(status) [, SAr2, 
TSi, TSr ]

Additional round-trips may occur after after Messages 4 & 5, depending 
on the EAP exchange type.  Additionally, if an EAP identity exchange is 
required, it begins with Message 4 (and necessitates additional 
Messages 7 & 8).

The final message from the client MAY include an AUTH payload if the 
legacy authentication method establishes a shared key with the server.  
If EAP processing requires an additional round-trip, the AUTH payload 
from the client is repeated in Message 7 and on.

The final message from the server completes the CREATE_CHILD_SA setup 
begun in message 3 and returns SAr2, TSi, TSr only when the EAP 
authentication was successful.

For the case where one additional EAP round-trip is required (e.g., 
SecurID Next Code mode):

        HDR, SAi1, KEi, Ni           -->
                                     <--    HDR, SAr1, KEr, Nr
        HDR*, IDi, [CERTREQ], [IDr,]
             SAi2, TSi, TSr          -->
                                     <--    HDR*, IDr, [CERT,] AUTH, 
EAP(n)
        HDR*, [AUTH,] EAP(n)         -->
                                     <--    HDR*, EAP(n)
        HDR*, [AUTH,] EAP(n)         -->
                                     <--    HDR*, EAP(status) [, SAr2, 
TSi, TSr ]

When EAP processing requires additional round-trips, Message 6 contains 
only an EAP payload.

Derrell



From owner-ipsec@lists.tislabs.com  Thu Jan 23 17:47:12 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA22748
	for <ipsec-archive@lists.ietf.org>; Thu, 23 Jan 2003 17:47:11 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id PAA27022
	Thu, 23 Jan 2003 15:49:39 -0500 (EST)
Message-Id: <5.1.1.5.2.20030123125042.09df0270@mira-sjc5-6.cisco.com>
X-Sender: mbaugher@mira-sjc5-6.cisco.com
X-Mailer: QUALCOMM Windows Eudora Version 5.1.1
Date: Thu, 23 Jan 2003 12:52:18 -0800
To: Henry Spencer <henry@spsystems.net>
From: Mark Baugher <mbaugher@cisco.com>
Subject: Re: question on ESPbis, Sec. 2.1
Cc: ipsec@lists.tislabs.com
In-Reply-To: <Pine.BSI.3.91.1030123132233.29955A-100000@spsystems.net>
References: <5.1.1.5.2.20030123092742.09dd2820@mira-sjc5-6.cisco.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 01:26 PM 1/23/2003 -0500, Henry Spencer wrote:
>On Thu, 23 Jan 2003, Mark Baugher wrote:
> >    http://www.ietf.org/internet-drafts/draft-ietf-ipsec-esp-v3-03.txt uses
> > the protocol id (ESP or AH) as part of the SA lookup as an option.  I 
> don't
> > understand why it is needed in either the unicast or the multicast cases.
>
>The idea is that there is at least the option of giving ESP and AH
>separate SPI number spaces.  This was the case in the past, and there have
>been IPsec implementations which exploited it:  when asked to make a
>connection using both ESP and AH, they would use the same SPI for both.

Why wouldn't the receiver just allocate separate SPIs and skip the 
additional overhead of a maintaining and searching a protocol index?  Does 
this somehow aid the sender?

Mark


>                                                           Henry Spencer
>                                                        henry@spsystems.net



From owner-ipsec@lists.tislabs.com  Thu Jan 23 17:48:12 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA22807
	for <ipsec-archive@lists.ietf.org>; Thu, 23 Jan 2003 17:48:11 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA27057
	Thu, 23 Jan 2003 16:00:08 -0500 (EST)
Date: Thu, 23 Jan 2003 16:01:48 -0500 (EST)
From: Henry Spencer <henry@spsystems.net>
To: Mark Baugher <mbaugher@cisco.com>
cc: ipsec@lists.tislabs.com
Subject: Re: question on ESPbis, Sec. 2.1
In-Reply-To: <5.1.1.5.2.20030123125042.09df0270@mira-sjc5-6.cisco.com>
Message-ID: <Pine.BSI.3.91.1030123155900.886D-100000@spsystems.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Thu, 23 Jan 2003, Mark Baugher wrote:
> >separate SPI number spaces.  This was the case in the past, and there have
> >been IPsec implementations which exploited it:  when asked to make a
> >connection using both ESP and AH, they would use the same SPI for both.
> 
> Why wouldn't the receiver just allocate separate SPIs and skip the 
> additional overhead of a maintaining and searching a protocol index?

In the one case I'm familiar with, it simplified keeping track of which
SAs were associated with which connection. 

> Does this somehow aid the sender?

No, it's strictly a receiver issue.  

Note that there is a backward-compatibility issue:  the mere fact that it
was allowed in the past means that outlawing it now is problematic.

                                                          Henry Spencer
                                                       henry@spsystems.net



From owner-ipsec@lists.tislabs.com  Thu Jan 23 18:12:15 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA23708
	for <ipsec-archive@lists.ietf.org>; Thu, 23 Jan 2003 18:12:14 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA27155
	Thu, 23 Jan 2003 16:33:53 -0500 (EST)
Date: Thu, 23 Jan 2003 16:26:14 -0500 (EST)
From: Henry Spencer <henry@spsystems.net>
To: Mark Baugher <mbaugher@cisco.com>
cc: ipsec@lists.tislabs.com
Subject: Re: question on ESPbis, Sec. 2.1
In-Reply-To: <5.1.1.5.2.20030123131442.09df6610@mira-sjc5-6.cisco.com>
Message-ID: <Pine.BSI.3.91.1030123162421.2345B-100000@spsystems.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Thu, 23 Jan 2003, Mark Baugher wrote:
> >No, it's strictly a receiver issue...
> 
> Pardon me if I'm being dense.  But if it's just a receiver issue and some 
> receiver wants to hand out the same SPI for an AH and an ESP connection, 
> then I don't see why it's a problem to remove it from the spec.

The point is that the sender must tolerate it -- he must not make assumptions
about the SPIs assigned by the receiver being unique.

                                                          Henry Spencer
                                                       henry@spsystems.net



From owner-ipsec@lists.tislabs.com  Thu Jan 23 18:13:00 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA23746
	for <ipsec-archive@lists.ietf.org>; Thu, 23 Jan 2003 18:13:00 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA27103
	Thu, 23 Jan 2003 16:17:28 -0500 (EST)
Message-Id: <5.1.1.5.2.20030123131442.09df6610@mira-sjc5-6.cisco.com>
X-Sender: mbaugher@mira-sjc5-6.cisco.com
X-Mailer: QUALCOMM Windows Eudora Version 5.1.1
Date: Thu, 23 Jan 2003 13:19:26 -0800
To: Henry Spencer <henry@spsystems.net>
From: Mark Baugher <mbaugher@cisco.com>
Subject: Re: question on ESPbis, Sec. 2.1
Cc: ipsec@lists.tislabs.com
In-Reply-To: <Pine.BSI.3.91.1030123155900.886D-100000@spsystems.net>
References: <5.1.1.5.2.20030123125042.09df0270@mira-sjc5-6.cisco.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 04:01 PM 1/23/2003 -0500, Henry Spencer wrote:
>On Thu, 23 Jan 2003, Mark Baugher wrote:
> > >separate SPI number spaces.  This was the case in the past, and there have
> > >been IPsec implementations which exploited it:  when asked to make a
> > >connection using both ESP and AH, they would use the same SPI for both.
> >
> > Why wouldn't the receiver just allocate separate SPIs and skip the
> > additional overhead of a maintaining and searching a protocol index?
>
>In the one case I'm familiar with, it simplified keeping track of which
>SAs were associated with which connection.
>
> > Does this somehow aid the sender?
>
>No, it's strictly a receiver issue.
>
>Note that there is a backward-compatibility issue:  the mere fact that it
>was allowed in the past means that outlawing it now is problematic.

Pardon me if I'm being dense.  But if it's just a receiver issue and some 
receiver wants to hand out the same SPI for an AH and an ESP connection, 
then I don't see why it's a problem to remove it from the spec.

Mark


>                                                           Henry Spencer
>                                                        henry@spsystems.net



From owner-ipsec@lists.tislabs.com  Fri Jan 24 01:52:34 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA01739
	for <ipsec-archive@lists.ietf.org>; Fri, 24 Jan 2003 01:52:33 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id WAA27912
	Thu, 23 Jan 2003 22:09:54 -0500 (EST)
Date: Fri, 24 Jan 2003 05:12:57 +0200 (IST)
From: Hugo Krawczyk <hugo@ee.technion.ac.il>
To: Charlie_Kaufman@notesdev.ibm.com
cc: IPsec WG <ipsec@lists.tislabs.com>
Subject: Re: a change to the signature processing in IKEv2
In-Reply-To: <OF4610D095.79091EB8-ON85256CB7.00142A45-85256CB7.00175F04@notesdev.ibm.com>
Message-ID: <Pine.GSO.4.21.0301240425290.28935-100000@ee.technion.ac.il>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

see below

On Wed, 22 Jan 2003 Charlie_Kaufman@notesdev.ibm.com wrote:

> 
> 
> 
> 
> Hugo Krawczyk <hugo@ee.technion.ac.il> wrote:
> 
> >    The peers are authenticated by having each sign (or MAC using a
> >    shared secret as the key) a block of data. For the responder, the
> >    octets to be signed start with the first octet of the first SPI in
> >    the header of the second message and end with the last octet of the
> >    last payload in the second message.  Appended to this (for purposes
> >    of computing the signature) [are] the initiator's nonce Ni (just the
> >    value, not the payload containing it), [and a value MIDr computed as
> >    prf(SK_ar,IDr). Note that neither the nonce Ni or value MIDi are
> >    transmitted.]  Similarly, the initiator
> >    signs the first message, starting with the first octet of the first
> >    SPI in the header and ending with the last octet of the last payload.
> >    Appended to this (for purposes of computing the signature) [are] the
> >    responder's nonce Nr, [and a value MIDi computed as prf(SK_ai,IDi)].
> 
> Point of clarification. We have to say whether it's the whole IDi payload,
> or just the data portion, or the data portion plus the type. My preference
> would be the while IDi payload, since I believe it's important to cover the
> type and it's easier to specify the whole thing than to list subparts.

From the cryptographic point of view the MAC (or prf) needs to contain any
information that suffices to identify the signer to the other peer. 
The data portion of the ID payload is enough for this but adding the whole
payload as you suggest is perfectly ok too.

 > 
> I have been resistant to this sort of change in the past believing it to be
> overkill. But I'll grant that it does make it harder for future changes to
> the protocol to introduce subtle problems (as illustrated by the SLA
> discussion), so I'm now inclined to go along unless someone objects.

I don't object. :)

> 
> This does have an interaction with another discussion. In various
> proposals, the IDi field replaced with other (authentication method
> dependent) fields. This would commit us to always having IDi and IDr fields
> even if the information they contain duplicates information elsewhere. I
> can live with that... does anyone else object??
> 

This issue is unrelated to the change I proposed. IDr should be anything
that suffices for I to identify who the peer (responder) to the exchange
is. Similarly for IDi. Without such  information there would be no notion
of "authentication" in the protocol.
 
> In legacy authentication, I proposed that any shared secret established
by
> the legacy authentication be used to compute the MAC for the client's AUTH
> field, and that if the legacy authentication method doesn't produce such a
> shared key then the client never sends an AUTH field. This is instead of
> somehow mixing that shared key into SKEYSEED. This implies that the key is
> no stronger than the Diffie-Hellman group used, but that has to be true
> when using digital signatures and seems acceptable here. Do you have any
> objections?
> 

This issue, too, is unrelated to the change I sugested.
In any case you are right about the key being no stronger than the DH
group. Since this is true for the signature mode, and even for the
preshared mode with strong (say 128-bit random) key, then I see no
objection that the same property will hold for the password-based
protocols covered by SLA.

> > BTW, I am assuming that the keys SK_a are intended for use as keys to the
> > negotiated prf (and not, for example, to key a different MAC function).
> If
> > I am wrong here please let me know.
> 
> SK_a keys are used to compute a MAC over IKE packets. Currently, the only
> MAC
> allowed is the negotiated prf, and I can't imagine why anyone would make it
> anything else. If a different MAC were used, I would presume that the same
> MAC computed over IDi would be what you should sign. I don't think that
> needs
> saying, but there might be a natural place for the words.

I suggest that the draft will make it clear that prf is the function to be
used for key derivation and also for the integrity protection function in
the "encrypted payload" (it is also used explicitly in the current
specification for the AUTH computation under preshared mode). 
Currently, this dual use of the prf is a "de-facto specification"
since the ciphersuites do not accomodate different functions for prf and
for integrity. So it is better to say this explicitly. The only reason
that one may want a MAC different than the prf is to speed up the MAC
computation in SK{}. Indeed, there are MAC functions that are much faster
than prf's. But this speed advantage is irrelevant in IKE. For example,
by replacing the prf (for integrity) with a 10 times faster MAC you may
get (at most) a speed-up of IKE of 1% (this is so so since the computation
time in ike is fully dominated by the signature and DH operations).

> 
> > Regarding the second change I suggested in my note of 12/31, namely, that
> > each peer signs ALL the information it sends during the exchange, I still
> > think that this change would improve the cryptographic design of the
> > protocol, but it also would add some specification complexity. If there
> is
> > support for that change I can offer some text.
> 
> I agree this would increase the robustness of the protocol against someone
> revising the specification of the protocol in the future in a way that
> makes the protocol less secure, but I also believe that it adds significant
> specification complexity so I continue to oppose it.

No surprise here...

Hugo

> 
>           --Charlie
> 
> Opinions expressed may not even be mine by the time you read them, and
> certainly don't reflect those of any other entity (legal or otherwise).
> 
> 



From owner-ipsec@lists.tislabs.com  Fri Jan 24 02:42:29 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA01738
	for <ipsec-archive@lists.ietf.org>; Fri, 24 Jan 2003 01:52:33 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id XAA28119
	Thu, 23 Jan 2003 23:17:24 -0500 (EST)
From: Charlie_Kaufman@notesdev.ibm.com
In-Reply-To: <BD7B7D60-2F08-11D7-B884-000393CDFD1A@electric-loft.org>
Subject: Re: Secure legacy authentication for IKEv2
To: Derrell Piper <ddp@electric-loft.org>
Cc: ipsec@lists.tislabs.com
X-Mailer: Lotus Notes Build V601_11252002 November 25, 2002
Message-ID: <OFA0B57355.764A989D-ON85256CB8.000E3444-85256CB8.000FCD51@notesdev.ibm.com>
Date: Thu, 23 Jan 2003 21:52:36 -0500
X-MIMETrack: Serialize by Router on Ace/Iris(Build V601_01162003NP|January 16, 2003) at
 01/23/2003 11:19:24 PM
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk





> This question is really directed at folks who have implementation
> experience with EAP.  Is it the case that existing EAP implementations
> generally do not require the optional identity exchange when they have
> an identity available from some other out-of-band source?  I was hoping
> some EAP folks would speak up here...  Or do you sometimes masquerade
> in an EAP hat?  :-)

I checked my hat collection and none say EAP. I agree it would be nice to
get feedback. Anyone???

>  Does the client aggressively send an AUTH
> payload whenever *he* thinks the authentication is done, or does he
> send it only after receiving a positive EAP(success) from the gateway?

I would propose that the client sends an AUTH payload whenever he has
enough information to have generated the shared key. I believe that would
always be before the EAP(success) message, though it would depend on the
details of the protocol. Are any key-generating algorithms defined for EAP?

> So let's see if we agree on the generic protocol for the simple case
> (username/password):
>
>  HDR, SAi1, KEi, Ni           -->
>                               <--    HDR, SAr1, KEr, Nr
>  HDR*, IDi, [CERTREQ], [IDr,]
>       SAi2, TSi, TSr          -->
>                               <--    HDR*, IDr, [CERT,] AUTH, EAP(n)
>  HDR*, [AUTH,] EAP(n)         -->
>                               <--    HDR*, EAP(status) [, SAr2, TSi, TSr
]

Yes... that's what I think we should do.

> The final message from the client MAY include an AUTH payload if the
> legacy authentication method establishes a shared key with the server.
> If EAP processing requires an additional round-trip, the AUTH payload
> from the client is repeated in Message 7 and on.

I would say the client MUST must an AUTH payload *if* the legacy
authentication
method establisheds a shared key with the server, and it MUST be in the
first message from client->server after the client has enough information
to generate it. For a given authentication method, that should always be in
the same message. I wouldn't repeat it in subsequent messages.

I think we're getting close... are others being silent because they agree
or because they are behind on email?

          --Charlie

Opinions expressed may not even be mine by the time you read them, and
certainly don't reflect those of any other entity (legal or otherwise).



From owner-ipsec@lists.tislabs.com  Fri Jan 24 03:15:25 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA12668
	for <ipsec-archive@lists.ietf.org>; Fri, 24 Jan 2003 03:15:24 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id AAA28376
	Fri, 24 Jan 2003 00:58:24 -0500 (EST)
Message-Id: <5.1.1.5.2.20030123191204.09e2adb8@mira-sjc5-6.cisco.com>
X-Sender: mbaugher@mira-sjc5-6.cisco.com
X-Mailer: QUALCOMM Windows Eudora Version 5.1.1
Date: Thu, 23 Jan 2003 19:15:57 -0800
To: Henry Spencer <henry@spsystems.net>
From: Mark Baugher <mbaugher@cisco.com>
Subject: Re: question on ESPbis, Sec. 2.1
Cc: ipsec@lists.tislabs.com
In-Reply-To: <Pine.BSI.3.91.1030123162421.2345B-100000@spsystems.net>
References: <5.1.1.5.2.20030123131442.09df6610@mira-sjc5-6.cisco.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 04:26 PM 1/23/2003 -0500, Henry Spencer wrote:
>On Thu, 23 Jan 2003, Mark Baugher wrote:
> > >No, it's strictly a receiver issue...
> >
> > Pardon me if I'm being dense.  But if it's just a receiver issue and some
> > receiver wants to hand out the same SPI for an AH and an ESP connection,
> > then I don't see why it's a problem to remove it from the spec.
>
>The point is that the sender must tolerate it -- he must not make assumptions
>about the SPIs assigned by the receiver being unique.

I would think that a sentence in the I-D such that "the sender should not 
make assumptions about how the receiver assigns SPIs, which may not be 
unique across different IPsec protocols" would suffice.  This is a lot 
cheaper than adding an index to a database table, which is an option in 
ESPbis.  It would save us two optional features in the ESPbis specification.

Mark


>                                                           Henry Spencer
>                                                        henry@spsystems.net



From owner-ipsec@lists.tislabs.com  Fri Jan 24 11:14:21 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA23770
	for <ipsec-archive@lists.ietf.org>; Fri, 24 Jan 2003 11:14:21 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id JAA29707
	Fri, 24 Jan 2003 09:04:19 -0500 (EST)
Message-Id: <200301241256.HAA17319@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: IETF-Announce:;;;;@tislabs.com;;;
Cc: ipsec@lists.tislabs.com
From: Internet-Drafts@ietf.org
Reply-to: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-ipsec-ciph-aes-ccm-00.txt
Date: Fri, 24 Jan 2003 07:56:39 -0500
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

--NextPart

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

	Title		: Using AES CCM Mode With IPsec ESP
	Author(s)	: R. Housley
	Filename	: draft-ietf-ipsec-ciph-aes-ccm-00.txt
	Pages		: 11
	Date		: 2003-1-23
	
This document describes the use of AES CCM Mode, with an explicit
initialization vector, as an IPsec Encapsulating Security Payload
(ESP) mechanism to provide confidentiality, data origin
authentication, connectionless integrity.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ipsec-ciph-aes-ccm-00.txt

To remove yourself from the IETF Announcement list, send a message to 
ietf-announce-request with the word unsubscribe in the body of the message.

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-ipsec-ciph-aes-ccm-00.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-ipsec-ciph-aes-ccm-00.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.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

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

ENCODING mime
FILE /internet-drafts/draft-ietf-ipsec-ciph-aes-ccm-00.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-ipsec-ciph-aes-ccm-00.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

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

--OtherAccess--

--NextPart--



From owner-ipsec@lists.tislabs.com  Fri Jan 24 11:57:37 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA24793
	for <ipsec-archive@lists.ietf.org>; Fri, 24 Jan 2003 11:57:37 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id JAA29820
	Fri, 24 Jan 2003 09:46:08 -0500 (EST)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com (Unverified)
Message-Id: <p05111a07ba52290c6704@[128.89.89.100]>
In-Reply-To: 
 <OFF0EEEFC3.008C9598-ON85256CB2.0015D7B2-85256CB2.00165C8A@notesdev.ibm.co
 m>
References: 
 <OFF0EEEFC3.008C9598-ON85256CB2.0015D7B2-85256CB2.00165C8A@notesdev.ibm.co
 m>
Date: Mon, 20 Jan 2003 17:30:57 -0500
To: Charlie_Kaufman@notesdev.ibm.com
From: Stephen Kent <kent@bbn.com>
Subject: Re: Secure legacy authentication for IKEv2
Cc: Dan Harkins <dharkins@tibernian.com>,
        Hugo Krawczyk <hugo@ee.technion.ac.il>, ipsec@lists.tislabs.com,
        owner-ipsec@lists.tislabs.com
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

I'm comfortable with this approach.

Steve


From owner-ipsec@lists.tislabs.com  Fri Jan 24 14:02:22 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA28824
	for <ipsec-archive@lists.ietf.org>; Fri, 24 Jan 2003 14:02:22 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id LAA00247
	Fri, 24 Jan 2003 11:31:38 -0500 (EST)
Date: Fri, 24 Jan 2003 11:33:36 -0500 (EST)
From: Henry Spencer <henry@spsystems.net>
To: Mark Baugher <mbaugher@cisco.com>
cc: ipsec@lists.tislabs.com
Subject: Re: question on ESPbis, Sec. 2.1
In-Reply-To: <5.1.1.5.2.20030123191204.09e2adb8@mira-sjc5-6.cisco.com>
Message-ID: <Pine.BSI.3.91.1030124113142.14664F-100000@spsystems.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Thu, 23 Jan 2003, Mark Baugher wrote:
> I would think that a sentence in the I-D such that "the sender should not 
> make assumptions about how the receiver assigns SPIs, which may not be 
> unique across different IPsec protocols" would suffice.  This is a lot 
> cheaper than adding an index to a database table, which is an option in 
> ESPbis.

How so?  It seems to me that these are two different ways of saying
exactly the same thing -- the receiver is permitted to have separate SPI
number spaces for the different protocols, so the sender must not assume
distinct SPIs.  One wording may be better than the other at explaining it,
but I fail to see any technical difference. 

                                                          Henry Spencer
                                                       henry@spsystems.net



From owner-ipsec@lists.tislabs.com  Fri Jan 24 15:13:18 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA01036
	for <ipsec-archive@lists.ietf.org>; Fri, 24 Jan 2003 15:13:18 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA00404
	Fri, 24 Jan 2003 13:03:53 -0500 (EST)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p05100303ba5715c1e397@[128.89.88.34]>
In-Reply-To: <5.1.1.5.2.20030123092742.09dd2820@mira-sjc5-6.cisco.com>
References: <5.1.1.5.2.20030123092742.09dd2820@mira-sjc5-6.cisco.com>
Date: Fri, 24 Jan 2003 12:58:49 -0500
To: Mark Baugher <mbaugher@cisco.com>
From: Stephen Kent <kent@bbn.com>
Subject: Re: question on ESPbis, Sec. 2.1
Cc: ipsec@lists.tislabs.com
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 9:30 AM -0800 1/23/03, Mark Baugher wrote:
>Steve
>   http://www.ietf.org/internet-drafts/draft-ietf-ipsec-esp-v3-03.txt 
>uses the protocol id (ESP or AH) as part of the SA lookup as an 
>option.  I don't understand why it is needed in either the unicast 
>or the multicast cases.
>
>Mark

Mark,

Your are right, it is not necessary in either case. But, for 
backwards compatibility, and because it is a local matter for the 
receiver, we don't preclude a receiver from using the protocol type 
if it wishes.

Under what circumstances do you envision that a sender might be 
confused by the possibility that two SAs to the same destination 
might have the same SPI and be differentiated only by including the 
protocol field in the lookup? A sender does not uses these values in 
its lookup of an SAD entry, so I didn't see how this would cause a 
problem.

Steve


From owner-ipsec@lists.tislabs.com  Fri Jan 24 16:14:47 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA02637
	for <ipsec-archive@lists.ietf.org>; Fri, 24 Jan 2003 16:14:46 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA00631
	Fri, 24 Jan 2003 14:09:06 -0500 (EST)
Date: Fri, 24 Jan 2003 11:11:06 -0800
Subject: Re: Secure legacy authentication for IKEv2
Content-Type: text/plain; charset=US-ASCII; format=flowed
Mime-Version: 1.0 (Apple Message framework v551)
Cc: ipsec@lists.tislabs.com
To: Charlie_Kaufman@notesdev.ibm.com
From: Derrell Piper <ddp@electric-loft.org>
In-Reply-To: <OFA0B57355.764A989D-ON85256CB8.000E3444-85256CB8.000FCD51@notesdev.ibm.com>
Message-Id: <96CECA6A-2FCF-11D7-B1AB-000393CDFD1A@electric-loft.org>
Content-Transfer-Encoding: 7bit
X-Mailer: Apple Mail (2.551)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit


On Thursday, January 23, 2003, at 06:52  PM, 
Charlie_Kaufman@notesdev.ibm.com wrote:

> I would say the client MUST must an AUTH payload *if* the legacy
> authentication
> method establisheds a shared key with the server, and it MUST be in the
> first message from client->server after the client has enough 
> information
> to generate it. For a given authentication method, that should always 
> be in
> the same message.

> I wouldn't repeat it in subsequent messages.

But it might be that the subsequent EAP exchange generates a new key.  
For generality, I think it should be shown as optional on subsequent 
messages...  Basically, send it when it's first known and if/when it's 
changed.

Derrell



From owner-ipsec@lists.tislabs.com  Fri Jan 24 16:14:48 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA02641
	for <ipsec-archive@lists.ietf.org>; Fri, 24 Jan 2003 16:14:47 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA00666
	Fri, 24 Jan 2003 14:23:31 -0500 (EST)
Message-Id: <5.2.0.9.2.20030124142111.02755298@mail.binhost.com>
X-Sender: housley@mail.binhost.com
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Fri, 24 Jan 2003 14:25:19 -0500
To: ipsec@lists.tislabs.com
From: Russ Housley <housley@vigilsec.com>
Subject: Re: I-D ACTION:draft-ietf-ipsec-ciph-aes-ccm-00.txt
In-Reply-To: <200301241256.HAA17319@ietf.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

I wrote this lnternet-Draft so that we could explore the ESPv3 support for 
authenticated encryption modes.  CCM is the only unencumbered 
authentication encryption mode that I know about today.  I hear that 
another is under development, but for now, we can work with CCM to 
determine whether ESPv3 really meets its design objectives.

Russ

>A New Internet-Draft is available from the on-line Internet-Drafts 
>directories.
>This draft is a work item of the IP Security Protocol Working Group of the 
>IETF.
>
>         Title           : Using AES CCM Mode With IPsec ESP
>         Author(s)       : R. Housley
>         Filename        : draft-ietf-ipsec-ciph-aes-ccm-00.txt
>         Pages           : 11
>         Date            : 2003-1-23
>
>This document describes the use of AES CCM Mode, with an explicit
>initialization vector, as an IPsec Encapsulating Security Payload
>(ESP) mechanism to provide confidentiality, data origin
>authentication, connectionless integrity.
>
>A URL for this Internet-Draft is:
>http://www.ietf.org/internet-drafts/draft-ietf-ipsec-ciph-aes-ccm-00.txt



From owner-ipsec@lists.tislabs.com  Fri Jan 24 16:47:30 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA03421
	for <ipsec-archive@lists.ietf.org>; Fri, 24 Jan 2003 16:47:29 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA00708
	Fri, 24 Jan 2003 14:50:22 -0500 (EST)
X-Envelope-To: ipsec@lists.tislabs.com
To: ipsec@lists.tislabs.com
Path: not-for-mail
From: daw@mozart.cs.berkeley.edu (David Wagner)
Newsgroups: isaac.lists.ipsec
Subject: Re: I-D ACTION:draft-ietf-ipsec-ciph-aes-ccm-00.txt
Date: 24 Jan 2003 19:28:25 GMT
Organization: University of California, Berkeley
Lines: 6
Distribution: isaac
Message-ID: <b0s44p$ife$1@abraham.cs.berkeley.edu>
References: <200301241256.HAA17319@ietf.org> <5.2.0.9.2.20030124142111.02755298@mail.binhost.com>
NNTP-Posting-Host: mozart.cs.berkeley.edu
X-Trace: abraham.cs.berkeley.edu 1043436505 18926 128.32.153.211 (24 Jan 2003 19:28:25 GMT)
X-Complaints-To: news@abraham.cs.berkeley.edu
NNTP-Posting-Date: 24 Jan 2003 19:28:25 GMT
X-Newsreader: trn 4.0-test74 (May 26, 2000)
Originator: daw@mozart.cs.berkeley.edu (David Wagner)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Russ Housley  wrote:
>CCM is the only unencumbered 
>authentication encryption mode that I know about today.

Maybe I'm overlooking something obvious, but:
What's wrong with AES-CBC encryption followed by SHA1-HMAC?


From owner-ipsec@lists.tislabs.com  Fri Jan 24 19:16:07 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA06100
	for <ipsec-archive@lists.ietf.org>; Fri, 24 Jan 2003 19:16:07 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id RAA00990
	Fri, 24 Jan 2003 17:01:01 -0500 (EST)
Message-Id: <5.2.0.9.2.20030124165812.0275b750@mail.binhost.com>
X-Sender: housley@mail.binhost.com
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Fri, 24 Jan 2003 16:59:58 -0500
To: daw@mozart.cs.berkeley.edu
From: Russ Housley <housley@vigilsec.com>
Subject: Re: I-D ACTION:draft-ietf-ipsec-ciph-aes-ccm-00.txt
Cc: ipsec@lists.tislabs.com
In-Reply-To: <b0s44p$ife$1@abraham.cs.berkeley.edu>
References: <200301241256.HAA17319@ietf.org>
 <5.2.0.9.2.20030124142111.02755298@mail.binhost.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

David:

Nothing is wrong with AES-CBC encryption followed by SHA1-HMAC.  However, 
this cannot be used to test the new features put in ESPv3 to support 
authenticated encryption modes.  To do that, one needs a mode that uses a 
single key for confidentiality and integrity.

Russ

At 07:28 PM 1/24/2003 +0000, David Wagner wrote:
>Russ Housley  wrote:
> >CCM is the only unencumbered
> >authentication encryption mode that I know about today.
>
>Maybe I'm overlooking something obvious, but:
>What's wrong with AES-CBC encryption followed by SHA1-HMAC?



From owner-ipsec@lists.tislabs.com  Fri Jan 24 19:44:04 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA06441
	for <ipsec-archive@lists.ietf.org>; Fri, 24 Jan 2003 19:44:03 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id RAA01162
	Fri, 24 Jan 2003 17:51:24 -0500 (EST)
Date: Sat, 25 Jan 2003 00:54:29 +0200 (IST)
From: Hugo Krawczyk <hugo@ee.technion.ac.il>
To: Charlie_Kaufman@notesdev.ibm.com
cc: Derrell Piper <ddp@electric-loft.org>, IPsec WG <ipsec@lists.tislabs.com>
Subject: Re: Secure legacy authentication for IKEv2
In-Reply-To: <OFA0B57355.764A989D-ON85256CB8.000E3444-85256CB8.000FCD51@notesdev.ibm.com>
Message-ID: <Pine.GSO.4.21.0301242141330.16007-100000@ee.technion.ac.il>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Some comments on the latest proposal (appended)

This approach is certainly more compatible with the key exchange method of
IKEv2 than the original SLA.  This, I guess, is an advantage in terms of
specification and implementation.  On the other hand it costs one extra
round (bringing to 3 rounds the minimal possible exchange, and at least 4
rounds if the anti-DoS round is used). If people feel comfortable with
this trade-off then let's go with it.

The one thing that I definitely dislike in the appended proposal is that
it opens IDi (sent in message 3) to active attacks.  If there is one
application where identity protection really makes sense is in hiding
identities and locations of mobile users, which will be among the main
users of SLA. I suggest to make IDi optional in message 3, and make it
clear that implementations should NOT assume that this IDi value is
available, certainly not in a way that compromises the user's identity.

Now regarding the AUTH field in the client's side, which is to be computed
with a key exchanged by the underlying legacy authentication method
(assuming, of course, that such a key exists and it is made available to
SLA).  I have no practical (or other) experience with such key-providing
legacy authentication methods. However, since these are LEGACY methods
then I assume that if they generate a shared key then this key may be
intended for other uses. Can we be sure that this key (call it LK for
"legacy key"), if used by SLA, will be used ONLY by SLA?  Otherwise we may
end having one key LK which is used in two different settings.  In
particular, one may end using one key LK for two different cryptographic
algorithms. Are you sure that this is NOT possible?

One other question raised in the appended note is when should the AUTH
field be sent. Seems to me that the simplest specification is to send it
in the last client's message in SLA.  Even if this key (LK) is available
earlier, it does not buy you much to compute AUTH earlier (and you can
always keep the key for authentication at the end).  An early
authentication using LK can only help against a DoS attack mounted by a
MitM attacker; however I doubt that anyone will choose this costly (for
the attacker) way to to mount a DoS attack.

Finally, if we are already assuming this key LK and use it to calculate
AUTH from client to server, why not use it also in the other direction?
Namely, to compute an AUTH payload from server to client sent, say,
in the last protocol message. (This would be in addition to the AUTH
payload that R sends in message 4 using its signature key).  One advantage
of having this field is that it helps to authenticate the server in the
case that the client fails to properly authenticate the server using
certificates (this is a natural concern especially in view of certiifcate
use in SSL).  Also, I have not seen definite enough studies of this MitM
issue to be convinced that the authentication by the client using LK is
enough to prevent ALL forms of MitM against the tunneled run. Server
authentication using this key (which has no real complexity or
disadvantages since we are already using LK in SLA) can prevent unseen
attacks.  (Has anyone done a full analysis to confidently discard the
advantage of a server to client authentication using LK?)

Hugo

On Thu, 23 Jan 2003 Charlie_Kaufman@notesdev.ibm.com wrote:

> [....]

> > So let's see if we agree on the generic protocol for the simple case
> > (username/password):
> >
> >  HDR, SAi1, KEi, Ni           -->
> >                               <--    HDR, SAr1, KEr, Nr
> >  HDR*, IDi, [CERTREQ], [IDr,]
> >       SAi2, TSi, TSr          -->
> >                               <--    HDR*, IDr, [CERT,] AUTH, EAP(n)
> >  HDR*, [AUTH,] EAP(n)         -->
> >                               <--    HDR*, EAP(status) [, SAr2, TSi, TSr
> ]
> 
> Yes... that's what I think we should do.
> 
> > The final message from the client MAY include an AUTH payload if the
> > legacy authentication method establishes a shared key with the server.
> > If EAP processing requires an additional round-trip, the AUTH payload
> > from the client is repeated in Message 7 and on.
> 
> I would say the client MUST must an AUTH payload *if* the legacy
> authentication
> method establisheds a shared key with the server, and it MUST be in the
> first message from client->server after the client has enough information
> to generate it. For a given authentication method, that should always be in
> the same message. I wouldn't repeat it in subsequent messages.
> 
> I think we're getting close... are others being silent because they agree
> or because they are behind on email?
> 
>           --Charlie
> 



From owner-ipsec@lists.tislabs.com  Fri Jan 24 22:12:19 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA08632
	for <ipsec-archive@lists.ietf.org>; Fri, 24 Jan 2003 22:12:19 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id UAA01472
	Fri, 24 Jan 2003 20:10:30 -0500 (EST)
Date: Fri, 24 Jan 2003 20:12:57 -0500 (EST)
From: Henry Spencer <henry@spsystems.net>
To: IP Security List <ipsec@lists.tislabs.com>
Subject: Re: I-D ACTION:draft-ietf-ipsec-ciph-aes-ccm-00.txt
In-Reply-To: <5.2.0.9.2.20030124165812.0275b750@mail.binhost.com>
Message-ID: <Pine.BSI.3.91.1030124201014.21672A-100000@spsystems.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Fri, 24 Jan 2003, Russ Housley wrote:
> Nothing is wrong with AES-CBC encryption followed by SHA1-HMAC.  However, 
> this cannot be used to test the new features put in ESPv3 to support 
> authenticated encryption modes.  To do that, one needs a mode that uses a 
> single key for confidentiality and integrity.

For just testing, that's easy.  Define the Housley-1 authenticating
cipher, a mysterious black box (as far as ESP is concerned, anyway) which
just happens to call AES-CBC routines using some of its key bits and
SHA1-HMAC routines using the rest. 

                                                          Henry Spencer
                                                       henry@spsystems.net



From owner-ipsec@lists.tislabs.com  Sun Jan 26 18:22:28 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA23379
	for <ipsec-archive@lists.ietf.org>; Sun, 26 Jan 2003 18:22:27 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA04920
	Sun, 26 Jan 2003 14:23:27 -0500 (EST)
Date: Sun, 26 Jan 2003 19:26:26 +0000
From: burkhard <burkhard.springer@nuigalway.ie>
Subject: CREATE_CHILD_SA exchange with PFS
To: ipsec@lists.tislabs.com
Message-id: <KNECJEOALIPFPMFOIGDOMEBDCAAA.burkhard.springer@nuigalway.ie>
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7bit
Importance: Normal
X-Priority: 3 (Normal)
X-MSMail-priority: Normal
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Hallo all,

I have the following question about <draft-ietf-ipsec-ikev2-04.txt>.

Am I allowed to use after the Initial phase 1 Exchange the CREATE_CHILD_SA
exchange with PFS or is the CREATE_CHILD_SA exchange with PFS only intended
to be for rekeying at a later stage?

My understanding by reading the draft is that CREATE_CHILD_SA exchange with
PFS is not allowed to be piggybacked on the phase 1 exchange, therefore if I
whish to use PFS I need to do a CREATE_CHILD_SA exchange. This will result
in 4 Initial phase 1 Exchange transmissions and 2 for the CREATE_CHILD_SA
creation with PFS.

Does it make sense to use a CREATE_CHILD_SA exchange with PFS straight after
the Initial phase 1 Exchange?

Burkhard


Excerpt from Draft follows:
----------------------------------------------------------------------------
-
4.16 Generating Keying Material for CHILD-SAs

   CHILD-SAs are created either by being piggybacked on the phase 1
   exchange, or in a phase 2 CREATE_CHILD_SA exchange. Keying material
   for them is generated as follows:

      KEYMAT = prf+(SK_d, Ni | Nr)

   Where Ni and Nr are the Nonces from the IKE_SA_INIT exchange if this
   request is the first CHILD-SA created or the fresh Ni and Nr from the
   CREATE_CHILD_SA exchange if this is a subsequent creation.

   For phase 2 exchanges with PFS the keying material is defined as:



IKEv2                                                      [Page 27]

INTERNET DRAFT                                              January 2003


      KEYMAT = prf+(SK_d, g^ir (ph2) | Ni | Nr )

   where g^ir (ph2) is the shared secret from the ephemeral Diffie-
   Hellman exchange of this phase 2 exchange,

   A single CHILD-SA negotiation may result in multiple security
   associations. ESP and AH SAs exist in pairs (one in each direction),
   and four SAs could be created in a single CHILD-SA negotiation if a
   combination of ESP and AH is being negotiated.  KEYMAT is generated
   as described in section 4.13.

   Keying material is taken from the expanded KEYMAT in the following
   order:

      All keys for SAs carrying data from the initiator to the responder
      are taken before SAs going in the reverse direction.

      If multiple protocols are negotiated, keying material is taken in
      the order in which the protocol headers will appear in the
      encapsulated packet.

      If a single protocol has both encryption and authentication keys,
      the encryption key is taken from the first octets of KEYMAT and
      the authentication key is taken from the next octets.

   Each cryptographic algorithm takes a fixed number of bits of keying
   material specified as part of the algorithm.

4.17 Rekeying IKE-SAs using a CREATE_CHILD_SA exchange

   The CREATE_CHILD_SA exchange can be used to re-key an existing IKE-SA
   (see section 4.8).  New Initiator and Responder SPIs are supplied in
   the SPI fields. The TS payloads are omitted when rekeying an IKE-SA.
   SKEYSEED for the new IKE-SA is computed using SK_d from the existing
   IKE-SA as follows:

       SKEYSEED = prf(SK_d (old), [g^ir (ph2)] | Ni | Nr)

   where g^ir (ph2) is the shared secret from the ephemeral Diffie-
   Hellman exchange of this phase 2 exchange and Ni and Nr are the two
   nonces stripped of any headers.

   The new IKE-SA MUST reset its message counters to 0.

   SK_d, SK_ai, SK_ar, and SK_ei, and SK_er are computed from SKEYSEED
   as specified in section 4.14.



From owner-ipsec@lists.tislabs.com  Sun Jan 26 18:48:36 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA23587
	for <ipsec-archive@lists.ietf.org>; Sun, 26 Jan 2003 18:48:36 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id PAA05033
	Sun, 26 Jan 2003 15:01:35 -0500 (EST)
Message-Id: <5.2.0.9.2.20030126150001.00b691d0@mail.binhost.com>
X-Sender: housley@mail.binhost.com
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Sun, 26 Jan 2003 15:03:47 -0500
To: Henry Spencer <henry@spsystems.net>
From: Russ Housley <housley@vigilsec.com>
Subject: Re: I-D ACTION:draft-ietf-ipsec-ciph-aes-ccm-00.txt
Cc: ipsec@lists.tislabs.com
In-Reply-To: <Pine.BSI.3.91.1030124201014.21672A-100000@spsystems.net>
References: <5.2.0.9.2.20030124165812.0275b750@mail.binhost.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Fri, 24 Jan 2003, Russ Housley wrote:
> > Nothing is wrong with AES-CBC encryption followed by SHA1-HMAC.  However,
> > this cannot be used to test the new features put in ESPv3 to support
> > authenticated encryption modes.  To do that, one needs a mode that uses a
> > single key for confidentiality and integrity.

At 08:12 PM 1/24/2003 -0500, Henry Spencer wrote:
>For just testing, that's easy.  Define the Housley-1 authenticating
>cipher, a mysterious black box (as far as ESP is concerned, anyway) which
>just happens to call AES-CBC routines using some of its key bits and
>SHA1-HMAC routines using the rest.

Or, we could use a real authenticated encryption mode that is being used in 
802.11 systems.  If it turns out that it has nice properties in the IPsec 
ESP space as well, then there can be common hardware for the two 
environments, or at least a common core that is used in both.  This would 
provide economy of scale for both communities.

Russ




From owner-ipsec@lists.tislabs.com  Mon Jan 27 08:42:16 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA15709
	for <ipsec-archive@lists.ietf.org>; Mon, 27 Jan 2003 08:42:16 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id FAA06600
	Mon, 27 Jan 2003 05:57:03 -0500 (EST)
Message-Id: <200301271058.h0RAwiof029145@givry.rennes.enst-bretagne.fr>
From: Francis Dupont <Francis.Dupont@enst-bretagne.fr>
To: ipsec@lists.tislabs.com
Subject: IPsec and Mobile IPv6
Date: Mon, 27 Jan 2003 11:58:44 +0100
X-Virus-Scanned: by amavisd-milter (http://amavis.org/) at enst-bretagne.fr
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

I submitted a new version of my draft about IPsec and Mobile IPv6
(draft-dupont-ipsec-mipv6-02.txt). I am writting a proposal for
an address management feature in IKEv2.

Francis.Dupont@enst-bretagne.fr

PS: here is the plan of the proposal. First part is already finished,
I expect to submit it before the end of this week.

Summary of address management for IKEv2

Goals
  General goals
    Simplicity
    Performance (why rekeying is not enough)
    Security
      Transient Pseudo-NAT attack
    Extension of draft 04
      Cleanup of NAT-DETECTION-*-IP notifications
        Hash is not useful
        No way to request
        Multiple address support
      Misused of peer addresses
        IKE SA lookup by SPI
        INITIAL-CONTACT issue
        Revised Identities
      Proxy case support for transport mode
  NAT traversal requirements
    NAT detection (including NAT position)
    Endpoint addresses (for transport checksums in transport mode)
    Three way handshake
  Multi-homing requirements
    Peer address sets
  Mobility requirements
    Strong sequencing of updates
    Fine grain (i.e., per SA) updates
Proposal
  Kept points from draft 04
    Address stability in exchanges (in vs between)
    Peer address specification and role
  Small points
    Proxy case support (for transport mode)
    INITIAL-CONTACT (lookup by Identity)
  Peer address protection
    Address notifications
    Protection request by the responder
    Protection request by the initiator
    Error case(s)
    Address pairing (optional, for multi-homing)
  Implicit address update
    Not for IPsec SAs
    Not for IKE SA
  Explicit address update
    The new notification
    Sequencing requirement
    All SAs short update


From owner-ipsec@lists.tislabs.com  Mon Jan 27 13:24:04 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA21895
	for <ipsec-archive@lists.ietf.org>; Mon, 27 Jan 2003 13:24:02 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id KAA07283
	Mon, 27 Jan 2003 10:31:03 -0500 (EST)
Message-Id: <200301271515.h0RFFMof029737@givry.rennes.enst-bretagne.fr>
From: Francis Dupont <Francis.Dupont@enst-bretagne.fr>
To: ipsec@lists.tislabs.com
Subject: a proposal of address management for IKEv2
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa0"
Content-ID: <29730.1043680514.0@givry.rennes.enst-bretagne.fr>
Date: Mon, 27 Jan 2003 16:15:22 +0100
X-Virus-Scanned: by amavisd-milter (http://amavis.org/) at enst-bretagne.fr
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <29730.1043680514.1@givry.rennes.enst-bretagne.fr>

I've just finished to write my draft about a proposal
of address management for IKEv2. I've put it in an attachement
to this message and I'll submit it as soon as most of the obvious
mistake I've made what signaled and fixed.

Francis.Dupont@enst-bretagne.fr

------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <29730.1043680514.2@givry.rennes.enst-bretagne.fr>
Content-Description: draft-dupont-ikev2-addrmgmt-00.txt

Internet Engineering Task Force                         Francis Dupont
INTERNET DRAFT                                           ENST Bretagne
Expires in June 2003                                      January 2003


                 Address Management for IKE version 2

                 <draft-dupont-ikev2-addrmgmt-00.txt>


Status of this Memo
   
   This document is an Internet Draft and is in full conformance with
   all provisions of Section 10 of RFC 2026.

   This document is an Internet-Draft.  Internet-Drafts are working
   documents of the Internet Engineering Task Force (IETF), its
   areas, and its working groups.  Note that other groups may also
   distribute working documents as Internet-Drafts.

   Internet-Drafts are draft documents valid for a maximum of six
   months and may be updated, replaced, or obsoleted by other
   documents at any time.  It is inappropriate to use Internet-
   Drafts as reference material or to cite them other than as
   "work in progress."

   The list of current Internet Drafts can be accessed at
   http://www.ietf.org/ietf/1id-abstracts.txt

   The list of Internet-Draft Shadow Directories can be accessed at
   http://www.ietf.org/shadow.html.

   Distribution of this memo is unlimited.


Abstract

   The current IKEv2 proposal [1] lacks an address management
   feature. As it includes a NAT traversal capability, this document
   extends it to a complete address management with support for NAT
   traversal, multi-homing and mobility.

1. Introduction

   In this document, the addresses used to transport IKE messages are
   named the "peer addresses" (term introduced by [2]). These peer
   addresses should no more be directly or indirectly included in
   identities ([3] and [4]) as it is commonly done for IKEv1.


draft-dupont-ikev2-addrmgmt-00.txt                            [Page 1]
INTERNET-DRAFT        Address Management for IKEv2            Jan 2003


   NAT traversal, multi-homing and mobility should take benefit from
   this flexibility but the current IKEv2 draft [1] takes only account
   of NAT traversal in a flawed way [5]. This document describes the
   goals of an address management for IKEv2, including the
   requirements for NAT traversal, multi-homing and mobility support,
   and finishes by a concrete proposal.

2. Goals

   The goals of the address management proposed in the document can be
   divided in some general goals and in requirements for the three
   mechanisms which can change the peer addresses.

2.1 General goals

2.1.1 Simplicity, Performance and Security

    The address management should be as simple as possible, i.e., it
    should introduce minimal changes to the current IKEv2 draft [1]
    and each changes should be justified.

    The performance is an important criterion. For instance, rekeying
    can update the peer addresses of an IKE SA or of an IPsec SA pair,
    but rekeying is too expensive and a specific solution is needed.

    As a security protocol, IKEv2 should get a high security
    level. Unfortunately we already showed that the NAT traversal
    feature comes with a security issue (the transient pseudo-NAT
    attack [5]). Such problems introduced by the peer address
    flexibility must be described in this document and at least be
    mitigated by options in configurations. For instance, the NAT
    traversal feature should never be enabled when one knows that
    there can not be a NAT as in today IPv6.

2.1.4 Extensions of the IKEv2 draft

    The first things to fix in the current IKEv2 draft [1] are the
    notifications for NAT traversal (NAT-DETECTION-*-IP):

     - They use a hash of the SPIs, address and port, following
       a specification for IKEv1. This makes no sense for IKEv2.

     - There is no specified way to request the inclusion of
       these notifications in messages.

     - There can be multiple source notifications. IMHO this is a good
       idea but the rationale (the sender does not know what address
       it uses) is weak. The API to get the address used for UDP
       packets to a destination is very standard.


draft-dupont-ikev2-addrmgmt-00.txt                            [Page 2]
INTERNET-DRAFT        Address Management for IKEv2            Jan 2003


    The second missing thing in the current IKEv2 draft [1] is about
    some misusage of the peer addresses:

     - At the reception of a message, the lookup of the corresponding
       IKE SA MUST be done using only the SPIs, never using the peer
       addresses.

     - An INITIAL-CONTACT notification deletes old IKE SAs associated
       to the peer Identity, not to the peer address. Current wording
       is misleading.

     - The revised identity proposal [3] should be integrated in the
       IKEv2 specifications. According to IAB recommendations [4],
       addresses should not be used as or associated to identities.

    Note that the last point stresses the issue of the lack of
    protection of peer addresses.

    The last thing to fix in the current IKEv2 draft [1] is the
    support of the proxy case: the setup of transport mode IPsec SAs
    on the behalf of another party.

2.2 NAT traversal requirements

    The NAT traversal feature is the support of en-route peer address
    modifications:

     - NATs must be detected, including their position, i.e., the
       receiver of an IKE message should be able to detect any peer
       address alteration.

     - The peer addresses are included in the pseudo IP header of
       transport checksums when a transport mode IPsec SA is used. The
       peers must know the original peer address of their correspondent.

     - When there are several VPN clients behind a NAT, the ability to
       request a three way handshake (a.k.a. a return routability
       check) is needed [6].

2.3 Multi-homing requirements

    In this document, the support of multi-homing is the support of
    nodes with several global addresses. Some of the addresses can be
    "better" than others, or "better" for some destinations. Some can,
    from time to time, be unavailable.


draft-dupont-ikev2-addrmgmt-00.txt                            [Page 3]
INTERNET-DRAFT        Address Management for IKEv2            Jan 2003


    The main requirement for the support of multi-homing is the
    management of a set of peer addresses for each peer. The set can
    be partially ordered or some subset can be loosely associated with
    some destinations (i.e., some subset of the other peer address
    set).

    For the communication between multi-addressed hosts, the support
    of the proxy case can be useful because it provides an easy way to
    setup transport mode IPsec SAs with different addresses from one
    IKE SA. In such cases the other party is in fact the same host,
    this dramatically simplifies the authorization issue.

2.4 Mobility requirements

    In the context of Mobile IPv6 ([7] and for the special case of
    Home Agents [8]), the interaction of Mobility and IPsec was
    analyzed in another document [9]. This document assumes an IPv6
    context as Mobile IPv6 is the most powerful mobility proposal
    available today.

    An IPv6 mobile node is another type of multi-addressed node with:
     - a care-of address in a prefix of the visited link.
       The care-of address is used to route packets.
     - the home address in a prefix of the home link.
       The home address is used to identify the mobile node.

    The care-of address is transient and usually the mobile node can
    not provide a proof that it is the node using it. So it must be
    trusted and a return routability check (i.e., an enforced answer
    from this address) should be used if it is not.

    With a common correspondent, the mobility is transparent and
    there is no reason to use another address than the home address.

    With the home agent, there are three main cases (c.f. [8]):

     - The mobility signaling which is mandatory protected and
       raises a specific issue in its initial phase: the IKE SA
       must be setup using the care-of address as the peer address
       but this IKE SA is used to build an IPsec SA pair with
       the home address as traffic selector. This IPsec SA will
       protect the home registration which will make the home
       address available. This can be considered as a special
       proxy case.


draft-dupont-ikev2-addrmgmt-00.txt                            [Page 4]
INTERNET-DRAFT        Address Management for IKEv2            Jan 2003


     - Other genuine communications between the home agent and
       the mobile node can be covered by the proxy case support
       too. Note this is the only case at the exception of signaling
       where mobility behaves in a different way than a mobile IPsec
       VPN (so we proposed to relax the corresponding rule in a
       future version of [7] and [8]).

     - The traffic relayed by the home agent through a tunnel with the
       mobile node can be partially or fully protected by IPsec SA
       pair(s). Encapsulation should be performed only once, including
       for degenerated (but not for free) encapsulation like the home
       address option or the mobility routing header.

    In all cases of interaction with the home agent, the mobile node
    peer address should be a care-of address. When the mobile node
    moves, another care-of address is used and some SAs, including the
    IKE SA, must be updated to use the new address.

    Usually the previous peer address is no more usable. In order to
    avoid a trivial denial of services, a strong sequencing of updates
    is required with a way to cancel possible pending updates when
    fast multiple handoff happen.

    The IPsec pair which protects the mobility signaling uses the home
    address as its traffic selector for the mobile node. It must not
    be updated at each handoff. The update mechanism must provide a
    fine grain (i.e., per SA) update.

3. Proposal

    The proposal for an address management in IKEv2 is mainly an
    extension of the NAT traversal notifications with a new peer
    address update notification. But there are some points that have
    to be kept as they are in the current IKEv2 draft [1].

3.1 Kept points from draft 04

    A peer address change has to be supported but not at any time:
    the peer addresses MUST NOT change during an exchange, i.e.,
    they are allowed to change only between two exchanges.

    This address stability requirement applies in fact only to the
    Initial exchange as it is the only exchange with more than two
    messages specified today.


draft-dupont-ikev2-addrmgmt-00.txt                            [Page 5]
INTERNET-DRAFT        Address Management for IKEv2            Jan 2003


    The peer addresses are used to transport messages. The reply to a
    request MUST be sent to the source of the request from the
    destination request, i.e., addresses and ports are reversed
    between the request and its reply.

    For tunnel mode IPsec SAs, the endpoint addresses are the peer
    addresses. We don't propose an alternate way to specify them. The
    same requirement applies to transport mode IPsec SAs at the
    exception of the proxy case.

3.2 Small points

    In the proxy case, the initiator is acting as a client negotiator
    on the behalf of another party. The address of this other party is
    sent in the initiator traffic selector and will become the address
    of this end of the transport mode IPsec SA pair. A proper
    authorization in the local policy of the responder is
    REQUIRED. Note that the IPsec SAs built in such cases are not
    managed in the proposal of these document, and that the proxy case
    is limited to the transport mode.

    The INITIAL-CONTACT notification uses only identities. All the
    references to peer addresses must be removed from or fixed in the
    current wording.

3.3 Peer address notifications

    The peer address notifications replace the current
    NAT-DETECTION-SOURCE-IP and NAT-DETECTION-DESTINATION-IP
    notifications. They includes the peer source or destination
    address and the source or destination port. They SHOULD be used
    only in protected messages (i.e., not in the first two messages)
    and SHOULD be ignored when they are not protected, i.e., outside
    an encrypted payload.

    For NAT traversal, they are used to detect NATs and their
    position, and they provide the original peer addresses for
    transport mode. For multi-homing and mobility, they provide a
    cryptographically proof of no alteration en-route of the peer
    addresses and, when multiple peer address notifications for the
    same peer are included, they encode its whole peer address set.

    Note: IMHO a whole/partial set flag is needed.


draft-dupont-ikev2-addrmgmt-00.txt                            [Page 6]
INTERNET-DRAFT        Address Management for IKEv2            Jan 2003


    A new notification has to be defined for the peer address
    notification request by the responder. Typically a responder
    asking for either NAT traversal or a peer address protection (i.e.,
    the opposite) will put this notification in the second message of
    the initial exchange. All following messages MUST include the
    requested peer address notifications.

    Note: is a way to request source or destination protection needed?

    For the initiator a simple way to request peer address
    notifications is to include then in requests: when peer address
    notifications are required, peer address notifications MUST be
    included in the encrypted payload of requests. When a peer address
    notification is included in a request, peer address notifications
    are required, all following messages MUST include the peer address
    protection notification(s), beginning by the reply message.

    If multiple peer address notifications for the same peer are
    included in a message, the first one SHOULD for the source and
    MUST for the destination be the used peer address. The extra
    addresses describe the other possible peer addresses, i.e., there
    is at least one peer address notification per address in the peer
    address set.

    In order to associate some possible peer source addresses to
    possible peer destination addresses, the source and destination
    peer addresses notifications MAY be mixed (i.e., not in the common
    order source(s) first, destination(s) after). For instance S1, S2,
    D1, S3, D2, D3 is a hint: S1 or S2 should be used in conjunction
    with D1, S3 with D2 or D3.

    When a peer can not find its peer addresses in the peer address
    notifications for its side, if NAT traversal is disabled then it
    MUST reject the compromised message and send an error notification
    to its peer, if NAT traversal is enabled it SHOULD take proper
    actions when a NAT is detected, for instance switch to the port
    4500. This applies only to protected peer address notifications.

3.4 Implicit address update

    For address update, there is a choice between implicit and
    explicit mechanisms for IPsec SAs and IKE SAs.

    We claim that the implicit mechanism for IPsec SAs is far too
    unsecure: this mechanism is very (too?) simple. When a packet is
    received from another address, the peer addresses of the IPsec SA
    pair are updated. This opens the door to easy denial of service
    attacks and assumes extra-processing by the receiver device.


draft-dupont-ikev2-addrmgmt-00.txt                            [Page 7]
INTERNET-DRAFT        Address Management for IKEv2            Jan 2003


    For the implicit mechanism for IKE SAs the things are even
    simpler. The implicit mechanism is mainly activated by keepalive
    exchanges: to switch from the implicit mechanism to the explicit
    one, only an update notification has to be included. The real
    difference is in the explicit case an observed peer address change
    is only a trigger.

    Note: should we specify a mechanism to advertise the other peer?
    It seems that NAT traversal needs it or should use an update all
    SAs in all IKE SA keepalive messages.

3.5 Explicit address update

    The explicit mechanism MUST be used. A new notification has to
    be defined. We propose to copy it from the delete notification.

    The new peer address notification has strong sequencing
    requirements. It MUST be processed in order and when a pending
    exchange with a peer address update has to be overrided by a more
    recent one, the peer address update notification MUST be
    canceled.

    Note: IKEv2 messages have a sequence number so the only sequencing
    issues are the window of processing and pending exchanges.

    Note: there are two obvious ways to cancel it (remove it from
    the message or define a cancellation flag) but both modify the
    message.

    When the receiver of an update request has to check the validity
    of the new peer address, it MAY use a return routability check
    sending an informational request at the new address and waiting
    for an answer. As informational exchanges are protected no more is
    needed.

    Example of a return routability check:

     I --- address update request --> R
     I <-- informational RR request - R
     I --- informational RR reply --> R
       now the responder knows the initiator should be where it said.
     I <--- address update reply ---- R
 
    As for the delete notification, the peer address update
    notification specifies the SPIs of the IPsec and IKE SAs it
    applies to. But a simple way to specify all SAs (i.e., the IKE SA
    and all the IPsec SAs it negotiated) is needed.

    Note: the "all SAs" MUST NOT be used when there is a proxy case
    SA pair.


draft-dupont-ikev2-addrmgmt-00.txt                            [Page 8]
INTERNET-DRAFT        Address Management for IKEv2            Jan 2003


4. Security Considerations

   Great care was used to avoid to introduce security threats.

   The NAT traversal feature comes with a security flaw (the transient
   pseudo-NAT attack [5]) which can not be easily avoid. IMHO the NAT
   traversal feature should be enabled only when the presence of NATs
   is likely/possible.

   When the NAT traversal feature is disabled, the other peer address
   can not be changed en-route by an attacker but the proofs the peer
   is really at its address are:
    - the trust in the peer
    - the proof that the peer can receive messages sent to its address
   The second (a.k.a. the return routability check) works only with at
   least three messages, i.e., for the initial exchange (with the
   address stability requirement) and for the explicit optional
   checks. IMHO these checks SHOULD be required by default.

5. Acknowledgments

   The need for an address management for IKEv2 was explained at the
   ipsec session of the Yokohama IETF meeting. It seems most people
   agree but do not propose concrete solutions.

   The rare people in the Mobility world with IPsec interests, or in
   the IPsec world with Mobility interest, should receive all thanks
   because without them we (me and all the future co-authors) have
   given up for a long time.

6. Normative References

   None?

7. Informative References

   [1] C. Kaufman, ed., "Proposal for the IKEv2 Protocol",
   draft-ietf-ipsec-ikev2-04.txt, January 2003.

   [2] B. Korver, E. Rescorla, "The Internet IP Security PKI
   Profile of ISAKMP and PKIX",
   draft-ietf-ipsec-pki-profile-01.txt, October 2002.

   [3] P. Hoffman, "Adding revised identities to IKEv2",
   http://www.vpnc.org/ietf-ipsec/, 
   Message-Id: <p05200f06b9edf48ac57b@[165.227.249.18]>,
   November 2002.

   [4] M. Kaat, "Overview of 1999 IAB Network Layer Workshop",
   RFC 2956, October 2000.


draft-dupont-ikev2-addrmgmt-00.txt                            [Page 9]
INTERNET-DRAFT        Address Management for IKEv2            Jan 2003


   [5] F. Dupont, J.-J. Bernard, "Transient pseudo-NAT attacks
   or how NATs are even more evil than you believed",
   draft-dupont-transient-pseudonat-01.txt, December 2002.

   [6] Jayant Shukla, "RE: peer address protection and NAT Traversal",
   http://www.vpnc.org/ietf-ipsec/,
   Message-ID: <000201c2bb27$e7021ff0$5803a8c0@trlhpc1>,
   January 2003.

   [7] D. Johnson, C. Perkins, J. Arkko, "Mobility Support in IPv6",
   draft-ietf-mobileip-ipv6-20.txt, January 2003.

   [8] J. Arkko, V. Devarapalli, F. Dupont, "Using IPsec to Protect
   Mobile IPv6 Signaling between Mobile Nodes and Home Agents",
   draft-ietf-mobileip-mipv6-ha-ipsec-02.txt, January 2003.

   [9] F. Dupont, "How to make IPsec more mobile IPv6 friendly",
   draft-dupont-ipsec-mipv6-02.txt, January 2003.

9. Author's Address

   Francis Dupont
   ENST Bretagne
   Campus de Rennes
   2, rue de la Chataigneraie
   BP 78
   35512 Cesson-Sevigne Cedex
   FRANCE
   Fax: +33 2 99 12 70 30
   EMail: Francis.Dupont@enst-bretagne.fr

draft-dupont-ikev2-addrmgmt-00.txt                           [Page 10]

------- =_aaaaaaaaaa0--



From owner-ipsec@lists.tislabs.com  Mon Jan 27 18:32:07 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA00835
	for <ipsec-archive@lists.ietf.org>; Mon, 27 Jan 2003 18:32:07 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id PAA07998
	Mon, 27 Jan 2003 15:54:46 -0500 (EST)
Message-Id: <5.2.0.9.2.20030127155047.00bcc998@mail.binhost.com>
X-Sender: housley@mail.binhost.com
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Mon, 27 Jan 2003 15:56:53 -0500
To: ipsec@lists.tislabs.com
From: Russ Housley <housley@vigilsec.com>
Subject: Re: Ciphersuites for IKEv2
In-Reply-To: <p05210219ba538b082e02@[165.227.249.18]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

I support Paul Hoffman's posting regarding MUST implement and SHOULD 
implement cipher suites.  The first thing that I really like is that it 
includes rationale.  Further, it allow the working group to tell 
implementors what the next set of algorithms that are likely to become MUST 
implement.  I categorize them as follows.

MUST implement algorithms -
    - widely deployed, secure against today's perceived threat, acceptable 
performance
    - support backward compatibility with previous generation

SHOULD implement algorithms -
    - best guess at the next generation of algorithms

MAY implement algorithms -
    - everything else

Paul's proposal supports this categorization.

Russ


>Given the looming deadline for us to finish on IKEv2, we need to come to
>some agreement on ciphersuites. The following comments are based on the
>-04 draft.
>
>In section 5.3.1, it says:
>
> >For Suite-ID, the following values are defined:
> >
> >         Name            Number   Algorithms
> >         IKE_CLASSIC       0       DH-Group #5 (1536 bits)
> >                                       3DES encryption
> >                                       HMAC-SHA1 integrity and prf
> >
> >         ESP_CLASSIC       1       3DES encryption
> >                                       HMAC-SHA1 integrity
> >         <some AES variants, AH (?))
> >
> >         values 2-65000 are reserved to IANA. Values 65001-65533 are
> >         for private use among mutually consenting parties.
>
>Later, in section 5.14, it says:
>
> >  The mandatory to implement algorithms are AES-128-CBC and HMAC-SHA1.
>
>
>So far, this list hasn't been able to agree on whether these are good
>values, mostly due to people having different priorities. I propose that
>the priority we choose for creating the MUST implement suite be that of
>greatest interoperability. This means that we should not expect any
>current IPsec vendor who has hardware acceleration to need to make
>hardware upgrades to their IPsec devices.
>
>Beyond that, we should also define suites that are expected to be used
>in typical circumstances, but we should not attach a MUST or even a
>SHOULD to those suites. We should also *not* name the suites because the
>names will impart meaning in the future that may not be true. For
>example, the name "IKE_CLASSIC" implies that the values are those used
>by typical IKEv1 systems, but that is not true because many systems
>don't even implement DH Group 5 (even though they obviously should).
>
>Given those criteria, I propose that the following text be used in
>section 5.3.1 (and the text noted above in section 5.14 be removed):
>
>=====
>
>For Suite-ID, the following values are defined:
>
>Suite-ID  Meaning
>--------  -------
>0         Covers: IKE
>           168-bit 3DES CBC encryption
>           Diffie-Hellman group 2 (1024-bit)
>           HMAC-SHA1 integrity and prf
>
>1         Covers: ESP
>           3DES encryption with three keys
>           HMAC-SHA1 integrity
>
>2         Covers: AH
>           HMAC-SHA1 integrity
>
>3         Covers: IKE
>           168-bit 3DES CBC encryption
>           Diffie-Hellman group 5 (1536-bit)
>           HMAC-SHA1 integrity and prf
>
>4         Covers: IKE
>           AES encryption in CBC mode with 128-bit keys
>           Diffie-Hellman group 5 (1536-bit)
>           HMAC-SHA1 integrity and prf
>
>5         Covers: IKE
>           AES encryption in CBC mode with 128-bit keys
>           Diffie-Hellman group 14 (2048-bit)
>           HMAC-SHA1 integrity and prf
>
>6         Covers: ESP
>           AES encryption in CBC mode with 128-bit keys
>           HMAC-SHA1 integrity
>
>7         Covers: IKE
>           AES encryption in CTR mode with 128-bit keys
>           Diffie-Hellman group 14 (2048-bit)
>           AES-CBC MAC + XCBC integrity and prf
>
>8         Covers: ESP
>           AES encryption in CTR mode with 128-bit keys
>           AES-CBC MAC + XCBC integrity
>
>Values 9-65000 are reserved to IANA. Values 65001-65533 are for private
>use among mutually consenting parties. Additional Suite-ID values will
>be assigned by IANA based on consultation with the IESG.
>
>All implementations of IKEv2 MUST be able to negotiate Suite-ID 0 and
>Suite-ID 1. Implementations SHOULD be able to negotiate Suite-IDs 3, 4,
>5, and 6.
>
>The must-be-implemented ciphersuites (0 and 1) are based on
>currently-deployed hardware that meets the security requirements of the
>vast majority of current IPsec users, and should be useful for at least
>a decade according to cryptographic estimates from NIST for business
>user scenarios. The should-be-implemented ciphersuites (3, 4, 5, and 6)
>are based on expectations of where the security industry is moving
>(namely, to the AES encryption suite) and where more security-conscious
>users are moving as current key lengths become more attackable due to
>the steady lowering of cost to mount brute-force attacks.
>
>An important lesson learned from IKEv1 is that no system should only
>implement the mandatory algorithms and expect them to be the best choice
>for all customers. For example, at the time that this document was being
>written, many IKEv1 implementers are starting to migrate to AES in CBC
>mode for VPN applications. Many IPsec systems based on IKEv2 will
>implement AES, longer Diffie-Hellman keys, and additional hash
>algorithms, and some IPsec customers already require these algorithms in
>addition to the mandatory ones listed above.
>
>=====
>
>Possible issues:
>
>- Some people may want to have more suites as fallbacks in case of
>a catastrophic failure of an algorithm. The WG seemed to want fewer
>suites. This is why I had the IANA registry being updated with IESG
>consultation instead of a standards-track RFC: we could get a number
>easily for a non-compromised suite. Having a zillion suites defined
>early won't cause implementers to handle them; note that TIGER was
>a SHOULD in IKEv1 and almost no one implemented it at all.
>
>- Should the ESP and AH MUST and SHOULDs be in the IKEv2 document or
>in 2401bis? I think they should be in IKEv2, but others have said that
>because they cover IPsec themselves, they should be in 2401bis.
>
>
>--Paul Hoffman, Director
>--VPN Consortium



From owner-ipsec@lists.tislabs.com  Mon Jan 27 21:25:02 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA03296
	for <ipsec-archive@lists.ietf.org>; Mon, 27 Jan 2003 21:25:02 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id TAA08314
	Mon, 27 Jan 2003 19:01:24 -0500 (EST)
content-class: urn:content-classes:message
Subject: RE: Ciphersuites for IKEv2
Date: Mon, 27 Jan 2003 17:04:09 -0700
Message-ID: <5AE0592A6AF6494F80CE87370A723B1F2344A3@azsmsx401.ch.intel.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Thread-Topic: Ciphersuites for IKEv2
Thread-Index: AcLCKnfQO5n/lS4bEde/HABQi2jWFgEMqw+g
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
From: "Herbert, Howard C" <howard.c.herbert@intel.com>
To: <ipsec@lists.tislabs.com>
Cc: <Black_David@emc.com>, <ips@ece.cmu.edu>
X-OriginalArrivalTime: 28 Jan 2003 00:04:11.0427 (UTC) FILETIME=[C92F3730:01C2C660]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by lists.tislabs.com id TAA08311
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 8bit


Per the admonition in David's email below, I would like to request that in addition to the following cipher suites already on the list:

AES-CBC + HMAC-SHA-1
AES-CTR + AES-CBC MAC w/XCBC

that the following additional cipher suites be added:

AES-CBC + AES-CBC-MAC w/XCBC
AES-CTR + HMAC-SHA-1

As noted above, these algorithms will already exist in an implementation.  Not being able to use them in the added combinations simply because we do not have a ciphersuite defined for them seems like a real easy thing to fix at this point.

In addition to the points made by David below, these additional combinations will also help implementers gain the full benefit of the investment that they are making and will allow users to utilize the full capability of the product that they are paying for. 

Howard

-----Original Message-----
From: Black_David@emc.com [mailto:Black_David@emc.com]
Sent: Wednesday, January 22, 2003 8:14 AM
To: ips@ece.cmu.edu
Subject: FW: Ciphersuites for IKEv2

The ipsec WG is in the process of defining a new version of
the IKE protocol for IPsec authentication, key exchange, SA
creation and the like.

A major change from the current IKE is that all cryptographic
aspects of SA creation are bundled into suites for negotiation
rather than being independently negotiable, as fewer combinations
to implement and test increases the likelihood of interoperability
and reduces the opportunities for things to go worng in peculiar
combinations that are unlikely to be useful.  This is part of
a radical change to IKE/ISAKMP negotiation to fix a number of
problems with the way it currently works.

The proposal forwarded below has just been floated to define
the initial suites.  The most important aspect of it is that
the proposed AES suite definitions bind encryption mode and
integrity algorithm (MAC) together, specifically:

- AES-CBC suites are only defined with HMAC-SHA1
	(cannot use AES-CBC MAC w/XCBC)
- AES-CTR suites are only defined with AES-CBC MAC w/XCBC
	(cannot use HMAC-SHA1)

If this is a problem for anyone, they need to comment on the
ipsec mailing list (ipsec@lists.tislabs.com) ASAP.  Please
read the entire message forwarded below (including the "Possible
issues:" section at its end) before commenting.  Also, please
note that 3DES-CBC and HMAC-SHA1 will be "MUST implement", so
hence there's not as much implementation advantage as might
initially appear to AES-CBC + AES-CBC MAC w/XCBC as HMAC-SHA1
has to be there anyhow.

Further discussion of this should be on the ipsec WG mailing
list (ipsec@lists.tislabs.com) - this is just an FYI for IPS
folks working with IPsec.  None of this affects any requirements
in the current IPS protocol specifications - this is an FYI
about where this area of technology is headed.

Thanks,
--David
----------------------------------------------------
David L. Black, Senior Technologist
EMC Corporation, 176 South St., Hopkinton, MA  01748
+1 (508) 293-7953             FAX: +1 (508) 293-7786
black_david@emc.com        Mobile: +1 (978) 394-7754
----------------------------------------------------

-----Original Message-----
From: Paul Hoffman / VPNC [mailto:paul.hoffman@vpnc.org]
Sent: Tuesday, January 21, 2003 6:42 PM
To: ipsec@lists.tislabs.com
Subject: Ciphersuites for IKEv2


Given the looming deadline for us to finish on IKEv2, we need to come to
some agreement on ciphersuites. The following comments are based on the
-04 draft.

In section 5.3.1, it says:

>For Suite-ID, the following values are defined:
>
>	  Name            Number   Algorithms
>	  IKE_CLASSIC       0       DH-Group #5 (1536 bits)
>					3DES encryption
>					HMAC-SHA1 integrity and prf
>
>	  ESP_CLASSIC       1       3DES encryption
>					HMAC-SHA1 integrity
>	  <some AES variants, AH (?))
>
>	  values 2-65000 are reserved to IANA. Values 65001-65533 are
>	  for private use among mutually consenting parties.

Later, in section 5.14, it says:

>  The mandatory to implement algorithms are AES-128-CBC and HMAC-SHA1.


So far, this list hasn't been able to agree on whether these are good
values, mostly due to people having different priorities. I propose that
the priority we choose for creating the MUST implement suite be that of
greatest interoperability. This means that we should not expect any
current IPsec vendor who has hardware acceleration to need to make
hardware upgrades to their IPsec devices.

Beyond that, we should also define suites that are expected to be used
in typical circumstances, but we should not attach a MUST or even a
SHOULD to those suites. We should also *not* name the suites because the
names will impart meaning in the future that may not be true. For
example, the name "IKE_CLASSIC" implies that the values are those used
by typical IKEv1 systems, but that is not true because many systems
don't even implement DH Group 5 (even though they obviously should).

Given those criteria, I propose that the following text be used in
section 5.3.1 (and the text noted above in section 5.14 be removed):

=====

For Suite-ID, the following values are defined:

Suite-ID  Meaning
--------  -------
0         Covers: IKE
          168-bit 3DES CBC encryption
          Diffie-Hellman group 2 (1024-bit)
          HMAC-SHA1 integrity and prf

1         Covers: ESP
          3DES encryption with three keys
          HMAC-SHA1 integrity

2         Covers: AH
          HMAC-SHA1 integrity

3         Covers: IKE
          168-bit 3DES CBC encryption
          Diffie-Hellman group 5 (1536-bit)
          HMAC-SHA1 integrity and prf

4         Covers: IKE
          AES encryption in CBC mode with 128-bit keys
          Diffie-Hellman group 5 (1536-bit)
          HMAC-SHA1 integrity and prf

5         Covers: IKE
          AES encryption in CBC mode with 128-bit keys
          Diffie-Hellman group 14 (2048-bit)
          HMAC-SHA1 integrity and prf

6         Covers: ESP
          AES encryption in CBC mode with 128-bit keys
          HMAC-SHA1 integrity

7         Covers: IKE
          AES encryption in CTR mode with 128-bit keys
          Diffie-Hellman group 14 (2048-bit)
          AES-CBC MAC + XCBC integrity and prf

8         Covers: ESP
          AES encryption in CTR mode with 128-bit keys
          AES-CBC MAC + XCBC integrity

Values 9-65000 are reserved to IANA. Values 65001-65533 are for private
use among mutually consenting parties. Additional Suite-ID values will
be assigned by IANA based on consultation with the IESG.

All implementations of IKEv2 MUST be able to negotiate Suite-ID 0 and
Suite-ID 1. Implementations SHOULD be able to negotiate Suite-IDs 3, 4,
5, and 6.

The must-be-implemented ciphersuites (0 and 1) are based on
currently-deployed hardware that meets the security requirements of the
vast majority of current IPsec users, and should be useful for at least
a decade according to cryptographic estimates from NIST for business
user scenarios. The should-be-implemented ciphersuites (3, 4, 5, and 6)
are based on expectations of where the security industry is moving
(namely, to the AES encryption suite) and where more security-conscious
users are moving as current key lengths become more attackable due to
the steady lowering of cost to mount brute-force attacks.

An important lesson learned from IKEv1 is that no system should only
implement the mandatory algorithms and expect them to be the best choice
for all customers. For example, at the time that this document was being
written, many IKEv1 implementers are starting to migrate to AES in CBC
mode for VPN applications. Many IPsec systems based on IKEv2 will
implement AES, longer Diffie-Hellman keys, and additional hash
algorithms, and some IPsec customers already require these algorithms in
addition to the mandatory ones listed above.

=====

Possible issues:

- Some people may want to have more suites as fallbacks in case of
a catastrophic failure of an algorithm. The WG seemed to want fewer
suites. This is why I had the IANA registry being updated with IESG
consultation instead of a standards-track RFC: we could get a number
easily for a non-compromised suite. Having a zillion suites defined
early won't cause implementers to handle them; note that TIGER was
a SHOULD in IKEv1 and almost no one implemented it at all.

- Should the ESP and AH MUST and SHOULDs be in the IKEv2 document or
in 2401bis? I think they should be in IKEv2, but others have said that
because they cover IPsec themselves, they should be in 2401bis.


--Paul Hoffman, Director
--VPN Consortium


From owner-ipsec@lists.tislabs.com  Mon Jan 27 22:19:42 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA04312
	for <ipsec-archive@lists.ietf.org>; Mon, 27 Jan 2003 22:19:41 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id UAA08585
	Mon, 27 Jan 2003 20:09:33 -0500 (EST)
Mime-Version: 1.0
X-Sender: phoffvpnc@mail.vpnc.org
Message-Id: <p05210208ba5b84f000a8@[165.227.249.18]>
In-Reply-To: 
 <5AE0592A6AF6494F80CE87370A723B1F2344A3@azsmsx401.ch.intel.com>
References: <5AE0592A6AF6494F80CE87370A723B1F2344A3@azsmsx401.ch.intel.com>
X-Habeas-SWE-1: winter into spring
X-Habeas-SWE-2: brightly anticipated
X-Habeas-SWE-3: like Habeas SWE (tm)
X-Habeas-SWE-4: Copyright 2002 Habeas (tm)
X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this
X-Habeas-SWE-6: email in exchange for a license for this Habeas
X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant
X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this
X-Habeas-SWE-9: mark in spam to <http://www.habeas.com/report>.
Date: Mon, 27 Jan 2003 17:11:14 -0800
To: "Herbert, Howard C" <howard.c.herbert@intel.com>,
        <ipsec@lists.tislabs.com>
From: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
Subject: RE: Ciphersuites for IKEv2
Cc: <Black_David@emc.com>, <ips@ece.cmu.edu>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 5:04 PM -0700 1/27/03, Herbert, Howard C wrote:
>I would like to request that in addition to the following cipher 
>suites already on the list:
>
>AES-CBC + HMAC-SHA-1
>AES-CTR + AES-CBC MAC w/XCBC
>
>that the following additional cipher suites be added:
>
>AES-CBC + AES-CBC-MAC w/XCBC
>AES-CTR + HMAC-SHA-1

Could you explain your specific reasoning for adding these two? It 
will not increase interoperability or security. Is this for fallback 
in case of compromise of one of the hash algorithms?

>   Not being able to use them in the added combinations simply 
>because we do not have a ciphersuite defined for them seems like a 
>real easy thing to fix at this point.

Not having an named ciphersuite does not prevent their use; it only 
prevents their interoperable use. For testing, you can always pick a 
number from the private number space.

>In addition to the points made by David below, these additional 
>combinations will also help implementers gain the full benefit of 
>the investment that they are making and will allow users to utilize 
>the full capability of the product that they are paying for.

Lots of implementations also implement 56-bit DES. Are you saying 
that we should therefore assign ciphersuites that use it?

--Paul Hoffman, Director
--VPN Consortium


From owner-ipsec@lists.tislabs.com  Tue Jan 28 02:38:29 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA18284
	for <ipsec-archive@lists.ietf.org>; Tue, 28 Jan 2003 02:38:29 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id AAA09148
	Tue, 28 Jan 2003 00:29:09 -0500 (EST)
Message-ID: <3E3615A6.ECF65B60@soleil.ocn.ne.jp>
Date: Tue, 28 Jan 2003 14:31:18 +0900
From: Alan Chung <jrifsd4gfl@soleil.ocn.ne.jp>
Reply-To: jrifsd4gfl@soleil.ocn.ne.jp
Organization: Financial Link Ltd.
X-Mailer: Mozilla 4.78 [ja] (Windows NT 5.0; U)
X-Accept-Language: ja
MIME-Version: 1.0
To: ipsec@lists.tislabs.com
Subject: new to VPN
Content-Type: text/plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Hi,

I am very new to this VPN technology.
Currently I am reading the documentation around and have some questions
on my mind.  Could someone please give me an advice?

1. There seems so many types of VPN technologies such as GRE, IPSec,
L2TP, PPTP, IP-IP Tunnel...as I have realized so far.
   To be honest, I am very confused and not sure which direction I
should go in order to choose a good solution for my company.
   First, I wonder what type(s) of technology is generally evaluated as
the most secure and widely used one?

2. There is even freeware such as Linux FreeS/WAN using IPSec
technology.  If so, is this secure enough to use for a big wide area
network something above 500 people?
    Is it true that the hardware VPN solutions are always better,
trusted and have higher secure level than software VPN?

I am sorry to ask such general questions on this mailing list.
But I really appreciate if someone can give me some help with this.

Thank you very much.

Alan





From owner-ipsec@lists.tislabs.com  Tue Jan 28 11:27:53 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA29895
	for <ipsec-archive@lists.ietf.org>; Tue, 28 Jan 2003 11:27:52 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id IAA10200
	Tue, 28 Jan 2003 08:56:42 -0500 (EST)
Message-Id: <200301281145.GAA21828@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: IETF-Announce:;;;;@tislabs.com;;;
Cc: ipsec@lists.tislabs.com
From: Internet-Drafts@ietf.org
Reply-to: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-ipsec-ciph-aes-ccm-01.txt
Date: Tue, 28 Jan 2003 06:45:16 -0500
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

--NextPart

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

	Title		: Using AES CCM Mode With IPsec ESP
	Author(s)	: R. Housley
	Filename	: draft-ietf-ipsec-ciph-aes-ccm-01.txt
	Pages		: 11
	Date		: 2003-1-27
	
This document describes the use of AES CCM Mode, with an explicit
initialization vector, as an IPsec Encapsulating Security Payload
(ESP) mechanism to provide confidentiality, data origin
authentication, connectionless integrity.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ipsec-ciph-aes-ccm-01.txt

To remove yourself from the IETF Announcement list, send a message to 
ietf-announce-request with the word unsubscribe in the body of the message.

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-ipsec-ciph-aes-ccm-01.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-ipsec-ciph-aes-ccm-01.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.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

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

ENCODING mime
FILE /internet-drafts/draft-ietf-ipsec-ciph-aes-ccm-01.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-ipsec-ciph-aes-ccm-01.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

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

--OtherAccess--

--NextPart--



From owner-ipsec@lists.tislabs.com  Tue Jan 28 11:37:26 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA00236
	for <ipsec-archive@lists.ietf.org>; Tue, 28 Jan 2003 11:37:26 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id IAA10184
	Tue, 28 Jan 2003 08:55:44 -0500 (EST)
Message-Id: <5.1.0.14.0.20030127115651.00a78ac0@pop.theworld.com>
X-Sender: dpj@pop.theworld.com
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Mon, 27 Jan 2003 14:04:20 -0500
To: Hugo Krawczyk <hugo@ee.technion.ac.il>
From: David Jablon <dpj@theworld.com>
Subject: Re: A proposal
Cc: IPsec WG <ipsec@lists.tislabs.com>
In-Reply-To: <Pine.GSO.4.21.0301230242461.17560-100000@ee.technion.ac.il
 >
References: <5.1.0.14.0.20030110230838.045dd440@pop.theworld.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Hugo,

Just one counterpoint, and some explanation:

At 03:33 AM 1/23/03 +0200, Hugo Krawczyk wrote:
>David, I do not think this whole issue is too important or that
>people really care, ...

I have no problem with you expressing *your* opinion.  But evidence
that some people do care about the whole issue of preventing MITM attack
in a legacy credentials context has been, and should be, demonstrated
by WG discussion.  If, instead, "whole issue" refers to my proposed
extension to SLA ... that's a different matter.

>... and I am glad that you agree that the xor-based
>solution would be an appropriate way to mix the additional key into
>the key derivation. Yet I do not really like having the "compound
>authentication" to happen (implicitly) at the level of key derivation.

I also agree with your preference for explicit authentication, when possible.
My proposed extension to SLA was deliberately limited in scope, and not
meant to argue against such possibilities.

>...
>The main point in your response is that the weaknesses I point out are
>possible only if one assumes "weaker" prfs than allowed by IKE (v2).
>That's wrong. Indeed, I illustrated my attack using a block-cipher based
>prf. There is NO cryptographic reason to assume that those are bad prf's,
>actually they may turn out to be better than HMAC-SHA1. These prf's are
>allowed (and should be allowed) by IKE as IKE remains secure with them.

Fair enough, *except* that wasn't exactly my point.
What I literally wrote was:

> [Hugo's concern] is *only* valid
> when one implements prf with a function that is significantly weaker
> than HMAC, which is currently the only specifically described
> instantiation in the IKEv2 draft.

Your recharacterization reads way too much into that statement.
I thought it was clear from the overall context of my reply, but
just in case it wasn't:

*  I didn't intend to say that any proposed PRF was weaker as a pseudorandom
function.  By "weaker function" I was referring to relative weakness as
a *key derivation function*, as in, for example, the function of prf in
my proposal.

*  I didn't intend to say that any such function was necessarily
any weaker for any context other than in my proposal.

*  I didn't intend to say that such a function was not allowed by IKEv2.
(Though I wanted to imply that this might be a forgivable
misinterpretation of the draft.  Forgive me for trying.)

To be clear, I'll take full blame for misreading it as "prf = only HMAC".
I also appreciate the specific changes you've suggested for the draft
that (even if for other reasons) clarify the definition and proper use of prf.

I'll defer further comment on any remaining issues until they're
relevant to a broader discussion.

-- David



From owner-ipsec@lists.tislabs.com  Tue Jan 28 14:13:20 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA04178
	for <ipsec-archive@lists.ietf.org>; Tue, 28 Jan 2003 14:13:19 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id LAA10649
	Tue, 28 Jan 2003 11:11:50 -0500 (EST)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15926.44131.464641.710215@pkoning.dev.equallogic.com>
Date: Tue, 28 Jan 2003 11:14:27 -0500
From: Paul Koning <pkoning@equallogic.com>
To: howard.c.herbert@intel.com
Cc: ipsec@lists.tislabs.com, Black_David@emc.com, ips@ece.cmu.edu
Subject: RE: Ciphersuites for IKEv2
References: <5AE0592A6AF6494F80CE87370A723B1F2344A3@azsmsx401.ch.intel.com>
X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

>>>>> "Howard" == Howard C Herbert <Herbert> writes:

 Howard> Per the admonition in David's email below, I would like to
 Howard> request that in addition to the following cipher suites
 Howard> already on the list:

 Howard> AES-CBC + HMAC-SHA-1 AES-CTR + AES-CBC MAC w/XCBC

 Howard> that the following additional cipher suites be added:

 Howard> AES-CBC + AES-CBC-MAC w/XCBC AES-CTR + HMAC-SHA-1

 Howard> As noted above, these algorithms will already exist in an
 Howard> implementation.  Not being able to use them in the added
 Howard> combinations simply because we do not have a ciphersuite
 Howard> defined for them seems like a real easy thing to fix at this
 Howard> point.

The whole point of cipher suites is NOT to expose the O(2^n)
combinations.  

There may be valid reasons to add suites, but "the components already
exist" surely is not a valid reason.

       paul




From owner-ipsec@lists.tislabs.com  Tue Jan 28 20:22:24 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA13400
	for <ipsec-archive@lists.ietf.org>; Tue, 28 Jan 2003 20:22:24 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id RAA11582
	Tue, 28 Jan 2003 17:26:37 -0500 (EST)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com (Unverified)
Message-Id: <p05111a0cba5c6b007a43@[128.33.238.248]>
In-Reply-To: <p05210219ba538b082e02@[165.227.249.18]>
References: <p05210219ba538b082e02@[165.227.249.18]>
Date: Tue, 28 Jan 2003 12:30:10 -0500
To: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
From: Stephen Kent <kent@bbn.com>
Subject: Re: Ciphersuites for IKEv2
Cc: ipsec@lists.tislabs.com
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Paul,

I like your analysis and suggestions for MUSTs and SHOULDs. I endorse 
your proposal.

You also asked:

>- Should the ESP and AH MUST and SHOULDs be in the IKEv2 document or
>in 2401bis? I think they should be in IKEv2, but others have said that
>because they cover IPsec themselves, they should be in 2401bis.

I'm happy to include these ESP/AH suites in 2401 if the WG AGREES.

There is one other feature I would like to see in IKEv2 that is 
somewhat related to the suites (for IKE). As I noted earlier, some 
user groups are sophisticated enough to want to define their own 
groups, for local use. Your proposal allocates a reasonable number of 
values for private use, so there is no impediment there. But it seems 
that we still lack a MUST for IKEv2 that facilities private group 
management support, to ensure that users/admins (not just vendors) 
can define additional, private groups. Any suggestions of how to 
define that capability?

Steve


From owner-ipsec@lists.tislabs.com  Wed Jan 29 14:35:53 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA27491
	for <ipsec-archive@lists.ietf.org>; Wed, 29 Jan 2003 14:35:52 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id MAA14306
	Wed, 29 Jan 2003 12:16:18 -0500 (EST)
Message-ID: <3E380CDD.DE18C07D@nokia.com>
Date: Wed, 29 Jan 2003 09:18:21 -0800
From: Mukesh Gupta <mukesh.gupta@nokia.com>
Organization: Nokia Networks
X-Mailer: Mozilla 4.75 [en]C-CCK-MCD {Nokia}  (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: jrifsd4gfl@soleil.ocn.ne.jp
CC: ipsec@lists.tislabs.com
Subject: Re: new to VPN
References: <3E3615A6.ECF65B60@soleil.ocn.ne.jp>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 29 Jan 2003 17:18:22.0295 (UTC) FILETIME=[6CCC0670:01C2C7BA]
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

> 1. There seems so many types of VPN technologies such as GRE, IPSec,
> L2TP, PPTP, IP-IP Tunnel...as I have realized so far.
>    To be honest, I am very confused and not sure which direction I
> should go in order to choose a good solution for my company.
>    First, I wonder what type(s) of technology is generally evaluated as
> the most secure and widely used one?

Except IPsec, all of the mentioned technologies are for just tunnelling and
not for security. You could tunnel the traffic using any of those
technologies but then you will need to use some encryption/authentication
technology in order to secure your traffic. IPsec is the obvious choice
there.

> 2. There is even freeware such as Linux FreeS/WAN using IPSec
> technology.  If so, is this secure enough to use for a big wide area
> network something above 500 people?

"secure enough" is not a deterministic term and it is the encryption
algorithm that decides how secure your VPN is, not the technology.

> Is it true that the hardware VPN solutions are always better,
> trusted and have higher secure level than software VPN?

I don't think so. AFAIK, hardware VPN solution would just be faster than
software VPN.

HTH,
- Mukesh



From owner-ipsec@lists.tislabs.com  Wed Jan 29 14:35:50 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA27484
	for <ipsec-archive@lists.ietf.org>; Wed, 29 Jan 2003 14:35:49 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id LAA14219
	Wed, 29 Jan 2003 11:45:49 -0500 (EST)
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: IPsec and IKE in an dynamic NAT environment
Date: Wed, 29 Jan 2003 17:43:50 +0100
Message-ID: <24EA9B0638C2AD448F3C2E95E3209ECF40F777@shrdc1.biodata.com>
Thread-Topic: [VPN] New security tool: ike-scan (IPsec IKE scanner)  released
Thread-Index: AcLHCIk4O65cIPGlSIORMRGTeRudjgAqVGbQAADppfA=
From: "Nicolas Saurbier" <Nicolas.Saurbier@biodata.de>
To: <ipsec@lists.tislabs.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by lists.tislabs.com id LAA14216
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 8bit

Hi All,

this is the first time, I post into this list, so "Hi everybody!!!"

Now I need a little help:

Situation:
I have a VPN-Gateway with an official IP-address attached directly
to the internet. I have a Router that does ISDN dial-up to my ISP.
The Router doesn´t get a fixed IP-address. The Router is doing
Masquerading (192.168.0.0/24 => x.x.x.x/32)

How it should work:
The users in my 192.168.0.0/24 network shall use Software IPsec-clients,
I chose "SSH Sentinel 1.4". My problem is, that the IKE is working fine,
but the VPN-Gateway denies all incoming esp-packets and sends back an
ICMP-packet "Proto 50 unreachable"

SSH Sentinel has got an option called "NAT traversel"....did any1 of you
ever work with SSH Sentinel??? Any1 of you doing the same as me?

NIC







From owner-ipsec@lists.tislabs.com  Wed Jan 29 17:02:57 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA01808
	for <ipsec-archive@lists.ietf.org>; Wed, 29 Jan 2003 17:02:56 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA14776
	Wed, 29 Jan 2003 14:50:13 -0500 (EST)
Date: Wed, 29 Jan 2003 11:02:03 -0800
Message-Id: <200301291902.h0TJ22n03176@localhost.localdomain>
From: John Lindal <jafl@trlokom.com>
X-Mailer: Arrow 2.0b3 (X11; Linux 2.4.2-2; i686)
To: <ipsec@lists.tislabs.com>
Subject: Re: new to VPN
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

>> Is it true that the hardware VPN solutions are always better,
>> trusted and have higher secure level than software VPN?
>
> I don't think so. AFAIK, hardware VPN solution would just be faster than
> software VPN.

Custom hardware always has the potential to be faster than software running
on standard hardware.  However, standard hardware is now so fast that there
is little reason to bother with custom hardware any longer.  It is possible
to get approx. 20Mb/sec using 256 bit AES on a 1GHz Pentium 3 processor.
(AFAIK, most cheap VPN boxes provide only one or at most a few Mb/sec.)

John



From owner-ipsec@lists.tislabs.com  Wed Jan 29 17:36:35 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA02431
	for <ipsec-archive@lists.ietf.org>; Wed, 29 Jan 2003 17:36:35 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id PAA14881
	Wed, 29 Jan 2003 15:54:50 -0500 (EST)
Message-ID: <C1352E2D7153D411B83000508BD69247F00088@CA-Mail01.CA.iPolicyNet.COM>
From: "Vohra, Meenakshi" <mvohra@iPolicyNet.COM>
To: ipsec@lists.tislabs.com
Subject: VPN Client/Gateway with IKE Keep-Alives
Date: Wed, 29 Jan 2003 12:30:01 -0800
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C2C7D5.32A48740"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C2C7D5.32A48740
Content-Type: text/plain;
	charset="ISO-8859-1"

Hello Everyone,
I am looking for a VPN Gateway or a VPN Client which supports IKE
Keep-Alives( mainly as a means for SA cleanup). Any suggestions on some
vendors which can be used for testing this feature.

Thanks,
-Meenakshi


------_=_NextPart_001_01C2C7D5.32A48740
Content-Type: text/html;
	charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
VPN Client/Gateway with IKE Keep-Alives 

Hello Everyone, 
I am looking for a VPN Gateway or a = VPN Client which supports IKE Keep-Alives( mainly as a means for SA = cleanup). Any suggestions on some vendors which can be used for testing = this feature.

Thanks, 
-Meenakshi 
------_=_NextPart_001_01C2C7D5.32A48740--



From owner-ipsec@lists.tislabs.com  Wed Jan 29 19:21:59 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA04063
	for <ipsec-archive@lists.ietf.org>; Wed, 29 Jan 2003 19:21:59 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id RAA15063
	Wed, 29 Jan 2003 17:20:29 -0500 (EST)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15928.25124.110000.75173@gargle.gargle.HOWL>
Date: Wed, 29 Jan 2003 18:22:12 -0500
From: Paul Koning <pkoning@equallogic.com>
To: jafl@trlokom.com
Cc: ipsec@lists.tislabs.com
Subject: Re: new to VPN
References: <200301291902.h0TJ22n03176@localhost.localdomain>
X-Mailer: VM 7.07 under 21.4 (patch 10) "Military Intelligence (Windows)" XEmacs Lucid
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

>>>>> "John" == John Lindal <jafl@trlokom.com> writes:

 >>> Is it true that the hardware VPN solutions are always better,
 >>> trusted and have higher secure level than software VPN?
 >>  I don't think so. AFAIK, hardware VPN solution would just be
 >> faster than software VPN.

 John> Custom hardware always has the potential to be faster than
 John> software running on standard hardware.  However, standard
 John> hardware is now so fast that there is little reason to bother
 John> with custom hardware any longer.  It is possible to get
 John> approx. 20Mb/sec using 256 bit AES on a 1GHz Pentium 3
 John> processor.  (AFAIK, most cheap VPN boxes provide only one or at
 John> most a few Mb/sec.)

Perhaps the cheap boxes you looked at are software-based?  Or perhaps
they are limited because they have slow network interfaces?  For
instance, a T1 router or VPN box intended for use with cable modems or
DDSL has no use for multi-megabit performance because the wire isn't
that fast.

High end crypto chips are running now at several gigabits/second, and
it's not hard to find applications that have a use for those sort of
numbers.  (Whether they are willing to pay for the cost of that
hardware is quite another matter, though.)  So yes, the software
implementations are getting faster, but the bandwidth hogs are getting
faster, too.

    paul



From owner-ipsec@lists.tislabs.com  Wed Jan 29 23:38:38 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA08057
	for <ipsec-archive@lists.ietf.org>; Wed, 29 Jan 2003 23:38:37 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id VAA15458
	Wed, 29 Jan 2003 21:28:35 -0500 (EST)
Date: Wed, 29 Jan 2003 20:45:11 -0500 (EST)
From: Viswanath Neelavalli <vn2@oak.njit.edu>
To: ipsec@lists.tislabs.com
Subject: Hi
In-Reply-To: <15928.25124.110000.75173@gargle.gargle.HOWL>
Message-ID: <Pine.GSO.4.44.0301292005300.20873-100000@argerich.njit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Hi all,
I have been following this discussion board for over 3 weeks now  and it
has helped me try to keep updated with latest happenings.

I want to seek advice on a problem I am facing at my company.

I am able to establish an L2TP/IPSec VPN connection between 2 Windows2K
Advanced Server machines on the same physical LAN.(i.e. they both have the
same netid). I properly configured one ofthem as the VPN Server and also
made it a Standalone CA for issueing Certifcates. BTW, I am using
certificates for the authentication. I make a Dial-Up-Networking VPN
coneection from the client. In the "Local Security Policy" of both the
machines, I set it to "Secure Server(Require Security)".
When I make the connection..I sniff the packet using Ethereal. I can see
encrypted ESP traffic..fine. But If I try to make a telnet connection
from the client to the server, I can clearly see the text passing thru.

In effect, there dones not seem to be any encryption taking place, or I
dont know if am mis-reading something seriously.

Any prompt pointers or ideas on this will be greatly appreciated..as I am
facing a lot of heat from by boss.

Many thanks in advance.

Best Regards,
Viswanath.



From owner-ipsec@lists.tislabs.com  Thu Jan 30 00:35:02 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA09157
	for <ipsec-archive@lists.ietf.org>; Thu, 30 Jan 2003 00:35:02 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id XAA15636
	Wed, 29 Jan 2003 23:09:47 -0500 (EST)
From: "Jayant Shukla" <jshukla@trlokom.com>
To: <ipsec@lists.tislabs.com>
Subject: RE: new to VPN
Date: Wed, 29 Jan 2003 20:10:23 -0800
Message-ID: <00bd01c2c815$82c237f0$5803a8c0@trlhpc1>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.2627
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit


> -----Original Message-----
> From: owner-ipsec@lists.tislabs.com 
> [mailto:owner-ipsec@lists.tislabs.com]
> On Behalf Of Mukesh Gupta
> > Is it true that the hardware VPN solutions are always better, 
> > trusted and have higher secure level than software VPN?
> 

On the contrary, I think software solutions are becoming more secure
than the hardware solutions. If you look at technologies related to
intrusion prevention or known/unknown Trojan detection, the software
solutions have a much better edge. 

> I don't think so. AFAIK, hardware VPN solution would just be faster 
> than software VPN.
> 

Fastest VPNs today are hardware solutions, but software VPNs are not too
bad. I run a VPN that can sustain almost 24 Mb/s using 1GHz PIII laptop.
For a customer we are building a VPN (without any custom hardware) to
achieve 1 Gb/s using load balancing. 

In the end, whatever suits your requirements is the best solution, be it
hardware or software. 

Regards,
Jayant
www.trlokom.com






From owner-ipsec@lists.tislabs.com  Thu Jan 30 00:47:33 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA09320
	for <ipsec-archive@lists.ietf.org>; Thu, 30 Jan 2003 00:47:32 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id WAA15580
	Wed, 29 Jan 2003 22:55:32 -0500 (EST)
From: "Jayant Shukla" <jshukla@trlokom.com>
To: "'Mukesh Gupta'" <mukesh.gupta@nokia.com>, <jrifsd4gfl@soleil.ocn.ne.jp>
Cc: <ipsec@lists.tislabs.com>
Subject: RE: new to VPN
Date: Wed, 29 Jan 2003 19:56:11 -0800
Message-ID: <00a501c2c813$871aa780$5803a8c0@trlhpc1>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.2627
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
In-Reply-To: <3E380CDD.DE18C07D@nokia.com>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit



> -----Original Message-----
> From: owner-ipsec@lists.tislabs.com
[mailto:owner-ipsec@lists.tislabs.com]
> On Behalf Of Mukesh Gupta
> > Is it true that the hardware VPN solutions are always better,
> > trusted and have higher secure level than software VPN?
> 

On the contrary, I think software solutions are becoming more secure
than the hardware solutions. If you look at technologies related to
intrusion prevention or known/unknown Trojan detection, the software
solutions have a much better edge. 

> I don't think so. AFAIK, hardware VPN solution would just be faster
than
> software VPN.
> 

Fastest VPNs today are hardware solutions, but software VPNs are not too
bad. I run a VPN that can sustain almost 24 Mb/s using 1GHz PIII laptop.
For a customer we are building a VPN (without any custom hardware) to
achieve 1 Gb/s using load balancing. 

In the end, whatever suits your requirements is the best solution, be it
hardware or software. 

Regards,
Jayant
www.trlokom.com 

Fee VPN & Firewall:  http://www.tucows.com/preview/295100.html 






From owner-ipsec@lists.tislabs.com  Thu Jan 30 14:09:44 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA07404
	for <ipsec-archive@lists.ietf.org>; Thu, 30 Jan 2003 14:09:43 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id LAA17077
	Thu, 30 Jan 2003 11:49:28 -0500 (EST)
Mime-Version: 1.0
X-Sender: phoffvpnc@mail.vpnc.org
Message-Id: <p05210206ba5f02f0c3a5@[165.227.249.18]>
X-Habeas-SWE-1: winter into spring
X-Habeas-SWE-2: brightly anticipated
X-Habeas-SWE-3: like Habeas SWE (tm)
X-Habeas-SWE-4: Copyright 2002 Habeas (tm)
X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this
X-Habeas-SWE-6: email in exchange for a license for this Habeas
X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant
X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this
X-Habeas-SWE-9: mark in spam to <http://www.habeas.com/report>.
Date: Thu, 30 Jan 2003 08:50:57 -0800
To: ipsec@lists.tislabs.com
From: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
Subject: Ciphersuites for IKEv2, revised
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Greetings again. Based on feedback from the list and offline, here is
revised wording for the ciphersuites in IKEv2. The changes are:

- clarified where the various Diffie-Hellman groups are defined

- changed the split between what is reserved for IANA and what is
   for private use

- added a paragraph to the end of the addition to 5.3.1 to specify
   that users should be able to use future and private-use Suite-IDs

- added a note in Appendix B and a new reference

The following text be should be used in section 5.3.1:

=====

For Suite-ID, the following values are defined:

Suite-ID  Meaning
--------  -------
0         Covers: IKE
           168-bit 3DES CBC encryption
           Diffie-Hellman group 2 (1024-bit), defined in Appendix B.2
           HMAC-SHA1 integrity and prf

1         Covers: ESP
           3DES encryption with three keys
           HMAC-SHA1 integrity

2         Covers: AH
           HMAC-SHA1 integrity

3         Covers: IKE
           168-bit 3DES CBC encryption
           Diffie-Hellman group 5 (1536-bit), defined in Appendix B.5
           HMAC-SHA1 integrity and prf

4         Covers: IKE
           AES encryption in CBC mode with 128-bit keys
           Diffie-Hellman group 5 (1536-bit), defined in Appendix B.5
           HMAC-SHA1 integrity and prf

5         Covers: IKE
           AES encryption in CBC mode with 128-bit keys
           Diffie-Hellman group 14 (2048-bit), defined in [ADDGROUP]
           HMAC-SHA1 integrity and prf

6         Covers: ESP
           AES encryption in CBC mode with 128-bit keys
           HMAC-SHA1 integrity

7         Covers: IKE
           AES encryption in CTR mode with 128-bit keys
           Diffie-Hellman group 14 (2048-bit), defined in [ADDGROUP]
           AES-CBC MAC + XCBC integrity and prf

8         Covers: ESP
           AES encryption in CTR mode with 128-bit keys
           AES-CBC MAC + XCBC integrity

Values 9-32000 are reserved to IANA. Values 32001-65533 are for private
use among mutually consenting parties. Additional Suite-ID values will
be assigned by IANA based on consultation with the IESG.

All implementations of IKEv2 MUST be able to negotiate Suite-ID 0 and
Suite-ID 1. Implementations SHOULD be able to negotiate Suite-IDs 3, 4,
5, and 6.

The must-be-implemented ciphersuites (0 and 1) are based on
currently-deployed hardware that meets the security requirements of the
vast majority of current IPsec users, and should be useful for at least
a decade according to cryptographic estimates from NIST for business
user scenarios. The should-be-implemented ciphersuites (3, 4, 5, and 6)
are based on expectations of where the security industry is moving
(namely, to the AES encryption suite) and where more security-conscious
users are moving as current key lengths become more attackable due to
the steady lowering of cost to mount brute-force attacks.

An important lesson learned from IKEv1 is that no system should only
implement the mandatory algorithms and expect them to be the best choice
for all customers. For example, at the time that this document was being
written, many IKEv1 implementers are starting to migrate to AES in CBC
mode for VPN applications. Many IPsec systems based on IKEv2 will
implement AES, longer Diffie-Hellman keys, and additional hash
algorithms, and some IPsec customers already require these algorithms in
addition to the mandatory ones listed above.

It is likely that IANA will add additional Suite-IDs in the future, and
some security-conscious users will want to use private-use Suite-IDs.
All implementations SHOULD be able to let users set policies that use
Suite-IDs from the currently-unassigned IANA values and from the private
use values. Of course, there is no standard way to handle all possible
new algorithms, Diffie-Hellman groups, and combinations thereof. However,
many IPsec users will want to base security policies on Suite-IDs that
are not covered in this document and SHOULD be able to do so.

=====

Add the following to just before Appendix B.1:

Additional Diffie-Hellman groups have been defined in [ADDGROUP]. Future
IANA-registered and private use Suite-IDs MAY use Diffie-Hellman groups
that have prime values and generators that are different than those in
this document or in [ADDGROUP].

Add to the non-normative references:

[ADDGROUP] Kivinen, T. et. al., "More MODP Diffie-Hellman groups for 
IKE", draft-ietf-ipsec-ike-modp-groups-05.txt, in RFC Editor's queue 
for Proposed Standard.

--Paul Hoffman, Director
--VPN Consortium


From owner-ipsec@lists.tislabs.com  Thu Jan 30 15:13:48 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA09231
	for <ipsec-archive@lists.ietf.org>; Thu, 30 Jan 2003 15:13:47 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id MAA17327
	Thu, 30 Jan 2003 12:54:42 -0500 (EST)
Message-Id: <200301301757.h0UHvBww031090@marajade.sandelman.ottawa.on.ca>
To: ipsec@lists.tislabs.com
Subject: Re: new to VPN 
In-reply-to: Your message of "Wed, 29 Jan 2003 19:56:11 PST."
             <00a501c2c813$871aa780$5803a8c0@trlhpc1> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Thu, 30 Jan 2003 12:57:10 -0500
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "Jayant" == Jayant Shukla <jshukla@trlokom.com> writes:
    Jayant> [mailto:owner-ipsec@lists.tislabs.com]
    >> On Behalf Of Mukesh Gupta > Is it true that the hardware VPN solutions
    >> are always better, > trusted and have higher secure level than
    >> software VPN?
    >> 

    Jayant> On the contrary, I think software solutions are becoming more
    Jayant> secure than the hardware solutions. If you look at technologies
    Jayant> related to intrusion prevention or known/unknown Trojan
    Jayant> detection, the software solutions have a much better edge.

    >> I don't think so. AFAIK, hardware VPN solution would just be faster
    Jayant> than
    >> software VPN.
    >> 

    Jayant> Fastest VPNs today are hardware solutions, but software VPNs are
    Jayant> not too bad. I run a VPN that can sustain almost 24 Mb/s using
    Jayant> 1GHz PIII laptop.  For a customer we are building a VPN (without
    Jayant> any custom hardware) to achieve 1 Gb/s using load balancing.

  There are two reasons to go to hardware:
	1) speed.	Money is no object. Speed is.

	2) power.	Money (heat!) is the object. Speed isn't.  

  There are a growing number of VPN capable boxes that employ management
processors of around 100Mhz, (not ix86) with rather limited power
budgets. They are using comodity cipher chips with power budgets that 
rival that of the fan on the GHz PIII.  It is these devices where we will see
the most impact of IPsec technology - they are often embedded network
elements of various sorts.

  But, I agree with Jayant - for anyone for whom money is an object, but
power consumption is not (anyone not living in California :-]), but moderate
speed is also, a PIII is very hard to beat. 

]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [


  
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBPjlndIqHRg3pndX9AQE0JgQAucHJe1+/krC6ZPQU88SMpeFD5uAyMeSt
sDzP78mZWNPGgIaQr/WrS4PW/wjLAVy04AIpEUd02EmRypWlhE7U0ah29/sQp9FM
pjx/wESP4WYRhtWyqH1Y4e821quWeIJX7F3u9ny+bG53bXFO45Q+Gy3jbNlFyET1
+yyd+K2aBSY=
=PF9x
-----END PGP SIGNATURE-----


From owner-ipsec@lists.tislabs.com  Thu Jan 30 15:51:03 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA10141
	for <ipsec-archive@lists.ietf.org>; Thu, 30 Jan 2003 15:51:03 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA17487
	Thu, 30 Jan 2003 14:00:26 -0500 (EST)
Mime-Version: 1.0
X-Sender: phoffvpnc@mail.vpnc.org
Message-Id: <p05210210ba5f254ad179@[165.227.249.18]>
In-Reply-To: <kjd6mepjny.fsf@romeo.rtfm.com>
References: <p05210206ba5f02f0c3a5@[165.227.249.18]>
 <kjd6mepjny.fsf@romeo.rtfm.com>
X-Habeas-SWE-1: winter into spring
X-Habeas-SWE-2: brightly anticipated
X-Habeas-SWE-3: like Habeas SWE (tm)
X-Habeas-SWE-4: Copyright 2002 Habeas (tm)
X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this
X-Habeas-SWE-6: email in exchange for a license for this Habeas
X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant
X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this
X-Habeas-SWE-9: mark in spam to <http://www.habeas.com/report>.
Date: Thu, 30 Jan 2003 11:01:42 -0800
To: ipsec@lists.tislabs.com
From: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
Subject: Re: Ciphersuites for IKEv2, revised
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 10:38 AM -0800 1/30/03, Eric Rescorla wrote:
>So, you're saying that the cipher suites for IKE
>encryption share the same namespace with those for
>ESP/AH?

Correct. There is only one class of Suite-ID specified in the IKEv2 -04 draft.

>That seems kind of confusing.

Maybe. But I think that having three different flavors of Suite-ID 
(one for IKE, one for ESP, one for AH) will be just as confusing to 
typical users. I assume that any GUI will have an IKE list that only 
contains Suite-IDs that pertain to IKE, and a ESP list that only 
contains Suite-IDs that pertain to ESP, and (if they even do AH) an 
AH list that only contains Suite-IDs that pertain to AH.

What you are asking for would cause us to have to change the proposal 
structure given in section 5.3.1 to split out "area of coverage" from 
the Suite-ID. Is that really worth it?

--Paul Hoffman, Director
--VPN Consortium


From owner-ipsec@lists.tislabs.com  Thu Jan 30 15:51:26 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA10158
	for <ipsec-archive@lists.ietf.org>; Thu, 30 Jan 2003 15:51:26 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA17413
	Thu, 30 Jan 2003 13:32:05 -0500 (EST)
To: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
Cc: ipsec@lists.tislabs.com
Subject: Re: Ciphersuites for IKEv2, revised
References: <p05210206ba5f02f0c3a5@[165.227.249.18]>
Reply-To: EKR <ekr@rtfm.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: 30 Jan 2003 10:38:41 -0800
In-Reply-To: <p05210206ba5f02f0c3a5@[165.227.249.18]>
Message-ID: <kjd6mepjny.fsf@romeo.rtfm.com>
Lines: 13
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Paul,

So, you're saying that the cipher suites for IKE
encryption share the same namespace with those for
ESP/AH?

That seems kind of confusing.

-Ekr

-- 
[Eric Rescorla                                   ekr@rtfm.com]
                http://www.rtfm.com/


From owner-ipsec@lists.tislabs.com  Thu Jan 30 17:30:15 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA12165
	for <ipsec-archive@lists.ietf.org>; Thu, 30 Jan 2003 17:30:14 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id PAA17694
	Thu, 30 Jan 2003 15:18:17 -0500 (EST)
To: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
Cc: ipsec@lists.tislabs.com
Subject: Re: Ciphersuites for IKEv2, revised
References: <p05210206ba5f02f0c3a5@[165.227.249.18]>
	<kjd6mepjny.fsf@romeo.rtfm.com>
	<p05210210ba5f254ad179@[165.227.249.18]>
Reply-To: EKR <ekr@rtfm.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: 30 Jan 2003 12:25:52 -0800
In-Reply-To: <p05210210ba5f254ad179@[165.227.249.18]>
Message-ID: <kj65s6pepb.fsf@romeo.rtfm.com>
Lines: 27
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Paul Hoffman / VPNC <paul.hoffman@vpnc.org> writes:

> At 10:38 AM -0800 1/30/03, Eric Rescorla wrote:
> >So, you're saying that the cipher suites for IKE
> >encryption share the same namespace with those for
> >ESP/AH?
> 
> Correct. There is only one class of Suite-ID specified in the IKEv2 -04 draft.
> 
> >That seems kind of confusing.
> 
> Maybe. But I think that having three different flavors of Suite-ID
> (one for IKE, one for ESP, one for AH) will be just as confusing to
> typical users.
Well, there are three different flavors of suite, regardless
of how the ID space is partitioned. I'm just saying that
the two structures should match.

> What you are asking for would cause us to have to change the proposal
> structure given in section 5.3.1 to split out "area of coverage" from
> the Suite-ID.
I want three tables and three separate sections.

> Is that really worth it?
I think so. 

-Ekr


From owner-ipsec@lists.tislabs.com  Thu Jan 30 17:30:41 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA12205
	for <ipsec-archive@lists.ietf.org>; Thu, 30 Jan 2003 17:30:40 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id PAA17752
	Thu, 30 Jan 2003 15:37:27 -0500 (EST)
Message-Id: <5.2.0.9.2.20030130153806.02e0a578@mail.binhost.com>
X-Sender: housley@mail.binhost.com
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Thu, 30 Jan 2003 15:39:50 -0500
To: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>, ipsec@lists.tislabs.com
From: Russ Housley <housley@vigilsec.com>
Subject: Re: Ciphersuites for IKEv2, revised
In-Reply-To: <p05210206ba5f02f0c3a5@[165.227.249.18]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

I really like way Paul Hoffman has proposed.

One minor nit pick.  In the Appendix B.1 proposed text, we should change 
"prime values and generators" to "generator and prime modulus values"

Russ


At 08:50 AM 1/30/2003 -0800, Paul Hoffman / VPNC wrote:
>Greetings again. Based on feedback from the list and offline, here is
>revised wording for the ciphersuites in IKEv2. The changes are:
>
>- clarified where the various Diffie-Hellman groups are defined
>
>- changed the split between what is reserved for IANA and what is
>   for private use
>
>- added a paragraph to the end of the addition to 5.3.1 to specify
>   that users should be able to use future and private-use Suite-IDs
>
>- added a note in Appendix B and a new reference
>
>The following text be should be used in section 5.3.1:
>
>=====
>
>For Suite-ID, the following values are defined:
>
>Suite-ID  Meaning
>--------  -------
>0         Covers: IKE
>           168-bit 3DES CBC encryption
>           Diffie-Hellman group 2 (1024-bit), defined in Appendix B.2
>           HMAC-SHA1 integrity and prf
>
>1         Covers: ESP
>           3DES encryption with three keys
>           HMAC-SHA1 integrity
>
>2         Covers: AH
>           HMAC-SHA1 integrity
>
>3         Covers: IKE
>           168-bit 3DES CBC encryption
>           Diffie-Hellman group 5 (1536-bit), defined in Appendix B.5
>           HMAC-SHA1 integrity and prf
>
>4         Covers: IKE
>           AES encryption in CBC mode with 128-bit keys
>           Diffie-Hellman group 5 (1536-bit), defined in Appendix B.5
>           HMAC-SHA1 integrity and prf
>
>5         Covers: IKE
>           AES encryption in CBC mode with 128-bit keys
>           Diffie-Hellman group 14 (2048-bit), defined in [ADDGROUP]
>           HMAC-SHA1 integrity and prf
>
>6         Covers: ESP
>           AES encryption in CBC mode with 128-bit keys
>           HMAC-SHA1 integrity
>
>7         Covers: IKE
>           AES encryption in CTR mode with 128-bit keys
>           Diffie-Hellman group 14 (2048-bit), defined in [ADDGROUP]
>           AES-CBC MAC + XCBC integrity and prf
>
>8         Covers: ESP
>           AES encryption in CTR mode with 128-bit keys
>           AES-CBC MAC + XCBC integrity
>
>Values 9-32000 are reserved to IANA. Values 32001-65533 are for private
>use among mutually consenting parties. Additional Suite-ID values will
>be assigned by IANA based on consultation with the IESG.
>
>All implementations of IKEv2 MUST be able to negotiate Suite-ID 0 and
>Suite-ID 1. Implementations SHOULD be able to negotiate Suite-IDs 3, 4,
>5, and 6.
>
>The must-be-implemented ciphersuites (0 and 1) are based on
>currently-deployed hardware that meets the security requirements of the
>vast majority of current IPsec users, and should be useful for at least
>a decade according to cryptographic estimates from NIST for business
>user scenarios. The should-be-implemented ciphersuites (3, 4, 5, and 6)
>are based on expectations of where the security industry is moving
>(namely, to the AES encryption suite) and where more security-conscious
>users are moving as current key lengths become more attackable due to
>the steady lowering of cost to mount brute-force attacks.
>
>An important lesson learned from IKEv1 is that no system should only
>implement the mandatory algorithms and expect them to be the best choice
>for all customers. For example, at the time that this document was being
>written, many IKEv1 implementers are starting to migrate to AES in CBC
>mode for VPN applications. Many IPsec systems based on IKEv2 will
>implement AES, longer Diffie-Hellman keys, and additional hash
>algorithms, and some IPsec customers already require these algorithms in
>addition to the mandatory ones listed above.
>
>It is likely that IANA will add additional Suite-IDs in the future, and
>some security-conscious users will want to use private-use Suite-IDs.
>All implementations SHOULD be able to let users set policies that use
>Suite-IDs from the currently-unassigned IANA values and from the private
>use values. Of course, there is no standard way to handle all possible
>new algorithms, Diffie-Hellman groups, and combinations thereof. However,
>many IPsec users will want to base security policies on Suite-IDs that
>are not covered in this document and SHOULD be able to do so.
>
>=====
>
>Add the following to just before Appendix B.1:
>
>Additional Diffie-Hellman groups have been defined in [ADDGROUP]. Future
>IANA-registered and private use Suite-IDs MAY use Diffie-Hellman groups
>that have prime values and generators that are different than those in
>this document or in [ADDGROUP].
>
>Add to the non-normative references:
>
>[ADDGROUP] Kivinen, T. et. al., "More MODP Diffie-Hellman groups for IKE", 
>draft-ietf-ipsec-ike-modp-groups-05.txt, in RFC Editor's queue for 
>Proposed Standard.
>
>--Paul Hoffman, Director
>--VPN Consortium



From owner-ipsec@lists.tislabs.com  Thu Jan 30 17:40:14 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA12362
	for <ipsec-archive@lists.ietf.org>; Thu, 30 Jan 2003 17:40:13 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id PAA17798
	Thu, 30 Jan 2003 15:57:30 -0500 (EST)
Message-Id: <200301302059.h0UKxYS1003275@marajade.sandelman.ottawa.on.ca>
To: ipsec@lists.tislabs.com
Subject: Re: Ciphersuites for IKEv2, revised 
In-reply-to: Your message of "30 Jan 2003 10:38:41 PST."
             <kjd6mepjny.fsf@romeo.rtfm.com> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Thu, 30 Jan 2003 15:59:33 -0500
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "Eric" == Eric Rescorla <ekr@rtfm.com> writes:
    Eric> Paul,

    Eric> So, you're saying that the cipher suites for IKE encryption share
    Eric> the same namespace with those for ESP/AH?

    Eric> That seems kind of confusing.

  Yeah, maybe.

  People also seem to occasionally argue that X is too slow, and I ask, "but
this is for IKE!" and they say "no, I'm talking ESP.".

  So this is really a question of economies of a single list vs some minor
confusion. The magic value in this case goes into a proposal in the same
place. There is some niceties in having it demux'ed once.

]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBPjmSNIqHRg3pndX9AQGnbgP8C/mUTR2KAmUm+XKYbyCnmD5385o1MYir
fJ/KYvwTTaK+J2ggiIhbm73he4/9Qw7oGLZMIqEiwfZzGKddfIkfhI0962i/74UJ
bw/8gxxYMpOVgcaK1pN9xdchPcvhOtNRhvJhJbiLFz9pHm5kc8a4x5W4Xbsb1emN
V5/FzH+TiNs=
=jtFO
-----END PGP SIGNATURE-----


From owner-ipsec@lists.tislabs.com  Thu Jan 30 17:44:05 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA12408
	for <ipsec-archive@lists.ietf.org>; Thu, 30 Jan 2003 17:44:05 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA17804
	Thu, 30 Jan 2003 16:00:30 -0500 (EST)
Message-Id: <200301302103.h0UL3B6d003374@marajade.sandelman.ottawa.on.ca>
To: ipsec@lists.tislabs.com
Subject: Re: Ciphersuites for IKEv2, revised 
In-reply-to: Your message of "Thu, 30 Jan 2003 11:01:42 PST."
             <p05210210ba5f254ad179@[165.227.249.18]> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Thu, 30 Jan 2003 16:03:11 -0500
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk


>>>>> "VPNC" == VPNC  <Paul> writes:
    >> So, you're saying that the cipher suites for IKE encryption share the
    >> same namespace with those for ESP/AH?

    VPNC> Correct. There is only one class of Suite-ID specified in the IKEv2
    VPNC> -04 draft.

    >> That seems kind of confusing.

    VPNC> Maybe. But I think that having three different flavors of Suite-ID
    VPNC> (one for IKE, one for ESP, one for AH) will be just as confusing to
    VPNC> typical users. I assume that any GUI will have an IKE list that
    VPNC> only contains Suite-IDs that pertain to IKE, and a ESP list that
    VPNC> only contains Suite-IDs that pertain to ESP, and (if they even do
    VPNC> AH) an AH list that only contains Suite-IDs that pertain to AH.

  How about a compromise.
  A single number space, as we have now.

  But, 
       0-8K	for IKE
       8K-16K	for ESP
       16K-24K	for AH
       32K-48K	for private use

  rest is IANA reserved.

]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [




From owner-ipsec@lists.tislabs.com  Thu Jan 30 18:52:32 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA13699
	for <ipsec-archive@lists.ietf.org>; Thu, 30 Jan 2003 18:52:31 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA17950
	Thu, 30 Jan 2003 16:40:20 -0500 (EST)
Message-Id: <200301302142.h0ULgoOF004630@marajade.sandelman.ottawa.on.ca>
To: ipsec@lists.tislabs.com
Subject: Re: Ciphersuites for IKEv2, revised 
In-reply-to: Your message of "30 Jan 2003 12:25:52 PST."
             <kj65s6pepb.fsf@romeo.rtfm.com> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Thu, 30 Jan 2003 16:42:49 -0500
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "Eric" == Eric Rescorla <ekr@rtfm.com> writes:
    >> Maybe. But I think that having three different flavors of Suite-ID
    >> (one for IKE, one for ESP, one for AH) will be just as confusing to
    >> typical users.

    Eric> Well, there are three different flavors of suite, regardless of how
    Eric> the ID space is partitioned. I'm just saying that the two
    Eric> structures should match.

    >> What you are asking for would cause us to have to change the proposal
    >> structure given in section 5.3.1 to split out "area of coverage" from
    >> the Suite-ID.

    Eric> I want three tables and three separate sections.

  So, we have to have three different proposal structures, which are
identical, except that they negotiate the same things for the different uses?

]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBPjmcWIqHRg3pndX9AQEbiAQAuGRjj+N0OhWpzoB0FqWuMFybOVpsLoBb
5YP6qObj5ZczkCECZvFvAwSxYSOURHAkD/nBwWiyxpDZKDwNrwiCn7t8Xks9oUt/
edPQ1A0zDkvTm5sjO+VyW71ujg144ZALUkpuHqkEeyMaGE1KqWYE21kMGbRRlYZL
NZ0fk5mi1Bc=
=VEtO
-----END PGP SIGNATURE-----


From owner-ipsec@lists.tislabs.com  Thu Jan 30 19:11:46 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA14054
	for <ipsec-archive@lists.ietf.org>; Thu, 30 Jan 2003 19:11:45 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id RAA18077
	Thu, 30 Jan 2003 17:39:42 -0500 (EST)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p05111a01ba5eedfaaa16@[128.33.238.190]>
In-Reply-To: <200301291902.h0TJ22n03176@localhost.localdomain>
References: <200301291902.h0TJ22n03176@localhost.localdomain>
Date: Thu, 30 Jan 2003 10:05:19 -0500
To: John Lindal <jafl@trlokom.com>
From: Stephen Kent <kent@bbn.com>
Subject: Re: new to VPN
Cc: <ipsec@lists.tislabs.com>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 11:02 AM -0800 1/29/03, John Lindal wrote:
>  >> Is it true that the hardware VPN solutions are always better,
>>>  trusted and have higher secure level than software VPN?
>>
>>  I don't think so. AFAIK, hardware VPN solution would just be faster than
>>  software VPN.
>
>Custom hardware always has the potential to be faster than software running
>on standard hardware.  However, standard hardware is now so fast that there
>is little reason to bother with custom hardware any longer.  It is possible
>to get approx. 20Mb/sec using 256 bit AES on a 1GHz Pentium 3 processor.
>(AFAIK, most cheap VPN boxes provide only one or at most a few Mb/sec.)
>
>John

If the user of the IPsec technology an individual subscriber then a 
fast PC can do a good job, IF you are willing to devote the processor 
cycles to just encryption. However, this may not always be 
acceptable, e.g., one might want secure communications to take place 
as a background activity with minimal disruption of other tasks one 
is performing on the PC. Additionally, hardware can offer far 
superior security for private keys vs. software, and can offer better 
assurance that data does not bypass IPsec checks.

Of course, if the user for IPsec is an aggregation point such as a 
firewall, then it seems clear that hardware solutions are much faster 
than software on a general purpose processor, and one needs to 
support more than just AES to make a fast IPsec, e.g., there are SA 
establishment costs re DH and RSA, and per-packet lookup for SA 
selection and checking.

Finally, my experience is that hardware is much faster than software 
for these security gateways contexts, not at all consistent with you 
parenthetical comment above.

Steve


From owner-ipsec@lists.tislabs.com  Thu Jan 30 19:16:34 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA14177
	for <ipsec-archive@lists.ietf.org>; Thu, 30 Jan 2003 19:16:33 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id RAA18083
	Thu, 30 Jan 2003 17:41:54 -0500 (EST)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p05111a03ba5ef11c6660@[128.33.238.190]>
In-Reply-To: <00a501c2c813$871aa780$5803a8c0@trlhpc1>
References: <00a501c2c813$871aa780$5803a8c0@trlhpc1>
Date: Thu, 30 Jan 2003 17:42:28 -0500
To: "Jayant Shukla" <jshukla@trlokom.com>
From: Stephen Kent <kent@bbn.com>
Subject: RE: new to VPN
Cc: <ipsec@lists.tislabs.com>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 7:56 PM -0800 1/29/03, Jayant Shukla wrote:
>  > -----Original Message-----
>>  From: owner-ipsec@lists.tislabs.com
>[mailto:owner-ipsec@lists.tislabs.com]
>>  On Behalf Of Mukesh Gupta
>>  > Is it true that the hardware VPN solutions are always better,
>>  > trusted and have higher secure level than software VPN?
>>
>
>On the contrary, I think software solutions are becoming more secure
>than the hardware solutions. If you look at technologies related to
>intrusion prevention or known/unknown Trojan detection, the software
>solutions have a much better edge.

Any software solution executing in a conventional OS context will be 
vulnerable to all of the vulnerabilities that allow exploitation of 
that OS. In contrast, an IPsec implementation operating in a 
constrained environment with a minimal OS, perhaps just a scheduler, 
is less vulnerable in general. Also, if one uses hardware to generate 
keys and if one keeps the keys inside the hardware (consistent with 
FIPS 140-1/2 level 3 design criteria) the keys will be very well 
protected, something that we simply cannot do in software.

Steve


From owner-ipsec@lists.tislabs.com  Thu Jan 30 19:32:41 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA14424
	for <ipsec-archive@lists.ietf.org>; Thu, 30 Jan 2003 19:32:41 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id RAA18118
	Thu, 30 Jan 2003 17:54:53 -0500 (EST)
To: ipsec@lists.tislabs.com
Subject: Moving forward with IKE V2: A proposal for final edits to ikev2-04
From: "Theodore Ts'o" <tytso@mit.edu>
Phone: (781) 391-3464
Message-Id: <E18eNcL-0004sj-00@think.thunk.org>
Date: Thu, 30 Jan 2003 17:57:09 -0500
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk


Charlie Kaufman, the document editor for IKE v2, has been travelling and
out of e-mail contact this past week.  I'm told that he will be back and
(hopefully) responding to e-mail this weekend, but that he will be away
on more travel next week, and will be fully back on-line on February
seven.  This brings us relative uncomfortably close to our deadline of
trying to complete the IKEv2 proposal by February 15th.

The good news is that we believe that we are very close, and that one
last, good, hard push is what's necessary to get us to get over the
finish line.  For example, this past week, it looks like we were had
almost achieved consensus on the matter of the question of Secure Legacy
Authentication, with Derrell Piper (one of the co-authors of
draft-hoffman-sla-00.txt), Charlie Kaufman, Uri Blumenthal, and Steve
Kent all expressing comfort to his proposal, which represents a very
large percentage of the people who have been discussing this issue on
the IPSEC mailing list.  Never have we been so close to consensus on
this issue, which is great!

So in order to come to consensus, we would like to present the following
straw-man proposal, as a miniature "last call" for the working group.  In
Atlanta, we received very clear input from the working group that
support for Legacy Authentication is very, very important for IKE v2.
As we have seen with IKE v1, there are many ways of accomplishing this,
and not all people will agree on what might be the "best" method.  Even
if we continuing arguing for the next two years (and I don't think the
IESG will give us that long), it is extremely doubtful that we will ever
come to unanimity on this quesiton.

For this reason, what we propose is that we pick an approach, and be
done with it.  The question then before the working group is whether or
not there is another way to accomplish the task, but whether there are
either (a) fatal flaws in the proposal presented, (b) clear,
overwhelming advantages to do things a different way (and no handwaving;
it must be a complete proposal), or (c) minor enhancements that all can
agree are worthwhile to include in the protocol and worthwhile to
implement.  Otherwise we will be arguing until the cows come home
(and/or when the IESG shuts us down, or the mob from problem-statement
mailing list show up with the pitchforks, tar, and feathers :-).

So without further ado, please consider and comment the following
proposal as final editing directions to ikev2-04.txt:

-----------------------------------

1)  Use as the basis of secure legacy authentication the proposal made
    by Derrell Pipper on January 23rd, 2003:

       HDR, SAi1, KEi, Ni           -->
                                    <--    HDR, SAr1, KEr, Nr
       HDR*, IDi, [CERTREQ], [IDr,]
            SAi2, TSi, TSr          -->
                                    <--    HDR*, IDr, [CERT,] AUTH, EAP(n)
       HDR*, [AUTH,] EAP(n)         -->
                                    <--    HDR*, EAP(status) [, SAr2, TSi, TSr ]

For those EAP mechanisms which generate a shared key, the AUTH payload
MUST be sent from the client to the server when it has sufficient
information to generate it.  (as proposed by Charlie)

If there exists EAP mechanisms where the a new session key may
negotiated during the course of the EAP exchange, the client MUST send
another AUTH payload if/when a new session key is generated.   (as
proposed by Darrell --- this probably isn't a problem in practice)

Hugo has suggested that for EAP mechanisms that generate a shared key,
the responder should send an AUTH message based on the shared key in the
message containing the EAP(success) message, as backup in case for some
reason the CERT based exchange might have gotten spoofed somehow.  This
seems to me to be a case of gilding the lilly, and is probably not be
worth the extra complexity, but I encourage comment on the working group
about whether or not this additional twist should be included.

Hugo has a few other concerns about this proposal; none of them seem
fatal, but I encourage working group members to look over his message of
January 25th, and to please speak up ASAP if you believe these concerns
need to be addressed --- and if so, how.  

-----------------------------------

3) Change in signature processing.  In a discussion between Hugo and
    Charlie, on January 22-24th there was agreement to change section
    4.15 to make IKEv2 more robust to future changes to the protocol:

   4.15 Authentication of the IKE-SA

   The peers are authenticated by having each sign (or MAC using a
   shared secret as the key) a block of data. For the responder, the
   octets to be signed start with the first octet of the first SPI in
   the header of the second message and end with the last octet of the 
   last payload in the second message.  Appended to this (for purposes
   of computing the signature) [are] the initiator's nonce Ni (just the
   value, not the payload containing it), [and a value MIDr computed as
   prf(SK_ar,IDr). Note that neither the nonce Ni or value MIDi are
   transmitted.]  Similarly, the initiator
   signs the first message, starting with the first octet of the first
   SPI in the header and ending with the last octet of the last payload.
   Appended to this (for purposes of computing the signature) [are] the
   responder's nonce Nr, [and a value MIDi computed as prf(SK_ai,IDi)].

... where IDi and IDr are the entire Idx payload.

---------------------------------------------

3) For the Cipher Suite issue, that we use Paul Hoffman's proposed set
   of Cipher suites.  There is less consensus on this issue on the
   mailing list, but most people don't seem to have strong feelings,
   so we believe we just pick something:

Suite-ID  Meaning
--------  -------
0         Covers: IKE				(MUST)
          168-bit 3DES CBC encryption
          Diffie-Hellman group 2 (1024-bit)
          HMAC-SHA1 integrity and prf

1         Covers: ESP				(MUST)
          3DES encryption with three keys
          HMAC-SHA1 integrity

2         Covers: AH				(SHOULD)
          HMAC-SHA1 integrity

3         Covers: IKE				(MUST)
          168-bit 3DES CBC encryption
          Diffie-Hellman group 5 (1536-bit)
          HMAC-SHA1 integrity and prf

4         Covers: IKE				(MUST)
          AES encryption in CBC mode with 128-bit keys
          Diffie-Hellman group 5 (1536-bit)
          HMAC-SHA1 integrity and prf

5         Covers: IKE				(MUST)
          AES encryption in CBC mode with 128-bit keys
          Diffie-Hellman group 14 (2048-bit)
          HMAC-SHA1 integrity and prf

6         Covers: ESP				(MUST)
          AES encryption in CBC mode with 128-bit keys
          HMAC-SHA1 integrity

7         Covers: IKE				(SHOULD)
          AES encryption in CTR mode with 128-bit keys
          Diffie-Hellman group 14 (2048-bit)
          AES-CBC MAC + XCBC integrity and prf

8         Covers: ESP				(SHOULD)
          AES encryption in CTR mode with 128-bit keys
          AES-CBC MAC + XCBC integrity

I have adjusted the MUST/SHOULD from Paul's message since I believe that
for implementations that will be moving to implement IKEv2, it is
reasonable to require the implementation of AES, as it as so many
advantages over 3DES.  If it weren't for the existing chips that only
support AES-CBC, I'd argue for making AES-CTR mandatory instead, but
given where we are, this set of MUST/SHOULD seems to me to be the most
reasonable set of ciphers.

Question: Should AES Counter mode be made mandatory to ensure
compatibility in the future?  Existing chips only support AES-CBC, so
this might make things harder for people as they transition to IKEV2.  On
the other hand, by the time we see start seeing IKEv2 products, it might
be reasonable to require the presence of AES-CTR support.

-----------------------------------

(SEMI-)CLOSED ISSUES
=====================

The following issues have been burbling on the list, although in the
opinion of the IPSEC Working group chairs, there isn't consensus in the
IPSEC working group to act on them.

If you feel otherwise, please speak now.

A)  Revised identity 
--------------------

Paul Hoffman has a proposal, draft-ietf-ipsec-revised-identity-00.txt,
which radically changes how identities are handled.   Specifically, it
would eliminate the ID payload with the following types:

      ID_IPV4_ADDR                        1
      ID_FQDN                             2
      ID_RFC822_ADDR                      3
      ID_IPV6_ADDR                        5
      ID_DER_ASN1_DN                      9
      ID_DER_ASN1_GN                      10
      ID_KEY_ID                           11

et.al, and replaces it with a FullID payload with the following types:

	1  PKIX certificate
	2  Certificate bundle
	3  Hash-and-URL of PKIX certificate
	4  URL to a PKIX certificate bundle
	5  PKIX keyIdentifier
	6  IDForSharedSecret

This would be fundamental change in the management and administraton of
IPSEC and IKE, so is not something to adopt lightly, and without a clear
consensus of the working group.  This was discussed in two threads on
the IPSEC mailing list: one starting on November 5th (subject Adding
revised identities to IKEv2), and one starting on December 8th (subject:
Summary of revised identity changes).  People who spoke in favor on the
mailing list included Francis Dupont and Bill Sommerfeld, with qualified
support from Michael Richardson (if support for bare keys is added) and
Tero Kivinen (who is concerned about the complexity of the proposal).

This proposal was discussed in Atlanta, but Charlie, Barbara, and Ted
were left with the impression that there was not consensus among those
who met to discuss legacy authentication after the IPSEC wg meeting to
pursue adoption of Paul's proposed change.  Paul believes otherwise.
Since it is the job of working group chairs to determine consensus, we
(Barbara and Ted) hereby ask that those who believe we should pursue the
revised identity proposal to please speak up.

It should be noted that there are some intermediate positions beyond
what is currently in draft-ietf-ipsec-ikev2-04.txt and the
revised-identies draft.  For example, we could add the Hash-and-URL type
to the Certificate payload, if the goal is shrink the size of IKE
messages (with the tradeoff of increasing complexity in IKE
implementations).   We could also add a CERT hash type to the ID
payload, without nuking the traditional FQDN or IPv4/6 addresses
identity mechanisms (although again, by adding new types, we would be
increasing the complexity of the specification and implementations).

Due the relatively small number of people who have spoken in favor of
this proposal or its less-radical alternates, the default choice for
IKEv2 has to be what is currently in ikev2-04.  So those who believe we
should make this change (or those who strongly believe we should not)
are requested to speak up now, or forever hold your peace....


B) DHCP-based vs. MODECFG style remote access configuration
-----------------------------------------------------------

Currently, draft-ietf-ipsec-ikev2-04.txt handles remote access via a
Configuration payload with defined attributes.  An alternate mechanism
involves using tunneled DHCP requests.  The latter approach is about to
be published as an RFC by the IPSRA working group.  Proponents of this
method argue that it is more powerful than modecfg (because of the
extensibility and large number of options already specified for DHCP;
for example, being able to specify DNS, time, print, or WINS servers,
and so on.)  It is also argued that it requires less code on the
server/firewall, since an existing DHCP server can be used.

Proponents of the modecfg approach argue that many implementation
already have support for modecfg, and that setting up sort-lived
specialized tunnels to allow the DHCP packets to flow through the
gateway is kludgy, and requires multiple special case entries into
packet forwarding tables.  Modecfg proponents also argue that it is also
possible to transform modecfg requests into DHCP requests, so there are
implementation choices that do not require reimplementation of the
DHCP's address assignment function.  They also point out that it
certainly is possible --- and in some ways easier --- to obtain the
time, print, WINS server information by using DHCP (via the DHCPINFORM
request) after the IPSEC tunnel is setup and the client address is
assigned.

Either approach seems to be workable.  It is certainly true that most of
the people in Atlanta were implementors who were already familiar with
modecfg, representing a large implementation community.  That being
said, there is also some number of working group members that are in
favor of an approach similar to draft-ietf-ipsec-dhcp-13, including Van
Aken Dirk, Michael Richardson, and Scott G. Kelley.   One way or
another, however we need to make a choice and move forward.

Given that we have a fully specified solution in the ikev2-04 draft, and
it would seem that while there is a sizeable minority in favor of the
ipsec-dhcp-13 approach, the majority are comfortable with the modecfg
based approach.  So at this point, we, as working group chairs, judge
that the consensus is with the current approach.

If there are those who feel otherwise, or who see fatal problems with
the current approach, please speak now.

					Ted and Barabara
					IPSEC wg chairs


From owner-ipsec@lists.tislabs.com  Thu Jan 30 20:17:43 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA15672
	for <ipsec-archive@lists.ietf.org>; Thu, 30 Jan 2003 20:17:42 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id SAA18249
	Thu, 30 Jan 2003 18:31:22 -0500 (EST)
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Cc: ipsec@lists.tislabs.com
Subject: Re: Ciphersuites for IKEv2, revised
References: <200301302142.h0ULgoOF004630@marajade.sandelman.ottawa.on.ca>
Reply-To: EKR <ekr@rtfm.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: 30 Jan 2003 15:38:44 -0800
In-Reply-To: <200301302142.h0ULgoOF004630@marajade.sandelman.ottawa.on.ca>
Message-ID: <kjznpinr7f.fsf@romeo.rtfm.com>
Lines: 15
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Michael Richardson <mcr@sandelman.ottawa.on.ca> writes:
>   So, we have to have three different proposal structures, which are
> identical, except that they negotiate the same things for the different uses?
My bad. I'd forgotten that "proposal structure" was a technical term.

I'd prefer to see the proposal structure explicitly modified to
represent the fact that there are three different things
being negotiated.

-Ekr


-- 
[Eric Rescorla                                   ekr@rtfm.com]
                http://www.rtfm.com/


From owner-ipsec@lists.tislabs.com  Thu Jan 30 21:24:16 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA16442
	for <ipsec-archive@lists.ietf.org>; Thu, 30 Jan 2003 21:24:15 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id TAA18517
	Thu, 30 Jan 2003 19:48:34 -0500 (EST)
Message-Id: <200301310051.h0V0pRjt016945@thunk.east.sun.com>
From: Bill Sommerfeld <sommerfeld@east.sun.com>
To: ipsec@lists.tislabs.com
Subject: Re: Modefg considered harmful 
In-Reply-To: Your message of "Thu, 30 Jan 2003 15:09:13 PST."
             <Pine.LNX.4.44.0301301458430.30276-100000@internaut.com> 
Reply-to: sommerfeld@east.sun.com
Date: Thu, 30 Jan 2003 19:51:27 -0500
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

"what bernard said".  

I see modecfg as reinventing a square wheel.

DHCP is sufficient to solve this problem.  

					- Bill






From owner-ipsec@lists.tislabs.com  Thu Jan 30 21:24:16 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA16441
	for <ipsec-archive@lists.ietf.org>; Thu, 30 Jan 2003 21:24:15 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id TAA18442
	Thu, 30 Jan 2003 19:18:01 -0500 (EST)
Date: Thu, 30 Jan 2003 15:09:13 -0800 (PST)
From: Bernard Aboba <aboba@internaut.com>
To: ipsec@lists.tislabs.com
Subject: Modefg considered harmful
Message-ID: <Pine.LNX.4.44.0301301458430.30276-100000@internaut.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

OK, I'll speak up.

One of the major requirements for IPSRA in choosing DHCP-based
configuration was so that we could move towards a single configuration
model for both real and virtual interfaces -- and one which supported the
security features that have been under development over the last few years
-- such as RFC 3118 and was compatible with both IPv4 and IPv6.

Among other things, Modecfg does not satisfy those requirements,
as outlined in RFC 3456. In particular, were Modecfg to be extended to
IPv6, it would constitute an alternative to RS/RA, complicating the IPv6
architecture.

In addition, Modecfg is incompatible with DHCP security as
described in RFC 3118, so that contrary to your statements below, it is
*not* easy to integrate it correctly with DHCP.

There are lots of other reasons why Modecfg is a bad idea -- and why the
IPSRA WG chose not to select it. In fact, there are so many that an entire
appendix in RFC 3456 had to be devoted to listing them all (and I left out
quite a few). Here is the text:

======================================================================
Appendix - IKECFG evaluation

   Alternatives to DHCPv4, such as ISAKMP CFG, described in [13], do not
   meet the basic requirements described in [21], nor do they provide
   the additional capabilities of DHCPv4.

   Basic configuration
         While ISAKMP CFG can provide for IP address assignment as well
         as configuration of a few additional parameters such as the DNS
         server and WINS server addresses, the rich configuration
         facilities of DHCPv4 are not supported.  Past experience with
         similar configuration mechanisms within PPP IPCP [11] has
         taught us that it is not viable merely to support minimal
         configuration.  Eventually, either much of the functionality
         embodied in the DHCPv4 options [4] is duplicated or support for
         DHCPINFORM [3] will be required.

   Address management integration
         Since IKECFG is not integrated with existing IP address
         management facilities, it is difficult to integrate it with
         policy management services that may be dependent on the user to
         IP address binding.

   Address pool management
         IKECFG does not provide a mechanism for the remote host to
         indicate a preference for a particular address pool.  This
         makes it difficult to support address pool management.

   Reconfiguration
         IKECFG does not support the concept of configuration leases or
         reconfiguration.

   Fail-over support
         Since IKECFG creates a separate pool of address state, it
         complicates the provisioning of network utility-class
         reliability, both in the IP address management system and in
         the security gateways themselves.

   Security and simplicity
         As past history with PPP IPCP demonstrates, once it is decided
         to provide non-integrated address management and configuration
         facilities within IKE, it will be difficult to limit the
         duplication of effort to address assignment.  Instead, it will
         be tempting to also duplicate the configuration, authentication
         and fail-over facilities of DHCPv4.  This duplication will
         greatly increase the scope of work, eventually compromising the
         security of IKE.

   Authentication
         While IKECFG can support mutual authentication of the IPsec
         tunnel endpoints, it is difficult to integrate IKECFG with
         DHCPv4 authentication [5].  This is because the security
         gateway will not typically have access to the client
         credentials necessary to issue an DHCPv4 authentication option
         on the client's behalf.

   As a result, security gateways implementing IKECFG typically request
   allocation of an IP address on their own behalf, and then assign this
   to the client via IKECFG.  Since IKECFG does not support the concept
   of an address lease, the security gateway will need to do the renewal
   itself.  This complicates the renewal process.

   Since RFC 2131 [3] assumes that a DHCPREQUEST will not contain a
   filled in giaddr field when generated during RENEWING state, the
   DHCPACK will be sent directly to the client, which will not be
   expecting it.  As a result, it is either necessary for the security
   gateway to add special code to avoid forwarding such packets, or to
   wait until REBINDING state.  Since [3] does not specify that the
   giaddr field cannot be filled in when in the REBINDING state, the
   security gateway may put its own address in the giaddr field when in
   REBINDING state, thereby ensuring that it can receive the renewal
   response without treating it as a special case.
======================================================================
B) DHCP-based vs. MODECFG style remote access configuration
-----------------------------------------------------------

Currently, draft-ietf-ipsec-ikev2-04.txt handles remote access via a
Configuration payload with defined attributes.  An alternate mechanism
involves using tunneled DHCP requests.  The latter approach is about to be
published as an RFC by the IPSRA working group.  Proponents of this method
argue that it is more powerful than modecfg (because of the extensibility
and large number of options already specified for DHCP; for example, being
able to specify DNS, time, print, or WINS servers, and so on.)  It is also
argued that it requires less code on the server/firewall, since an
existing DHCP server can be used.

Proponents of the modecfg approach argue that many implementation already
have support for modecfg, and that setting up sort-lived specialized
tunnels to allow the DHCP packets to flow through the gateway is kludgy,
and requires multiple special case entries into packet forwarding tables.
Modecfg proponents also argue that it is also possible to transform
modecfg requests into DHCP requests, so there are implementation choices
that do not require reimplementation of the DHCP's address assignment
function.  They also point out that it certainly is possible --- and in
some ways easier --- to obtain the time, print, WINS server information by
using DHCP (via the DHCPINFORM
request) after the IPSEC tunnel is setup and the client address is
assigned.

Either approach seems to be workable.  It is certainly true that most of
the people in Atlanta were implementors who were already familiar with
modecfg, representing a large implementation community.  That being said,
there is also some number of working group members that are in favor of an
approach similar to draft-ietf-ipsec-dhcp-13, including Van
Aken Dirk, Michael Richardson, and Scott G. Kelley.   One way or
another, however we need to make a choice and move forward.

Given that we have a fully specified solution in the ikev2-04 draft, and
it would seem that while there is a sizeable minority in favor of the
ipsec-dhcp-13 approach, the majority are comfortable with the modecfg
based approach.  So at this point, we, as working group chairs, judge that
the consensus is with the current approach.

If there are those who feel otherwise, or who see fatal problems with the
current approach, please speak now.

					Ted and Barabara
					IPSEC wg chairs



From owner-ipsec@lists.tislabs.com  Thu Jan 30 21:35:53 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA16618
	for <ipsec-archive@lists.ietf.org>; Thu, 30 Jan 2003 21:35:52 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id TAA18555
	Thu, 30 Jan 2003 19:58:43 -0500 (EST)
Message-Id: <200301310100.h0V10gUL011854@marajade.sandelman.ottawa.on.ca>
To: ipsec@lists.tislabs.com
Subject: Re: Modefg considered harmful 
In-reply-to: Your message of "Thu, 30 Jan 2003 15:09:13 PST."
             <Pine.LNX.4.44.0301301458430.30276-100000@internaut.com> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Thu, 30 Jan 2003 20:00:41 -0500
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "Bernard" == Bernard Aboba <aboba@internaut.com> writes:
    Bernard> OK, I'll speak up.

    Bernard> One of the major requirements for IPSRA in choosing DHCP-based
    Bernard> configuration was so that we could move towards a single
    Bernard> configuration model for both real and virtual interfaces -- and

  Bernard, I support your reasoning for using DHCP.
  (I'd rather that we used DHCPv6 rather than RS/RA. Since DHCP is a lot
easier to secure and extend than RS/RA. But that is a different argument)

  I still do not understand why creating a ephemeral IPsec SA to carry the
DHCP traffic makes sense. I don't see that it is any easier for
bump-in-the-stack implementations, nor do I see it easier for in-stack
implementations. 

]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBPjnKuIqHRg3pndX9AQEGywP/dRrtuNSBHGPVgiBFLYhSA1asUiFQYjZW
xGu+b/+48x/t0HwhxthBInXiqT1qWwHXf9TxuxK1RPEdpF4+A/bayl7W+bB+UH8q
4q12R+yQkVLvxprJU8VWRxc+Wduzphw9XukDj1gZrIg7MujAIe/YMArJP4LzH8b5
Sk1+sVLVoNE=
=rha4
-----END PGP SIGNATURE-----


From owner-ipsec@lists.tislabs.com  Thu Jan 30 22:19:00 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA17089
	for <ipsec-archive@lists.ietf.org>; Thu, 30 Jan 2003 22:18:59 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id UAA18716
	Thu, 30 Jan 2003 20:29:20 -0500 (EST)
Message-Id: <4.3.2.7.2.20030130170851.04908778@mira-sjcm-4.cisco.com>
X-Sender: cmadson@mira-sjcm-4.cisco.com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.2
Date: Thu, 30 Jan 2003 17:31:31 -0800
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
From: Cheryl Madson <cmadson@cisco.com>
Subject: Re: Modefg considered harmful 
Cc: ipsec@lists.tislabs.com
In-Reply-To: <200301310100.h0V10gUL011854@marajade.sandelman.ottawa.on.c
 a>
References: <Your message of "Thu, 30 Jan 2003 15:09:13 PST." <Pine.LNX.4.44.0301301458430.30276-100000@internaut.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 05:00 PM 1/30/2003, Michael Richardson wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>
>
> >>>>> "Bernard" == Bernard Aboba <aboba@internaut.com> writes:
>     Bernard> OK, I'll speak up.
>
>     Bernard> One of the major requirements for IPSRA in choosing DHCP-based
>     Bernard> configuration was so that we could move towards a single
>     Bernard> configuration model for both real and virtual interfaces -- and
>
>   Bernard, I support your reasoning for using DHCP.
>   (I'd rather that we used DHCPv6 rather than RS/RA. Since DHCP is a lot
>easier to secure and extend than RS/RA. But that is a different argument)
>
>   I still do not understand why creating a ephemeral IPsec SA to carry the
>DHCP traffic makes sense. I don't see that it is any easier for
>bump-in-the-stack implementations, nor do I see it easier for in-stack
>implementations.

I've always contended that for IKEv1 that *both* modecfg and DHCP
had the same underlying issue -- an introduction of a "special" state
into the protocol processing (either somewhat explicitly via "phase 1.5"
or implicitly via the "special phase 2 which if it happens has to happen
before any other phase 2").

In other words, I have always hated both proposals, basically as it
assumed that via some <unspecified> miracle both sides would
correctly figure out that this special phase had to happen and not
jump ahead in the state machine.

IMO we can do better with IKEv2. I don't have much opinion one way
or the other about encoding, but we need to explicitly spell it out in
any state machine. I don't care in terms of encoding one way or the
other, but this lack of determinism has to be addressed.

thx - C


>]       ON HUMILITY: to err is human. To moo, 
>bovine.           |  firewalls  [
>]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net 
>architect[
>] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device 
>driver[
>] panic("Just another Debian GNU/Linux using, kernel hacking, security 
>guy"); [
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.0.7 (GNU/Linux)
>Comment: Finger me for keys
>
>iQCVAwUBPjnKuIqHRg3pndX9AQEGywP/dRrtuNSBHGPVgiBFLYhSA1asUiFQYjZW
>xGu+b/+48x/t0HwhxthBInXiqT1qWwHXf9TxuxK1RPEdpF4+A/bayl7W+bB+UH8q
>4q12R+yQkVLvxprJU8VWRxc+Wduzphw9XukDj1gZrIg7MujAIe/YMArJP4LzH8b5
>Sk1+sVLVoNE=
>=rha4
>-----END PGP SIGNATURE-----


====================================
Cheryl Madson
Core IP Engineering; Security and Services
Cisco Systems, Inc.
cmadson@cisco.com



From owner-ipsec@lists.tislabs.com  Thu Jan 30 23:09:20 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA17852
	for <ipsec-archive@lists.ietf.org>; Thu, 30 Jan 2003 23:09:20 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id VAA18859
	Thu, 30 Jan 2003 21:20:25 -0500 (EST)
Message-Id: <200301310221.h0V2Lpjt017743@thunk.east.sun.com>
From: Bill Sommerfeld <sommerfeld@east.sun.com>
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
cc: ipsec@lists.tislabs.com
Subject: Re: Modefg considered harmful 
In-Reply-To: Your message of "Thu, 30 Jan 2003 20:55:55 EST."
             <200301310155.h0V1tuES013708@marajade.sandelman.ottawa.on.ca> 
Reply-to: sommerfeld@east.sun.com
Date: Thu, 30 Jan 2003 21:21:50 -0500
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

>   (The "wraps this up in some way" really means putting a layer 2,3 and 4
> on the payload. The key thing is that it needs to look like it came via a
> DHCP relay. 

Well, the remote access gateway in this case *would* be a DHCP relay.

> The MAC address that is provided to the DHCP server for the client
> should likely be derived in some way from the public key or legacy
> auth identity)

MAC address?  or client identifier?


							- Bill


From owner-ipsec@lists.tislabs.com  Thu Jan 30 23:14:41 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA18006
	for <ipsec-archive@lists.ietf.org>; Thu, 30 Jan 2003 23:14:40 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id VAA18810
	Thu, 30 Jan 2003 21:04:07 -0500 (EST)
Message-Id: <200301310155.h0V1tuES013708@marajade.sandelman.ottawa.on.ca>
To: ipsec@lists.tislabs.com
Subject: Re: Modefg considered harmful 
In-reply-to: Your message of "Thu, 30 Jan 2003 17:31:31 PST."
             <4.3.2.7.2.20030130170851.04908778@mira-sjcm-4.cisco.com> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Thu, 30 Jan 2003 20:55:55 -0500
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "Cheryl" == Cheryl Madson <cmadson@cisco.com> writes:
    Bernard> OK, I'll speak up.

    Bernard> One of the major requirements for IPSRA in choosing DHCP-based
    Bernard> configuration was so that we could move towards a single
    Bernard> configuration model for both real and virtual interfaces -- and

    >> Bernard, I support your reasoning for using DHCP.  (I'd rather that we
    >> used DHCPv6 rather than RS/RA. Since DHCP is a lot easier to secure
    >> and extend than RS/RA. But that is a different argument)
    >> 
    >> I still do not understand why creating a ephemeral IPsec SA to carry
    >> the DHCP traffic makes sense. I don't see that it is any easier for
    >> bump-in-the-stack implementations, nor do I see it easier for in-stack
    >> implementations.

    Cheryl> I've always contended that for IKEv1 that *both* modecfg and DHCP
    Cheryl> had the same underlying issue -- an introduction of a "special"
    Cheryl> state into the protocol processing (either somewhat explicitly
    Cheryl> via "phase 1.5" or implicitly via the "special phase 2 which if
    Cheryl> it happens has to happen before any other phase 2").

  Yes, it does seem funny.
  It seems that we need to be explicit about this. I.e. that the client
should really propose something to the gateway, following phase 1 completion
(and any legacy auth...) which essentially says "I don't know what to do,
tell me".

  I think that the proposal should have a payload of DHCPDISCOVER
payload. The gateway, wraps this up in a some way, sends it to the DHCP
server, and sends the reply back.

  (The "wraps this up in some way" really means putting a layer 2,3 and 4
on the payload. The key thing is that it needs to look like it came via a
DHCP relay. The MAC address that is provided to the DHCP server for the
client should likely be derived in some way from the public key or legacy
auth identity) 

]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBPjnXpYqHRg3pndX9AQGpTQQAyZJlAvA4KRPwbk3+Ke+ryWPkqjD2oJlC
tiV92SKhdTJv5hIiXzk/bj/BnYX30ARFEa1hnHdXFMUUbtFsTOdWbTQIWK+vaksk
K+U8QN6NLS633NBlyEGPXkm4P6slOu7ErjCLsvZMG6iehYlZpaNLvxu905DsmXxV
HpNFTWuVUg8=
=rhdE
-----END PGP SIGNATURE-----


From owner-ipsec@lists.tislabs.com  Fri Jan 31 00:13:54 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA19259
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 00:13:54 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id VAA18928
	Thu, 30 Jan 2003 21:47:55 -0500 (EST)
Message-Id: <200301310249.h0V2nsU8016497@marajade.sandelman.ottawa.on.ca>
To: ipsec@lists.tislabs.com
Subject: Re: Modefg considered harmful 
In-reply-to: Your message of "Thu, 30 Jan 2003 21:21:50 EST."
             <200301310221.h0V2Lpjt017743@thunk.east.sun.com> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Thu, 30 Jan 2003 21:49:53 -0500
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "Bill" == Bill Sommerfeld <sommerfeld@east.sun.com> writes:
    >> (The "wraps this up in some way" really means putting a layer 2,3 and
    >> 4 on the payload. The key thing is that it needs to look like it came
    >> via a DHCP relay.

    Bill> Well, the remote access gateway in this case *would* be a DHCP
    Bill> relay.

  yes, true!

    >> The MAC address that is provided to the DHCP server for the client
    >> should likely be derived in some way from the public key or legacy
    >> auth identity)

    Bill> MAC address?  or client identifier?

  Yeah... exactly the question.
  I don't know what the current document says.

  But, doing address allocation by MAC address is something people are
familliar with. Doing it by client identifier option is increasingly easy. I
suggest that both should be filled in. I'm not clear that the client should
be permitted to set those values directly.

]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [

  

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBPjnkT4qHRg3pndX9AQHJNQP/cnrcNJ1/wi5jnj2OzN+2bJ/XD38jIrqZ
r+D7xbka9qEdt1aKYuThRSYCdnU2ZuSZ0ozv2hGd84GOWH2SWoIPAyf2qGLF1q6q
+xv4F90hbu0AcrhP2+YNGHc0iPgTnhNCz777RLcFN5jsZ+6AdWhOf+8bbvxbiI/B
SPq6Uos+LXY=
=xCPm
-----END PGP SIGNATURE-----


From owner-ipsec@lists.tislabs.com  Fri Jan 31 00:13:55 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA19262
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 00:13:55 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id WAA19010
	Thu, 30 Jan 2003 22:11:27 -0500 (EST)
Date: Thu, 30 Jan 2003 16:59:32 -0800
Message-Id: <200301310059.h0V0xWn06206@localhost.localdomain>
From: John Lindal <jafl@trlokom.com>
X-Mailer: Arrow 2.0b3 (X11; Linux 2.4.2-2; i686)
To: <ipsec@lists.tislabs.com>
Reply-To: ipsec@lists.tislabs.com
Subject: Re: new to VPN
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

> There are a growing number of VPN capable boxes that employ management
> processors of around 100Mhz, (not ix86) with rather limited power
> budgets. They are using comodity cipher chips with power budgets that
> rival that of the fan on the GHz PIII.  It is these devices where we will
> see the most impact of IPsec technology - they are often embedded network
> elements of various sorts.

AFAIK, the PowerPC chips run much cooler than P3's.  I'm sure custom
hardware can run even cooler, but I suspect that only in extreme
circumstances would it be worth the extra effort.

> But, I agree with Jayant - for anyone for whom money is an object, but
> power consumption is not (anyone not living in California :-]), but
> moderate speed is also, a PIII is very hard to beat.

Does one extra PIII for an office of, say, 50 people, each of whom has at
least one PC on his/her desk, actually make a significant difference in the
power budget?

An end-to-end IPSec solution that offloads all the work to the end clients
would avoid this issue because one would only be using the PC's already on
people's desktops.

--
Sincerely,
John Lindal
Chief Software Architect, Trlokom, Inc.
http://www.trlokom.com/



From owner-ipsec@lists.tislabs.com  Fri Jan 31 02:47:16 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA00887
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 02:47:15 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id AAA19318
	Fri, 31 Jan 2003 00:50:22 -0500 (EST)
Date: Fri, 31 Jan 2003 00:52:24 -0500
From: "Theodore Ts'o" <tytso@mit.edu>
To: Cheryl Madson <cmadson@cisco.com>
Cc: Michael Richardson <mcr@sandelman.ottawa.on.ca>, ipsec@lists.tislabs.com
Subject: Re: Modefg considered harmful
Message-ID: <20030131055224.GF16543@think.thunk.org>
References: <Pine.LNX.4.44.0301301458430.30276-100000@internaut.com> <4.3.2.7.2.20030130170851.04908778@mira-sjcm-4.cisco.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4.3.2.7.2.20030130170851.04908778@mira-sjcm-4.cisco.com>
User-Agent: Mutt/1.4i
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Thu, Jan 30, 2003 at 05:31:31PM -0800, Cheryl Madson wrote:
> I've always contended that for IKEv1 that *both* modecfg and DHCP
> had the same underlying issue -- an introduction of a "special" state
> into the protocol processing (either somewhat explicitly via "phase 1.5"
> or implicitly via the "special phase 2 which if it happens has to happen
> before any other phase 2").
> 
> In other words, I have always hated both proposals, basically as it
> assumed that via some <unspecified> miracle both sides would
> correctly figure out that this special phase had to happen and not
> jump ahead in the state machine.
> 
> IMO we can do better with IKEv2. I don't have much opinion one way
> or the other about encoding, but we need to explicitly spell it out in
> any state machine. I don't care in terms of encoding one way or the
> other, but this lack of determinism has to be addressed.

Cheryl,

I agree with your last point.  Indeed, the current Configuration
Payload specification in ikev2-04 is pretty explicitly spelled out.
There isn't a magic phase1.5; instead, the Configuration payload is
included in message 3 (or in any request to create a CHILD-SA), and
the response is message 4.  To quote from ikev2-04.txt:

       Initiator                           Responder
      -----------------------------       ---------------------------
       HDR, SAi1, KEi, Ni, Nr,
        SK {IDi, [CERT,] [CERTREQ,]
        [IDr,] AUTH, CP(CFG_REQUEST),
        SAi2, TSi, TSr}              -->

                                     <--   HDR, SK {IDr, [CERT,] AUTH,
                                            CP(CFG_REPLY), SAr2,
                                            TSi, TSr}

   ....

   For example, message from Initiator to Responder:
      CP(CFG_REQUEST)=
        INTERNAL_ADDRESS(0.0.0.0)
        INTERNAL_NETMASK(0.0.0.0)
        INTERNAL_DNS(0.0.0.0)
      TSi = (0, 0-65536,0.0.0.0-255.255.255.255)
      TSr = (0, 0-65536,0.0.0.0-255.255.255.255)

   NOTE: Traffic Selectors are a (protocol, port range, address range)

   Message from Responder to Initiator:

      CP(CFG_REPLY)=
        INTERNAL_ADDRESS(192.168.219.202)
        INTERNAL_NETMASK(255.255.255.0)
        INTERNAL_SUBNET(192.168.219.0/255.255.255.0)
      TSi = (0, 0-65536,192.168.219.202-192.168.219.202)
      TSr = (0, 0-65536,192.168.219.0-192.168.219.255)

Although it is very clear that this is much less powerful and less
flexible than what RFC 3456 describes (it doesn't support
reconfiguration, it doesn't support renewals periods except via SA
expiration, etc.) it does have the virtue that I can explain how it
works to somone else in about 30 seconds.  After reading through the
13 page RFC 3456 (the text devoted to the configuration payload in
ikev2-04 is perhaps 1-2 pages long), I very much doubt I could explain
the DHCP-based method as easily or as quickly.

						- Ted


From owner-ipsec@lists.tislabs.com  Fri Jan 31 02:51:36 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA00928
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 02:51:36 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id BAA19427
	Fri, 31 Jan 2003 01:22:52 -0500 (EST)
Date: Fri, 31 Jan 2003 01:25:00 -0500
From: "Theodore Ts'o" <tytso@mit.edu>
To: Bernard Aboba <aboba@internaut.com>
Cc: ipsec@lists.tislabs.com
Subject: Re: Modefg considered harmful
Message-ID: <20030131062500.GG16543@think.thunk.org>
References: <Pine.LNX.4.44.0301301458430.30276-100000@internaut.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <Pine.LNX.4.44.0301301458430.30276-100000@internaut.com>
User-Agent: Mutt/1.4i
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Bernard, 

Could I volunteer you (or some other RFC-3456 author/supporter) to
supply text that could potentially replace the Configuration Payload
text in ikev2-04.txt?  If it turns out that we have clear working
group consensus to replace the Configuration payload with a DHCP-style
solution, we need to have specific text that we can send to Charlie to
put into the IKEv2 specification.  Also, I think it would be easier
for the working group to come to consensus --- one way or another ---
if they can look at specific text and compare it with what is
currently in ikev2-04.

Unfortunately, we can't just point at RFC 3456, since enough things
have changed in IKEv2.  And while experts would probably understand,
"RFC 3456, except ignore the part were it talks about Phase 1 and
Phase 2, main, agressive, and quick mode, and instead do the obvious
Right Thing", it's probably better to lift the specific text from RFC
3456, and then update it for IKE V2.

BTW, looking at RFC 3456, it would probably be a good idea to specify
exactly what *should* happen in the case of "reconfiguration".
Presumably, the client will need to establish a new SA with updated
traffic selectors --- which means that on the client side, the DHCP
client code will always be inextricably bound with the IPSEC
implementation, for better or forworse --- however, RFC 3456 never
says so explicitly.

						- Ted

P.S.  For my own curiosity/edification, how often do administrators
really use DHCP reconfiguration anyway?  Given that it can seriously
screw over the user, by immediately destroying all existing TCP
connections after the IP address of the client is suddenly,
precipitously, and without warning changed, it doesn't seem like the
sort of thing which would or should be used often.  So I'm curious why
the IPSRA wg decided that reconfiguration was a requirement that MUST
be supported.  

I can see this being useful for web kiosks, perhaps, but under what
circumstances would an administrator want to play such a rude trick on
a VPN client?  (And I mean besides a BOFH being bored.  :-)


From owner-ipsec@lists.tislabs.com  Fri Jan 31 03:17:07 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA01150
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 03:17:07 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id BAA19473
	Fri, 31 Jan 2003 01:42:21 -0500 (EST)
Date: Thu, 30 Jan 2003 21:33:35 -0800 (PST)
From: Bernard Aboba <aboba@internaut.com>
To: "Theodore Ts'o" <tytso@mit.edu>
cc: ipsec@lists.tislabs.com
Subject: Re: Modefg considered harmful
In-Reply-To: <20030131062500.GG16543@think.thunk.org>
Message-ID: <Pine.LNX.4.44.0301302115470.18439-100000@internaut.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Fri, 31 Jan 2003, Theodore Ts'o wrote:

> Bernard,
>
> Could I volunteer you (or some other RFC-3456 author/supporter) to
> supply text that could potentially replace the Configuration Payload
> text in ikev2-04.txt?  If it turns out that we have clear working
> group consensus to replace the Configuration payload with a DHCP-style
> solution, we need to have specific text that we can send to Charlie to
> put into the IKEv2 specification.  Also, I think it would be easier
> for the working group to come to consensus --- one way or another ---
> if they can look at specific text and compare it with what is
> currently in ikev2-04.

I'd be happy to help any way I can.

> Unfortunately, we can't just point at RFC 3456, since enough things
> have changed in IKEv2.  And while experts would probably understand,
> "RFC 3456, except ignore the part were it talks about Phase 1 and
> Phase 2, main, agressive, and quick mode, and instead do the obvious
> Right Thing", it's probably better to lift the specific text from RFC
> 3456, and then update it for IKE V2.

I see only three places in RFC 3456 where "quick mode", "phase 2",
"main mode" or "aggressive mode" are used: pp.6 (once), pp. 9 (twice).
Rather than incorporating the text of a 17 page document into IKEv2, I'd
suggest that only the changes be incorporated into IKEv2, or if that
doesn't suffice, we can do an RFC 3456bis and reference that.

> BTW, looking at RFC 3456, it would probably be a good idea to specify
> exactly what *should* happen in the case of "reconfiguration".
> Presumably, the client will need to establish a new SA with updated
> traffic selectors --- which means that on the client side, the DHCP
> client code will always be inextricably bound with the IPSEC
> implementation, for better or forworse --- however, RFC 3456 never
> says so explicitly.

A new SA would only be needed if an address change occurred -- e.g. a Nak
was received in response to a DHCP Request. If only new options are
received then no new SA is needed.

Binding IP address assignment to the IPsec implementation is nothing new,
by the way. If you think this is wierd, you ought to read the MIPv6 and
MIPv6/IPsec documents :)

> P.S.  For my own curiosity/edification, how often do administrators
> really use DHCP reconfiguration anyway?  Given that it can seriously
> screw over the user, by immediately destroying all existing TCP
> connections after the IP address of the client is suddenly,
> precipitously, and without warning changed, it doesn't seem like the
> sort of thing which would or should be used often.  So I'm curious why
> the IPSRA wg decided that reconfiguration was a requirement that MUST
> be supported.

Reconfiguration can occur whenever DHCP leases expire, so support for
leases and reconfiguration was considered a basic configuration
facility in an IPv4 network where addresses may be in short supply. On the
other hand, *forced* reconfiguration is not used very often, and
typically requires DHCP authentication (RFC 3118).

> I can see this being useful for web kiosks, perhaps, but under what
> circumstances would an administrator want to play such a rude trick on
> a VPN client?  (And I mean besides a BOFH being bored.  :-)

When there is a shortage of IPv4 addresses, and the administrator wants to
be able to assign an unused address to another VPN client. That's not a
rude trick -- it's a necessity in many modern networks, but one which
Modecfg does not support.



From owner-ipsec@lists.tislabs.com  Fri Jan 31 04:18:04 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id EAA01854
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 04:18:04 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id CAA19684
	Fri, 31 Jan 2003 02:34:49 -0500 (EST)
Message-ID: <421CB3B9B2D2F645B548D213C0A90E55090F04@TMM_EDGMSMSG01>
From: Van Aken Dirk <VanAkenD@thmulti.com>
To: ipsec@lists.tislabs.com
Subject: IKEv2 Terms & Definitions
Date: Fri, 31 Jan 2003 08:36:46 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Hello Folks,

When I started reading about IKEv1 a few years ago, I was happy that section
"3.2 Notation" was included in RFC2409.
Although I assume I had a good a good background in IP protocol engineering
it was a complete different world to me back then.
Without section 3.2. it would have been even more difficult for me to master
this protocol (also because the complete IKEv1 specification is dispersed
over 3 documents: IKE, ISAKMP and DOI). As an example, the symbol "|" was an
OR function for me but in IKEv1 it means concatenation ..

So I find it a little bit odd that this part is left out especially as it is
stated that one of the goals of IKEv2 is to define the entire protocol into
one document.
People new to IKE will have to refer to IKEv1 for terms and definitions.
So I wonder whether a similar section can still be included in IKEv2 ?

Dirk.


Dirk Van Aken                               THOMSON
System Architect                          Prins Boudewijnlaan 47,
Tel. : 03/443.65.08                         2650 Edegem
Fax.: 03/443.66.32                         Belgium
vanakend@thmulti.com



From owner-ipsec@lists.tislabs.com  Fri Jan 31 08:02:47 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA05445
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 08:02:47 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id FAA20086
	Fri, 31 Jan 2003 05:45:24 -0500 (EST)
Message-ID: <421CB3B9B2D2F645B548D213C0A90E55090F07@TMM_EDGMSMSG01>
From: Van Aken Dirk <VanAkenD@thmulti.com>
To: "'Theodore Ts'o'" <tytso@mit.edu>, Cheryl Madson <cmadson@cisco.com>
Cc: Michael Richardson <mcr@sandelman.ottawa.on.ca>, ipsec@lists.tislabs.com
Subject: RE: Modefg considered harmful
Date: Fri, 31 Jan 2003 11:17:41 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk



-----Original Message-----
From: Theodore Ts'o [mailto:tytso@mit.edu]
Sent: vrijdag 31 januari 2003 6:52
To: Cheryl Madson
Cc: Michael Richardson; ipsec@lists.tislabs.com
Subject: Re: Modefg considered harmful


On Thu, Jan 30, 2003 at 05:31:31PM -0800, Cheryl Madson wrote:
> I've always contended that for IKEv1 that *both* modecfg and DHCP
> had the same underlying issue -- an introduction of a "special" state
> into the protocol processing (either somewhat explicitly via "phase 1.5"
> or implicitly via the "special phase 2 which if it happens has to happen
> before any other phase 2").
> 
> In other words, I have always hated both proposals, basically as it
> assumed that via some <unspecified> miracle both sides would
> correctly figure out that this special phase had to happen and not
> jump ahead in the state machine.
> 
> IMO we can do better with IKEv2. I don't have much opinion one way
> or the other about encoding, but we need to explicitly spell it out in
> any state machine. I don't care in terms of encoding one way or the
> other, but this lack of determinism has to be addressed.

Cheryl,

I agree with your last point.  Indeed, the current Configuration
Payload specification in ikev2-04 is pretty explicitly spelled out.
There isn't a magic phase1.5; instead, the Configuration payload is
included in message 3 (or in any request to create a CHILD-SA), and
the response is message 4.  To quote from ikev2-04.txt:

       Initiator                           Responder
      -----------------------------       ---------------------------
       HDR, SAi1, KEi, Ni, Nr,
        SK {IDi, [CERT,] [CERTREQ,]
        [IDr,] AUTH, CP(CFG_REQUEST),
        SAi2, TSi, TSr}              -->

                                     <--   HDR, SK {IDr, [CERT,] AUTH,
                                            CP(CFG_REPLY), SAr2,
                                            TSi, TSr}

   ....

   For example, message from Initiator to Responder:
      CP(CFG_REQUEST)=
        INTERNAL_ADDRESS(0.0.0.0)
        INTERNAL_NETMASK(0.0.0.0)
        INTERNAL_DNS(0.0.0.0)
      TSi = (0, 0-65536,0.0.0.0-255.255.255.255)
      TSr = (0, 0-65536,0.0.0.0-255.255.255.255)

   NOTE: Traffic Selectors are a (protocol, port range, address range)

   Message from Responder to Initiator:

      CP(CFG_REPLY)=
        INTERNAL_ADDRESS(192.168.219.202)
        INTERNAL_NETMASK(255.255.255.0)
        INTERNAL_SUBNET(192.168.219.0/255.255.255.0)
      TSi = (0, 0-65536,192.168.219.202-192.168.219.202)
      TSr = (0, 0-65536,192.168.219.0-192.168.219.255)

Although it is very clear that this is much less powerful and less
flexible than what RFC 3456 describes (it doesn't support
reconfiguration, it doesn't support renewals periods except via SA
expiration, etc.) it does have the virtue that I can explain how it
works to somone else in about 30 seconds.  After reading through the
13 page RFC 3456 (the text devoted to the configuration payload in
ikev2-04 is perhaps 1-2 pages long), I very much doubt I could explain
the DHCP-based method as easily or as quickly.

						- Ted
>>>
I agree with you if one approaches the subject from an IPSec background,
then it is indeed easier to explain the ModeCFG stuff; it are just a few IKE
messages and you are done.
However in contrast to most people in this working group, my background is
IP networking (LAN/WAN) and as DHCP client/relay/server constructs have been
around for 20 years in this area, reading the DHCP-based method appears only
natural to me.

Anyway we should not select a configuration method based on how easy it is
to explain. So a first point I want to raise is how well does IKE mode
config integrate with the rest of the networking infrastructure ?

In this respect, where does the IKE deamon gets its IP address pool from ?
Is it configured with a fixed pool or must the IKE deamon talk to a DHCP
server hence acts as some kind of DHCP proxy ?

If you start asking these kind of questions you immediatly end-up with a
construct ModeCfgClient-ModeCfgServer-DHCPClient-DHCPServer (I can think of
an even more complex construct i.e.,
ModeCfgClient-ModeCfgServer-DHCPClient-DHCPRelay-DHCPServer).
Looking at the construct DHCPClient(in tunnel)-DHCPRelay(at the VPN
GW)-DHCPServer(stand-alone server) it is far more easier to implement and
clearly separate IKE from IP configuration.

A second point is the scalability of a solution. If you can explain a
protocol to me in 30 seconds I sure know it is not scalable at all. As an
example, studying the ISAKMP framework a few years ago I immeadiatly
realized that protocols derived from ISAKMP will be scalable due to the
richness in exchanges, messages, payloads and attributes. And true you
cannot explain this framework in 30 seconds and this same reasoning applies
to DHCP.

Most likely ModeCfg provides a short term solution to a problem but I'm sure
it need to be extended to cope with future requirements.  IMHO, in order for
the ModeCfgClient to be scalable one ends-up with DHCP anyway. As an example
suppose two groups of VPN users must get IP addresses from different pools,
how is this going to be solved via ModeCfg ? These kind of things are solved
already for years in DHCP.

Dirk.





From owner-ipsec@lists.tislabs.com  Fri Jan 31 09:24:14 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA07419
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 09:24:14 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id HAA20431
	Fri, 31 Jan 2003 07:29:55 -0500 (EST)
Message-Id: <200301311232.h0VCWGjt019730@thunk.east.sun.com>
From: Bill Sommerfeld <sommerfeld@east.sun.com>
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
cc: ipsec@lists.tislabs.com
Subject: Re: Modefg considered harmful 
In-Reply-To: Your message of "Thu, 30 Jan 2003 21:49:53 EST."
             <200301310249.h0V2nsU8016497@marajade.sandelman.ottawa.on.ca> 
Reply-to: sommerfeld@east.sun.com
Date: Fri, 31 Jan 2003 07:32:16 -0500
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

>     Bill> Well, the remote access gateway in this case *would* be a DHCP
>     Bill> relay.
> 
>   yes, true!
> 
>     >> The MAC address that is provided to the DHCP server for the client
>     >> should likely be derived in some way from the public key or legacy
>     >> auth identity)
> 
>     Bill> MAC address?  or client identifier?
> 
>   Yeah... exactly the question.
>   I don't know what the current document says.
> 
>   But, doing address allocation by MAC address is something people are
> familliar with. Doing it by client identifier option is increasingly easy. I
> suggest that both should be filled in. I'm not clear that the client should
> be permitted to set those values directly.

dhcp insists that the client fill these in.  if you want the relay to
add information, there's now a "relay agent information option"
(RFC3046) which allows the relay to append additional information to
the messages.  might do the trick here..



From owner-ipsec@lists.tislabs.com  Fri Jan 31 09:24:31 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA07434
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 09:24:31 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id GAA20214
	Fri, 31 Jan 2003 06:30:22 -0500 (EST)
Message-ID: <421CB3B9B2D2F645B548D213C0A90E55090F08@TMM_EDGMSMSG01>
From: Van Aken Dirk <VanAkenD@thmulti.com>
To: "'Bernard Aboba'" <aboba@internaut.com>, ipsec@lists.tislabs.com
Subject: RE: Modefg considered harmful
Date: Fri, 31 Jan 2003 12:28:07 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Hello ipsra people,

Thank you for this extensive explanation/motivation !

Personally I'm in favour of RFC3456 solely because of following reasons:

1) RFC3456 allows me to separate IKE from IP configuration.
What is the added value of this approach ?
Well I don't need to dig into IKE code in order to have remote IP-IPSec
configuration working. 
True I must make changes to the surrounding of IKE (create the necessary
policies, cope with short lived tunnels, add some routes modify a DHCP relay
etc ..). But the added value is I can leave IKE intact and preserve its
security properties.

As a remark, my background is not in IPSec but in LAN/WAN networking and I
integrate IPSec more from a "building block" point of view. Of course people
writing IKE code have the opposite approach.

2) IKE-Mode-Cfg is very limited in features
IMHO, the IKE-Mode-Cfg is already limited in its capabilities implying it
shall be extended soon, most likely via proprietary extensions. Currently,
the IKE-Mode-Cfg features might be sufficient as there are still a lot of
implementations around that can only operate with static IP config. For
these the move toward dynamic config is a big step. However shortly after
that new features will be needed, currently not foreseen in IKEv2.
Choosing the DHCP based method on the other hand gives me the assurance that
I won't have to change my IKE code in the future just because a new feature
is requested. All that I have to foresee in that my IPSec implementation is
transparent for DHCP messages. There is an important benefit to this: IKE
code remains unchanged in the advent of new features hence security
properties are not lowered and extensive validation cycles can be avoided.

3) Scalability & integration with networking infrastructure.
A last important factor is how well does an IPSec Gateway embedding
IKE-Mode-Cfg integrates with the surrounding network infrastructure ?
As an IPSec GW is part of larger infrastructure which is for sure based on
DHCP, it will have to integrate with it. This implies tying state machines
together. My experience with this kind of constructs is that this will
always fail in one form or another because of state machines not being
identical, different message formats, different timers and so on.


As a last word, I too would like to see a consensus (whatever it is) as it
is always better to have one instead of implementing two methods and
confusing customers.

Dirk

>>>
Either approach seems to be workable.  It is certainly true that most of
the people in Atlanta were implementors who were already familiar with
modecfg, representing a large implementation community.  That being said,
there is also some number of working group members that are in favor of an
approach similar to draft-ietf-ipsec-dhcp-13, including Van
Aken Dirk, Michael Richardson, and Scott G. Kelley.   One way or
another, however we need to make a choice and move forward.

Given that we have a fully specified solution in the ikev2-04 draft, and
it would seem that while there is a sizeable minority in favor of the
ipsec-dhcp-13 approach, the majority are comfortable with the modecfg
based approach.  So at this point, we, as working group chairs, judge that
the consensus is with the current approach.

If there are those who feel otherwise, or who see fatal problems with the
current approach, please speak now.

					Ted and Barabara
					IPSEC wg chairs
>>>


From owner-ipsec@lists.tislabs.com  Fri Jan 31 11:10:07 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA10879
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 11:10:06 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id JAA20675
	Fri, 31 Jan 2003 09:09:50 -0500 (EST)
Message-Id: <200301311251.HAA05032@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: IETF-Announce:;;;;@tislabs.com;;;
Cc: ipsec@lists.tislabs.com
From: Internet-Drafts@ietf.org
Reply-to: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-ipsec-ciph-aes-ctr-03.txt
Date: Fri, 31 Jan 2003 07:51:40 -0500
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

--NextPart

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

	Title		: Using AES Counter Mode With IPsec ESP
	Author(s)	: R. Housley
	Filename	: draft-ietf-ipsec-ciph-aes-ctr-03.txt
	Pages		: 18
	Date		: 2003-1-30
	
This document describes the use of AES Counter Mode, with an explicit
initialization vector, as an IPsec Encapsulating Security Payload
confidentiality mechanism.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ipsec-ciph-aes-ctr-03.txt

To remove yourself from the IETF Announcement list, send a message to 
ietf-announce-request with the word unsubscribe in the body of the message.

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-ipsec-ciph-aes-ctr-03.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-ipsec-ciph-aes-ctr-03.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.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

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

ENCODING mime
FILE /internet-drafts/draft-ietf-ipsec-ciph-aes-ctr-03.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-ipsec-ciph-aes-ctr-03.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

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

--OtherAccess--

--NextPart--



From owner-ipsec@lists.tislabs.com  Fri Jan 31 11:10:44 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA10903
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 11:10:44 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id JAA20681
	Fri, 31 Jan 2003 09:10:52 -0500 (EST)
Message-Id: <200301311252.HAA05186@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: IETF-Announce:;;;;@tislabs.com;;;
Cc: ipsec@lists.tislabs.com
From: Internet-Drafts@ietf.org
Reply-to: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-ipsec-nat-reqts-03.txt
Date: Fri, 31 Jan 2003 07:52:11 -0500
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

--NextPart

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

	Title		: IPsec-NAT Compatibility Requirements
	Author(s)	: B. Aboba, W. Dixon
	Filename	: draft-ietf-ipsec-nat-reqts-03.txt
	Pages		: 17
	Date		: 2003-1-30
	
Perhaps the most common use of IPsec is in providing virtual private
networking capabilities. One very popular use of VPNs is to provide
telecommuter access to the corporate Intranet.  Today NATs are widely
deployed in home gateways, as well as in other locations likely to be
used by telecommuters, such as hotels. The result is that IPsec-NAT
incompatibilities have become a major barrier to deployment of IPsec in
one of its principal uses. This draft describes known incompatibilities
between NAT and IPsec, and describes the requirements for addressing
them.

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

To remove yourself from the IETF Announcement list, send a message to 
ietf-announce-request with the word unsubscribe in the body of the message.

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-ipsec-nat-reqts-03.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-ipsec-nat-reqts-03.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.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

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

ENCODING mime
FILE /internet-drafts/draft-ietf-ipsec-nat-reqts-03.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-ipsec-nat-reqts-03.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

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

--OtherAccess--

--NextPart--



From owner-ipsec@lists.tislabs.com  Fri Jan 31 11:42:46 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA11578
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 11:42:46 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id JAA20779
	Fri, 31 Jan 2003 09:57:01 -0500 (EST)
Message-Id: <4.3.2.7.2.20030131062231.02567410@mira-sjcm-4.cisco.com>
X-Sender: cmadson@mira-sjcm-4.cisco.com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.2
Date: Fri, 31 Jan 2003 06:59:29 -0800
To: Van Aken Dirk <VanAkenD@thmulti.com>
From: Cheryl Madson <cmadson@cisco.com>
Subject: RE: Modefg considered harmful
Cc: "'Bernard Aboba'" <aboba@internaut.com>, ipsec@lists.tislabs.com
In-Reply-To: <421CB3B9B2D2F645B548D213C0A90E55090F08@TMM_EDGMSMSG01>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 03:28 AM 1/31/2003, Van Aken Dirk wrote:
>Hello ipsra people,
>
>Thank you for this extensive explanation/motivation !
>
>Personally I'm in favour of RFC3456 solely because of following reasons:
>
>1) RFC3456 allows me to separate IKE from IP configuration.
>What is the added value of this approach ?
>Well I don't need to dig into IKE code in order to have remote IP-IPSec
>configuration working.
>True I must make changes to the surrounding of IKE (create the necessary
>policies, cope with short lived tunnels, add some routes modify a DHCP relay
>etc ..). But the added value is I can leave IKE intact and preserve its
>security properties.

Well, some of us take the view that this is still really part of IKE, just 
in a
roundabout way (e.g. this whole "special short-lived tunnel" stuff). Sort of
like the implicit "phase 0" of PIC. Also, address assignment may in many
cases end up being associated with the original user credentials (e.g.
what address I give you, if at all, depends on who you are). This means
that I can have a finer degree of control over where you might be able
to go (think of an SP RAS), so I'd argue that there still is a binding with
IKE. Doing it outside of IKE can overly complicate things, IMO.

Apart from the above issue, the desired model (in general terms) isn't
clear to me. I never saw any discussion of the below in the IPSRA
requirements. (Or if it was there, it wasn't represented in a way that
us non-remote access geeks understood).

Is all this information really pass-through from the "address assignment
server" to the client? Is there any case (either now or imagined in the
future) where the RAS may have a need to know some of this information
(is the RAS expected to enforce something)? If so, how do we define
which pieces the RAS has to care about and which pieces the RAS can
ignore (which becomes an issue in terms of extensibility)?

thx - C


====================================
Cheryl Madson
Core IP Engineering; Security and Services
Cisco Systems, Inc.
cmadson@cisco.com



From owner-ipsec@lists.tislabs.com  Fri Jan 31 12:15:01 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA12453
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 12:15:01 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id KAA20873
	Fri, 31 Jan 2003 10:16:51 -0500 (EST)
Message-ID: <421CB3B9B2D2F645B548D213C0A90E55090F0A@TMM_EDGMSMSG01>
From: Van Aken Dirk <VanAkenD@thmulti.com>
To: "'sommerfeld@east.sun.com'" <sommerfeld@east.sun.com>,
        Michael Richardson <mcr@sandelman.ottawa.on.ca>
Cc: ipsec@lists.tislabs.com
Subject: RE: Modefg considered harmful 
Date: Fri, 31 Jan 2003 16:18:34 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Hi Bill,

I'm a little in the dark regarding this discussion on MAC address and Client
identifier. Can you elaborate a little such that I understand what the
problem exactly is ?

Here is may current ;-) understanding of Client-Relay-Server behaviour:

A DHCP client (whether a PC or a VPN client is irrelvant) issues a DHCP
request and fills out the chaddr field (client HW address) and the client
identifier in the client identifier option. Of course the client id can be
equal to the HW address.
A DHCP server uses clientID and/or the chaddr field to bind a lease to a
client hence must be unique within a subnet.

In larger configurations, where there are gateways between server and
client, the giaddr IP address is also taken into account as an implicit
means for subnet selection (pool selection).

Note, giaddr (gateway IP address) is automatically added by a DHCP relay.

For explicit pool selection, the DHCP Relay Information Option can be used:
it is an extensable mechanism to add information to DHCP packets
(client-to-server direction). This information can be used 1) in the server
for explicit pool selection and 2) by the relay to forward replies back to
the appropriate client (in the VPN case into the right tunnel).


 
-----Original Message-----
From: Bill Sommerfeld [mailto:sommerfeld@east.sun.com]
Sent: vrijdag 31 januari 2003 13:32
To: Michael Richardson
Cc: ipsec@lists.tislabs.com
Subject: Re: Modefg considered harmful 


>     Bill> Well, the remote access gateway in this case *would* be a DHCP
>     Bill> relay.
> 
>   yes, true!
> 
>     >> The MAC address that is provided to the DHCP server for the client
>     >> should likely be derived in some way from the public key or legacy
>     >> auth identity)
> 
>     Bill> MAC address?  or client identifier?
> 
>   Yeah... exactly the question.
>   I don't know what the current document says.
> 
>   But, doing address allocation by MAC address is something people are
> familliar with. Doing it by client identifier option is increasingly easy.
I
> suggest that both should be filled in. I'm not clear that the client
should
> be permitted to set those values directly.

dhcp insists that the client fill these in.  if you want the relay to
add information, there's now a "relay agent information option"
(RFC3046) which allows the relay to append additional information to
the messages.  might do the trick here..


From owner-ipsec@lists.tislabs.com  Fri Jan 31 12:41:59 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA13282
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 12:41:58 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id KAA20958
	Fri, 31 Jan 2003 10:52:25 -0500 (EST)
Date: Fri, 31 Jan 2003 06:42:48 -0800 (PST)
From: Bernard Aboba <aboba@internaut.com>
To: Cheryl Madson <cmadson@cisco.com>
cc: Van Aken Dirk <VanAkenD@thmulti.com>, <ipsec@lists.tislabs.com>
Subject: RE: Modefg considered harmful
In-Reply-To: <4.3.2.7.2.20030131062231.02567410@mira-sjcm-4.cisco.com>
Message-ID: <Pine.LNX.4.44.0301310635200.17344-100000@internaut.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

> roundabout way (e.g. this whole "special short-lived tunnel" stuff). Sort of
> like the implicit "phase 0" of PIC. Also, address assignment may in many
> cases end up being associated with the original user credentials (e.g.
> what address I give you, if at all, depends on who you are).

Conditional address assignment is supported by most modern DHCP servers,
and the facilities are quite rich. So it probably makes more sense to use
the existing DHCP facilities (including conditional processing of the
Class and Client-Identifier options), rather than try to add this
functionality to IKE -- especially since the contents of the IKE
identifier payload does not necessarily map well to the identifiers used
for DHCP conditional address assignment. That means that with Modecfg it
is actually quite difficult to create a unified IP addressing plan.

> Apart from the above issue, the desired model (in general terms) isn't
> clear to me. I never saw any discussion of the below in the IPSRA
> requirements.

The general requirements are there -- but the details are left for
discussion in RFC 3456.

> Is all this information really pass-through from the "address assignment
> server" to the client? Is there any case (either now or imagined in the
> future) where the RAS may have a need to know some of this information
> (is the RAS expected to enforce something)?

Well, the RAS does need to know what address was assigned to plumb the
correct route. But the address assignment and configuration *is*
end-to-end -- the RAS is a DHCP Relay, not a DHCP proxy.

> If so, how do we define
> which pieces the RAS has to care about and which pieces the RAS can
> ignore (which becomes an issue in terms of extensibility)?

Because the RAS is a DHCP Relay all the obligations of a DHCP Relay apply,
as it would for any other Relay application.



From owner-ipsec@lists.tislabs.com  Fri Jan 31 12:53:50 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA13635
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 12:53:49 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id LAA21017
	Fri, 31 Jan 2003 11:07:06 -0500 (EST)
Message-ID: <421CB3B9B2D2F645B548D213C0A90E55090F0B@TMM_EDGMSMSG01>
From: Van Aken Dirk <VanAkenD@thmulti.com>
To: "'Cheryl Madson'" <cmadson@cisco.com>
Cc: "'Bernard Aboba'" <aboba@internaut.com>, ipsec@lists.tislabs.com
Subject: RE: Modefg considered harmful
Date: Fri, 31 Jan 2003 17:09:00 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk



-----Original Message-----
From: Cheryl Madson [mailto:cmadson@cisco.com]
Sent: vrijdag 31 januari 2003 15:59
To: Van Aken Dirk
Cc: 'Bernard Aboba'; ipsec@lists.tislabs.com
Subject: RE: Modefg considered harmful


At 03:28 AM 1/31/2003, Van Aken Dirk wrote:
>Hello ipsra people,
>
>Thank you for this extensive explanation/motivation !
>
>Personally I'm in favour of RFC3456 solely because of following reasons:
>
>1) RFC3456 allows me to separate IKE from IP configuration.
>What is the added value of this approach ?
>Well I don't need to dig into IKE code in order to have remote IP-IPSec
>configuration working.
>True I must make changes to the surrounding of IKE (create the necessary
>policies, cope with short lived tunnels, add some routes modify a DHCP
relay
>etc ..). But the added value is I can leave IKE intact and preserve its
>security properties.

Well, some of us take the view that this is still really part of IKE, just 
in a
roundabout way (e.g. this whole "special short-lived tunnel" stuff). Sort of
like the implicit "phase 0" of PIC. Also, address assignment may in many
cases end up being associated with the original user credentials (e.g.
what address I give you, if at all, depends on who you are). This means
that I can have a finer degree of control over where you might be able
to go (think of an SP RAS), so I'd argue that there still is a binding with
IKE. Doing it outside of IKE can overly complicate things, IMO.

>>
On the credentials I can more or less agree with you. However I wonder then
what your solution is when multiple ModeCfg request must be answered by a
VPN GW. This happens in the case where there is a small VPN GW talking to a
large one and proxying for a few PC's (not VPN clients). Always use the same
credentials for several requests ?

On the other hand one might consider the DHCP Relay Agent Information
option. A DHCP relay in the VPN GW can easily add user credentials to DHCP
requests that must be forwarded. This request travels then on the trusted
network to the DHCP server which can further take this information into
account. On its way back the DHCP Relay removes this information of course.
>>


Apart from the above issue, the desired model (in general terms) isn't
clear to me. I never saw any discussion of the below in the IPSRA
requirements. (Or if it was there, it wasn't represented in a way that
us non-remote access geeks understood).
>>
Hi Cheryl,

A reason why there was maybe no discussion in the IPSRA is because DHCP has
proven its capabilities and extensibility.
>>


Is all this information really pass-through from the "address assignment
server" to the client? Is there any case (either now or imagined in the
future) where the RAS may have a need to know some of this information
(is the RAS expected to enforce something)? If so, how do we define
which pieces the RAS has to care about and which pieces the RAS can
ignore (which becomes an issue in terms of extensibility)?

>>

I'm no RAS expert either although I'm active in this arena (DSL routers).

A RAS configuration is rather simple: a user starts a PPP session with the
front-end of an Access Concentrator and provides its credentials (username &
password). Typically a Radius client on the back-end of the AC passes this
information toward a Radius server who performs the necessary checks.

If the user is allowed, an IP address is requested to a DHCP server and
given to the Access Concentrator. The AC adds a route in its forwarding
table and supplies the IP address to its front-end AC-PPP-deamon. The latter
finally delivers it to the original requestor.

Again you have the construct of two state machines that must be tied
together: PPP and DHCP.
The reason of not having DHCP all the way is IMHO historical. PPP grew up in
the WAN arena and BOOTP/DHCP in the LAN.
Due to broadband Access the boundary between WAN and LAN is disappearing and
I guess VPN technology will only accelerate this

I cannot answer for the future and extensibility. What I do know is that
ModeCfg is almost identical to PPP-IPCP (RFC1332, RFC1877) in functionality:
it supports a bare minimum on IP parameters.

thx - C


====================================
Cheryl Madson
Core IP Engineering; Security and Services
Cisco Systems, Inc.
cmadson@cisco.com


From owner-ipsec@lists.tislabs.com  Fri Jan 31 13:27:20 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA14658
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 13:27:19 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id LAA21100
	Fri, 31 Jan 2003 11:33:01 -0500 (EST)
Message-Id: <200301311626.h0VGQfM5004172@marajade.sandelman.ottawa.on.ca>
To: ipsec@lists.tislabs.com
cc: sommerfeld@east.sun.com
Subject: Re: Modefg considered harmful 
In-reply-to: Your message of "Fri, 31 Jan 2003 07:32:16 EST."
             <200301311232.h0VCWGjt019730@thunk.east.sun.com> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Fri, 31 Jan 2003 11:26:40 -0500
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "Bill" == Bill Sommerfeld <sommerfeld@east.sun.com> writes:
    >> yes, true!
    >> 
    >> >> The MAC address that is provided to the DHCP server for the client
    >> >> should likely be derived in some way from the public key or legacy
    >> >> auth identity)
    >> 
    Bill> MAC address?  or client identifier?

    >> Yeah... exactly the question.
    >> I don't know what the current document says.
    >> 
    >> But, doing address allocation by MAC address is something people are
    >> familliar with. Doing it by client identifier option is increasingly easy. I
    >> suggest that both should be filled in. I'm not clear that the client should
    >> be permitted to set those values directly.

    Bill> dhcp insists that the client fill these in.  if you want the relay to
    Bill> add information, there's now a "relay agent information option"
    Bill> (RFC3046) which allows the relay to append additional information to
    Bill> the messages.  might do the trick here..

  The degenerate case is a client connecting to a security-gateway/firewall
of a small organization. It should get the same inner-address as when it is
plugged into the organization LAN. 

  Worse case is that PCMCIA card is not inserted in the notebook when it not
at the office. So, even though you'd like to use the same MAC address, as
that would make life most easy for the DHCP server configuration. Do you want
to type this into the client configuration? I don't think so, as you might as
well type the IP address in!
  You may not mind putting something on the gateway however.

  Anything we can do to make the DHCP server configuration simpler, is a win
in my opinion.

]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBPjqjvoqHRg3pndX9AQHxvwP+NliSGF3IQ9kAjMD43+FsdYrKp9qED90F
QXx2sCqJ5K9p6bjNUxaQzejbWQlOO1fkd8sEbCDgPlL5Uvda83NVnZVEH/nK3U15
8M1+Lap9fw0fGZO4gpBsFebIb8LGp5ZvEt61K2V6YmQ6HxCBfEdHcd4JJ//xYFbD
AYravGr21ao=
=4pCf
-----END PGP SIGNATURE-----


From owner-ipsec@lists.tislabs.com  Fri Jan 31 13:32:09 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA14843
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 13:32:08 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id LAA21043
	Fri, 31 Jan 2003 11:19:28 -0500 (EST)
Date: Fri, 31 Jan 2003 07:09:57 -0800 (PST)
From: Bernard Aboba <aboba@internaut.com>
To: Van Aken Dirk <VanAkenD@thmulti.com>
cc: "'Cheryl Madson'" <cmadson@cisco.com>, <ipsec@lists.tislabs.com>
Subject: RE: Modefg considered harmful
In-Reply-To: <421CB3B9B2D2F645B548D213C0A90E55090F0B@TMM_EDGMSMSG01>
Message-ID: <Pine.LNX.4.44.0301310705390.19240-100000@internaut.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

> I cannot answer for the future and extensibility. What I do know is that
> ModeCfg is almost identical to PPP-IPCP (RFC1332, RFC1877) in functionality:
> it supports a bare minimum on IP parameters.

RFC 1877 has been heavily criticized over the years (see James Carlson's
PPP book), and the island of address state that it created has proven
to be a headache. Also, it became apparent that the set of parameters
defined in RFC 1877 was not enough -- and that attempting to duplicate
all the DHCP options was not fruitful. So PPP peers such as Windows 2000
and XP had to add support for DHCP anyway!

Given what we have learned from history, it makes little sense to
continue on with this approach, particularly with IPv6, where there are
a well defined set of address and configuration mechanisms for all types
of interfaces.



From owner-ipsec@lists.tislabs.com  Fri Jan 31 13:45:09 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA15259
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 13:45:08 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id LAA21177
	Fri, 31 Jan 2003 11:46:38 -0500 (EST)
Message-Id: <200301311649.h0VGnGjt020924@thunk.east.sun.com>
From: Bill Sommerfeld <sommerfeld@east.sun.com>
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
cc: ipsec@lists.tislabs.com
Subject: Re: Modefg considered harmful 
In-Reply-To: Your message of "Fri, 31 Jan 2003 11:26:40 EST."
             <200301311626.h0VGQfM5004172@marajade.sandelman.ottawa.on.ca> 
Reply-to: sommerfeld@east.sun.com
Date: Fri, 31 Jan 2003 11:49:16 -0500
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

>   The degenerate case is a client connecting to a security-gateway/firewall
> of a small organization. It should get the same inner-address as when it is
> plugged into the organization LAN. 

okay, good goal.

but the way to do this is not for the relay agent to overwrite the
client's dhcp request, but rather to annotate it using the relay agent
information option.

>   Worse case is that PCMCIA card is not inserted in the notebook when it not
> at the office. So, even though you'd like to use the same MAC address, as
> that would make life most easy for the DHCP server configuration. Do you want
> to type this into the client configuration? I don't think so, as you might as
> well type the IP address in!
>   You may not mind putting something on the gateway however.

right, and there's a mechanism in the DHCP protocol for this sort of
thing, and we should use it.

						- Bill


From owner-ipsec@lists.tislabs.com  Fri Jan 31 13:53:36 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA15398
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 13:53:35 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id LAA21163
	Fri, 31 Jan 2003 11:44:29 -0500 (EST)
Message-ID: <3E3AA86D.5010904@isi.edu>
Date: Fri, 31 Jan 2003 08:46:37 -0800
From: Joe Touch <touch@ISI.EDU>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1) Gecko/20020826
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: John Lindal <jafl@trlokom.com>
CC: ipsec@lists.tislabs.com
Subject: Re: new to VPN
References: <200301291902.h0TJ22n03176@localhost.localdomain>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit



John Lindal wrote:
>>>Is it true that the hardware VPN solutions are always better,
>>>trusted and have higher secure level than software VPN?
>>
>>I don't think so. AFAIK, hardware VPN solution would just be faster than
>>software VPN.
> 
> Custom hardware always has the potential to be faster than software running
> on standard hardware. 
...

That is highly dependent on what the nature of the configuration -
	1) algorithm
	2) number of concurrent associations
	3) non-security performance


1) For some algorithms, such as DES, hardware can be 10-100x faster than 
software. For others, e.g., MD5, software and hardware have similar speeds.

The former includes bit shift and insertion operations that require 
multiple opcodes on general-purpose processors, but can be implemented 
as a single wire in hardware. The latter is dominated by 32-bit 
additions and word-wide logical operations which are basically what 
general-purpose processors are optimized for.

The latter recapitulates the inboard/outboard protocol processing debate 
of that replays every 7-10 years. Custom hardware can be faster, but 
rarely rides the technology evolution curve as continually as PC CPUs.

2) Key agility can be a dominant issue; custom hardware (e.g., CAMs, 
dedicated SRAM, etc.) can reduce context-switching overhead. This 
advantage helps hardware architectures only for medium-scale numbers of 
keys, e.g., where the keys can be held in the CAM, and there is a 
benefit to having the CAM. Configurations with very few streams or with 
enough to thrash the CAM can defeat the benefit of hardware.

3) a slow I/O subsystem isn't helped by hardware IPsec acceleration
and this problem persists, even for high-end systems. e.g., gig-ether
cards require large amounts of buffering to have reasonable performance, 
  and the OS interrupt overhead must be minimized.

In summary, whether hardware has the potential to be faster depends on 
more than just the added silicon...

Joe



From owner-ipsec@lists.tislabs.com  Fri Jan 31 14:05:13 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA15726
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 14:05:13 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id MAA21280
	Fri, 31 Jan 2003 12:08:07 -0500 (EST)
Message-ID: <3E3AADB7.36192A33@bstormnetworks.com>
Date: Fri, 31 Jan 2003 09:09:11 -0800
From: "Scott G. Kelly" <scott@bstormnetworks.com>
Organization: BlackStorm Networks
X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.18-3 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
CC: ipsec@lists.tislabs.com
Subject: Re: Modefg considered harmful
References: <200301310100.h0V10gUL011854@marajade.sandelman.ottawa.on.ca>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Hi Michael,

Michael Richardson wrote:
<trimmed...> 
>   I still do not understand why creating a ephemeral IPsec SA to carry the
> DHCP traffic makes sense. I don't see that it is any easier for
> bump-in-the-stack implementations, nor do I see it easier for in-stack
> implementations.

This is probably a point of confusion for some, and is what originally
resulted in a change that some folks have referred to as "kludgy", that
being the on-the-fly modification of the selectors you can do to after
dhcp to avoid the second sa negotiation.

We should back up a bit, as there is something really fundamental that
should be called out. Not all ipsec users have the same security
requirements, so ideally, the mechanisms we design should be adaptable
to varying levels of security, depending upon one's needs.

In the case at hand, it is not always *necessary* that the precise
selectors be known in advance of phase 2. In some cases, we may be
willing to trust both tunnel endpoints to behave, and in such cases a
phase 2 can be negotiated with zero'd traffic selectors prior to DHCP,
and this SA can be used for all traffic. In such cases, it is not
necessary to have a separate SA for DHCP, and it is not necessary to do
anything "kludgy" if you want to avoid this. It is only in the cases
where security requirements are such that the SGW is not able/willing to
trust the IRAC, and therefore requires more stringent address controls,
in which the ephemeral DH SA (or some hack to get around it) is
required.

Scott


From owner-ipsec@lists.tislabs.com  Fri Jan 31 14:34:08 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA16450
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 14:34:06 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id MAA21444
	Fri, 31 Jan 2003 12:32:38 -0500 (EST)
From: "Jayant Shukla" <jshukla@trlokom.com>
To: "'Stephen Kent'" <kent@bbn.com>
Cc: <ipsec@lists.tislabs.com>
Subject: RE: new to VPN
Date: Fri, 31 Jan 2003 09:32:27 -0800
Message-ID: <00f201c2c94e$b97f6080$5803a8c0@trlhpc1>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.2627
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
In-Reply-To: <p05111a03ba5ef11c6660@[128.33.238.190]>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit



> -----Original Message-----
> From: owner-ipsec@lists.tislabs.com
[mailto:owner-ipsec@lists.tislabs.com]
> On Behalf Of Stephen Kent
> Sent: Thursday, January 30, 2003 2:42 PM
> To: Jayant Shukla
> Cc: ipsec@lists.tislabs.com
> Subject: RE: new to VPN
> 
> At 7:56 PM -0800 1/29/03, Jayant Shukla wrote:
> >  > -----Original Message-----
> >>  From: owner-ipsec@lists.tislabs.com
> >[mailto:owner-ipsec@lists.tislabs.com]
> >>  On Behalf Of Mukesh Gupta
> >>  > Is it true that the hardware VPN solutions are always better,
> >>  > trusted and have higher secure level than software VPN?
> >>
> >
> >On the contrary, I think software solutions are becoming more secure
> >than the hardware solutions. If you look at technologies related to
> >intrusion prevention or known/unknown Trojan detection, the software
> >solutions have a much better edge.
> 
> Any software solution executing in a conventional OS context will be
> vulnerable to all of the vulnerabilities that allow exploitation of
> that OS. 

If you shut off unnecessary services then one can overcome majority, if
not all, vulnerabilities that you are talking about. I think you would
agree that the hardware box too will be less secure if you run a lot of
services on it?

> In contrast, an IPsec implementation operating in a
> constrained environment with a minimal OS, perhaps just a scheduler,
> is less vulnerable in general. 

Ok, no services and a limited OS! That's good, but what makes you think
the limited OS will not have any vulnerabilities? Is there a size below
which an OS ceases to have any vulnerability?

This box with limited OS that you describe must be very difficult to
use! How do you configure/update/manage these boxes in a VPN with say 50
sites?

> Also, if one uses hardware to generate
> keys and if one keeps the keys inside the hardware (consistent with
> FIPS 140-1/2 level 3 design criteria) the keys will be very well
> protected, something that we simply cannot do in software.
> 

There is a lot more to practical security than FIPS level 3. Maybe your
box is fine, but a Trojan can have a field day with the computers behind
your box.

Another point about gateway based security is that your data is not
secure over the local network, and is vulnerable to internal attacks.
According to an FBI survey, over 80% of the attacks come from inside?

The bottom line is that making a sweeping claim that hardware is more
secure is misleading. 

Regards,
Jayant
www.trlokom.com  






From owner-ipsec@lists.tislabs.com  Fri Jan 31 14:34:07 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA16449
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 14:34:06 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id MAA21502
	Fri, 31 Jan 2003 12:38:43 -0500 (EST)
Message-Id: <200301311740.h0VHeJnd006116@marajade.sandelman.ottawa.on.ca>
To: ipsec@lists.tislabs.com
cc: "Scott G. Kelly" <scott@bstormnetworks.com>
Subject: Re: Modefg considered harmful 
In-reply-to: Your message of "Fri, 31 Jan 2003 09:09:11 PST."
             <3E3AADB7.36192A33@bstormnetworks.com> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Fri, 31 Jan 2003 12:40:18 -0500
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "Scott" == Scott G Kelly <scott@bstormnetworks.com> writes:
    Scott> This is probably a point of confusion for some, and is what originally
    Scott> resulted in a change that some folks have referred to as "kludgy", that
    Scott> being the on-the-fly modification of the selectors you can do to after
    Scott> dhcp to avoid the second sa negotiation.

    Scott> We should back up a bit, as there is something really fundamental that
    Scott> should be called out. Not all ipsec users have the same security
    Scott> requirements, so ideally, the mechanisms we design should be adaptable
    Scott> to varying levels of security, depending upon one's needs.

  No, I want to back up further.
  
  The only reason to carry the DHCP over the IPsec SA is because you've
figured out a way to *reuse* an existing DHCP client implementation.  I want
to hear from multiple people who implemented this that they were actually
able to preserve the DHCP client code.

  I can see that this may work for bump-in-the-stack people... but if you
have a bump, you have complete control on where the packet goes.

  I do not see how carrying this info over an IPsec SA is at all workable for
implementations that have IPsec in the stack. In the case of the KAME
implementation, for instance, there isn't even a virtual interface on which
you could run the dhclient on.

  The kludge, to me, is using an IPsec SA at all for this.
  I think that the DHCP payload should be encapsulated in IKE.

]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBPjq1AIqHRg3pndX9AQEd1gP/ZwbzDqY5G6ueKr71ei29o6bIP+ACO6LA
LxgAG8+mXObjhy/njQDXNPxcbeK2gEXVCzguyv0TUZ1cG80+5e4f/vkVAD4twpjz
LFOyzDDzJNJIqY+vQkduuu/fS5lPKsQB2q/4pjaeYw554f/voun3ZkV/E/IgC5oH
whe/X3bjbo0=
=5KUI
-----END PGP SIGNATURE-----


From owner-ipsec@lists.tislabs.com  Fri Jan 31 14:38:39 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA16698
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 14:38:39 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id MAA21376
	Fri, 31 Jan 2003 12:22:22 -0500 (EST)
Message-Id: <200301311724.h0VHOTIg005669@marajade.sandelman.ottawa.on.ca>
To: sommerfeld@east.sun.com
cc: ipsec@lists.tislabs.com
Subject: Re: Modefg considered harmful 
In-reply-to: Your message of "Fri, 31 Jan 2003 11:49:16 EST."
             <200301311649.h0VGnGjt020924@thunk.east.sun.com> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Fri, 31 Jan 2003 12:24:28 -0500
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "Bill" == Bill Sommerfeld <sommerfeld@east.sun.com> writes:
    >> The degenerate case is a client connecting to a security-gateway/firewall
    >> of a small organization. It should get the same inner-address as when it is
    >> plugged into the organization LAN. 

    Bill> okay, good goal.

    Bill> but the way to do this is not for the relay agent to overwrite the
    Bill> client's dhcp request, but rather to annotate it using the relay agent
    Bill> information option.

  okay. I'm just not convinced that there is actually any deployed software
that lets me make this decision in the DHCP server. 
  {I've noticed that certain DHCP servers in certain commodity OSs are very
hard to even configure to provide static MAC->IP mapping... Apparently it is
possible... }

  The advantage of using DHCP is that we do not have to create new
infrastructure. The downside is that in order to maximize the simplicity, we
have to live with what is out there.

    >> You may not mind putting something on the gateway however.

    Bill> right, and there's a mechanism in the DHCP protocol for this sort of
    Bill> thing, and we should use it.

  okay. You've sold me... care to tell me what we should put in, and how I'd
deal with this on the DHCP server?

]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBPjqxS4qHRg3pndX9AQGUYwP/dPoGQrtRejS3vZu0glh8QhHYoZ7RKX2p
umeEc1rCTD5CPH+sZI2VbiSM1ZZAEa0pGrIxOFHFUx/LwSBQ9D7hnJiDyv2UVYq1
lKdNRtgThlJ+x/k97ulJY3RlN4fP1pDsxr4+IzzpbSTr6sxkxVHq2gB7bspR0MnI
j/swp1kLtsY=
=3b4l
-----END PGP SIGNATURE-----


From owner-ipsec@lists.tislabs.com  Fri Jan 31 14:50:18 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA16956
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 14:50:17 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id MAA21553
	Fri, 31 Jan 2003 12:47:48 -0500 (EST)
Message-Id: <200301311750.h0VHoQDt014278@kebe.east.sun.com>
Subject: Re: Ciphersuites for IKEv2, revised
In-Reply-To: <p05210206ba5f02f0c3a5@[165.227.249.18]> from Paul Hoffman / VPNC
 at "Jan 30, 2003 08:50:57 am"
To: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
Date: Fri, 31 Jan 2003 12:50:26 -0500 (EST)
CC: ipsec@lists.tislabs.com
From: Dan McDonald <danmcd@east.sun.com>
Organization: Sun Microsystems, Inc. - Solaris Internet Engineering
X-Mailer: ELM [version 2.4ME+ PL66 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Thanks for this most recent update.

I'm still not convinced of the goodness of suites in general, but if the WG
insists, I have to fall in with Michael that you should cordon off sections
for IKE, AH, and ESP.

Also, what happened to HMAC-MD5?!?  I know people have some issues with MD5,
but the HMAC transformation is supposed to address most of that, no?

Dan


From owner-ipsec@lists.tislabs.com  Fri Jan 31 15:05:16 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA17361
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 15:05:16 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA21675
	Fri, 31 Jan 2003 13:10:04 -0500 (EST)
Message-ID: <3E3ABC2A.1DC28C04@bstormnetworks.com>
Date: Fri, 31 Jan 2003 10:10:50 -0800
From: "Scott G. Kelly" <scott@bstormnetworks.com>
Organization: BlackStorm Networks
X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.18-3 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
CC: ipsec@lists.tislabs.com, sommerfeld@east.sun.com
Subject: Re: Modefg considered harmful
References: <200301311626.h0VGQfM5004172@marajade.sandelman.ottawa.on.ca>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Hi Michael,

Michael Richardson wrote:
> 
>   The degenerate case is a client connecting to a security-gateway/firewall
> of a small organization. It should get the same inner-address as when it is
> plugged into the organization LAN.

In my experience, this leads to routing issues that are most easily
resolved by ensuring that remote access client addresses are *never*
assigned internally.

Scott


From owner-ipsec@lists.tislabs.com  Fri Jan 31 15:07:29 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA17384
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 15:07:29 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA21657
	Fri, 31 Jan 2003 13:06:00 -0500 (EST)
Message-ID: <3E3ABB5F.D2D9CEF7@bstormnetworks.com>
Date: Fri, 31 Jan 2003 10:07:27 -0800
From: "Scott G. Kelly" <scott@bstormnetworks.com>
Organization: BlackStorm Networks
X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.18-3 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
CC: ipsec@lists.tislabs.com
Subject: Re: Modefg considered harmful
References: <200301311740.h0VHeJnd006116@marajade.sandelman.ottawa.on.ca>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Hi Michael,

Michael Richardson wrote:
<trimmed...> 
> -----BEGIN PGP SIGNED MESSAGE-----
> 
>   The only reason to carry the DHCP over the IPsec SA is because you've
> figured out a way to *reuse* an existing DHCP client implementation.  I want
> to hear from multiple people who implemented this that they were actually
> able to preserve the DHCP client code.

Or (perhaps more importantly), you've figured out a way to reuse the
existing DHCP *infrastructure*. Modifications of some sort must be made
at the client end either way, whether you transport things over IKE or
over IP/IPsec. You either have to have some concept of virtual interface
which is bound to the tunnel via routing mechanics, or you have to come
up with some other sort of mechanism. Arguably, running dhcp over ike
requires more hacking than running it over IPsec.

And running DHCP over IPsec allows us to minimize the interaction with
IPsec and IKE.

>   I do not see how carrying this info over an IPsec SA is at all workable for
> implementations that have IPsec in the stack. In the case of the KAME
> implementation, for instance, there isn't even a virtual interface on which
> you could run the dhclient on.

I don't see the relevance - seems like if this is the case, it is the
consequence of a kame implementation decision.

>   The kludge, to me, is using an IPsec SA at all for this.
>   I think that the DHCP payload should be encapsulated in IKE.

I guess we disagree on this point.

Scott


From owner-ipsec@lists.tislabs.com  Fri Jan 31 15:09:31 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA17447
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 15:09:31 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA21715
	Fri, 31 Jan 2003 13:15:09 -0500 (EST)
Mime-Version: 1.0
X-Sender: phoffvpnc@mail.vpnc.org
Message-Id: <p0521022eba606664f4dc@[165.227.249.18]>
In-Reply-To: <E18eNcL-0004sj-00@think.thunk.org>
References: <E18eNcL-0004sj-00@think.thunk.org>
X-Habeas-SWE-1: winter into spring
X-Habeas-SWE-2: brightly anticipated
X-Habeas-SWE-3: like Habeas SWE (tm)
X-Habeas-SWE-4: Copyright 2002 Habeas (tm)
X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this
X-Habeas-SWE-6: email in exchange for a license for this Habeas
X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant
X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this
X-Habeas-SWE-9: mark in spam to <http://www.habeas.com/report>.
Date: Fri, 31 Jan 2003 10:17:25 -0800
To: "Theodore Ts'o" <tytso@mit.edu>, ipsec@lists.tislabs.com
From: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
Subject: Revised identity, again
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Wearing his WG chair hat, Ted said about the revised identity proposal:

>This would be fundamental change in the management and administraton of
>IPSEC and IKE, so is not something to adopt lightly, and without a clear
>consensus of the working group.

It is inappropriate for the WG chairs to, with less than two weeks 
before the document is supposed to be finished, to make such 
pronouncements about WG procedure. Many people assumed that because 
the proposal had as much support as other proposals, it would go into 
the current draft.

It is also inappropriate for the WG chairs to recast a proposal as 
something that it is not. The revised identity proposal doesn't 
change anything major about the management of administration of 
either IPsec or IKE. It clarifies the use of identity in PKIX 
certificates, and makes it more likely that IKEv2 will work in 
environments where IKEv1 does not, namely where fragmented UDP 
payloads get dropped.

>   This was discussed in two threads on
>the IPSEC mailing list: one starting on November 5th (subject Adding
>revised identities to IKEv2), and one starting on December 8th (subject:
>Summary of revised identity changes).  People who spoke in favor on the
>mailing list included Francis Dupont and Bill Sommerfeld, with qualified
>support from Michael Richardson (if support for bare keys is added) and
>Tero Kivinen (who is concerned about the complexity of the proposal).

And, if I remember correctly, no one spoke against it. This is 
typical of this WG. Almost every other change to IKEv2 has been made 
with about the same amount of support. It is inappropriate for the WG 
chairs to now say "that much support is enough for some proposals, 
but not for this one".

>This proposal was discussed in Atlanta, but Charlie, Barbara, and Ted
>were left with the impression that there was not consensus among those
>who met to discuss legacy authentication after the IPSEC wg meeting to
>pursue adoption of Paul's proposed change.  Paul believes otherwise.

This is irrelevant. The revised identity proposal was barely 
discussed in that meeting *because it is unrelated to legacy 
authentication and remote configuration*. The revised identity 
proposal is almost exclusively about normal authentication with 
certificates.

The statement "Paul believes otherwise" is also completely untrue. 
Ted never asked me about it; if he had, I would have said "we didn't 
really discuss it much because it was irrelevant".

>Since it is the job of working group chairs to determine consensus, we
>(Barbara and Ted) hereby ask that those who believe we should pursue the
>revised identity proposal to please speak up.

The WG chairs need to explain to the WG how they will judge consensus 
on this. Without that, we cannot determine whether or not we should 
bother to have a discussion.

>It should be noted that there are some intermediate positions beyond
>what is currently in draft-ietf-ipsec-ikev2-04.txt and the
>revised-identies draft.  For example, we could add the Hash-and-URL type
>to the Certificate payload, if the goal is shrink the size of IKE
>messages (with the tradeoff of increasing complexity in IKE
>implementations).   We could also add a CERT hash type to the ID
>payload, without nuking the traditional FQDN or IPv4/6 addresses
>identity mechanisms (although again, by adding new types, we would be
>increasing the complexity of the specification and implementations).

This paragraph means that the many years of on-and-off discussion 
about the lack of clarity of IKEv1 with respect to what does an ID 
payload mean when using certificates is now ignored. The fact that 
there is vastly less interoperability for certificate authentication 
than for preshared secret authentication (or even XAUTH 
authentication!) is now irrelevant.

According to the WG chairs, IKEv2 should use the same under-specified 
and non-specified rules for certificate processing as IKEv1.

Is this what the working group wants?

--Paul Hoffman, Director
--VPN Consortium


From owner-ipsec@lists.tislabs.com  Fri Jan 31 15:20:06 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA17646
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 15:20:05 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA21770
	Fri, 31 Jan 2003 13:22:32 -0500 (EST)
Message-Id: <200301311824.h0VIOFMc007421@marajade.sandelman.ottawa.on.ca>
To: "Scott G. Kelly" <scott@bstormnetworks.com>
cc: ipsec@lists.tislabs.com
Subject: Re: Modefg considered harmful 
In-reply-to: Your message of "Fri, 31 Jan 2003 10:07:27 PST."
             <3E3ABB5F.D2D9CEF7@bstormnetworks.com> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Fri, 31 Jan 2003 13:24:15 -0500
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "Scott" == Scott G Kelly <scott@bstormnetworks.com> writes:
    Scott> Hi Michael,

    Scott> Michael Richardson wrote:
    Scott> <trimmed...> 
    >> -----BEGIN PGP SIGNED MESSAGE-----
    >> 
    >> The only reason to carry the DHCP over the IPsec SA is because you've
    >> figured out a way to *reuse* an existing DHCP client implementation.  I want
    >> to hear from multiple people who implemented this that they were actually
    >> able to preserve the DHCP client code.

    Scott> Or (perhaps more importantly), you've figured out a way to reuse the
    Scott> existing DHCP *infrastructure*. Modifications of some sort must be made
    Scott> at the client end either way, whether you transport things over IKE or
    Scott> over IP/IPsec. You either have to have some concept of virtual interface

  Well, if we agree on this, then we should avoid having to change both IKE
and IPsec.

    Scott> which is bound to the tunnel via routing mechanics, or you have to come
    Scott> up with some other sort of mechanism. Arguably, running dhcp over ike
    Scott> requires more hacking than running it over IPsec.

  No, it requires that you change both IPsec (to introduce these changeable
selectors, or to make it have a virtual interface, or to permit a 0/0<->0/0
tunnel) and IKE. Remember that you have to do this at the gateway as well.

  I can see implementing DHCP-over-IKE, or modecfg without any changes to IPsec.

    Scott> And running DHCP over IPsec allows us to minimize the interaction with
    Scott> IPsec and IKE.

  I don't see how this follows. It only is true if you have an existing
virtual interface, which already pretends to be an ethernet, and already runs
a dhcp client. I.e. you are a bump-in-the-stack-of-windows.

    >> I do not see how carrying this info over an IPsec SA is at all workable for
    >> implementations that have IPsec in the stack. In the case of the KAME
    >> implementation, for instance, there isn't even a virtual interface on which
    >> you could run the dhclient on.

    Scott> I don't see the relevance - seems like if this is the case, it is the
    Scott> consequence of a kame implementation decision.

  RFC2401 does not require virtual interfaces. DHCP-over-IPsec-SA requires them.

]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBPjq/TIqHRg3pndX9AQFWFAQA5D/bHRjVH8fNvZ7sedXFiqgcm//0iX6i
e0Cw4uzbzcLtaM7YzALV/vHerKkJPDg2534KdmV+igFdF1/Wm2HD4eeNX0Tsqbz4
x0QlmqcALtrfNmxE6mP1bNs4905ma3QL4vAUJ8D2q7YVYDaD1P9qR0XisEoZecV5
k4a8I/VsTZ8=
=q/lI
-----END PGP SIGNATURE-----


From owner-ipsec@lists.tislabs.com  Fri Jan 31 15:28:26 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA17902
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 15:28:26 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA21716
	Fri, 31 Jan 2003 13:15:15 -0500 (EST)
Mime-Version: 1.0
X-Sender: phoffvpnc@mail.vpnc.org
Message-Id: <p0521022dba605a892d66@[165.227.249.18]>
In-Reply-To: <E18eNcL-0004sj-00@think.thunk.org>
References: <E18eNcL-0004sj-00@think.thunk.org>
X-Habeas-SWE-1: winter into spring
X-Habeas-SWE-2: brightly anticipated
X-Habeas-SWE-3: like Habeas SWE (tm)
X-Habeas-SWE-4: Copyright 2002 Habeas (tm)
X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this
X-Habeas-SWE-6: email in exchange for a license for this Habeas
X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant
X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this
X-Habeas-SWE-9: mark in spam to <http://www.habeas.com/report>.
Date: Fri, 31 Jan 2003 10:15:55 -0800
To: "Theodore Ts'o" <tytso@mit.edu>, ipsec@lists.tislabs.com
From: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
Subject: Ciphersuites MUSTs and SHOULDs
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Wearing his WG chair hat, Ted said:

>I have adjusted the MUST/SHOULD from Paul's message since I believe that
>for implementations that will be moving to implement IKEv2, it is
>reasonable to require the implementation of AES, as it as so many
>advantages over 3DES.

The current proposal contains not only a list of MUSTs and SHOULDs, 
it has language that is supposed to go into the document about them. 
The counter-proposal doesn't change the support language. The 
counter-proposal offers no security or interoperability rationale. 
For example, the counter-proposal mandates both 3DES and AES. How 
does that help interoperability or security?

Ted's proposal (which is certainly not based on any consensus from 
the mailing list) essentially prevents any currently-deployed IPsec 
system that has 3DES-acceleration from running IKEv2 sensibly. The 
vendor would have to offer AES in software next to 3DES in hardware, 
and hopefully explain to the user what the difference is.

Is this what the WG wants? Or would the WG prefer a set of MUSTs and 
SHOULDs that allow vendors to update currently-deployed systems with 
IKEv2?

--Paul Hoffman, Director
--VPN Consortium


From owner-ipsec@lists.tislabs.com  Fri Jan 31 15:54:53 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA18638
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 15:54:52 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA22073
	Fri, 31 Jan 2003 13:59:58 -0500 (EST)
Message-ID: <3E3AC84E.5080101@zhwin.ch>
Date: Fri, 31 Jan 2003 20:02:38 +0100
From: Andreas Steffen <andreas.steffen@zhwin.ch>
Organization: Zuercher Hochschule Winterthur
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1) Gecko/20020826
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Scott G. Kelly" <scott@bstormnetworks.com>
Cc: Michael Richardson <mcr@sandelman.ottawa.on.ca>, ipsec@lists.tislabs.com
Subject: Re: Modefg considered harmful
References: <200301310100.h0V10gUL011854@marajade.sandelman.ottawa.on.ca> <3E3AADB7.36192A33@bstormnetworks.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Hi Scott,

we at the Zurich University of Applied Sciences have implemented
DHCP-over-IPsec (RFC 3456) as an add-on for Linux FreeS/WAN last
summer and this convenient feature is now being widely used by many
people. From our own VPN production system at the university we have
gained practical experience in everyday use.

If you don't allow split-tunneling for remote VPN clients then I
must agree with you that a special DHCP SA for getting a Virtual IP
address won't be needed since the subnet mask will be 0.0.0.0/0 anyway.

But in all other cases where the remote client is allowed to access
the Internet locally (e.g. via NAT) and just maintains one or several
IPsec tunnels to specific subnets, you must setup a short-lived DHCP
SA restricted to 0.0.0.0:udp/68 because the DHCPDISCOVER broadcast message
carries a destination IP of 255.255.255.255 but you wouldn't want to
tunnel all IP traffic over this SA.

Regards

Andreas

Scott G. Kelly wrote:
> Hi Michael,
> 
> Michael Richardson wrote:
> <trimmed...> 
> 
>>  I still do not understand why creating a ephemeral IPsec SA to carry the
>>DHCP traffic makes sense. I don't see that it is any easier for
>>bump-in-the-stack implementations, nor do I see it easier for in-stack
>>implementations.
> 
> 
> This is probably a point of confusion for some, and is what originally
> resulted in a change that some folks have referred to as "kludgy", that
> being the on-the-fly modification of the selectors you can do to after
> dhcp to avoid the second sa negotiation.
> 
> We should back up a bit, as there is something really fundamental that
> should be called out. Not all ipsec users have the same security
> requirements, so ideally, the mechanisms we design should be adaptable
> to varying levels of security, depending upon one's needs.
> 
> In the case at hand, it is not always *necessary* that the precise
> selectors be known in advance of phase 2. In some cases, we may be
> willing to trust both tunnel endpoints to behave, and in such cases a
> phase 2 can be negotiated with zero'd traffic selectors prior to DHCP,
> and this SA can be used for all traffic. In such cases, it is not
> necessary to have a separate SA for DHCP, and it is not necessary to do
> anything "kludgy" if you want to avoid this. It is only in the cases
> where security requirements are such that the SGW is not able/willing to
> trust the IRAC, and therefore requires more stringent address controls,
> in which the ephemeral DH SA (or some hack to get around it) is
> required.
> 
> Scott

======================================================================
Andreas Steffen                     e-mail: andreas.steffen@zhwin.ch
Zuercher Hochschule Winterthur      home:   http://www.zhwin.ch/~sna/
CH-8401 Winterthur (Switzerland)    phone:  +41 52 267 76 77
===============================================================[ZHW]==




From owner-ipsec@lists.tislabs.com  Fri Jan 31 16:05:44 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA18919
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 16:05:44 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA22150
	Fri, 31 Jan 2003 14:17:12 -0500 (EST)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15930.55860.749000.359251@gargle.gargle.HOWL>
Date: Fri, 31 Jan 2003 15:19:00 -0500
From: Paul Koning <pkoning@equallogic.com>
To: touch@ISI.EDU
Cc: ipsec@lists.tislabs.com
Subject: Re: new to VPN
References: <200301291902.h0TJ22n03176@localhost.localdomain>
	<3E3AA86D.5010904@isi.edu>
X-Mailer: VM 7.07 under 21.4 (patch 10) "Military Intelligence (Windows)" XEmacs Lucid
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

>>>>> "Joe" == Joe Touch <touch@ISI.EDU> writes:

 Joe> 1) For some algorithms, such as DES, hardware can be 10-100x
 Joe> faster than software. For others, e.g., MD5, software and
 Joe> hardware have similar speeds.

If you have a software implementation of MD5 that runs at several
gigabits per second, I'd love to see it...

	 paul



From owner-ipsec@lists.tislabs.com  Fri Jan 31 17:51:19 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA21150
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 17:51:19 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA22396
	Fri, 31 Jan 2003 16:01:14 -0500 (EST)
X-Authentication-Warning: desire.geoffk.org: geoffk set sender to geoffk@geoffk.org using -f
To: Cheryl Madson <cmadson@cisco.com>
Cc: ipsec@lists.tislabs.com
Subject: Re: Modefg considered harmful
References: <Your message of "Thu, 30 Jan 2003 15:09:13 PST."
	<Pine.LNX.4.44.0301301458430.30276-100000@internaut.com>
	<4.3.2.7.2.20030130170851.04908778@mira-sjcm-4.cisco.com>
From: Geoff Keating <geoffk@geoffk.org>
Date: 31 Jan 2003 11:55:13 -0800
In-Reply-To: <4.3.2.7.2.20030130170851.04908778@mira-sjcm-4.cisco.com>
Message-ID: <jm3cn9857i.fsf@desire.geoffk.org>
Lines: 18
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Cheryl Madson <cmadson@cisco.com> writes:

> I've always contended that for IKEv1 that *both* modecfg and DHCP
> had the same underlying issue -- an introduction of a "special" state
> into the protocol processing (either somewhat explicitly via "phase 1.5"
> or implicitly via the "special phase 2 which if it happens has to happen
> before any other phase 2").

I agree with this.  One of the most annoying parts of implementing
modecfg and XAUTH when I did it was that it adds a large number of
states to IKE negotiation, and the behaviour in each state is not
always obvious.  The modecfg draft I saw, for instance, wasn't clear
on whether the initiator should expect the responder to give it an
address without asking; or whether it had to ask; or whether it could
just tell the responder that it was taking a known-good address.

-- 
- Geoffrey Keating <geoffk@geoffk.org>



From owner-ipsec@lists.tislabs.com  Fri Jan 31 17:51:20 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA21154
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 17:51:19 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA22415
	Fri, 31 Jan 2003 16:02:14 -0500 (EST)
Date: Fri, 31 Jan 2003 12:57:05 -0800 (PST)
From: Jan Vilhuber <vilhuber@cisco.com>
To: <ipsec@lists.tislabs.com>
Subject: [AVT] I-D ACTION:draft-vilhuber-hcoesp-00.txt (fwd)
Message-ID: <Pine.LNX.4.33.0301311252150.30301-120000@janpc-home.cisco.com>
MIME-Version: 1.0
Content-Type: MULTIPART/Mixed; BOUNDARY=NextPart
Content-ID: <Pine.LNX.4.33.0301311252151.30301@janpc-home.cisco.com>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--NextPart
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <Pine.LNX.4.33.0301311252152.30301@janpc-home.cisco.com>

FYI.

This is a use of draft-vilhuber-hcoip-00.txt (i.e. read that one first).

jan
 --
Jan Vilhuber                                            vilhuber@cisco.com
Cisco Systems, San Jose                                     (408) 527-0847

"If Jack Valenti had been around at the time of Gutenberg he would have
organized the monks to come and burn down the printing press."
  -- Harris Miller, president of the ITAA

---------- Forwarded message ----------
Date: Wed, 29 Jan 2003 06:54:08 -0500
From: Internet-Drafts@ietf.org
To: IETF-Announce:  ;
Cc: avt@ietf.org
Subject: [AVT] I-D ACTION:draft-vilhuber-hcoesp-00.txt

A New Internet-Draft is available from the on-line Internet-Drafts directories.


	Title		: IP header compression in IPsec ESP
	Author(s)	: J. Vilhuber
	Filename	: draft-vilhuber-hcoesp-00.txt
	Pages		: 8
	Date		: 2003-1-28

This draft outlines how to use IP Header compression over IP tunnels
[HCOIP] inside IPsec ESP [ESP].

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-vilhuber-hcoesp-00.txt

To remove yourself from the IETF Announcement list, send a message to
ietf-announce-request with the word unsubscribe in the body of the message.

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-vilhuber-hcoesp-00.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-vilhuber-hcoesp-00.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.


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

--NextPart
Content-Type: MULTIPART/ALTERNATIVE; BOUNDARY=OtherAccess
Content-ID: <Pine.LNX.4.33.0301311252153.30301@janpc-home.cisco.com>
Content-Description: 

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--OtherAccess
Content-Type: MESSAGE/EXTERNAL-BODY; ACCESS-TYPE=mail-server; SERVER="mailserv@ietf.org"
Content-ID: <Pine.LNX.4.33.0301311252154.30301@janpc-home.cisco.com>

--OtherAccess
Content-Type: MESSAGE/EXTERNAL-BODY; NAME="draft-vilhuber-hcoesp-00.txt"; SITE="ftp.ietf.org"; ACCESS-TYPE=anon-ftp; DIRECTORY=internet-drafts
Content-ID: <Pine.LNX.4.33.0301311252155.30301@janpc-home.cisco.com>

--OtherAccess--
--NextPart--



From owner-ipsec@lists.tislabs.com  Fri Jan 31 17:51:21 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA21177
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 17:51:20 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id PAA22379
	Fri, 31 Jan 2003 15:57:12 -0500 (EST)
Reply-To: <ddukes@cisco.com>
From: "Darren Dukes" <ddukes@cisco.com>
To: "Bernard Aboba" <aboba@internaut.com>, <ipsec@lists.tislabs.com>
Subject: RE: Modefg considered harmful
Date: Fri, 31 Jan 2003 15:58:56 -0500
Message-ID: <JJEIIAMEIEEPEILEFFODMECFEDAA.ddukes@cisco.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
In-reply-to: <Pine.LNX.4.44.0301301458430.30276-100000@internaut.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Importance: Normal
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Bernard you made me read a lot of specs today, something I should have done
weeks ago.  I am no DHCP expert, in fact I haven't looked at RFC2131 for
years (until today).  Hopefully I've retained enough from them to make sense
to you, I know someone (probably many) will tell me if I don't.

I agree with some of what you write but ipsec-DHCP suffers from some of the
same problems as you suggest IKECFG suffers from, plus others.

"Basic Configuration"
   A definite problem for IKECFG but I do think it can be overcome with
DHCPINFORM, 5.6.4 of RFC3118 allows the DHCP server to accept authenticated
or unauthenticated DHCPINFORM and may reply with authenticated or
unauthenticated DHCPINFORM.  Besides if the ipsec client has a shared key
for local DHCP use he can reuse that key for the DHCPINFORM since K =
MAC(MK, opaque unique-id).

  ipsec-DHCP suffers from the opposite problem.  It does not contain the
rich configuration options that vendors have added to IKECFG.  While many
_are_ vendor-specific the ability to move them to DHCP servers and the
OS-specific-DHCP implementation in ipsec clients is no trivial matter and
will likely result in a non-standardized way of distributing non-DHCP,
per-user VPN configuration.

"Address Management Integration"
   Remote access is where IKECFG and ipsec-DHCP is used, and implementations
do retrieve ipsec client user configuration from RADIUS servers.  This
brings up a shortfall of ipsec-DHCP; the SGW, as a DHCP-relay agent, can not
insert options into the OFFER or ACK without breaking RFC3118 so it can not
relay any user-specific configuration from a RADIUS server (or even locally
configured) to the ipsec client.  All user configuration must then reside on
the DHCP server, or be transported via some other method.

"Address Pool Management"
   I'm not sure what you mean here, the identity of the peer is known in
IKECFG so a pool may be selected based on that.

"Reconfiguration"
   You're wrong here.  IKECFG can support reconfiguration of an IP address.
It can either be SET by the SGW to the ipsec client if the client still has
an IKE SA when approaching the time of expiry, or the expiry attribute can
be used and the ipsec client can request the address when it is about to
expire.  The address may also be tied to the IKE SA and be released when
there is no longer an IKE-SA with the client.  The address could be changed
by the SGW on a whim, and cause all sorts of havok to tcp sessions and the
ipsec tunnels, but the same would be true for ipsec-DHCP.

"Failover Support"
  This is simpler for ipsec-DHCP since the SGW _may_ know nothing of the
contents of the ACK.  However if the SGW is sniffing the ACK to glean
configuration it will need to maintain and checkpoint that extra state as
well.  The gain in my opinion is minimal.

"Authentication"
  The SGW has no need to issue an authentication option with the clients ID.
It can use its own.  From a quick glean of RFC3118 the client identifier is
opaque to the server and only serves to uniquely identify a client and
generate or lookup a key for authentication of the DHCP* packet.  Such a
client identifier could (must?) be created by the SGW for any ipsec client
requesting an IP address via modecfg and offer the same shared key
authentication available to ipsec-DHCP clients.

Regarding this...
>    Since RFC 2131 [3] assumes that a DHCPREQUEST will not contain a
>    filled in giaddr field when generated during RENEWING state, the
>    DHCPACK will be sent directly to the client, which will not be
>    expecting it.  As a result, it is either necessary for the security
>    gateway to add special code to avoid forwarding such packets, or to
>    wait until REBINDING state.  Since [3] does not specify that the
>    giaddr field cannot be filled in when in the REBINDING state, the
>    security gateway may put its own address in the giaddr field when in
>    REBINDING state, thereby ensuring that it can receive the renewal
>    response without treating it as a special case.

It's really implementation specific but the IKECFG SGW could implement the
special code you mention (I'm sure some do now).  It could also fill in the
giaddr and act as its own relay agent for the renew request.  Ensuring it
will receive the ACK or NACK and processing and dropping it when it does.
Any other relay agents that may be between it and the DHCP server are
required to forward the packet unmodified.

Darren



> -----Original Message-----
> From: owner-ipsec@lists.tislabs.com
> [mailto:owner-ipsec@lists.tislabs.com]On Behalf Of Bernard Aboba
> Sent: Thursday, January 30, 2003 6:09 PM
> To: ipsec@lists.tislabs.com
> Subject: Modefg considered harmful
>
>
> OK, I'll speak up.
>
> One of the major requirements for IPSRA in choosing DHCP-based
> configuration was so that we could move towards a single configuration
> model for both real and virtual interfaces -- and one which supported the
> security features that have been under development over the last few years
> -- such as RFC 3118 and was compatible with both IPv4 and IPv6.
>
> Among other things, Modecfg does not satisfy those requirements,
> as outlined in RFC 3456. In particular, were Modecfg to be extended to
> IPv6, it would constitute an alternative to RS/RA, complicating the IPv6
> architecture.
>
> In addition, Modecfg is incompatible with DHCP security as
> described in RFC 3118, so that contrary to your statements below, it is
> *not* easy to integrate it correctly with DHCP.
>
> There are lots of other reasons why Modecfg is a bad idea -- and why the
> IPSRA WG chose not to select it. In fact, there are so many that an entire
> appendix in RFC 3456 had to be devoted to listing them all (and I left out
> quite a few). Here is the text:
>
> ======================================================================
> Appendix - IKECFG evaluation
>
>    Alternatives to DHCPv4, such as ISAKMP CFG, described in [13], do not
>    meet the basic requirements described in [21], nor do they provide
>    the additional capabilities of DHCPv4.
>
>    Basic configuration
>          While ISAKMP CFG can provide for IP address assignment as well
>          as configuration of a few additional parameters such as the DNS
>          server and WINS server addresses, the rich configuration
>          facilities of DHCPv4 are not supported.  Past experience with
>          similar configuration mechanisms within PPP IPCP [11] has
>          taught us that it is not viable merely to support minimal
>          configuration.  Eventually, either much of the functionality
>          embodied in the DHCPv4 options [4] is duplicated or support for
>          DHCPINFORM [3] will be required.
>
>    Address management integration
>          Since IKECFG is not integrated with existing IP address
>          management facilities, it is difficult to integrate it with
>          policy management services that may be dependent on the user to
>          IP address binding.
>
>    Address pool management
>          IKECFG does not provide a mechanism for the remote host to
>          indicate a preference for a particular address pool.  This
>          makes it difficult to support address pool management.
>
>    Reconfiguration
>          IKECFG does not support the concept of configuration leases or
>          reconfiguration.
>
>    Fail-over support
>          Since IKECFG creates a separate pool of address state, it
>          complicates the provisioning of network utility-class
>          reliability, both in the IP address management system and in
>          the security gateways themselves.
>
>    Security and simplicity
>          As past history with PPP IPCP demonstrates, once it is decided
>          to provide non-integrated address management and configuration
>          facilities within IKE, it will be difficult to limit the
>          duplication of effort to address assignment.  Instead, it will
>          be tempting to also duplicate the configuration, authentication
>          and fail-over facilities of DHCPv4.  This duplication will
>          greatly increase the scope of work, eventually compromising the
>          security of IKE.
>
>    Authentication
>          While IKECFG can support mutual authentication of the IPsec
>          tunnel endpoints, it is difficult to integrate IKECFG with
>          DHCPv4 authentication [5].  This is because the security
>          gateway will not typically have access to the client
>          credentials necessary to issue an DHCPv4 authentication option
>          on the client's behalf.
>
>    As a result, security gateways implementing IKECFG typically request
>    allocation of an IP address on their own behalf, and then assign this
>    to the client via IKECFG.  Since IKECFG does not support the concept
>    of an address lease, the security gateway will need to do the renewal
>    itself.  This complicates the renewal process.
>
>    Since RFC 2131 [3] assumes that a DHCPREQUEST will not contain a
>    filled in giaddr field when generated during RENEWING state, the
>    DHCPACK will be sent directly to the client, which will not be
>    expecting it.  As a result, it is either necessary for the security
>    gateway to add special code to avoid forwarding such packets, or to
>    wait until REBINDING state.  Since [3] does not specify that the
>    giaddr field cannot be filled in when in the REBINDING state, the
>    security gateway may put its own address in the giaddr field when in
>    REBINDING state, thereby ensuring that it can receive the renewal
>    response without treating it as a special case.

[ddukes] This is really implementation specific but the IKECFG SGW could
implement the special code you mention.  It could also fill in the giaddr
and act as its own relay agent for the renew request.  Ensuring it will
receive the ACK or NACK and dropping it when it does.  Any other relay
agents that may be between it and the DHCP server are required to forward
the packet unmodified.


> ======================================================================
> B) DHCP-based vs. MODECFG style remote access configuration
> -----------------------------------------------------------
>
> Currently, draft-ietf-ipsec-ikev2-04.txt handles remote access via a
> Configuration payload with defined attributes.  An alternate mechanism
> involves using tunneled DHCP requests.  The latter approach is about to be
> published as an RFC by the IPSRA working group.  Proponents of this method
> argue that it is more powerful than modecfg (because of the extensibility
> and large number of options already specified for DHCP; for example, being
> able to specify DNS, time, print, or WINS servers, and so on.)  It is also
> argued that it requires less code on the server/firewall, since an
> existing DHCP server can be used.
>
> Proponents of the modecfg approach argue that many implementation already
> have support for modecfg, and that setting up sort-lived specialized
> tunnels to allow the DHCP packets to flow through the gateway is kludgy,
> and requires multiple special case entries into packet forwarding tables.
> Modecfg proponents also argue that it is also possible to transform
> modecfg requests into DHCP requests, so there are implementation choices
> that do not require reimplementation of the DHCP's address assignment
> function.  They also point out that it certainly is possible --- and in
> some ways easier --- to obtain the time, print, WINS server information by
> using DHCP (via the DHCPINFORM
> request) after the IPSEC tunnel is setup and the client address is
> assigned.
>
> Either approach seems to be workable.  It is certainly true that most of
> the people in Atlanta were implementors who were already familiar with
> modecfg, representing a large implementation community.  That being said,
> there is also some number of working group members that are in favor of an
> approach similar to draft-ietf-ipsec-dhcp-13, including Van
> Aken Dirk, Michael Richardson, and Scott G. Kelley.   One way or
> another, however we need to make a choice and move forward.
>
> Given that we have a fully specified solution in the ikev2-04 draft, and
> it would seem that while there is a sizeable minority in favor of the
> ipsec-dhcp-13 approach, the majority are comfortable with the modecfg
> based approach.  So at this point, we, as working group chairs, judge that
> the consensus is with the current approach.
>
> If there are those who feel otherwise, or who see fatal problems with the
> current approach, please speak now.
>
> 					Ted and Barabara
> 					IPSEC wg chairs
>



From owner-ipsec@lists.tislabs.com  Fri Jan 31 17:51:23 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA21192
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 17:51:23 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id PAA22385
	Fri, 31 Jan 2003 15:59:13 -0500 (EST)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p05100313ba609265be6d@[128.89.88.34]>
In-Reply-To: <00f201c2c94e$b97f6080$5803a8c0@trlhpc1>
References: <00f201c2c94e$b97f6080$5803a8c0@trlhpc1>
Date: Fri, 31 Jan 2003 15:59:57 -0500
To: "Jayant Shukla" <jshukla@trlokom.com>
From: Stephen Kent <kent@bbn.com>
Subject: RE: new to VPN
Cc: <ipsec@lists.tislabs.com>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 9:32 AM -0800 1/31/03, Jayant Shukla wrote:
>If you shut off unnecessary services then one can overcome majority, if
>not all, vulnerabilities that you are talking about. I think you would
>agree that the hardware box too will be less secure if you run a lot of
>services on it?

The approach you describe is one that has been practiced for many 
years when vendors built firewalls on top of general purpose OS 
platforms. It has never been a way to create a very high assurance 
implementation, although I agree it improves the situation. Dedicated 
hardware devices usually do not have the OS services present to shut 
off, so they are better off.  I think we see more of this flavor in 
modern firewall products as well, so I think there is a parallel 
evolution path here.

>  > In contrast, an IPsec implementation operating in a
>>  constrained environment with a minimal OS, perhaps just a scheduler,
>>  is less vulnerable in general.
>
>Ok, no services and a limited OS! That's good, but what makes you think
>the limited OS will not have any vulnerabilities? Is there a size below
>which an OS ceases to have any vulnerability?

It is not just a matter of size, of course, but of purpose built vs. 
general purpose OS environments.

>This box with limited OS that you describe must be very difficult to
>use! How do you configure/update/manage these boxes in a VPN with say 50
>sites?

The management interface ought not be closely tied to the underlying OS.

>
>>  Also, if one uses hardware to generate
>>  keys and if one keeps the keys inside the hardware (consistent with
>>  FIPS 140-1/2 level 3 design criteria) the keys will be very well
>>  protected, something that we simply cannot do in software.
>>
>
>There is a lot more to practical security than FIPS level 3. Maybe your
>box is fine, but a Trojan can have a field day with the computers behind
>your box.

Yes, but it's not the fault of the box, which is the focus of this discussion.

>Another point about gateway based security is that your data is not
>secure over the local network, and is vulnerable to internal attacks.
>According to an FBI survey, over 80% of the attacks come from inside?

That survey is old, and had a different definition of "attack." But, 
if you want to do a good job inside an enterprise net, then the 
analogous approach is the "IPsec in the NIC" approach, which is far 
better than the "IPsec in the OS approach."

>The bottom line is that making a sweeping claim that hardware is more
>secure is misleading.

Since the comment applies to just the security of the IPsec device, 
not the computers behind it, I think it is fair to say that a 
dedicated, hardware implementation of IPsec has the potential to be 
considerably more secure than an implementation that runs on a 
general purpose computer with a general purpose OS, even if one 
attempts to harden the OS by turning off extraneous services.

Steve


From owner-ipsec@lists.tislabs.com  Fri Jan 31 17:57:53 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA21511
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 17:57:53 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA22397
	Fri, 31 Jan 2003 16:01:14 -0500 (EST)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15930.55798.379000.53856@gargle.gargle.HOWL>
Date: Fri, 31 Jan 2003 15:17:58 -0500
From: Paul Koning <ni1d@arrl.net>
To: jshukla@trlokom.com
Cc: kent@bbn.com, ipsec@lists.tislabs.com
Subject: RE: new to VPN
References: <p05111a03ba5ef11c6660@[128.33.238.190]>
	<00f201c2c94e$b97f6080$5803a8c0@trlhpc1>
X-Mailer: VM 7.07 under 21.4 (patch 10) "Military Intelligence (Windows)" XEmacs Lucid
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

>>>>> "Jayant" == Jayant Shukla <jshukla@trlokom.com> writes:
 >> In contrast, an IPsec implementation operating in a constrained
 >> environment with a minimal OS, perhaps just a scheduler, is less
 >> vulnerable in general.

 Jayant> Ok, no services and a limited OS! That's good, but what makes
 Jayant> you think the limited OS will not have any vulnerabilities?
 Jayant> Is there a size below which an OS ceases to have any
 Jayant> vulnerability?

 Jayant> This box with limited OS that you describe must be very
 Jayant> difficult to use! How do you configure/update/manage these
 Jayant> boxes in a VPN with say 50 sites?

There's a very large difference between a general purpose OS like
Windows or Unix, and an embedded system OS.  Large, as in several
orders of magnitude.

That doesn't translate into "difficult to use".  Ease of use doesn't
come from millions of bells and whistles, it comes from having a well
crafted set of services that matches the requirements of the
applications running on the system.  A dedicated VPN gateway requires
only a very small set of OS services.

In an earlier life, I was involved in building a pretty successful VPN
product.  It got very good reviews for ease of management, and in
particular did very well for large VPNs (50+ sites).  The OS in that
box is perhaps a few thousand lines -- a classic RTOS kernel.

Perhaps you need to spend some time studying how embedded systems are
built.

 >> Also, if one uses hardware to generate keys and if one keeps the
 >> keys inside the hardware (consistent with FIPS 140-1/2 level 3
 >> design criteria) the keys will be very well protected, something
 >> that we simply cannot do in software.
 >> 

 Jayant> There is a lot more to practical security than FIPS level
 Jayant> 3. Maybe your box is fine, but a Trojan can have a field day
 Jayant> with the computers behind your box.

 Jayant> Another point about gateway based security is that your data
 Jayant> is not secure over the local network, and is vulnerable to
 Jayant> internal attacks.  According to an FBI survey, over 80% of
 Jayant> the attacks come from inside?

 Jayant> The bottom line is that making a sweeping claim that hardware
 Jayant> is more secure is misleading.

That's a silly argument.  The subject of the discussion is VPN
devices.  Of course it's true that a VPN is not a complete security
solution.  That isn't the question.  The question is: given that you
use a VPN as a piece of your security solution, how do you compare the
different implementation approaches to building an IPsec VPN device?

To answer that question, you have to compare the various ways to build
that box.  Yes, you can put it in your PC.  FreeS/WAN is a good way to
do that...  You can also put it in a dedicated device.  If you do, you
have opportunity to make it more secure.  (You can also mess up and
make it less secure, of course; that's what design discipline is for.)

FIPS is mostly concerned with physical attack, i.e., what can you do
if you can get your hands on the box.  With a PC, you're lost as soon
as that happens, because PCs have no physical security.  With suitable
dedicated hardware, you can provide much better protection than that.
If you trust the locks and the people who have keys for those locks,
then this may not matter.  

     paul



From owner-ipsec@lists.tislabs.com  Fri Jan 31 18:07:18 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA21692
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 18:07:18 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA22481
	Fri, 31 Jan 2003 16:16:23 -0500 (EST)
Reply-To: <ddukes@cisco.com>
From: "Darren Dukes" <ddukes@cisco.com>
To: "Michael Richardson" <mcr@sandelman.ottawa.on.ca>,
        <ipsec@lists.tislabs.com>
Cc: "Scott G. Kelly" <scott@bstormnetworks.com>
Subject: RE: Modefg considered harmful 
Date: Fri, 31 Jan 2003 16:19:00 -0500
Message-ID: <JJEIIAMEIEEPEILEFFODGECGEDAA.ddukes@cisco.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
In-reply-to: <200301311740.h0VHeJnd006116@marajade.sandelman.ottawa.on.ca>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Importance: Normal
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

I think any mature implementations that will be trying to use DHCP for
complete configuration of the ipsec client (beyond network addresses, as is
possible with modecfg today) will need to implement their own DHCP client
and server in order to include their user-specific ipsec-VPN configuration.
So what we'll end up with is as follows.

OS-DHCP-client(optional) <-> ipsec-DHCP-client <TUNNEL> SGW-DHCP-server

Reusing the OS DHCP client (if possible at all) will not give enough
flexibility.

Darren

> -----Original Message-----
> From: owner-ipsec@lists.tislabs.com
> [mailto:owner-ipsec@lists.tislabs.com]On Behalf Of Michael Richardson
> Sent: Friday, January 31, 2003 12:40 PM
> To: ipsec@lists.tislabs.com
> Cc: Scott G. Kelly
> Subject: Re: Modefg considered harmful
>
>
> -----BEGIN PGP SIGNED MESSAGE-----
>
>
> >>>>> "Scott" == Scott G Kelly <scott@bstormnetworks.com> writes:
>     Scott> This is probably a point of confusion for some, and is
> what originally
>     Scott> resulted in a change that some folks have referred to
> as "kludgy", that
>     Scott> being the on-the-fly modification of the selectors you
> can do to after
>     Scott> dhcp to avoid the second sa negotiation.
>
>     Scott> We should back up a bit, as there is something really
> fundamental that
>     Scott> should be called out. Not all ipsec users have the
> same security
>     Scott> requirements, so ideally, the mechanisms we design
> should be adaptable
>     Scott> to varying levels of security, depending upon one's needs.
>
>   No, I want to back up further.
>
>   The only reason to carry the DHCP over the IPsec SA is because you've
> figured out a way to *reuse* an existing DHCP client
> implementation.  I want
> to hear from multiple people who implemented this that they were actually
> able to preserve the DHCP client code.
>
>   I can see that this may work for bump-in-the-stack people... but if you
> have a bump, you have complete control on where the packet goes.
>
>   I do not see how carrying this info over an IPsec SA is at all
> workable for
> implementations that have IPsec in the stack. In the case of the KAME
> implementation, for instance, there isn't even a virtual
> interface on which
> you could run the dhclient on.
>
>   The kludge, to me, is using an IPsec SA at all for this.
>   I think that the DHCP payload should be encapsulated in IKE.
>
> ]       ON HUMILITY: to err is human. To moo, bovine.           |
>  firewalls  [
> ]   Michael Richardson, Sandelman Software Works, Ottawa, ON
> |net architect[
> ] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/
> |device driver[
> ] panic("Just another Debian GNU/Linux using, kernel hacking,
> security guy"); [
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
> Comment: Finger me for keys
>
> iQCVAwUBPjq1AIqHRg3pndX9AQEd1gP/ZwbzDqY5G6ueKr71ei29o6bIP+ACO6LA
> LxgAG8+mXObjhy/njQDXNPxcbeK2gEXVCzguyv0TUZ1cG80+5e4f/vkVAD4twpjz
> LFOyzDDzJNJIqY+vQkduuu/fS5lPKsQB2q/4pjaeYw554f/voun3ZkV/E/IgC5oH
> whe/X3bjbo0=
> =5KUI
> -----END PGP SIGNATURE-----



From owner-ipsec@lists.tislabs.com  Fri Jan 31 18:25:52 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA22194
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 18:25:52 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA22747
	Fri, 31 Jan 2003 16:49:16 -0500 (EST)
Message-Id: <4.3.2.7.2.20030131133640.07ea33e0@mira-sjcm-4.cisco.com>
X-Sender: cmadson@mira-sjcm-4.cisco.com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.2
Date: Fri, 31 Jan 2003 13:52:04 -0800
To: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
From: Cheryl Madson <cmadson@cisco.com>
Subject: Re: Revised identity, again
Cc: "Theodore Ts'o" <tytso@mit.edu>, ipsec@lists.tislabs.com
In-Reply-To: <p0521022eba606664f4dc@[165.227.249.18]>
References: <E18eNcL-0004sj-00@think.thunk.org>
 <E18eNcL-0004sj-00@think.thunk.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 10:17 AM 1/31/2003, Paul Hoffman / VPNC wrote:

>This paragraph means that the many years of on-and-off discussion about 
>the lack of clarity of IKEv1 with respect to what does an ID payload mean 
>when using certificates is now ignored. The fact that there is vastly less 
>interoperability for certificate authentication than for preshared secret 
>authentication (or even XAUTH authentication!) is now irrelevant.
>
>According to the WG chairs, IKEv2 should use the same under-specified and 
>non-specified rules for certificate processing as IKEv1.
>
>Is this what the working group wants?

I've gone through *numerous* bakeoffs where vendors have implemented
different behaviors for various things related to certs. We've had several
meetings during bakeoffs to discuss this particular issue. Even if the
vendors are able to come to some sort of consensus during the bakeoff,
the WG has been extremely apathetic about any attempts to clarify things.

I argued that one of the requirements should be that any authentication
mechanism be fully specified in the context of SOI, or not be a candidate
mechanism. A series of random specs that someone has to figure out
how to piece together isn't an answer. [I also argued that the protocol
specification be flexible enough to allow future mechanisms.]

And I for one would sure hate to see certs excluded as a mechanism;
I do think it is an extremely useful mechanism.

But I'm also really tired of having to revisit the same issues years later
because we can't take the time to figure out in some detail what needs
to happen and to adequately specify things.

thx - C



====================================
Cheryl Madson
Core IP Engineering; Security and Services
Cisco Systems, Inc.
cmadson@cisco.com



From owner-ipsec@lists.tislabs.com  Fri Jan 31 19:05:32 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA22797
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 19:05:32 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA22521
	Fri, 31 Jan 2003 16:24:28 -0500 (EST)
Reply-To: <ddukes@cisco.com>
From: "Darren Dukes" <ddukes@cisco.com>
To: "Cheryl Madson" <cmadson@cisco.com>,
        "Michael Richardson" <mcr@sandelman.ottawa.on.ca>
Cc: <ipsec@lists.tislabs.com>
Subject: RE: Modefg considered harmful 
Date: Fri, 31 Jan 2003 16:27:13 -0500
Message-ID: <JJEIIAMEIEEPEILEFFODCECHEDAA.ddukes@cisco.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
In-reply-to: <4.3.2.7.2.20030130170851.04908778@mira-sjcm-4.cisco.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Importance: Normal
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit



> -----Original Message-----
> From: owner-ipsec@lists.tislabs.com
> [mailto:owner-ipsec@lists.tislabs.com]On Behalf Of Cheryl Madson
> Sent: Thursday, January 30, 2003 8:32 PM
> To: Michael Richardson
> Cc: ipsec@lists.tislabs.com
> Subject: Re: Modefg considered harmful
>
>
> At 05:00 PM 1/30/2003, Michael Richardson wrote:
> >-----BEGIN PGP SIGNED MESSAGE-----
> >
> >
> > >>>>> "Bernard" == Bernard Aboba <aboba@internaut.com> writes:
> >     Bernard> OK, I'll speak up.
> >
> >     Bernard> One of the major requirements for IPSRA in
> choosing DHCP-based
> >     Bernard> configuration was so that we could move towards a single
> >     Bernard> configuration model for both real and virtual
> interfaces -- and
> >
> >   Bernard, I support your reasoning for using DHCP.
> >   (I'd rather that we used DHCPv6 rather than RS/RA. Since DHCP is a lot
> >easier to secure and extend than RS/RA. But that is a different argument)
> >
> >   I still do not understand why creating a ephemeral IPsec SA
> to carry the
> >DHCP traffic makes sense. I don't see that it is any easier for
> >bump-in-the-stack implementations, nor do I see it easier for in-stack
> >implementations.
>
> I've always contended that for IKEv1 that *both* modecfg and DHCP
> had the same underlying issue -- an introduction of a "special" state
> into the protocol processing (either somewhat explicitly via "phase 1.5"
> or implicitly via the "special phase 2 which if it happens has to happen
> before any other phase 2").

In IKEv2 there is no phase 1.5, either the CP is there and an address is
being requested or not.

>
> In other words, I have always hated both proposals, basically as it
> assumed that via some <unspecified> miracle both sides would
> correctly figure out that this special phase had to happen and not
> jump ahead in the state machine.
>
> IMO we can do better with IKEv2. I don't have much opinion one way
> or the other about encoding, but we need to explicitly spell it out in
> any state machine. I don't care in terms of encoding one way or the
> other, but this lack of determinism has to be addressed.
>
> thx - C
>
>
> >]       ON HUMILITY: to err is human. To moo,
> >bovine.           |  firewalls  [
> >]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net
> >architect[
> >] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device
> >driver[
> >] panic("Just another Debian GNU/Linux using, kernel hacking, security
> >guy"); [
> >-----BEGIN PGP SIGNATURE-----
> >Version: GnuPG v1.0.7 (GNU/Linux)
> >Comment: Finger me for keys
> >
> >iQCVAwUBPjnKuIqHRg3pndX9AQEGywP/dRrtuNSBHGPVgiBFLYhSA1asUiFQYjZW
> >xGu+b/+48x/t0HwhxthBInXiqT1qWwHXf9TxuxK1RPEdpF4+A/bayl7W+bB+UH8q
> >4q12R+yQkVLvxprJU8VWRxc+Wduzphw9XukDj1gZrIg7MujAIe/YMArJP4LzH8b5
> >Sk1+sVLVoNE=
> >=rha4
> >-----END PGP SIGNATURE-----
>
>
> ====================================
> Cheryl Madson
> Core IP Engineering; Security and Services
> Cisco Systems, Inc.
> cmadson@cisco.com
>



From owner-ipsec@lists.tislabs.com  Fri Jan 31 19:13:06 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA22957
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 19:13:05 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id RAA22856
	Fri, 31 Jan 2003 17:19:37 -0500 (EST)
Message-ID: <3E3AF6B3.8BFAE02D@bstormnetworks.com>
Date: Fri, 31 Jan 2003 14:20:35 -0800
From: "Scott G. Kelly" <scott@bstormnetworks.com>
Organization: BlackStorm Networks
X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.18-3 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: ddukes@cisco.com
CC: ipsec@lists.tislabs.com
Subject: Re: Modefg considered harmful
References: <JJEIIAMEIEEPEILEFFODGECGEDAA.ddukes@cisco.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Hi Darren,

Darren Dukes wrote:
> 
> I think any mature implementations that will be trying to use DHCP for
> complete configuration of the ipsec client (beyond network addresses, as is
> possible with modecfg today) will need to implement their own DHCP client
> and server in order to include their user-specific ipsec-VPN configuration.
> So what we'll end up with is as follows.
> 
> OS-DHCP-client(optional) <-> ipsec-DHCP-client <TUNNEL> SGW-DHCP-server
> 
> Reusing the OS DHCP client (if possible at all) will not give enough
> flexibility.

What ipsec-vpn configuration are you referring to? DHCP permits
configuration of (at least) the following:

      o IP address(es)
      o Subnet mask(s)
      o Broadcast address(es)
      o Host name
      o Domain name
      o Time offset
      o Servers (e.g., SMTP, POP, WWW, DNS/NIS, LPR,
        syslog, WINS, NTP, etc. )
      o Router(s)
      o Router discovery options
      o Static routes
      o MTU
      o Default TTL
      o Source routing options
      o IP Forwarding enable/disable
      o PMTU options
      o ARP cache timeout
      o X Windows options
      o NIS options
      o NetBIOS options
      o Vendor-specific options

DHCP is obvlivious to the presence of the VPN, and as far as I can tell,
it has never been the intent of either the ipsec or ipsra wg's to
provide vpn policy config, so I can't figure out what you might be
talking about.

Scott


From owner-ipsec@lists.tislabs.com  Fri Jan 31 19:36:56 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA23416
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 19:36:56 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id SAA23010
	Fri, 31 Jan 2003 18:04:34 -0500 (EST)
X-MIMEOLE: Produced By Microsoft Exchange V6.0.5762.3
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: IPSec client behaviour during Phase2 rekeying
Date: Fri, 31 Jan 2003 15:06:46 -0800
Message-ID: <C61C9973831E2949A9AA57F3B031846404EEBA4B@exch-srv.coronanetworks.com>
Thread-Topic: IPSec client behaviour during Phase2 rekeying
Thread-Index: AcLJfWxv1JMsmxv7THyDROi94W42Tw==
From: "Murali Narasimha" <Murali@coronanetworks.com>
To: <ipsec@lists.tislabs.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by lists.tislabs.com id SAA23006
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 8bit

Hi all,
I have an IPSec client and gateway setup that is using XAUTH to authenticate the user using RADIUS. Initially when the negotiation starts, the first packet in the quick mode exchange is triggering the XAUTH exchange at the gateway side. When the IPSec SA times out and the rekeying negotiation starts, is it required to authenticate the user again?

Thanks in advance.

Regards,
Murali


From owner-ipsec@lists.tislabs.com  Fri Jan 31 19:48:07 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA23814
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 19:48:07 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id SAA23049
	Fri, 31 Jan 2003 18:16:44 -0500 (EST)
Message-Id: <200301312318.h0VNIf9m015524@marajade.sandelman.ottawa.on.ca>
To: ipsec@lists.tislabs.com
Subject: Re: Modefg considered harmful 
In-reply-to: Your message of "Fri, 31 Jan 2003 14:20:35 PST."
             <3E3AF6B3.8BFAE02D@bstormnetworks.com> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Fri, 31 Jan 2003 18:18:40 -0500
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "Scott" == Scott G Kelly <scott@bstormnetworks.com> writes:
    Scott> Darren Dukes wrote:
    >> 
    >> I think any mature implementations that will be trying to use DHCP for
    >> complete configuration of the ipsec client (beyond network addresses, as is
    >> possible with modecfg today) will need to implement their own DHCP client
    >> and server in order to include their user-specific ipsec-VPN configuration.
    >> So what we'll end up with is as follows.
    >> 
    >> OS-DHCP-client(optional) <-> ipsec-DHCP-client <TUNNEL> SGW-DHCP-server
    >> 
    >> Reusing the OS DHCP client (if possible at all) will not give enough
    >> flexibility.

    Scott> What ipsec-vpn configuration are you referring to? DHCP permits
    Scott> configuration of (at least) the following:

  No, you are missing the point.
  The problem is that you have to filter certain things out, include other things.

    Scott>       o Subnet mask(s)
    Scott>       o Broadcast address(es)

  Might screw things up.

    Scott>       o Time offset

  probably wrong, take the one from the real IP, which likely is
geographically correct.

    Scott>       o Router(s)

  Probably wrong.

  You may also have to make sure that you take the DNS server from the
tunnel, so you get internal addresses. This needs to *override* the one from
both PPP and the DHCP on the real wire.

]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBPjsET4qHRg3pndX9AQFVdQP/fUOob1TNGRkKZ6HM692pLeLEG25Q9I7I
Kcfcn9v0sknaznhmJCtP4Tw2oNCoegMexrBIx8XqNnJSZ8z3SU32/81N7Sa/sUBW
93GEZmDs1/P08ENBmBZ4kAkpvrzoaBd+9s5vICaSMsGsQNXbS1SrgsG/HRrxl8PJ
u2SO5g7kQMk=
=iTXs
-----END PGP SIGNATURE-----


From owner-ipsec@lists.tislabs.com  Fri Jan 31 20:04:32 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA24083
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 20:04:32 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id SAA23111
	Fri, 31 Jan 2003 18:28:58 -0500 (EST)
Message-ID: <3E3B072D.5060006@isi.edu>
Date: Fri, 31 Jan 2003 15:30:53 -0800
From: Joe Touch <touch@ISI.EDU>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1) Gecko/20020826
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Paul Koning <pkoning@equallogic.com>
CC: ipsec@lists.tislabs.com
Subject: Re: new to VPN
References: <200301291902.h0TJ22n03176@localhost.localdomain>	<3E3AA86D.5010904@isi.edu> <15930.55860.749000.359251@gargle.gargle.HOWL>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit



Paul Koning wrote:
>>>>>>"Joe" == Joe Touch <touch@ISI.EDU> writes:
>>>>>
> 
>  Joe> 1) For some algorithms, such as DES, hardware can be 10-100x
>  Joe> faster than software. For others, e.g., MD5, software and
>  Joe> hardware have similar speeds.
> 
> If you have a software implementation of MD5 that runs at several
> gigabits per second, I'd love to see it...

Well, for grins I dug up the scripts I used to measure MD5 for Sigcomm 
back in 1995. I ran them on the following:

	Dell Precisin 530 PC
	dual XEON 2.4Ghz processors (only 1 of which is used)
	1GB RAMBUS RAM

The Sigcomm paper predicted, on a processor with at least 2-way 
parallelism (e.g., the XEON), that the limit would be:

My measurements of optimized code (as postted at ?? in 1995) are:

	unoptimized (RFC code):		1.03  Gbps +/-0.06
	optimized, main memory:		1.604 Gbps +/-0.008
	optimized, cache memory:	1.627 Gbps +/-0.001

The 3.06 Ghz processors should achieve over 2 Gbps easily (see below). 
That would indeed be multigigabit; this is, IMO, reasonably close. Sure, 
you can have custom hardware do better, but vs. riding the PC CPU curve, 
there isn't much of a win.

FWIW:

In RFC1810 I approximated 2/(3N) bits/second, where N=ns/instruction. 
Ten turns of Moore's law later (7.5 years), it appears that:

	2.4 Ghz XEON = 0.4 ns/inst

	2 / (3 x 0.4) = 1.666 Gbps predicted

	1.627 measured

or roughly 2.4% off... ;-)

Joe



From owner-ipsec@lists.tislabs.com  Fri Jan 31 20:12:48 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA24227
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 20:12:46 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id SAA23117
	Fri, 31 Jan 2003 18:30:59 -0500 (EST)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p0510031bba60ab098867@[128.89.88.34]>
In-Reply-To: <E18eNcL-0004sj-00@think.thunk.org>
References: <E18eNcL-0004sj-00@think.thunk.org>
Date: Fri, 31 Jan 2003 18:31:45 -0500
To: "Theodore Ts'o" <tytso@mit.edu>
From: Stephen Kent <kent@bbn.com>
Subject: Re: Moving forward with IKE V2: A proposal for final edits to
 ikev2-04
Cc: ipsec@lists.tislabs.com
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Ted,

I have to agree with Paul's observation that he provided a 
well-reasoned rationale for each choice for MUST vs. SHOULD for the 
cipher suites and these did receive some scrutiny & discussion prior 
to his posting to the overall list. Thus any suggested changes to his 
list really ought to be accompanied by a similar level of rationale. 
Overall, I am comfortable with Paul's list of MUSTs and SHOULDs. I 
could be persuaded to add some more MUSTs with regard to things like 
AES-CTR for ESP, but I think it is incumbent on you to provide more 
rationale rather than "just pick[ing] something."

I also would like to proposed some different text that addresses 
Paul's comments re support of private suites, specifically for IKE:

It is likely that IANA will add additional Suite-IDs in the future, and
some users may want to use private suites, especially for IKE where 
implementations should be capable of supporting different parameters, 
up to certain size limits. In support of this goal, all 
implementations of IKEv2 SHOULD [I'd prefer MUST, but Paul has argued 
eloquently for very restrictive criteria for MUST re suites.] include 
a management facility that allows specification (by a user or system 
administrator) of Diffie-Hellman parameters (the generator, modulus, 
and exponent lengths and values) for new IKE Suites. Implementations 
SHOULD provide a management interface via which these parameters and 
the associated Suite-IDs may be entered (by a user or system 
administrator), to enable negotiating such Suites.

All implementations of IKE v2 MUST include a management facility that 
enables a user or system administratror to specify the Suite IDs that 
are acceptable for use with IKE. Upon receipt of a payload with a 
suite ID, the implementation must compare the transmitted suite ID 
against those locally configured via the management controls, to 
verify that the proposed suite is acceptable based on local policy. 
The implementation MUST reject key exchange payloads that are not 
authorized by these IKE suite controls.

Also, I would suggest a slight edit to the Appendix B.1 text that 
Paul provided:

Additional Diffie-Hellman groups have been defined in [ADDGROUP]. Future
IANA-registered and private use Suite-IDs MAY use Diffie-Hellman groups
that have modulus values and generators that are different than those in
this document or in [ADDGROUP].


I have not reviewed the Identity payload discussion sufficiently to 
comment on that part of the discussion at this time. I'll comment on 
that next week.

Steve




From owner-ipsec@lists.tislabs.com  Fri Jan 31 21:42:48 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA25619
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 21:42:48 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id UAA23535
	Fri, 31 Jan 2003 20:07:48 -0500 (EST)
Message-ID: <3E3B1E61.4080104@isi.edu>
Date: Fri, 31 Jan 2003 17:09:53 -0800
From: Joe Touch <touch@ISI.EDU>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1) Gecko/20020826
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Joe Touch <touch@ISI.EDU>
CC: Paul Koning <pkoning@equallogic.com>, ipsec@lists.tislabs.com
Subject: Re: new to VPN
References: <200301291902.h0TJ22n03176@localhost.localdomain>	<3E3AA86D.5010904@isi.edu> <15930.55860.749000.359251@gargle.gargle.HOWL> <3E3B072D.5060006@isi.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Joe Touch wrote:
> 
> 
> Paul Koning wrote:
> 
>>>>>>> "Joe" == Joe Touch <touch@ISI.EDU> writes:
>>>>>>
>>>>>>
>>
>>  Joe> 1) For some algorithms, such as DES, hardware can be 10-100x
>>  Joe> faster than software. For others, e.g., MD5, software and
>>  Joe> hardware have similar speeds.
>>
>> If you have a software implementation of MD5 that runs at several
>> gigabits per second, I'd love to see it...
> 
> 
> Well, for grins I dug up the scripts I used to measure MD5 for Sigcomm 
> back in 1995. I ran them on the following:
> 
>     Dell Precisin 530 PC
>     dual XEON 2.4Ghz processors (only 1 of which is used)
>     1GB RAMBUS RAM
> 
> The Sigcomm paper predicted, on a processor with at least 2-way 
> parallelism (e.g., the XEON), that the limit would be:
> 
> My measurements of optimized code (as postted at ?? in 1995) are:

The ?? was supposed to be:

http://www.isi.edu/atomic2/security/md5-opts.html

>     unoptimized (RFC code):        1.03  Gbps +/-0.06
>     optimized, main memory:        1.604 Gbps +/-0.008
>     optimized, cache memory:    1.627 Gbps +/-0.001
> 
> The 3.06 Ghz processors should achieve over 2 Gbps easily (see below). 
> That would indeed be multigigabit; this is, IMO, reasonably close. Sure, 
> you can have custom hardware do better, but vs. riding the PC CPU curve, 
> there isn't much of a win.
> 
> FWIW:
> 
> In RFC1810 I approximated 2/(3N) bits/second, where N=ns/instruction. 
> Ten turns of Moore's law later (7.5 years), it appears that:

Make that 5 turns ;-) (10 turns of the Internet law of 9 mos).

Joe




From owner-ipsec@lists.tislabs.com  Fri Jan 31 21:43:40 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA25644
	for <ipsec-archive@lists.ietf.org>; Fri, 31 Jan 2003 21:43:40 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id TAA23420
	Fri, 31 Jan 2003 19:48:36 -0500 (EST)
Message-ID: <3E3B199D.6996CE1D@bstormnetworks.com>
Date: Fri, 31 Jan 2003 16:49:33 -0800
From: "Scott G. Kelly" <scott@bstormnetworks.com>
Organization: BlackStorm Networks
X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.18-3 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
CC: ipsec@lists.tislabs.com
Subject: Re: Modefg considered harmful
References: <200301312318.h0VNIf9m015524@marajade.sandelman.ottawa.on.ca>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

I don't mean this in a trite or flip way, but I simply don't have time
to explain how to set up a virtual private network configuration in dhcp
right now.  I know of a number of large and small organizations that
have been using such configurations for several years now, and your
comments below are simply wrong. 

DHCP has long provided the ability to segment configurations (address
pools/scopes, etc), and it is straightforward to configure the values
below which you suggest won't work. Perhaps you should ask the folks
from Zurich University of Applied Sciences if you can take a look at
their frees/wan implementation.

To my original point, Darren seems to be suggesting that he wants the
ability to configure values not supported by DHCP. I was simply asking
what these might be.

Scott

Michael Richardson wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> 
> >>>>> "Scott" == Scott G Kelly <scott@bstormnetworks.com> writes:
>     Scott> Darren Dukes wrote:
>     >>
>     >> I think any mature implementations that will be trying to use DHCP for
>     >> complete configuration of the ipsec client (beyond network addresses, as is
>     >> possible with modecfg today) will need to implement their own DHCP client
>     >> and server in order to include their user-specific ipsec-VPN configuration.
>     >> So what we'll end up with is as follows.
>     >>
>     >> OS-DHCP-client(optional) <-> ipsec-DHCP-client <TUNNEL> SGW-DHCP-server
>     >>
>     >> Reusing the OS DHCP client (if possible at all) will not give enough
>     >> flexibility.
> 
>     Scott> What ipsec-vpn configuration are you referring to? DHCP permits
>     Scott> configuration of (at least) the following:
> 
>   No, you are missing the point.
>   The problem is that you have to filter certain things out, include other things.
> 
>     Scott>       o Subnet mask(s)
>     Scott>       o Broadcast address(es)
> 
>   Might screw things up.
> 
>     Scott>       o Time offset
> 
>   probably wrong, take the one from the real IP, which likely is
> geographically correct.
> 
>     Scott>       o Router(s)
> 
>   Probably wrong.
> 
>   You may also have to make sure that you take the DNS server from the
> tunnel, so you get internal addresses. This needs to *override* the one from
> both PPP and the DHCP on the real wire.
> 
> ]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
> ]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
> ] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
> ] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
> Comment: Finger me for keys
> 
> iQCVAwUBPjsET4qHRg3pndX9AQFVdQP/fUOob1TNGRkKZ6HM692pLeLEG25Q9I7I
> Kcfcn9v0sknaznhmJCtP4Tw2oNCoegMexrBIx8XqNnJSZ8z3SU32/81N7Sa/sUBW
> 93GEZmDs1/P08ENBmBZ4kAkpvrzoaBd+9s5vICaSMsGsQNXbS1SrgsG/HRrxl8PJ
> u2SO5g7kQMk=
> =iTXs
> -----END PGP SIGNATURE-----


