|
|||||||||||
|
From: John S. Denker <jsd(at)monmouth.com>
Date: Fri Feb 28 2003 - 08:42:17 EST Hi Folks -- I've managed to get pluto into a state where it isn't responding:
time ipsec auto --status
real 3m54.604s
I notice some weird things in the ps listing. http://www.av8n.net/tmp/bad1-ps.txt However the fact that the _downup script for one conn runs as the descendent of the _downup for another conn isn't as weird as you might think; it's because I put a --replace command in my _downup script. http://www.monmouth.com/~jsd/vpn/_downup I thought this was legal; nobody ever told me that pluto was non-reentrant. Things ran fine for ten days or so before hanging. Therefore my first hypothesis was that it was a race condition. But after looking at the code, I'm suspecting a plain old deadly embrace; it may be that this part of my _downup script had not been exercised previously. >>>> If it is not allowed to put ipsec auto commands in updown scripts, this needs to be documented. <<<<<< Actually, if this is not allowed, it would be friendly to defend against it, perhaps by making a run-time check on the pgid.
Here's a traceback:
rtld_fini=0x4000dc14 <_dl_fini>, stack_end=0xbffffb4c) at ../sysdeps/generic/libc-start.c:129
The barf is available:
I've left it in the bad state for now. Please let me know if you want me to make any more observations on it. Design mailing list Design@lists.freeswan.org http://lists.freeswan.org/mailman/listinfo/design Received on Fri Feb 28 09:30:24 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 12:59:32 EDT |
||||||||||
|
|||||||||||