version 1.63, 2001/01/22 23:06:39 |
version 1.64, 2001/02/03 10:08:37 |
|
|
options->max_startups_rate = -1; |
options->max_startups_rate = -1; |
options->max_startups = -1; |
options->max_startups = -1; |
options->banner = NULL; |
options->banner = NULL; |
|
options->reverse_mapping_check = -1; |
} |
} |
|
|
void |
void |
|
|
options->max_startups_rate = 100; /* 100% */ |
options->max_startups_rate = 100; /* 100% */ |
if (options->max_startups_begin == -1) |
if (options->max_startups_begin == -1) |
options->max_startups_begin = options->max_startups; |
options->max_startups_begin = options->max_startups; |
|
if (options->reverse_mapping_check == -1) |
|
options->reverse_mapping_check = 0; |
} |
} |
|
|
/* Keyword tokens. */ |
/* Keyword tokens. */ |
|
|
sAllowUsers, sDenyUsers, sAllowGroups, sDenyGroups, |
sAllowUsers, sDenyUsers, sAllowGroups, sDenyGroups, |
sIgnoreUserKnownHosts, sCiphers, sProtocol, sPidFile, |
sIgnoreUserKnownHosts, sCiphers, sProtocol, sPidFile, |
sGatewayPorts, sPubkeyAuthentication, sXAuthLocation, sSubsystem, sMaxStartups, |
sGatewayPorts, sPubkeyAuthentication, sXAuthLocation, sSubsystem, sMaxStartups, |
sBanner |
sBanner, sReverseMappingCheck |
} ServerOpCodes; |
} ServerOpCodes; |
|
|
/* Textual representation of the tokens. */ |
/* Textual representation of the tokens. */ |
|
|
{ "subsystem", sSubsystem }, |
{ "subsystem", sSubsystem }, |
{ "maxstartups", sMaxStartups }, |
{ "maxstartups", sMaxStartups }, |
{ "banner", sBanner }, |
{ "banner", sBanner }, |
|
{ "reversemappingcheck", sReverseMappingCheck }, |
{ NULL, 0 } |
{ NULL, 0 } |
}; |
}; |
|
|
|
|
|
|
case sGatewayPorts: |
case sGatewayPorts: |
intptr = &options->gateway_ports; |
intptr = &options->gateway_ports; |
|
goto parse_flag; |
|
|
|
case sReverseMappingCheck: |
|
intptr = &options->reverse_mapping_check; |
goto parse_flag; |
goto parse_flag; |
|
|
case sLogFacility: |
case sLogFacility: |