Mercurial > dropbear
comparison options.h @ 487:2e17f82a7330
Add multihop 'onion-forwarding' mode. Needs refinement, works.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 18 Sep 2008 14:47:02 +0000 |
parents | d59f628e7baa |
children | 6cd2152aae0b 9f583f4d59a6 |
comparison
equal
deleted
inserted
replaced
486:d59f628e7baa | 487:2e17f82a7330 |
---|---|
138 * a simple "Login: " "Password: " (you can edit the strings in svr-authpam.c). | 138 * a simple "Login: " "Password: " (you can edit the strings in svr-authpam.c). |
139 * It's useful for systems like OS X where standard password crypts don't work, | 139 * It's useful for systems like OS X where standard password crypts don't work, |
140 * but there's an interface via a PAM module - don't bother using it otherwise. | 140 * but there's an interface via a PAM module - don't bother using it otherwise. |
141 * You can't enable both PASSWORD and PAM. */ | 141 * You can't enable both PASSWORD and PAM. */ |
142 | 142 |
143 #define ENABLE_SVR_PASSWORD_AUTH | 143 //#define ENABLE_SVR_PASSWORD_AUTH |
144 /*#define ENABLE_SVR_PAM_AUTH */ /* requires ./configure --enable-pam */ | 144 #define ENABLE_SVR_PAM_AUTH /* requires ./configure --enable-pam */ |
145 #define ENABLE_SVR_PUBKEY_AUTH | 145 #define ENABLE_SVR_PUBKEY_AUTH |
146 | 146 |
147 #define ENABLE_CLI_PASSWORD_AUTH | 147 #define ENABLE_CLI_PASSWORD_AUTH |
148 #define ENABLE_CLI_PUBKEY_AUTH | 148 #define ENABLE_CLI_PUBKEY_AUTH |
149 #define ENABLE_CLI_INTERACT_AUTH | 149 #define ENABLE_CLI_INTERACT_AUTH |
405 defined(ENABLE_SVR_REMOTETCPFWD) || defined(ENABLE_SVR_LOCALTCPFWD) || \ | 405 defined(ENABLE_SVR_REMOTETCPFWD) || defined(ENABLE_SVR_LOCALTCPFWD) || \ |
406 defined(ENABLE_AGENTFWD) || defined(ENABLE_X11FWD) | 406 defined(ENABLE_AGENTFWD) || defined(ENABLE_X11FWD) |
407 #define USING_LISTENERS | 407 #define USING_LISTENERS |
408 #endif | 408 #endif |
409 | 409 |
410 #if defined(ENABLE_CLI_NETCAT) && defined(ENABLE_CLI_PROXYCMD) | |
411 #define ENABLE_CLI_MULTIHOP | |
412 #endif | |
413 | |
410 #if defined(DROPBEAR_CLIENT) || defined(ENABLE_SVR_PUBKEY_AUTH) | 414 #if defined(DROPBEAR_CLIENT) || defined(ENABLE_SVR_PUBKEY_AUTH) |
411 #define DROPBEAR_KEY_LINES /* ie we're using authorized_keys or known_hosts */ | 415 #define DROPBEAR_KEY_LINES /* ie we're using authorized_keys or known_hosts */ |
412 #endif | 416 #endif |
413 | 417 |
414 #if defined(ENABLE_SVR_PASSWORD_AUTH) && defined(ENABLE_SVR_PAM_AUTH) | 418 #if defined(ENABLE_SVR_PASSWORD_AUTH) && defined(ENABLE_SVR_PAM_AUTH) |