diff options
author | Darren Tucker <dtucker@zip.com.au> | 2011-10-02 18:59:03 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2011-10-02 18:59:03 +1100 |
commit | 68afb8c5f242ec74f48fd86137122399435dd757 (patch) | |
tree | a41fb99a2df717111d5c1a05f51b3791580218d1 /readconf.h | |
parent | 1338b9e067055259033a05e14db0bc2ad5536482 (diff) |
- 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
diff --git a/readconf.h b/readconf.h index 5944cff93..be30ee0e1 100644 --- a/readconf.h +++ b/readconf.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: readconf.h,v 1.90 2011/05/24 07:15:47 djm Exp $ */ | 1 | /* $OpenBSD: readconf.h,v 1.91 2011/09/23 07:45:05 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -24,6 +24,7 @@ typedef struct { | |||
24 | char *connect_host; /* Host to connect. */ | 24 | char *connect_host; /* Host to connect. */ |
25 | int connect_port; /* Port to connect on connect_host. */ | 25 | int connect_port; /* Port to connect on connect_host. */ |
26 | int allocated_port; /* Dynamically allocated listen port */ | 26 | int allocated_port; /* Dynamically allocated listen port */ |
27 | int handle; /* Handle for dynamic listen ports */ | ||
27 | } Forward; | 28 | } Forward; |
28 | /* Data structure for representing option data. */ | 29 | /* Data structure for representing option data. */ |
29 | 30 | ||