authentication

"Rob Frohwein" <rob@frohwein.xs4all.nl> Wed, 15 May 2002 21:23 UTC

Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101]) by above.proper.com (8.11.6/8.11.3) with ESMTP id g4FLNZL11940; Wed, 15 May 2002 14:23:35 -0700 (PDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA05243 Wed, 15 May 2002 16:43:44 -0400 (EDT)
Reply-To: rob@frohwein.xs4all.nl
From: Rob Frohwein <rob@frohwein.xs4all.nl>
To: ipsec <ipsec@lists.tislabs.com>
Subject: authentication
Date: Wed, 15 May 2002 13:56:34 -0700
Message-ID: <PFEILHAGIMDAEANLFHCEIECBCAAA.rob@frohwein.xs4all.nl>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Hello ,

I know 2 types of authentication from racoon's IKE daemon.
- preshared auth keys
- certificates.

For the case of users with a dynamic ip address the initiator 
can only identify itself by a certificate.

On the initiators side a spd must be specified.
At the responder's side no spd is needed.
The initiator's spd triggers IKE to create (with peer) sa keys.
At some phase the initiator sends its certificate.
The responder sends a challenge ...
The responder creates dynamically a spd.
Both IKE's set the sa's (in the kernel).

Why is it not possible for the case of dynamic (unknown) ip address
initiators to identify themselfes by means of pre-shared auth keys?
The IKE daemons on both sides could have a list like:
The initiator ofcourse still needs an spd, for the responder
the spd is created dynamically.

Initiator (client)
my-id-string (e.g. email address)    authentication key

Responder  (Server)
remote-id-string (e.g. email)		authentiaction key
other-remote-id string			other-auth key
...

Some hashing scheme on the server side could speed up lookup.

This would be more easy to use for simple case, certificates 
are too complex for some cases.

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

Furhermore in the spd tables (at least for kame) ip numbers must be used.
Why not also the possibility for dns name usage?
This is more generic and flexible.
Ofcourse the spd is resident in the kernel, so the kernel needs to 
communicate with the IKE daemon to resolv the ip numbers.


greetings
Rob Frohwein.