Mercurial > dropbear
comparison options.h @ 64:efb5e0b335cf
TCP forwarding works.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 12 Aug 2004 13:48:42 +0000 |
parents | 20563735e8b5 |
children | 02e4a7f614f8 |
comparison
equal
deleted
inserted
replaced
63:dcc43965928f | 64:efb5e0b335cf |
---|---|
49 | 49 |
50 /* Enable X11 Forwarding */ | 50 /* Enable X11 Forwarding */ |
51 #define ENABLE_X11FWD | 51 #define ENABLE_X11FWD |
52 | 52 |
53 /* Enable TCP Fowarding */ | 53 /* Enable TCP Fowarding */ |
54 /* OpenSSH's "-L" style forwarding (client port forwarded via server) */ | 54 /* "-L" style forwarding (client listening port forwarded via server) */ |
55 #define ENABLE_LOCALTCPFWD | 55 #define ENABLE_CLI_LOCALTCPFWD |
56 /* OpenSSH's "-R" style forwarding (server port forwarded via client) */ | 56 /* "-R" style forwarding (server listening port forwarded via client) */ |
57 #define ENABLE_REMOTETCPFWD | 57 #define ENABLE_CLI_REMOTETCPFWD |
58 | |
59 #define ENABLE_SVR_LOCALTCPFWD | |
60 #define ENABLE_SVR_REMOTETCPFWD | |
58 | 61 |
59 /* Enable Authentication Agent Forwarding */ | 62 /* Enable Authentication Agent Forwarding */ |
60 #define ENABLE_AGENTFWD | 63 #define ENABLE_AGENTFWD |
61 | 64 |
62 /* Encryption - at least one required. | 65 /* Encryption - at least one required. |
297 | 300 |
298 #ifndef ENABLE_REMOTETCPFWD | 301 #ifndef ENABLE_REMOTETCPFWD |
299 #define DISABLE_REMOTETCPFWD | 302 #define DISABLE_REMOTETCPFWD |
300 #endif | 303 #endif |
301 | 304 |
305 #if defined(ENABLE_CLI_REMOTETCPFWD) || defined(ENABLE_CLI_LOCALTCPFWD) | |
306 #define ENABLE_CLI_ANYTCPFWD | |
307 #endif | |
308 | |
302 #if defined(ENABLE_REMOTETCPFWD) || defined(ENABLE_LOCALTCPFWD) || \ | 309 #if defined(ENABLE_REMOTETCPFWD) || defined(ENABLE_LOCALTCPFWD) || \ |
303 defined(ENABLE_AGENTFWD) || defined(ENABLE_X11FWD) | 310 defined(ENABLE_AGENTFWD) || defined(ENABLE_X11FWD) |
304 #define USING_LISTENERS | 311 #define USING_LISTENERS |
305 #endif | 312 #endif |
306 | 313 |