summaryrefslogtreecommitdiff
path: root/compat.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2011-10-02 18:59:03 +1100
committerDarren Tucker <dtucker@zip.com.au>2011-10-02 18:59:03 +1100
commit68afb8c5f242ec74f48fd86137122399435dd757 (patch)
treea41fb99a2df717111d5c1a05f51b3791580218d1 /compat.h
parent1338b9e067055259033a05e14db0bc2ad5536482 (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 'compat.h')
-rw-r--r--compat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/compat.h b/compat.h
index 16cf282a7..3ae5d9c78 100644
--- a/compat.h
+++ b/compat.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: compat.h,v 1.42 2008/09/11 14:22:37 markus Exp $ */ 1/* $OpenBSD: compat.h,v 1.43 2011/09/23 07:45:05 markus Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1999, 2000, 2001 Markus Friedl. All rights reserved. 4 * Copyright (c) 1999, 2000, 2001 Markus Friedl. All rights reserved.
@@ -58,6 +58,7 @@
58#define SSH_OLD_FORWARD_ADDR 0x01000000 58#define SSH_OLD_FORWARD_ADDR 0x01000000
59#define SSH_BUG_RFWD_ADDR 0x02000000 59#define SSH_BUG_RFWD_ADDR 0x02000000
60#define SSH_NEW_OPENSSH 0x04000000 60#define SSH_NEW_OPENSSH 0x04000000
61#define SSH_BUG_DYNAMIC_RPORT 0x08000000
61 62
62void enable_compat13(void); 63void enable_compat13(void);
63void enable_compat20(void); 64void enable_compat20(void);