diff options
author | Matt Johnston <matt@ucc.asn.au> | 2005-12-04 16:13:11 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2005-12-04 16:13:11 +0000 |
commit | eccfa7ceba8d3dee2c31801ae03d442ff7b79d4a (patch) | |
tree | cc1c3b4f3d9d52b79861942a360bca266e98bdcb /runopts.h | |
parent | c1c2fd4862e634e62f26f030a8df901fb278fc7e (diff) | |
download | dropbear-eccfa7ceba8d3dee2c31801ae03d442ff7b79d4a.tar.gz |
* add -g (dbclient) and -a (dropbear) options for allowing non-local
hosts to connect to forwarded ports. Rearranged various some of the
tcp listening code.
* changed to /* */ style brackets in svr-authpam.c
Diffstat (limited to 'runopts.h')
-rw-r--r-- | runopts.h | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -33,8 +33,9 @@ typedef struct runopts { - int nolocaltcp; - int noremotetcp; +#if defined(ENABLE_SVR_REMOTETCPFWD) || defined(ENABLE_CLI_LOCALTCPFWD) + int listen_fwd_all; +#endif } runopts; @@ -73,6 +74,13 @@ typedef struct svr_runopts { int noauthpass; int norootpass; +#ifdef ENABLE_SVR_REMOTETCPFWD + int noremotetcp; +#endif +#ifdef ENABLE_SVR_LOCALTCPFWD + int nolocaltcp; +#endif + sign_key *hostkey; buffer * banner; @@ -83,7 +91,6 @@ extern svr_runopts svr_opts; void svr_getopts(int argc, char ** argv); void loadhostkeys(); -/* Uncompleted XXX matt */ typedef struct cli_runopts { char *progname; @@ -103,7 +110,6 @@ typedef struct cli_runopts { #ifdef ENABLE_CLI_LOCALTCPFWD struct TCPFwdList * localfwds; #endif - /* XXX TODO */ } cli_runopts; |