comparison runopts.h @ 1442:517c67cbcd31

dropbear server: support -T max auth tries Add support for '-T n' for a run-time specification for maximum number of authentication attempts where 'n' is between 1 and compile time option MAX_AUTH_TRIES. A default number of tries can be specified at compile time using 'DEFAULT_AUTH_TRIES' which itself defaults to MAX_AUTH_TRIES for backwards compatibility. Signed-off-by: Kevin Darbyshire-Bryant <[email protected]>
author Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
date Mon, 29 May 2017 10:25:09 +0100
parents 750ec4ec4cbe
children 4afde04f0607 f7a53832501d
comparison
equal deleted inserted replaced
1438:4f8eb331174f 1442:517c67cbcd31
94 int norootlogin; 94 int norootlogin;
95 95
96 int noauthpass; 96 int noauthpass;
97 int norootpass; 97 int norootpass;
98 int allowblankpass; 98 int allowblankpass;
99 unsigned int maxauthtries;
99 100
100 #if DROPBEAR_SVR_REMOTETCPFWD 101 #if DROPBEAR_SVR_REMOTETCPFWD
101 int noremotetcp; 102 int noremotetcp;
102 #endif 103 #endif
103 #if DROPBEAR_SVR_LOCALTCPFWD 104 #if DROPBEAR_SVR_LOCALTCPFWD