[Openswan Users] Pluto crash on invalid ipsec.secrets

Paul Wouters paul at xelerance.com
Fri Jun 30 16:56:06 CEST 2006


On Fri, 30 Jun 2006, Mihajlo Cvetanovi wrote:

> When I erroneously changed the ipsec.secrets file and restarted ipsec the
> pluto crashed. Here is nvalid ipsec.secrets file (note that the second line is
> commented out, but all consecutive related lines aren't):
>
> : RSA /etc/ipsec.d/private/west.key "password"
> # : RSA    {
>    # RSA 2192 bits   fc4_levi   Mon May 22 15:08:04 2006
>    # for signatures only, UNSAFE FOR ENCRYPTION

When I tested that, I got:

Jun 30 09:53:03 bofh pluto[3368]: "/etc/ipsec.secrets" line 13: expected record boundary in key

but it did not crash.
If you don't mind creating a new secret key, could you mail me the file that causes this?

Paul


More information about the Users mailing list