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 /channels.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 'channels.h')
-rw-r--r-- | channels.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/channels.h b/channels.h index 6f316c824..c1f01c48b 100644 --- a/channels.h +++ b/channels.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: channels.h,v 1.108 2011/09/23 00:22:04 dtucker Exp $ */ | 1 | /* $OpenBSD: channels.h,v 1.109 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> |
@@ -253,6 +253,7 @@ void channel_set_af(int af); | |||
253 | void channel_permit_all_opens(void); | 253 | void channel_permit_all_opens(void); |
254 | void channel_add_permitted_opens(char *, int); | 254 | void channel_add_permitted_opens(char *, int); |
255 | int channel_add_adm_permitted_opens(char *, int); | 255 | int channel_add_adm_permitted_opens(char *, int); |
256 | void channel_update_permitted_opens(int, int); | ||
256 | void channel_clear_permitted_opens(void); | 257 | void channel_clear_permitted_opens(void); |
257 | void channel_clear_adm_permitted_opens(void); | 258 | void channel_clear_adm_permitted_opens(void); |
258 | void channel_print_adm_permitted_opens(void); | 259 | void channel_print_adm_permitted_opens(void); |