|
Lines 110-115
initialize_server_options(ServerOptions *options)
Link Here
|
| 110 |
options->xauth_location = NULL; |
110 |
options->xauth_location = NULL; |
| 111 |
options->strict_modes = -1; |
111 |
options->strict_modes = -1; |
| 112 |
options->tcp_keep_alive = -1; |
112 |
options->tcp_keep_alive = -1; |
|
|
113 |
options->tcp_user_timeout = -1; |
| 113 |
options->log_facility = SYSLOG_FACILITY_NOT_SET; |
114 |
options->log_facility = SYSLOG_FACILITY_NOT_SET; |
| 114 |
options->log_level = SYSLOG_LEVEL_NOT_SET; |
115 |
options->log_level = SYSLOG_LEVEL_NOT_SET; |
| 115 |
options->hostbased_authentication = -1; |
116 |
options->hostbased_authentication = -1; |
|
Lines 449-455
typedef enum {
Link Here
|
| 449 |
sListenAddress, sAddressFamily, |
450 |
sListenAddress, sAddressFamily, |
| 450 |
sPrintMotd, sPrintLastLog, sIgnoreRhosts, |
451 |
sPrintMotd, sPrintLastLog, sIgnoreRhosts, |
| 451 |
sX11Forwarding, sX11DisplayOffset, sX11UseLocalhost, |
452 |
sX11Forwarding, sX11DisplayOffset, sX11UseLocalhost, |
| 452 |
sPermitTTY, sStrictModes, sEmptyPasswd, sTCPKeepAlive, |
453 |
sPermitTTY, sStrictModes, sEmptyPasswd, sTCPKeepAlive, sTCPUserTimeout, |
| 453 |
sPermitUserEnvironment, sAllowTcpForwarding, sCompression, |
454 |
sPermitUserEnvironment, sAllowTcpForwarding, sCompression, |
| 454 |
sRekeyLimit, sAllowUsers, sDenyUsers, sAllowGroups, sDenyGroups, |
455 |
sRekeyLimit, sAllowUsers, sDenyUsers, sAllowGroups, sDenyGroups, |
| 455 |
sIgnoreUserKnownHosts, sCiphers, sMacs, sPidFile, |
456 |
sIgnoreUserKnownHosts, sCiphers, sMacs, sPidFile, |
|
Lines 567-572
static struct {
Link Here
|
| 567 |
{ "rekeylimit", sRekeyLimit, SSHCFG_ALL }, |
568 |
{ "rekeylimit", sRekeyLimit, SSHCFG_ALL }, |
| 568 |
{ "tcpkeepalive", sTCPKeepAlive, SSHCFG_GLOBAL }, |
569 |
{ "tcpkeepalive", sTCPKeepAlive, SSHCFG_GLOBAL }, |
| 569 |
{ "keepalive", sTCPKeepAlive, SSHCFG_GLOBAL }, /* obsolete alias */ |
570 |
{ "keepalive", sTCPKeepAlive, SSHCFG_GLOBAL }, /* obsolete alias */ |
|
|
571 |
{ "tcpusertimeout", sTCPUserTimeout, SSHCFG_GLOBAL }, |
| 570 |
{ "allowtcpforwarding", sAllowTcpForwarding, SSHCFG_ALL }, |
572 |
{ "allowtcpforwarding", sAllowTcpForwarding, SSHCFG_ALL }, |
| 571 |
{ "allowagentforwarding", sAllowAgentForwarding, SSHCFG_ALL }, |
573 |
{ "allowagentforwarding", sAllowAgentForwarding, SSHCFG_ALL }, |
| 572 |
{ "allowusers", sAllowUsers, SSHCFG_ALL }, |
574 |
{ "allowusers", sAllowUsers, SSHCFG_ALL }, |
|
Lines 1473-1478
process_server_config_line(ServerOptions *options, char *line,
Link Here
|
| 1473 |
intptr = &options->tcp_keep_alive; |
1475 |
intptr = &options->tcp_keep_alive; |
| 1474 |
goto parse_flag; |
1476 |
goto parse_flag; |
| 1475 |
|
1477 |
|
|
|
1478 |
case sTCPUserTimeout: |
| 1479 |
intptr = &options->tcp_user_timeout; |
| 1480 |
goto parse_int; |
| 1481 |
|
| 1476 |
case sEmptyPasswd: |
1482 |
case sEmptyPasswd: |
| 1477 |
intptr = &options->permit_empty_passwd; |
1483 |
intptr = &options->permit_empty_passwd; |
| 1478 |
goto parse_flag; |
1484 |
goto parse_flag; |
|
Lines 2469-2474
dump_config(ServerOptions *o)
Link Here
|
| 2469 |
dump_cfg_fmtint(sPermitUserRC, o->permit_user_rc); |
2475 |
dump_cfg_fmtint(sPermitUserRC, o->permit_user_rc); |
| 2470 |
dump_cfg_fmtint(sStrictModes, o->strict_modes); |
2476 |
dump_cfg_fmtint(sStrictModes, o->strict_modes); |
| 2471 |
dump_cfg_fmtint(sTCPKeepAlive, o->tcp_keep_alive); |
2477 |
dump_cfg_fmtint(sTCPKeepAlive, o->tcp_keep_alive); |
|
|
2478 |
dump_cfg_fmtint(sTCPUserTimeout, o->tcp_user_timeout); |
| 2472 |
dump_cfg_fmtint(sEmptyPasswd, o->permit_empty_passwd); |
2479 |
dump_cfg_fmtint(sEmptyPasswd, o->permit_empty_passwd); |
| 2473 |
dump_cfg_fmtint(sPermitUserEnvironment, o->permit_user_env); |
2480 |
dump_cfg_fmtint(sPermitUserEnvironment, o->permit_user_env); |
| 2474 |
dump_cfg_fmtint(sCompression, o->compression); |
2481 |
dump_cfg_fmtint(sCompression, o->compression); |