Changeset View
Changeset View
Standalone View
Standalone View
crypto/openssh/servconf.c
Context not available. | |||||
options->max_authtries = -1; | options->max_authtries = -1; | ||||
options->max_sessions = -1; | options->max_sessions = -1; | ||||
options->banner = NULL; | options->banner = NULL; | ||||
options->use_blacklistd = -1; | |||||
options->use_dns = -1; | options->use_dns = -1; | ||||
options->client_alive_interval = -1; | options->client_alive_interval = -1; | ||||
options->client_alive_count_max = -1; | options->client_alive_count_max = -1; | ||||
Context not available. | |||||
options->max_authtries = DEFAULT_AUTH_FAIL_MAX; | options->max_authtries = DEFAULT_AUTH_FAIL_MAX; | ||||
if (options->max_sessions == -1) | if (options->max_sessions == -1) | ||||
options->max_sessions = DEFAULT_SESSIONS_MAX; | options->max_sessions = DEFAULT_SESSIONS_MAX; | ||||
if (options->use_blacklistd == -1) | |||||
options->use_blacklistd = 0; | |||||
if (options->use_dns == -1) | if (options->use_dns == -1) | ||||
options->use_dns = 1; | options->use_dns = 1; | ||||
if (options->client_alive_interval == -1) | if (options->client_alive_interval == -1) | ||||
Context not available. | |||||
sIgnoreUserKnownHosts, sCiphers, sMacs, sProtocol, sPidFile, | sIgnoreUserKnownHosts, sCiphers, sMacs, sProtocol, sPidFile, | ||||
sGatewayPorts, sPubkeyAuthentication, sPubkeyAcceptedKeyTypes, | sGatewayPorts, sPubkeyAuthentication, sPubkeyAcceptedKeyTypes, | ||||
sXAuthLocation, sSubsystem, sMaxStartups, sMaxAuthTries, sMaxSessions, | sXAuthLocation, sSubsystem, sMaxStartups, sMaxAuthTries, sMaxSessions, | ||||
sBanner, sUseDNS, sHostbasedAuthentication, | sBanner, sUseBlacklistd, sUseDNS, sHostbasedAuthentication, | ||||
sHostbasedUsesNameFromPacketOnly, sHostbasedAcceptedKeyTypes, | sHostbasedUsesNameFromPacketOnly, sHostbasedAcceptedKeyTypes, | ||||
sHostKeyAlgorithms, | sHostKeyAlgorithms, | ||||
sClientAliveInterval, sClientAliveCountMax, sAuthorizedKeysFile, | sClientAliveInterval, sClientAliveCountMax, sAuthorizedKeysFile, | ||||
Context not available. | |||||
{ "maxauthtries", sMaxAuthTries, SSHCFG_ALL }, | { "maxauthtries", sMaxAuthTries, SSHCFG_ALL }, | ||||
{ "maxsessions", sMaxSessions, SSHCFG_ALL }, | { "maxsessions", sMaxSessions, SSHCFG_ALL }, | ||||
{ "banner", sBanner, SSHCFG_ALL }, | { "banner", sBanner, SSHCFG_ALL }, | ||||
{ "useblacklistd", sUseBlacklistd, SSHCFG_GLOBAL }, | |||||
{ "usedns", sUseDNS, SSHCFG_GLOBAL }, | { "usedns", sUseDNS, SSHCFG_GLOBAL }, | ||||
{ "verifyreversemapping", sDeprecated, SSHCFG_GLOBAL }, | { "verifyreversemapping", sDeprecated, SSHCFG_GLOBAL }, | ||||
{ "reversemappingcheck", sDeprecated, SSHCFG_GLOBAL }, | { "reversemappingcheck", sDeprecated, SSHCFG_GLOBAL }, | ||||
Context not available. | |||||
multistate_ptr = multistate_gatewayports; | multistate_ptr = multistate_gatewayports; | ||||
goto parse_multistate; | goto parse_multistate; | ||||
case sUseBlacklistd: | |||||
intptr = &options->use_blacklistd; | |||||
goto parse_flag; | |||||
case sUseDNS: | case sUseDNS: | ||||
intptr = &options->use_dns; | intptr = &options->use_dns; | ||||
goto parse_flag; | goto parse_flag; | ||||
Context not available. | |||||
dump_cfg_fmtint(sUseLogin, o->use_login); | dump_cfg_fmtint(sUseLogin, o->use_login); | ||||
dump_cfg_fmtint(sCompression, o->compression); | dump_cfg_fmtint(sCompression, o->compression); | ||||
dump_cfg_fmtint(sGatewayPorts, o->fwd_opts.gateway_ports); | dump_cfg_fmtint(sGatewayPorts, o->fwd_opts.gateway_ports); | ||||
dump_cfg_fmtint(sUseBlacklistd, o->use_blacklistd); | |||||
dump_cfg_fmtint(sUseDNS, o->use_dns); | dump_cfg_fmtint(sUseDNS, o->use_dns); | ||||
dump_cfg_fmtint(sAllowTcpForwarding, o->allow_tcp_forwarding); | dump_cfg_fmtint(sAllowTcpForwarding, o->allow_tcp_forwarding); | ||||
dump_cfg_fmtint(sAllowAgentForwarding, o->allow_agent_forwarding); | dump_cfg_fmtint(sAllowAgentForwarding, o->allow_agent_forwarding); | ||||
Context not available. |