version 1.128, 2003/09/29 20:19:57 |
version 1.129, 2003/12/09 21:53:36 |
|
|
options->x11_use_localhost = -1; |
options->x11_use_localhost = -1; |
options->xauth_location = NULL; |
options->xauth_location = NULL; |
options->strict_modes = -1; |
options->strict_modes = -1; |
options->keepalives = -1; |
options->tcp_keep_alive = -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_rsa_authentication = -1; |
options->rhosts_rsa_authentication = -1; |
|
|
options->xauth_location = _PATH_XAUTH; |
options->xauth_location = _PATH_XAUTH; |
if (options->strict_modes == -1) |
if (options->strict_modes == -1) |
options->strict_modes = 1; |
options->strict_modes = 1; |
if (options->keepalives == -1) |
if (options->tcp_keep_alive == -1) |
options->keepalives = 1; |
options->tcp_keep_alive = 1; |
if (options->log_facility == SYSLOG_FACILITY_NOT_SET) |
if (options->log_facility == SYSLOG_FACILITY_NOT_SET) |
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) |
|
|
sPasswordAuthentication, sKbdInteractiveAuthentication, sListenAddress, |
sPasswordAuthentication, sKbdInteractiveAuthentication, sListenAddress, |
sPrintMotd, sPrintLastLog, sIgnoreRhosts, |
sPrintMotd, sPrintLastLog, sIgnoreRhosts, |
sX11Forwarding, sX11DisplayOffset, sX11UseLocalhost, |
sX11Forwarding, sX11DisplayOffset, sX11UseLocalhost, |
sStrictModes, sEmptyPasswd, sKeepAlives, |
sStrictModes, sEmptyPasswd, sTCPKeepAlive, |
sPermitUserEnvironment, sUseLogin, sAllowTcpForwarding, sCompression, |
sPermitUserEnvironment, sUseLogin, sAllowTcpForwarding, sCompression, |
sAllowUsers, sDenyUsers, sAllowGroups, sDenyGroups, |
sAllowUsers, sDenyUsers, sAllowGroups, sDenyGroups, |
sIgnoreUserKnownHosts, sCiphers, sMacs, sProtocol, sPidFile, |
sIgnoreUserKnownHosts, sCiphers, sMacs, sProtocol, sPidFile, |
|
|
{ "permituserenvironment", sPermitUserEnvironment }, |
{ "permituserenvironment", sPermitUserEnvironment }, |
{ "uselogin", sUseLogin }, |
{ "uselogin", sUseLogin }, |
{ "compression", sCompression }, |
{ "compression", sCompression }, |
{ "keepalive", sKeepAlives }, |
{ "tcpkeepalive", sTCPKeepAlive }, |
|
{ "keepalive", sTCPKeepAlive }, /* obsolete alias */ |
{ "allowtcpforwarding", sAllowTcpForwarding }, |
{ "allowtcpforwarding", sAllowTcpForwarding }, |
{ "allowusers", sAllowUsers }, |
{ "allowusers", sAllowUsers }, |
{ "denyusers", sDenyUsers }, |
{ "denyusers", sDenyUsers }, |
|
|
intptr = &options->strict_modes; |
intptr = &options->strict_modes; |
goto parse_flag; |
goto parse_flag; |
|
|
case sKeepAlives: |
case sTCPKeepAlive: |
intptr = &options->keepalives; |
intptr = &options->tcp_keep_alive; |
goto parse_flag; |
goto parse_flag; |
|
|
case sEmptyPasswd: |
case sEmptyPasswd: |