[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/39506: racoon's pre-shared key file format prohibits names with spaces
>Synopsis: racoon's pre-shared key file format prohibits names with spaces
>Arrival-Date: Tue Sep 09 02:35:00 +0000 2008
>Originator: Taylor R Campbell <campbell%mumble.net@localhost>
>Release: NetBSD 4.0_STABLE
System: NetBSD smalltalk.localdomain 4.0_STABLE NetBSD 4.0_STABLE
(RIAX3DOM0_GATEWAY) #0: Mon Sep 8 20:06:40 UTC 2008
There is no way to associate a key with a name that contains
spaces in racoon's pre-shared key files. (This applies to any
character satisfying isspace(3).) Keys can be encoded in
hexadecimal, but names cannot be.
Furthermore, the sum of the length of the name and the length
of the key in octets cannot exceed one thousand twenty-two --
this is one thousand twenty-four minus one for a space octet to
delimit name from key and one for a null octet at the end.
Stumble across a situation requiring a name containing spaces
and a key associated with that name; or requiring a name and
key pair whose length exceeds one thousand twenty-two octets.
Fail to use racoon.
Since the format was designed with irksome naivete, there is no
provision for quoting names or escaping characters such as
spaces: the format of the file very rigidly terminates each
name upon any space. Any change would potentially break
existing pre-shared key files, which means that it should be
made as soon as possible to keep people from using the brain-
Main Index |
Thread Index |