comparison options.h @ 508:d4bbc0039008

- Set a default path, since bash won't export one otherwise (though it will set one, leading to mysterious problems) - Rearrange some options
author Matt Johnston <matt@ucc.asn.au>
date Wed, 05 Nov 2008 13:30:23 +0000
parents 0cdbc95bb3d2
children b85507ade010
comparison
equal deleted inserted replaced
507:ada77f43c79a 508:d4bbc0039008
58 * 'Remote' is "-R" style (server listening port forwarded via client) */ 58 * 'Remote' is "-R" style (server listening port forwarded via client) */
59 59
60 #define ENABLE_CLI_LOCALTCPFWD 60 #define ENABLE_CLI_LOCALTCPFWD
61 #define ENABLE_CLI_REMOTETCPFWD 61 #define ENABLE_CLI_REMOTETCPFWD
62 62
63 #define ENABLE_SVR_LOCALTCPFWD
64 #define ENABLE_SVR_REMOTETCPFWD
65
66 /* Enable Authentication Agent Forwarding - server only for now */
67 #define ENABLE_AGENTFWD
68
69
70 /* Note: Both ENABLE_CLI_PROXYCMD and ENABLE_CLI_NETCAT must be set to
71 * allow multihop dbclient connections */
72
63 /* Allow using -J <proxycommand> to run the connection through a 73 /* Allow using -J <proxycommand> to run the connection through a
64 pipe to a program, rather the normal TCP connection */ 74 pipe to a program, rather the normal TCP connection */
65 #define ENABLE_CLI_PROXYCMD 75 #define ENABLE_CLI_PROXYCMD
66 76
67 #define ENABLE_SVR_LOCALTCPFWD 77 /* Enable "Netcat mode" option. This will forward standard input/output
68 #define ENABLE_SVR_REMOTETCPFWD 78 * to a remote TCP-forwarded connection */
69
70 /* Enable Authentication Agent Forwarding - server only for now */
71 #define ENABLE_AGENTFWD
72
73 /* Enable "Netcat mode". TODO describe here. */
74 #define ENABLE_CLI_NETCAT 79 #define ENABLE_CLI_NETCAT
75
76 80
77 /* Encryption - at least one required. 81 /* Encryption - at least one required.
78 * Protocol RFC requires 3DES and recommends AES128 for interoperability. 82 * Protocol RFC requires 3DES and recommends AES128 for interoperability.
79 * Including multiple keysize variants the same cipher 83 * Including multiple keysize variants the same cipher
80 * (eg AES256 as well as AES128) will result in a minimal size increase.*/ 84 * (eg AES256 as well as AES128) will result in a minimal size increase.*/
252 256
253 /* Ensure that data is transmitted every KEEPALIVE seconds. This can 257 /* Ensure that data is transmitted every KEEPALIVE seconds. This can
254 be overridden at runtime with -K. 0 disables keepalives */ 258 be overridden at runtime with -K. 0 disables keepalives */
255 #define DEFAULT_KEEPALIVE 0 259 #define DEFAULT_KEEPALIVE 0
256 260
261 /* The default path. This will often get replaced by the shell */
262 #define DEFAULT_PATH "/bin:/usr/bin"
263
257 /* Some other defines (that mostly should be left alone) are defined 264 /* Some other defines (that mostly should be left alone) are defined
258 * in sysoptions.h */ 265 * in sysoptions.h */
259 #include "sysoptions.h" 266 #include "sysoptions.h"
260 267
261 #endif /* _OPTIONS_H_ */ 268 #endif /* _OPTIONS_H_ */