Mercurial > dropbear
comparison default_options.h.in @ 1445:a3a96dbf9a58
Use MAX_AUTH_TRIES rather than DEFAULT_AUTH_TRIES, don't limit argument range
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 27 Jun 2017 22:20:38 +0800 |
parents | 517c67cbcd31 |
children | abbdeca6f1bd |
comparison
equal
deleted
inserted
replaced
1444:bfed37d12d90 | 1445:a3a96dbf9a58 |
---|---|
256 | 256 |
257 /* And then a global limit to avoid chewing memory if connections | 257 /* And then a global limit to avoid chewing memory if connections |
258 * come from many IPs */ | 258 * come from many IPs */ |
259 #define MAX_UNAUTH_CLIENTS 30 | 259 #define MAX_UNAUTH_CLIENTS 30 |
260 | 260 |
261 /* Maximum number of failed authentication tries (server option) */ | 261 /* Default maximum number of failed authentication tries (server option) */ |
262 /* -T server option overrides */ | |
262 #define MAX_AUTH_TRIES 10 | 263 #define MAX_AUTH_TRIES 10 |
263 | |
264 /* Default maximum number of failed authentication tries. | |
265 * defaults to MAX_AUTH_TRIES */ | |
266 #define DEFAULT_AUTH_TRIES MAX_AUTH_TRIES | |
267 | 264 |
268 /* The default file to store the daemon's process ID, for shutdown | 265 /* The default file to store the daemon's process ID, for shutdown |
269 scripts etc. This can be overridden with the -P flag */ | 266 scripts etc. This can be overridden with the -P flag */ |
270 #define DROPBEAR_PIDFILE "/var/run/dropbear.pid" | 267 #define DROPBEAR_PIDFILE "/var/run/dropbear.pid" |
271 | 268 |