comparison options.h @ 71:ac96bc733e71

adding inetd mode back from 0.43
author Matt Johnston <matt@ucc.asn.au>
date Thu, 12 Aug 2004 17:18:53 +0000
parents b0316ce64e4b
children 95f4bc4bcd58
comparison
equal deleted inserted replaced
70:b0316ce64e4b 71:ac96bc733e71
40 #endif 40 #endif
41 #ifndef RSA_PRIV_FILENAME 41 #ifndef RSA_PRIV_FILENAME
42 #define RSA_PRIV_FILENAME "/etc/dropbear/dropbear_rsa_host_key" 42 #define RSA_PRIV_FILENAME "/etc/dropbear/dropbear_rsa_host_key"
43 #endif 43 #endif
44 44
45 /* Set NON_INETD_MODE if you require daemon functionality (ie Dropbear listens
46 * on chosen ports and keeps accepting connections. This is the default.
47 *
48 * Set INETD_MODE if you want to be able to run Dropbear with inetd (or
49 * similar), where it will use stdin/stdout for connections, and each process
50 * lasts for a single connection. Dropbear should be invoked with the -i flag
51 * for inetd, and can only accept IPv4 connections.
52 *
53 * Both of these flags can be defined at once, don't compile without at least
54 * one of them. */
55 #define NON_INETD_MODE
56 #define INETD_MODE
57
45 /* Setting this disables the fast exptmod bignum code. It saves ~5kB, but is 58 /* Setting this disables the fast exptmod bignum code. It saves ~5kB, but is
46 * perhaps 20% slower for pubkey operations (it is probably worth experimenting 59 * perhaps 20% slower for pubkey operations (it is probably worth experimenting
47 * if you want to use this) */ 60 * if you want to use this) */
48 /*#define NO_FAST_EXPTMOD*/ 61 /*#define NO_FAST_EXPTMOD*/
49 62