comparison default_options.h @ 1443:8d45904926d3

Merge pull request #47 from kdarbyshirebryant/mastermaxauth dropbear server: support -T max auth tries
author Matt Johnston <matt@ucc.asn.au>
date Sun, 25 Jun 2017 23:37:44 +0800
parents 517c67cbcd31
children a3a96dbf9a58
comparison
equal deleted inserted replaced
1441:93d2bf610d0b 1443:8d45904926d3
383 /* Maximum number of failed authentication tries (server option) */ 383 /* Maximum number of failed authentication tries (server option) */
384 #ifndef MAX_AUTH_TRIES 384 #ifndef MAX_AUTH_TRIES
385 #define MAX_AUTH_TRIES 10 385 #define MAX_AUTH_TRIES 10
386 #endif 386 #endif
387 387
388 /* Default maximum number of failed authentication tries.
389 * defaults to MAX_AUTH_TRIES */
390 #ifndef DEFAULT_AUTH_TRIES
391 #define DEFAULT_AUTH_TRIES MAX_AUTH_TRIES
392 #endif
393
388 /* The default file to store the daemon's process ID, for shutdown 394 /* The default file to store the daemon's process ID, for shutdown
389 scripts etc. This can be overridden with the -P flag */ 395 scripts etc. This can be overridden with the -P flag */
390 #ifndef DROPBEAR_PIDFILE 396 #ifndef DROPBEAR_PIDFILE
391 #define DROPBEAR_PIDFILE "/var/run/dropbear.pid" 397 #define DROPBEAR_PIDFILE "/var/run/dropbear.pid"
392 #endif 398 #endif