… | |
… | |
51 | RSA *rsa_key; // his public key |
51 | RSA *rsa_key; // his public key |
52 | char *nodename; // nodename, an internal nickname. |
52 | char *nodename; // nodename, an internal nickname. |
53 | char *hostname; // hostname, if known, or NULL. |
53 | char *hostname; // hostname, if known, or NULL. |
54 | #if ENABLE_DNS |
54 | #if ENABLE_DNS |
55 | char *domain; // dns tunnel domain |
55 | char *domain; // dns tunnel domain |
|
|
56 | #endif |
|
|
57 | char *dns_hostname; |
56 | u16 dns_port; |
58 | u16 dns_port; |
57 | #endif |
|
|
58 | |
59 | |
59 | u8 protocols; // protocols this host can send & receive |
60 | u8 protocols; // protocols this host can send & receive |
60 | u16 udp_port, tcp_port; // the port to bind to |
61 | u16 udp_port, tcp_port; // the port to bind to |
61 | int max_retry; |
62 | int max_retry; |
62 | |
63 | |
… | |
… | |
97 | #if ENABLE_HTTP_PROXY |
98 | #if ENABLE_HTTP_PROXY |
98 | char *proxy_auth; // login:password |
99 | char *proxy_auth; // login:password |
99 | char *proxy_host; // the proxy hostname, e.g. proxy1.example.net |
100 | char *proxy_host; // the proxy hostname, e.g. proxy1.example.net |
100 | u16 proxy_port; // the proxy port, e.g. 3128 |
101 | u16 proxy_port; // the proxy port, e.g. 3128 |
101 | #endif |
102 | #endif |
|
|
103 | |
102 | #if ENABLE_DNS |
104 | #if ENABLE_DNS |
103 | char *dns_forw_host; |
105 | char *dns_forw_host; |
104 | u16 dns_forw_port; |
106 | u16 dns_forw_port; |
105 | #endif |
107 | #endif |
106 | |
108 | |