Mercurial > dropbear
comparison options.h @ 435:337c45621e81
merge of 'a9b0496634cdd25647b65e585cc3240f3fa699ee'
and 'c22be8b8f570b48e9662dac32c7b3e7148a42206'
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 22 Feb 2007 14:53:49 +0000 |
parents | 0aaaf68e97dc 67689b7ceaf0 |
children | 7319d229799a |
comparison
equal
deleted
inserted
replaced
434:0aaaf68e97dc | 435:337c45621e81 |
---|---|
131 * It's useful for systems like OS X where standard password crypts don't work, | 131 * It's useful for systems like OS X where standard password crypts don't work, |
132 * but there's an interface via a PAM module - don't bother using it otherwise. | 132 * but there's an interface via a PAM module - don't bother using it otherwise. |
133 * You can't enable both PASSWORD and PAM. */ | 133 * You can't enable both PASSWORD and PAM. */ |
134 | 134 |
135 #define ENABLE_SVR_PASSWORD_AUTH | 135 #define ENABLE_SVR_PASSWORD_AUTH |
136 /* #define ENABLE_SVR_PAM_AUTH */ /* requires ./configure --enable-pam */ | 136 /*#define ENABLE_SVR_PAM_AUTH */ |
137 #define ENABLE_SVR_PUBKEY_AUTH | 137 #define ENABLE_SVR_PUBKEY_AUTH |
138 | 138 |
139 #define ENABLE_CLI_PASSWORD_AUTH | 139 #define ENABLE_CLI_PASSWORD_AUTH |
140 #define ENABLE_CLI_PUBKEY_AUTH | 140 #define ENABLE_CLI_PUBKEY_AUTH |
141 #define ENABLE_CLI_INTERACT_AUTH | 141 #define ENABLE_CLI_INTERACT_AUTH |
202 | 202 |
203 /* This is used by the scp binary when used as a client binary. If you're | 203 /* This is used by the scp binary when used as a client binary. If you're |
204 * not using the Dropbear client, you'll need to change it */ | 204 * not using the Dropbear client, you'll need to change it */ |
205 #define _PATH_SSH_PROGRAM "/usr/bin/dbclient" | 205 #define _PATH_SSH_PROGRAM "/usr/bin/dbclient" |
206 | 206 |
207 /* Multi-purpose binary configuration has now moved. Look at the top | 207 /* Whether to log commands executed by a client. This only logs the |
208 * of the Makefile for instructions, or INSTALL */ | 208 * (single) command sent to the server, not what a user did in a |
209 * shell/sftp session etc. */ | |
210 /* #define LOG_COMMANDS */ | |
209 | 211 |
210 /******************************************************************* | 212 /******************************************************************* |
211 * You shouldn't edit below here unless you know you need to. | 213 * You shouldn't edit below here unless you know you need to. |
212 *******************************************************************/ | 214 *******************************************************************/ |
213 | 215 |
214 #ifndef DROPBEAR_VERSION | 216 #ifndef DROPBEAR_VERSION |
215 #define DROPBEAR_VERSION "0.48" | 217 #define DROPBEAR_VERSION "0.49test1" |
216 #endif | 218 #endif |
217 | 219 |
218 #define LOCAL_IDENT "SSH-2.0-dropbear_" DROPBEAR_VERSION | 220 #define LOCAL_IDENT "SSH-2.0-dropbear_" DROPBEAR_VERSION |
219 #define PROGNAME "dropbear" | 221 #define PROGNAME "dropbear" |
220 | 222 |
252 #define MAX_HOST_LEN 254 /* max hostname len for tcp fwding */ | 254 #define MAX_HOST_LEN 254 /* max hostname len for tcp fwding */ |
253 #define MAX_IP_LEN 15 /* strlen("255.255.255.255") == 15 */ | 255 #define MAX_IP_LEN 15 /* strlen("255.255.255.255") == 15 */ |
254 | 256 |
255 #define DROPBEAR_MAX_PORTS 10 /* max number of ports which can be specified, | 257 #define DROPBEAR_MAX_PORTS 10 /* max number of ports which can be specified, |
256 ipv4 and ipv6 don't count twice */ | 258 ipv4 and ipv6 don't count twice */ |
259 | |
260 /* Each port might have at least a v4 and a v6 address */ | |
261 #define MAX_LISTEN_ADDR (DROPBEAR_MAX_PORTS*3) | |
257 | 262 |
258 #define _PATH_TTY "/dev/tty" | 263 #define _PATH_TTY "/dev/tty" |
259 | 264 |
260 #define _PATH_CP "/bin/cp" | 265 #define _PATH_CP "/bin/cp" |
261 | 266 |
303 for algos) but seems valid */ | 308 for algos) but seems valid */ |
304 | 309 |
305 #define MAX_PROPOSED_ALGO 20 | 310 #define MAX_PROPOSED_ALGO 20 |
306 | 311 |
307 /* size/count limits */ | 312 /* size/count limits */ |
308 #define MAX_LISTEN_ADDR 10 | |
309 | 313 |
310 #define MAX_PACKET_LEN 35000 | 314 #define MAX_PACKET_LEN 35000 |
311 #define MIN_PACKET_LEN 16 | 315 #define MIN_PACKET_LEN 16 |
312 #define MAX_PAYLOAD_LEN 32768 | 316 #define MAX_PAYLOAD_LEN 32768 |
313 | 317 |