|
|||||||||||
|
Re: Potential bug/problem in isakmpd/exchange.c
From: Aref Taidi <ataidi(at)avaya.com>
Date: Fri Nov 15 2002 - 04:56:11 EST That is precisely the point - if "Configuration" does not exist the code searches under [Phase 1]:Default which is the name of an <ISAKMP-peer> section and according to isakmpd.conf(5), this section will exist which is normally the case when a [Phase 1]:Default tag exists. This will then take you to <ISAKMP-peer> section which on line 768 there is a search for "EXCHANGE_TYPE" tag in this section which will not exist - so you have a perfectly legitimate isakampd.conf file which will not work. Kind regards, Aref Taidi
-----Original Message-----
On Thu, 14 Nov 2002, Aref Taidi wrote: > Dear Sir/Madam,
No, it does exist. (Unless there's some error in the user's isakmpd.conf). I'm guessing you missed the "Auto-generated parts of the configuration" section in isakmpd.conf(5) ? Either a "Configuration" tag exists in the relevant <ISAKMP-peer> section. Or, if the named <ISAKMP-peer> section does not exist, we use the value from the [Phase 1]:Default section and tag (if it's defined). In either case, unless something is wrong in isakmpd.conf, this will give us something like a "3DES-SHA" value. This values refers to (as stated by isakmpd.conf(5)) a <ISAKMP-configuration> section, not an <ISAKMP-peer> section. This section, [3DES-SHA], is normally automatically generated by isakmpd, although it, fully or in parts, can be overwritten manually. And in this section there should be (and is, default) an "EXCHANGE_TYPE" tag. If the section referenced in "Configuration" (or [Þhase 1]:Default) does not exist, or has a unknown value, this is a serious configuration error and isakmpd should stop trying to negotiate it. In fact, if this was faulty in the way you describe, isakmpd would not be able to initiate either MainMode or Aggressive mode negotiations, meaning it would not be able to initiate any VPN negotiations at all. In fact, it would only be able to send warnings (using an Informational exchange). /H -- Håkan OlssonReceived on Fri Nov 15 04:57:23 2002 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:29:38 EDT |
||||||||||
|
|||||||||||