Mercurial > dropbear
comparison tcpfwd.h @ 675:dfdb9d9189ff
Server shouldn't return "localhost" in response to -R forward connections
if that wasn't what the client requested.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 09 May 2012 21:09:34 +0800 |
parents | 8c737cd7c1af |
children | 04ede40a529a |
comparison
equal
deleted
inserted
replaced
674:1291413c7c7e | 675:dfdb9d9189ff |
---|---|
37 /* This is the address/port that we listen on. The address has special | 37 /* This is the address/port that we listen on. The address has special |
38 * meanings as per the rfc, "" for all interfaces, "localhost" for | 38 * meanings as per the rfc, "" for all interfaces, "localhost" for |
39 * localhost, or a normal interface name. */ | 39 * localhost, or a normal interface name. */ |
40 unsigned char *listenaddr; | 40 unsigned char *listenaddr; |
41 unsigned int listenport; | 41 unsigned int listenport; |
42 /* The address that the remote host asked to listen on */ | |
43 unsigned char *request_listenaddr;; | |
42 | 44 |
43 const struct ChanType *chantype; | 45 const struct ChanType *chantype; |
44 enum {direct, forwarded} tcp_type; | 46 enum {direct, forwarded} tcp_type; |
45 }; | 47 }; |
46 | 48 |