Cisco IPSec Security Association Idle Timers and isakmpd

2009-01-19 Thread Christoph Leser
Hi,

I noticed that the cisco end of a VPN I configured on my openBSD sends a
DELETE message after a certain amount of idle time.

This feature is described in
http://www.cisco.com/en/US/docs/ios/12_2t/12_2t15/feature/guide/ftsaidle
.html#wp1045897

The effect is, that the VPN no longer works. openBSD still shows the
routes active ( in netstat -rnf encap ) and sends packets out to the
remote site.

It does not try to reestablish the phase 2 sa.

Is this a bug or is it that just an incompatibility with ciscos 'idle
time' feature ( which may not be 'standard' )


Regards
Christoph



Re: Cisco IPSec Security Association Idle Timers and isakmpd

2009-01-19 Thread Hans-Joerg Hoexer
Hi,

On Mon, Jan 19, 2009 at 04:56:25PM +0100, Christoph Leser wrote:
 
 I noticed that the cisco end of a VPN I configured on my openBSD sends a
 DELETE message after a certain amount of idle time.

Which SAs get deleted? isakmp, ipsec or both?

HJ.



Re: Cisco IPSec Security Association Idle Timers and isakmpd

2009-01-19 Thread dug

Le 19 janv. 09 ` 17:37, Hans-Joerg Hoexer a icrit :


Hi,

On Mon, Jan 19, 2009 at 04:56:25PM +0100, Christoph Leser wrote:


I noticed that the cisco end of a VPN I configured on my openBSD
sends a
DELETE message after a certain amount of idle time.


Which SAs get deleted? isakmp, ipsec or both?

HJ.





When you execute netstat -rn, do you always see the SA  on your
OpenBSD, after DELETE message has been sended  ?



Re: Cisco IPSec Security Association Idle Timers and isakmpd

2009-01-19 Thread Christoph Leser
 -Urspr|ngliche Nachricht-
 Von: dug [mailto:d...@xgs-france.com]
 Gesendet: Montag, 19. Januar 2009 17:44
 An: Hans-Joerg Hoexer
 Cc: Christoph Leser; misc@openbsd.org
 Betreff: Re: Cisco IPSec Security Association Idle Timers and isakmpd


 Le 19 janv. 09 ` 17:37, Hans-Joerg Hoexer a icrit :

  Hi,
 
  On Mon, Jan 19, 2009 at 04:56:25PM +0100, Christoph Leser wrote:
 
  I noticed that the cisco end of a VPN I configured on my openBSD
  sends a
  DELETE message after a certain amount of idle time.
 
  Which SAs get deleted? isakmp, ipsec or both?
 
  HJ.
 
 


 When you execute netstat -rn, do you always see the SA  on your
 OpenBSD, after DELETE message has been sended  ?



I cannot tell for sure. Most DELETE messages come in after an new SA has been
established, so you would expect to see the SA in netstat output, wouldn't
you.

I would say that I see the SA, when only IPSEC is DELETED, but no SA, when
IPSEC and ISAKMP is deleted.