b454543f45
http://mail-index.netbsd.org/tech-net/2004/11/05/0004.html Slightly modified to differentiate the version string from a stock racoon. * auth_gssapi.h (GSSAPI_DEF_NAME): Change from "ike" to "host". (gssapi_get_default_id): Rename to gssapi_get_id. (gssapi_get_default_gss_id): New prototype. * cfparse.y (GSSAPI_ID): Rename to GSS_ID. (GSS_ID_ENC, GSS_ID_ENCTYPE): New tokens. (gssenc_statement): New statement. (isakmpproposal_spec): Use GSS_ID token. (expand_isakmpspec): Fill in gssid in the new proposal only if authmethod is OAKLEY_ATTR_AUTH_METHOD_GSSAPI_KRB. If the GSS ID is not provided, call gssapi_get_default_gss_id() to place the default ID in the proposal. * cftoken.l (S_GSSENC): New start condition. (<S_RMTP>gss_id): New, return the GSS_ID token. (<S_RMTP>gssapi_id): Return the GSS_ID token. (<S_INI>gss_id_enc, <S_GSSENC>latin1, <S_GSSENC>utf-16le) (<S_GSSENC>{semi}): New, tokenize the "gss_id_enc enctype;" statement. * gssapi.c: Include <unistd.h>. (gssapi_get_default_gss_id): New function. (gssapi_init): Disable a broken debugging message. Make printf formats consistent in their handling of non-NUL-terminated strings. (gssapi_get_default_id): Rename to... (gssapi_get_id): ...this. If the proposal has a gssid, vdup() that and return it. Disable a broken debugging message. Make printf formats consistent in their handling of non-NUL-terminated strings. * ipsec_doi.c: Include <iconv.h>. (get_ph1approval): Make printf formats consistent in their handling of non-NUL-terminated strings. Call gssapi_get_id() instead of gssapi_get_default_id(), and remove some complexity that has been pushed into that function. (t2isakmpsa): When parsing the OAKLEY_ATTR_GSS_ID attribute, check convert the attribute from UTF-16LE to ISO-Latin-1, unless we are configured to assume the attribute is already ISO-Latin-1 encoded. (setph1attr): When setting the OAKLEY_ATTR_GSS_ID attribute, convert the attribute from ISO-Latin-1 to UTF-16LE, unless we are configured to encode the attribute in ISO-Latin-1. * localconf.c (setdefault): Set the default GSS ID encoding type to UTF-16LE. * localconf.h (LC_GSSENC_UTF16LE, LC_GSSENC_LATIN1) (LC_GSSENC_MAX): New constants. (struct localconf): Add gss_id_enc member. * main.c (RACOON_VERSION): Append " - NetBSD 20041110" to the version string. * racoon.conf.5: Document changes to GSS ID encoding and default GSS ID computation. Document "gss_id_enc enctype;" statement. * samples/racoon.conf.sample-gssapi: Update and add comments to provide more information. |
||
---|---|---|
.. | ||
contrib | ||
doc | ||
missing | ||
samples | ||
tcpdump | ||
aclocal.m4 | ||
admin_var.h | ||
admin.c | ||
admin.h | ||
algorithm.c | ||
algorithm.h | ||
arc4random.h | ||
auth_gssapi.h | ||
backupsa.c | ||
backupsa.h | ||
cfparse_proto.h | ||
cfparse.y | ||
cftoken_proto.h | ||
cftoken.l | ||
client-puzzle.c | ||
config.guess | ||
config.sub | ||
configure | ||
configure.in | ||
crypto_openssl.c | ||
crypto_openssl.h | ||
debug.h | ||
debugrm.c | ||
debugrm.h | ||
dhgroup.h | ||
dnssec.c | ||
dnssec.h | ||
dump.c | ||
dump.h | ||
eaytest.c | ||
gcmalloc.h | ||
getcertsbyname.c | ||
gnuc.h | ||
grabmyaddr.c | ||
grabmyaddr.h | ||
gssapi.c | ||
handler.c | ||
handler.h | ||
install-sh | ||
ipsec_doi.c | ||
ipsec_doi.h | ||
isakmp_agg.c | ||
isakmp_agg.h | ||
isakmp_base.c | ||
isakmp_base.h | ||
isakmp_ident.c | ||
isakmp_ident.h | ||
isakmp_inf.c | ||
isakmp_inf.h | ||
isakmp_newg.c | ||
isakmp_newg.h | ||
isakmp_quick.c | ||
isakmp_quick.h | ||
isakmp_var.h | ||
isakmp.c | ||
isakmp.h | ||
kmpstat.c | ||
localconf.c | ||
localconf.h | ||
logger.c | ||
logger.h | ||
main.c | ||
Makefile.in | ||
misc.c | ||
misc.h | ||
netdb_dnssec.h | ||
oakley.c | ||
oakley.h | ||
pfkey.c | ||
pfkey.h | ||
plog.c | ||
plog.h | ||
policy.c | ||
policy.h | ||
print-isakmp.c | ||
proposal.c | ||
proposal.h | ||
racoon.8 | ||
racoon.conf.5 | ||
remoteconf.c | ||
remoteconf.h | ||
safefile.c | ||
safefile.h | ||
sainfo.c | ||
sainfo.h | ||
schedule.c | ||
schedule.h | ||
session.c | ||
session.h | ||
sockmisc.c | ||
sockmisc.h | ||
stats.pl | ||
str2val.c | ||
str2val.h | ||
strnames.c | ||
strnames.h | ||
TODO | ||
var.h | ||
vendorid.c | ||
vendorid.h | ||
vmbuf.c | ||
vmbuf.h |