version 1.305, 2017/03/10 04:11:00 |
version 1.306, 2017/03/14 07:19:07 |
|
|
{ "clientalivecountmax", sClientAliveCountMax, SSHCFG_ALL }, |
{ "clientalivecountmax", sClientAliveCountMax, SSHCFG_ALL }, |
{ "authorizedkeysfile", sAuthorizedKeysFile, SSHCFG_ALL }, |
{ "authorizedkeysfile", sAuthorizedKeysFile, SSHCFG_ALL }, |
{ "authorizedkeysfile2", sDeprecated, SSHCFG_ALL }, |
{ "authorizedkeysfile2", sDeprecated, SSHCFG_ALL }, |
{ "useprivilegeseparation", sUsePrivilegeSeparation, SSHCFG_GLOBAL}, |
{ "useprivilegeseparation", sDeprecated, SSHCFG_GLOBAL}, |
{ "acceptenv", sAcceptEnv, SSHCFG_ALL }, |
{ "acceptenv", sAcceptEnv, SSHCFG_ALL }, |
{ "permittunnel", sPermitTunnel, SSHCFG_ALL }, |
{ "permittunnel", sPermitTunnel, SSHCFG_ALL }, |
{ "permittty", sPermitTTY, SSHCFG_ALL }, |
{ "permittty", sPermitTTY, SSHCFG_ALL }, |
|
|
intptr = &options->disable_forwarding; |
intptr = &options->disable_forwarding; |
goto parse_flag; |
goto parse_flag; |
|
|
case sUsePrivilegeSeparation: |
|
intptr = &use_privsep; |
|
multistate_ptr = multistate_privsep; |
|
goto parse_multistate; |
|
|
|
case sAllowUsers: |
case sAllowUsers: |
while ((arg = strdelim(&cp)) && *arg != '\0') { |
while ((arg = strdelim(&cp)) && *arg != '\0') { |
if (options->num_allow_users >= MAX_ALLOW_USERS) |
if (options->num_allow_users >= MAX_ALLOW_USERS) |
|
|
return fmt_multistate_int(val, multistate_gatewayports); |
return fmt_multistate_int(val, multistate_gatewayports); |
case sCompression: |
case sCompression: |
return fmt_multistate_int(val, multistate_compression); |
return fmt_multistate_int(val, multistate_compression); |
case sUsePrivilegeSeparation: |
|
return fmt_multistate_int(val, multistate_privsep); |
|
case sAllowTcpForwarding: |
case sAllowTcpForwarding: |
return fmt_multistate_int(val, multistate_tcpfwd); |
return fmt_multistate_int(val, multistate_tcpfwd); |
case sAllowStreamLocalForwarding: |
case sAllowStreamLocalForwarding: |
|
|
dump_cfg_fmtint(sDisableForwarding, o->disable_forwarding); |
dump_cfg_fmtint(sDisableForwarding, o->disable_forwarding); |
dump_cfg_fmtint(sAllowStreamLocalForwarding, o->allow_streamlocal_forwarding); |
dump_cfg_fmtint(sAllowStreamLocalForwarding, o->allow_streamlocal_forwarding); |
dump_cfg_fmtint(sStreamLocalBindUnlink, o->fwd_opts.streamlocal_bind_unlink); |
dump_cfg_fmtint(sStreamLocalBindUnlink, o->fwd_opts.streamlocal_bind_unlink); |
dump_cfg_fmtint(sUsePrivilegeSeparation, use_privsep); |
|
dump_cfg_fmtint(sFingerprintHash, o->fingerprint_hash); |
dump_cfg_fmtint(sFingerprintHash, o->fingerprint_hash); |
|
|
/* string arguments */ |
/* string arguments */ |