Mercurial > dropbear
comparison runopts.h @ 478:d4f32c3443ac dbclient-netcat-alike
propagate from branch 'au.asn.ucc.matt.dropbear' (head f21045c791002d81fc6b8dde6537ea481e513eb2)
to branch 'au.asn.ucc.matt.dropbear.dbclient-netcat-alike' (head d1f69334581dc4c35f9ca16aa5355074c9dd315d)
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 14 Sep 2008 06:47:51 +0000 |
parents | 7e43f5e473b9 |
children | c1e9c81d1d27 e3db1f7a2e43 12d845ab7b5f |
comparison
equal
deleted
inserted
replaced
296:6b41e2cbf071 | 478:d4f32c3443ac |
---|---|
34 typedef struct runopts { | 34 typedef struct runopts { |
35 | 35 |
36 #if defined(ENABLE_SVR_REMOTETCPFWD) || defined(ENABLE_CLI_LOCALTCPFWD) | 36 #if defined(ENABLE_SVR_REMOTETCPFWD) || defined(ENABLE_CLI_LOCALTCPFWD) |
37 int listen_fwd_all; | 37 int listen_fwd_all; |
38 #endif | 38 #endif |
39 unsigned int recv_window; | |
40 time_t keepalive_secs; | |
39 | 41 |
40 } runopts; | 42 } runopts; |
41 | 43 |
42 extern runopts opts; | 44 extern runopts opts; |
43 | 45 |
53 int usingsyslog; | 55 int usingsyslog; |
54 | 56 |
55 /* ports is an array of the portcount listening ports */ | 57 /* ports is an array of the portcount listening ports */ |
56 char *ports[DROPBEAR_MAX_PORTS]; | 58 char *ports[DROPBEAR_MAX_PORTS]; |
57 unsigned int portcount; | 59 unsigned int portcount; |
60 char *addresses[DROPBEAR_MAX_PORTS]; | |
58 | 61 |
59 int inetdmode; | 62 int inetdmode; |
60 | 63 |
61 /* Flags indicating whether to use ipv4 and ipv6 */ | 64 /* Flags indicating whether to use ipv4 and ipv6 */ |
62 /* not used yet | 65 /* not used yet |
81 int nolocaltcp; | 84 int nolocaltcp; |
82 #endif | 85 #endif |
83 | 86 |
84 sign_key *hostkey; | 87 sign_key *hostkey; |
85 buffer * banner; | 88 buffer * banner; |
89 char * pidfile; | |
86 | 90 |
87 } svr_runopts; | 91 } svr_runopts; |
88 | 92 |
89 extern svr_runopts svr_opts; | 93 extern svr_runopts svr_opts; |
90 | 94 |
99 | 103 |
100 char *username; | 104 char *username; |
101 | 105 |
102 char *cmd; | 106 char *cmd; |
103 int wantpty; | 107 int wantpty; |
108 int always_accept_key; | |
109 int no_cmd; | |
110 int backgrounded; | |
104 #ifdef ENABLE_CLI_PUBKEY_AUTH | 111 #ifdef ENABLE_CLI_PUBKEY_AUTH |
105 struct SignKeyList *privkeys; /* Keys to use for public-key auth */ | 112 struct SignKeyList *privkeys; /* Keys to use for public-key auth */ |
106 #endif | 113 #endif |
107 #ifdef ENABLE_CLI_REMOTETCPFWD | 114 #ifdef ENABLE_CLI_REMOTETCPFWD |
108 struct TCPFwdList * remotefwds; | 115 struct TCPFwdList * remotefwds; |