diff options
author | Damien Miller <djm@mindrot.org> | 2011-09-22 21:38:52 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2011-09-22 21:38:52 +1000 |
commit | f6dff7cd2ff5eba5cd63e3a9c7bf6ccf183cb056 (patch) | |
tree | ca2f37e390f5f26598341a09435dabed25648d46 /clientloop.h | |
parent | 9ee2c606c1d03ecb955aa8a2624b9db4aa9752a2 (diff) |
- djm@cvs.openbsd.org 2011/09/09 22:46:44
[channels.c channels.h clientloop.h mux.c ssh.c]
support for cancelling local and remote port forwards via the multiplex
socket. Use ssh -O cancel -L xx:xx:xx -R yy:yy:yy user@host" to request
the cancellation of the specified forwardings; ok markus@
Diffstat (limited to 'clientloop.h')
-rw-r--r-- | clientloop.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clientloop.h b/clientloop.h index a259b5e14..3bb794879 100644 --- a/clientloop.h +++ b/clientloop.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: clientloop.h,v 1.28 2011/06/22 22:08:42 djm Exp $ */ | 1 | /* $OpenBSD: clientloop.h,v 1.29 2011/09/09 22:46:44 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -70,6 +70,7 @@ void client_expect_confirm(int, const char *, enum confirm_action); | |||
70 | #define SSHMUX_COMMAND_STDIO_FWD 4 /* Open stdio fwd (ssh -W) */ | 70 | #define SSHMUX_COMMAND_STDIO_FWD 4 /* Open stdio fwd (ssh -W) */ |
71 | #define SSHMUX_COMMAND_FORWARD 5 /* Forward only, no command */ | 71 | #define SSHMUX_COMMAND_FORWARD 5 /* Forward only, no command */ |
72 | #define SSHMUX_COMMAND_STOP 6 /* Disable mux but not conn */ | 72 | #define SSHMUX_COMMAND_STOP 6 /* Disable mux but not conn */ |
73 | #define SSHMUX_COMMAND_CANCEL_FWD 7 /* Cancel forwarding(s) */ | ||
73 | 74 | ||
74 | void muxserver_listen(void); | 75 | void muxserver_listen(void); |
75 | void muxclient(const char *); | 76 | void muxclient(const char *); |