|
|||||||||||
|
linux-ipsec: Newbie question about finding keys
From: Sandy Harris <sandy.harris(at)sympatico.ca>
Date: Mon Dec 07 1998 - 17:27:36 EST
Methinks the logic for finding out whether we can establish an IPSEC connection with a particular machine should be something like:
ipsec = 0
if our PKI can authenticate a key for machine
if negotiation succeeds
ipsec = 1
if ipsec = 0 & we recognise other CAs
if one of those can authenticate a key for machine
if negotiation succeeds
ipsec = 1
if ipsec = 0
try to authenticate via DNS
ipsec = result of DNS try
That is, if your organisation has a Public Key Infrastructure set up, you use it to authenticate whatever hosts fall within that structure. If that fails, check any other CAs you recognise. If the PKI doesn't exist, or doesn't support IPSEC, or if your IPSEC implementation can't talk to it, or for hosts the PKI cannot handle, you fall back to using secure DNS to provide enough authentication that you can bootstrap a shared secret using Diffie-Hellman key exchange. This would mean a minimal IPSEC implementation would only have to support DNS-based ISAKMP authentication & the associated signature types. & of course, how to refuse all other negotiation attempts. I would think that minimalist system (with hooks to plug in CAs later) is what we should be building. The catch is, I think some of the RFCs may require more. It's not clear to me where the currently implemented stuff in Pluto fits in. If I understand correctly, that's based on shared secrets stored in files. Those are authenticated via PGP or passed securely via SSH; whatever tools the two admins have to hand are used. If my scheme above is somewhere near accurate, I wonder whether shared secrets should be checked before or after DNS checks. Shared secrets obviously don't scale or adapt very well since you need a shared secret for every machine you'll communicate with & beyond a few dozen known machines that's tricky to manage. I think an interface to DNS will be needed soon. -- Sandy Harris sandy.harris@sympatico.ca Help secure the Internet: http://www.cygnus.com/~gnu/swan.htmlReceived on Mon Dec 7 17:52:49 1998 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 12:59:09 EDT |
||||||||||
|
|||||||||||