[Hampshire] IPSec question

Top Page

Reply to this message
Author: James Courtier-Dutton
Date:  
To: Hampshire LUG Discussion List
Subject: [Hampshire] IPSec question
Hi,

When IPSEC moves from one key to the next key, at what point does it
delete the old key.
I have read the IPSEC RFCs and IKE negotiates a new key, and has a
command to delete the old SA and thus the old key, but what triggers
the delete command?

The problem lies with the fact that packets can arrive out of order.
So, if the sending station starts using the new key, and packet can
arrive at the receiving station with the new key, and then followed by
a packet using the old key. So the receiving station cannot delete the
old SA immediately.

Possible options:
1) Wait for "anti-replay window size" packets with the new key then
delete old key.
2) Wait "X" seconds after the first packet with the new key and then
delete the old key, where "X" is greater than the max latency of the
network.

James