Mercurial > dropbear
comparison options.h @ 247:c07de41b53d7 contrib-blacklist
propagate from branch 'au.asn.ucc.matt.dropbear' (head c9347a030ac9ef5454b7a84f4915e91dc44efd6c)
to branch 'au.asn.ucc.matt.dropbear.contrib.blacklist' (head 8662c7148e4b738e2511a6fce9a4cbd959ecb6b8)
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 06 Sep 2005 04:57:14 +0000 |
parents | ea5189f97cfd f4cf0415fec1 |
children | 9d110777f345 |
comparison
equal
deleted
inserted
replaced
245:b24730e11c83 | 247:c07de41b53d7 |
---|---|
19 #define DSS_PRIV_FILENAME "/etc/dropbear/dropbear_dss_host_key" | 19 #define DSS_PRIV_FILENAME "/etc/dropbear/dropbear_dss_host_key" |
20 #endif | 20 #endif |
21 #ifndef RSA_PRIV_FILENAME | 21 #ifndef RSA_PRIV_FILENAME |
22 #define RSA_PRIV_FILENAME "/etc/dropbear/dropbear_rsa_host_key" | 22 #define RSA_PRIV_FILENAME "/etc/dropbear/dropbear_rsa_host_key" |
23 #endif | 23 #endif |
24 | |
25 /* File to store blacklisted IPs */ | |
26 #define BLACKLISTFILE "/var/dropbear/blacklist" | |
24 | 27 |
25 /* Set NON_INETD_MODE if you require daemon functionality (ie Dropbear listens | 28 /* Set NON_INETD_MODE if you require daemon functionality (ie Dropbear listens |
26 * on chosen ports and keeps accepting connections. This is the default. | 29 * on chosen ports and keeps accepting connections. This is the default. |
27 * | 30 * |
28 * Set INETD_MODE if you want to be able to run Dropbear with inetd (or | 31 * Set INETD_MODE if you want to be able to run Dropbear with inetd (or |
125 * a simple "Login: " "Password: " (you can edit the strings in svr-authpam.c). | 128 * a simple "Login: " "Password: " (you can edit the strings in svr-authpam.c). |
126 * It's useful for systems like OS X where standard password crypts don't work, | 129 * It's useful for systems like OS X where standard password crypts don't work, |
127 * but there's an interface via a PAM module - don't bother using it otherwise. | 130 * but there's an interface via a PAM module - don't bother using it otherwise. |
128 * You can't enable both PASSWORD and PAM. */ | 131 * You can't enable both PASSWORD and PAM. */ |
129 | 132 |
130 #define ENABLE_SVR_PASSWORD_AUTH | 133 //#define ENABLE_SVR_PASSWORD_AUTH |
131 /*#define ENABLE_SVR_PAM_AUTH*/ | 134 #define ENABLE_SVR_PAM_AUTH |
132 #define ENABLE_SVR_PUBKEY_AUTH | 135 #define ENABLE_SVR_PUBKEY_AUTH |
133 | 136 |
134 #define ENABLE_CLI_PASSWORD_AUTH | 137 #define ENABLE_CLI_PASSWORD_AUTH |
135 #define ENABLE_CLI_PUBKEY_AUTH | 138 #define ENABLE_CLI_PUBKEY_AUTH |
136 | 139 |
164 #define MAX_UNAUTH_CLIENTS 30 | 167 #define MAX_UNAUTH_CLIENTS 30 |
165 #endif | 168 #endif |
166 | 169 |
167 /* Maximum number of failed authentication tries (server option) */ | 170 /* Maximum number of failed authentication tries (server option) */ |
168 #ifndef MAX_AUTH_TRIES | 171 #ifndef MAX_AUTH_TRIES |
169 #define MAX_AUTH_TRIES 10 | 172 #define MAX_AUTH_TRIES 2 |
170 #endif | 173 #endif |
171 | 174 |
172 /* The file to store the daemon's process ID, for shutdown scripts etc */ | 175 /* The file to store the daemon's process ID, for shutdown scripts etc */ |
173 #ifndef DROPBEAR_PIDFILE | 176 #ifndef DROPBEAR_PIDFILE |
174 #define DROPBEAR_PIDFILE "/var/run/dropbear.pid" | 177 #define DROPBEAR_PIDFILE "/var/run/dropbear.pid" |