Skip to contentSkip to conversation

some weird corruption in net-2.6.24

DISCUSSION David Miller 3 participants 4 messages Aug 31, 2007 – Sep 4, 2007

Subsystems (2)
lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

Every so often some piece of userland dies, and often it's bad enough that my desktop session logs out.

I've been trying to find some clues and it seems to happen about as often as openswan rekeys my VPN, so one suspect area is the netlink cleanups to xfrm_user.

I plan to do some auditing of those changes looking for errors, but if someone can beat me to it... :-)

#1 lore raw

* David Miller <[email protected]> 2007-08-30 22:39

Quoted 10 lines

Every so often some piece of userland dies, and often it's bad enough that my desktop session logs out.

I've been trying to find some clues and it seems to happen about as often as openswan rekeys my VPN, so one suspect area is the netlink cleanups to xfrm_user.

I plan to do some auditing of those changes looking for errors, but if someone can beat me to it... :-)

I've been trying to reproduce this, what happens on my system is that when the ISAKMP SA lifetime is exceeded the rekeying fails and my connection dies. I can reproduce this back to 2.6.22 and it doesn't seem related to my recent xfrm_user work. It looks like this behaviour is hiding the bug you are seeing.

#2 lore raw
Quoted 6 lines · Thomas Graf

I've been trying to reproduce this, what happens on my system is that when the ISAKMP SA lifetime is exceeded the rekeying fails and my connection dies. I can reproduce this back to 2.6.22 and it doesn't seem related to my recent xfrm_user work. It looks like this behaviour is hiding the bug you are seeing.

Could you try extending the ISAKMP SA life time so that it is longer than the IPSec SA life time?

Cheers,

Signature · 4 lines
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
#3 lore raw

* Herbert Xu <[email protected]> 2007-09-04 07:05

Quoted 10 lines
Quoted 6 lines · Thomas Graf

I've been trying to reproduce this, what happens on my system is that when the ISAKMP SA lifetime is exceeded the rekeying fails and my connection dies. I can reproduce this back to 2.6.22 and it doesn't seem related to my recent xfrm_user work. It looks like this behaviour is hiding the bug you are seeing.

Could you try extending the ISAKMP SA life time so that it is longer than the IPSec SA life time?

Yes, in this case the IPSec SA rekeying works just fine. I can't spot any signs of corruptions or alike.