version 1.188, 2010/08/31 11:54:45 |
version 1.189, 2010/09/22 05:01:29 |
|
|
oHashKnownHosts, |
oHashKnownHosts, |
oTunnel, oTunnelDevice, oLocalCommand, oPermitLocalCommand, |
oTunnel, oTunnelDevice, oLocalCommand, oPermitLocalCommand, |
oVisualHostKey, oUseRoaming, oZeroKnowledgePasswordAuthentication, |
oVisualHostKey, oUseRoaming, oZeroKnowledgePasswordAuthentication, |
|
oKexAlgorithms, |
oDeprecated, oUnsupported |
oDeprecated, oUnsupported |
} OpCodes; |
} OpCodes; |
|
|
|
|
#else |
#else |
{ "zeroknowledgepasswordauthentication", oUnsupported }, |
{ "zeroknowledgepasswordauthentication", oUnsupported }, |
#endif |
#endif |
|
{ "kexalgorithms", oKexAlgorithms }, |
|
|
{ NULL, oBadOption } |
{ NULL, oBadOption } |
}; |
}; |
|
|
options->macs = xstrdup(arg); |
options->macs = xstrdup(arg); |
break; |
break; |
|
|
|
case oKexAlgorithms: |
|
arg = strdelim(&s); |
|
if (!arg || *arg == '\0') |
|
fatal("%.200s line %d: Missing argument.", |
|
filename, linenum); |
|
if (!kex_names_valid(arg)) |
|
fatal("%.200s line %d: Bad SSH2 KexAlgorithms '%s'.", |
|
filename, linenum, arg ? arg : "<NONE>"); |
|
if (*activep && options->kex_algorithms == NULL) |
|
options->kex_algorithms = xstrdup(arg); |
|
break; |
|
|
case oHostKeyAlgorithms: |
case oHostKeyAlgorithms: |
arg = strdelim(&s); |
arg = strdelim(&s); |
if (!arg || *arg == '\0') |
if (!arg || *arg == '\0') |
|
|
options->cipher = -1; |
options->cipher = -1; |
options->ciphers = NULL; |
options->ciphers = NULL; |
options->macs = NULL; |
options->macs = NULL; |
|
options->kex_algorithms = NULL; |
options->hostkeyalgorithms = NULL; |
options->hostkeyalgorithms = NULL; |
options->protocol = SSH_PROTO_UNKNOWN; |
options->protocol = SSH_PROTO_UNKNOWN; |
options->num_identity_files = 0; |
options->num_identity_files = 0; |
|
|
options->cipher = SSH_CIPHER_NOT_SET; |
options->cipher = SSH_CIPHER_NOT_SET; |
/* options->ciphers, default set in myproposals.h */ |
/* options->ciphers, default set in myproposals.h */ |
/* options->macs, default set in myproposals.h */ |
/* options->macs, default set in myproposals.h */ |
|
/* options->kex_algorithms, default set in myproposals.h */ |
/* options->hostkeyalgorithms, default set in myproposals.h */ |
/* options->hostkeyalgorithms, default set in myproposals.h */ |
if (options->protocol == SSH_PROTO_UNKNOWN) |
if (options->protocol == SSH_PROTO_UNKNOWN) |
options->protocol = SSH_PROTO_2; |
options->protocol = SSH_PROTO_2; |