Mercurial > dropbear
comparison default_options.h @ 1491:1ea92dd2ca5f
update default_options.h
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 14 Feb 2018 00:17:22 +0800 |
parents | a3a96dbf9a58 |
children | 6c16a05023aa 1d163552145f bb8eaa26bc93 |
comparison
equal
deleted
inserted
replaced
1490:9b87cbe931e3 | 1491:1ea92dd2ca5f |
---|---|
1 /* | |
2 > > > Do not edit this file (default_options.h) < < < | |
3 Generated from ../default_options.h.in | |
4 Local customisation goes in localoptions.h | |
5 */ | |
6 | |
7 | |
1 #ifndef DROPBEAR_DEFAULT_OPTIONS_H_ | 8 #ifndef DROPBEAR_DEFAULT_OPTIONS_H_ |
2 #define DROPBEAR_DEFAULT_OPTIONS_H_ | 9 #define DROPBEAR_DEFAULT_OPTIONS_H_ |
3 /* | 10 /* |
4 > > > Read This < < < | 11 > > > Read This < < < |
5 | 12 |
6 default_options.h.in (this file) documents compile-time options, and provides | 13 default_options.h.in documents compile-time options, and provides default values. |
7 default values. | |
8 | 14 |
9 Local customisation should be added to localoptions.h which is | 15 Local customisation should be added to localoptions.h which is |
10 used if it exists. Options defined there will override any options in this | 16 used if it exists. Options defined there will override any options in this |
11 file (#ifndef guards added by ifndef_wrapper.sh). | 17 file. |
12 | 18 |
13 Options can also be defined with -DDROPBEAR_XXX in Makefile CFLAGS | 19 Options can also be defined with -DDROPBEAR_XXX in Makefile CFLAGS |
14 | 20 |
15 IMPORTANT: Many options will require "make clean" after changes */ | 21 IMPORTANT: Many options will require "make clean" after changes */ |
16 | 22 |
379 #ifndef MAX_UNAUTH_CLIENTS | 385 #ifndef MAX_UNAUTH_CLIENTS |
380 #define MAX_UNAUTH_CLIENTS 30 | 386 #define MAX_UNAUTH_CLIENTS 30 |
381 #endif | 387 #endif |
382 | 388 |
383 /* Default maximum number of failed authentication tries (server option) */ | 389 /* Default maximum number of failed authentication tries (server option) */ |
384 /* -T runtime option overrides */ | 390 /* -T server option overrides */ |
385 #ifndef MAX_AUTH_TRIES | 391 #ifndef MAX_AUTH_TRIES |
386 #define MAX_AUTH_TRIES 10 | 392 #define MAX_AUTH_TRIES 10 |
387 #endif | 393 #endif |
388 | 394 |
389 /* The default file to store the daemon's process ID, for shutdown | 395 /* The default file to store the daemon's process ID, for shutdown |