|
|||||||||||
|
Re: linux-ipsec: Pluto/IKE policy configuration?
From: Hugh Redelmeier <hugh(at)trends.net>
Date: Wed Dec 23 1998 - 18:24:23 EST
Yes. | If so then this causes me a problem, as the
Pluto can support plain DES. What hashing does your router support? Pluto will only work with MD5 or SHA1. The proposals are generated from tables in spdb.c. These tables are initialized variables. You need to change the initializers. There are two kinds of proposals: one for Main Mode, and one for Quick Mode. Main Mode proposals cover the IKE communication; Quick Mode proposals cover the IPsec communication. The Main Mode proposal is generated from the value ot the variable oakley_pc. It makes more sense to add an entry to oakley_trans, which is a list of alternatives in preference order. Add a line something like
{ KEY_IKE, AD(ot1024desmd5) },
The Quick Mode proposal is generated from the value of the variable ipsec_sadb, an array subscripted by the "goal". If you don't specify --encrypt to whack, no encryption will be used. (If you wanted encryption, you wouldn't want 3DES :-). If you do want 3DES, you could replace every "ESP_3DES" in lines 182 to 196 with "ESP_DES". [None of this advice is tested!]
Hugh Redelmeier
This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 12:59:09 EDT |
||||||||||
|
|||||||||||