diff options
author | dtucker <dtucker> | 2011-10-02 07:59:03 +0000 |
---|---|---|
committer | dtucker <dtucker> | 2011-10-02 07:59:03 +0000 |
commit | 2a1b94c0106d2948642096e7b753a932a72d1adc (patch) | |
tree | 83629a8b444bce22b8ac6f4be6e52cfb8a8dcc68 /readconf.h | |
parent | f41bef90243a2a56489b69fac9c7268d17ef8d1e (diff) | |
download | openssh-2a1b94c0106d2948642096e7b753a932a72d1adc.tar.gz |
- markus@cvs.openbsd.org 2011/09/23 07:45:05
[mux.c readconf.h channels.h compat.h compat.c ssh.c readconf.c channels.c version.h]
unbreak remote portforwarding with dynamic allocated listen ports:
1) send the actual listen port in the open message (instead of 0).
this allows multiple forwardings with a dynamic listen port
2) update the matching permit-open entry, so we can identify where
to connect to
report: den at skbkontur.ru and P. Szczygielski
feedback and ok djm@
Diffstat (limited to 'readconf.h')
-rw-r--r-- | readconf.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: readconf.h,v 1.90 2011/05/24 07:15:47 djm Exp $ */ +/* $OpenBSD: readconf.h,v 1.91 2011/09/23 07:45:05 markus Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -24,6 +24,7 @@ typedef struct { char *connect_host; /* Host to connect. */ int connect_port; /* Port to connect on connect_host. */ int allocated_port; /* Dynamically allocated listen port */ + int handle; /* Handle for dynamic listen ports */ } Forward; /* Data structure for representing option data. */ |