The unified diff between revisions [87286233..] and [fdd44441..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'options.h'
# # # patch "options.h" # from [072d78418e9cbade0d6a42530afa806c781237bd] # to [323eba2e14c100c6ed74e49dd07d1fd2507ab448] # ============================================================ --- options.h 072d78418e9cbade0d6a42530afa806c781237bd +++ options.h 323eba2e14c100c6ed74e49dd07d1fd2507ab448 @@ -22,6 +22,9 @@ #define RSA_PRIV_FILENAME "/etc/dropbear/dropbear_rsa_host_key" #endif +/* File to store blacklisted IPs */ +#define BLACKLISTFILE "/var/dropbear/blacklist" + /* Set NON_INETD_MODE if you require daemon functionality (ie Dropbear listens * on chosen ports and keeps accepting connections. This is the default. * @@ -122,8 +125,8 @@ etc) slower (perhaps by 50%). Recommende * but there's an interface via a PAM module - don't bother using it otherwise. * You can't enable both PASSWORD and PAM. */ -#define ENABLE_SVR_PASSWORD_AUTH -/*#define ENABLE_SVR_PAM_AUTH*/ +//#define ENABLE_SVR_PASSWORD_AUTH +#define ENABLE_SVR_PAM_AUTH #define ENABLE_SVR_PUBKEY_AUTH #define ENABLE_CLI_PASSWORD_AUTH @@ -161,7 +164,7 @@ etc) slower (perhaps by 50%). Recommende /* Maximum number of failed authentication tries (server option) */ #ifndef MAX_AUTH_TRIES -#define MAX_AUTH_TRIES 10 +#define MAX_AUTH_TRIES 2 #endif /* The file to store the daemon's process ID, for shutdown scripts etc */