version 1.123, 2003/07/22 13:35:22 |
version 1.124, 2003/08/13 08:46:30 |
|
|
options->keepalives = -1; |
options->keepalives = -1; |
options->log_facility = SYSLOG_FACILITY_NOT_SET; |
options->log_facility = SYSLOG_FACILITY_NOT_SET; |
options->log_level = SYSLOG_LEVEL_NOT_SET; |
options->log_level = SYSLOG_LEVEL_NOT_SET; |
options->rhosts_authentication = -1; |
|
options->rhosts_rsa_authentication = -1; |
options->rhosts_rsa_authentication = -1; |
options->hostbased_authentication = -1; |
options->hostbased_authentication = -1; |
options->hostbased_uses_name_from_packet_only = -1; |
options->hostbased_uses_name_from_packet_only = -1; |
|
|
options->log_facility = SYSLOG_FACILITY_AUTH; |
options->log_facility = SYSLOG_FACILITY_AUTH; |
if (options->log_level == SYSLOG_LEVEL_NOT_SET) |
if (options->log_level == SYSLOG_LEVEL_NOT_SET) |
options->log_level = SYSLOG_LEVEL_INFO; |
options->log_level = SYSLOG_LEVEL_INFO; |
if (options->rhosts_authentication == -1) |
|
options->rhosts_authentication = 0; |
|
if (options->rhosts_rsa_authentication == -1) |
if (options->rhosts_rsa_authentication == -1) |
options->rhosts_rsa_authentication = 0; |
options->rhosts_rsa_authentication = 0; |
if (options->hostbased_authentication == -1) |
if (options->hostbased_authentication == -1) |
|
|
sBadOption, /* == unknown option */ |
sBadOption, /* == unknown option */ |
sPort, sHostKeyFile, sServerKeyBits, sLoginGraceTime, sKeyRegenerationTime, |
sPort, sHostKeyFile, sServerKeyBits, sLoginGraceTime, sKeyRegenerationTime, |
sPermitRootLogin, sLogFacility, sLogLevel, |
sPermitRootLogin, sLogFacility, sLogLevel, |
sRhostsAuthentication, sRhostsRSAAuthentication, sRSAAuthentication, |
sRhostsRSAAuthentication, sRSAAuthentication, |
sKerberosAuthentication, sKerberosOrLocalPasswd, sKerberosTicketCleanup, |
sKerberosAuthentication, sKerberosOrLocalPasswd, sKerberosTicketCleanup, |
sKerberosTgtPassing, sChallengeResponseAuthentication, |
sKerberosTgtPassing, sChallengeResponseAuthentication, |
sPasswordAuthentication, sKbdInteractiveAuthentication, sListenAddress, |
sPasswordAuthentication, sKbdInteractiveAuthentication, sListenAddress, |
|
|
{ "permitrootlogin", sPermitRootLogin }, |
{ "permitrootlogin", sPermitRootLogin }, |
{ "syslogfacility", sLogFacility }, |
{ "syslogfacility", sLogFacility }, |
{ "loglevel", sLogLevel }, |
{ "loglevel", sLogLevel }, |
{ "rhostsauthentication", sRhostsAuthentication }, |
{ "rhostsauthentication", sDeprecated }, |
{ "rhostsrsaauthentication", sRhostsRSAAuthentication }, |
{ "rhostsrsaauthentication", sRhostsRSAAuthentication }, |
{ "hostbasedauthentication", sHostbasedAuthentication }, |
{ "hostbasedauthentication", sHostbasedAuthentication }, |
{ "hostbasedusesnamefrompacketonly", sHostbasedUsesNameFromPacketOnly }, |
{ "hostbasedusesnamefrompacketonly", sHostbasedUsesNameFromPacketOnly }, |
|
|
|
|
case sIgnoreUserKnownHosts: |
case sIgnoreUserKnownHosts: |
intptr = &options->ignore_user_known_hosts; |
intptr = &options->ignore_user_known_hosts; |
goto parse_flag; |
|
|
|
case sRhostsAuthentication: |
|
intptr = &options->rhosts_authentication; |
|
goto parse_flag; |
goto parse_flag; |
|
|
case sRhostsRSAAuthentication: |
case sRhostsRSAAuthentication: |