version 1.1, 1999/09/26 20:53:37 |
version 1.2, 1999/09/28 07:56:47 |
|
|
options->fascist_logging = -1; |
options->fascist_logging = -1; |
options->print_motd = -1; |
options->print_motd = -1; |
options->x11_forwarding = -1; |
options->x11_forwarding = -1; |
|
options->x11_display_offset = -1; |
options->strict_modes = -1; |
options->strict_modes = -1; |
options->keepalives = -1; |
options->keepalives = -1; |
options->log_facility = (SyslogFacility)-1; |
options->log_facility = (SyslogFacility)-1; |
|
|
options->print_motd = 1; |
options->print_motd = 1; |
if (options->x11_forwarding == -1) |
if (options->x11_forwarding == -1) |
options->x11_forwarding = 1; |
options->x11_forwarding = 1; |
|
if (options->x11_display_offset == -1) |
|
options->x11_display_offset = 1; |
if (options->strict_modes == -1) |
if (options->strict_modes == -1) |
options->strict_modes = 1; |
options->strict_modes = 1; |
if (options->keepalives == -1) |
if (options->keepalives == -1) |
|
|
sAFSTokenPassing, |
sAFSTokenPassing, |
#endif |
#endif |
sPasswordAuthentication, sAllowHosts, sDenyHosts, sListenAddress, |
sPasswordAuthentication, sAllowHosts, sDenyHosts, sListenAddress, |
sPrintMotd, sIgnoreRhosts, sX11Forwarding, |
sPrintMotd, sIgnoreRhosts, sX11Forwarding, sX11DisplayOffset, |
sStrictModes, sEmptyPasswd, sRandomSeedFile, sKeepAlives |
sStrictModes, sEmptyPasswd, sRandomSeedFile, sKeepAlives |
} ServerOpCodes; |
} ServerOpCodes; |
|
|
|
|
{ "printmotd", sPrintMotd }, |
{ "printmotd", sPrintMotd }, |
{ "ignorerhosts", sIgnoreRhosts }, |
{ "ignorerhosts", sIgnoreRhosts }, |
{ "x11forwarding", sX11Forwarding }, |
{ "x11forwarding", sX11Forwarding }, |
|
{ "x11displayoffset", sX11DisplayOffset }, |
{ "strictmodes", sStrictModes }, |
{ "strictmodes", sStrictModes }, |
{ "permitemptypasswords", sEmptyPasswd }, |
{ "permitemptypasswords", sEmptyPasswd }, |
{ "randomseed", sRandomSeedFile }, |
{ "randomseed", sRandomSeedFile }, |
|
|
case sX11Forwarding: |
case sX11Forwarding: |
intptr = &options->x11_forwarding; |
intptr = &options->x11_forwarding; |
goto parse_flag; |
goto parse_flag; |
|
|
|
case sX11DisplayOffset: |
|
intptr = &options->x11_display_offset; |
|
goto parse_int; |
|
|
case sStrictModes: |
case sStrictModes: |
intptr = &options->strict_modes; |
intptr = &options->strict_modes; |