Re: Deletion of SA

Daniel Harkins <dharkins@cisco.com> Mon, 23 March 1998 17:03 UTC

Received: (from majordom@localhost) by portal.ex.tis.com (8.8.2/8.8.2) id MAA23808 for ipsec-outgoing; Mon, 23 Mar 1998 12:03:14 -0500 (EST)
Message-Id: <199803231717.JAA06876@dharkins-ss20.cisco.com>
X-Authentication-Warning: dharkins-ss20.cisco.com: Host localhost.cisco.com didn't use HELO protocol
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Cc: ipsec@tis.com
Subject: Re: Deletion of SA
In-Reply-To: Your message of "Mon, 23 Mar 1998 10:07:33 EST." <199803231507.KAA00292@morden.sandelman.ottawa.on.ca>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Mon, 23 Mar 1998 09:17:11 -0800
From: Daniel Harkins <dharkins@cisco.com>
Sender: owner-ipsec@ex.tis.com
Precedence: bulk

Michael Richardson wrote:
> >>>>> "K" == K SrinivasRao <srinu@trinc.com> writes:
>     K> negotiated a new SA and will use that for future
>     K> communications. Should H1 send a delete payload to delete H2's
> 
>   Yes. That should occur as part of the new SA being setup.
>   A question though: is a "delete" too strong here? Perhaps a "please
> delete this SA in X seconds" would be more appropriate? As a notify
> perhaps? That would allow SA's to be negotiated in advance of being
> used, and it also allows the network to drain.
>   Someone tell me that this is already addressed, but I just missed
> that part :-)

  A "delete" is the functional equivalent of a "notify" when used in
this context. They're both transmitted using an Informational exchange
and are therefore completely optional and are not guaranteed to arrive
even if they are sent. 

  As you point out, premature aging really is the way to go. Upon receipt
of the "delete" start the last rites but don't go for the shovel yet.

>     K> negotiation of a new SA to send this packet on. How does H2
>     K> delete the SA it has? By getting a delete payload from H1? Or,
>     K> it expires in the normal way?
>  
>   I think a sender should always try and send a delete payload when it
> removes an outgoing SA.

  It is the nice thing to do. It also prevents eventual problems from
arising since if it isn't sent you run the risk of having the peer 
start using that SA and causing "Invalid SPI received" messages.

  Also, if a "delete" is never received but the peer has initiated
negotiation for identical SAs the prudent thing to do is to prematurely
age the older SAs and start using the new ones as soon as possible.

  Dan.