version 1.111, 2003/05/15 14:55:25 |
version 1.112, 2003/05/16 03:27:12 |
|
|
oHostKeyAlgorithms, oBindAddress, oSmartcardDevice, |
oHostKeyAlgorithms, oBindAddress, oSmartcardDevice, |
oClearAllForwardings, oNoHostAuthenticationForLocalhost, |
oClearAllForwardings, oNoHostAuthenticationForLocalhost, |
oEnableSSHKeysign, oRekeyLimit, oVerifyHostKeyDNS, oConnectTimeout, |
oEnableSSHKeysign, oRekeyLimit, oVerifyHostKeyDNS, oConnectTimeout, |
|
oAddressFamily, |
oDeprecated, oUnsupported |
oDeprecated, oUnsupported |
} OpCodes; |
} OpCodes; |
|
|
|
|
{ "nohostauthenticationforlocalhost", oNoHostAuthenticationForLocalhost }, |
{ "nohostauthenticationforlocalhost", oNoHostAuthenticationForLocalhost }, |
{ "rekeylimit", oRekeyLimit }, |
{ "rekeylimit", oRekeyLimit }, |
{ "connecttimeout", oConnectTimeout }, |
{ "connecttimeout", oConnectTimeout }, |
|
{ "addressfamily", oAddressFamily }, |
{ NULL, oBadOption } |
{ NULL, oBadOption } |
}; |
}; |
|
|
|
|
size_t len; |
size_t len; |
u_short fwd_port, fwd_host_port; |
u_short fwd_port, fwd_host_port; |
char sfwd_host_port[6]; |
char sfwd_host_port[6]; |
|
extern int IPv4or6; |
|
|
/* Strip trailing whitespace */ |
/* Strip trailing whitespace */ |
for(len = strlen(line) - 1; len > 0; len--) { |
for(len = strlen(line) - 1; len > 0; len--) { |
|
|
} |
} |
if (*activep && *intptr == -1) |
if (*activep && *intptr == -1) |
*intptr = value; |
*intptr = value; |
|
break; |
|
|
|
case oAddressFamily: |
|
arg = strdelim(&s); |
|
if (strcasecmp(arg, "inet") == 0) |
|
IPv4or6 = AF_INET; |
|
else if (strcasecmp(arg, "inet6") == 0) |
|
IPv4or6 = AF_INET6; |
|
else if (strcasecmp(arg, "any") == 0) |
|
IPv4or6 = AF_UNSPEC; |
|
else |
|
fatal("Unsupported AddressFamily \"%s\"", arg); |
break; |
break; |
|
|
case oEnableSSHKeysign: |
case oEnableSSHKeysign: |