search for: 3f61eb0

Displaying 1 result from an estimated 1 matches for "3f61eb0".

2012 Oct 22
1
[PATCH] Implement remote dynamic TCP forwarding
...istener for mux conn. */ #define SSH_CHANNEL_MUX_CLIENT 16 /* Conn. to mux slave */ -#define SSH_CHANNEL_MAX_TYPE 17 +#define SSH_CHANNEL_RDYNAMIC 17 /* reversed SSH_CHANNEL_DYNAMIC */ +#define SSH_CHANNEL_MAX_TYPE 18 #define CHANNEL_CANCEL_PORT_STATIC -1 diff --git a/ssh.c b/ssh.c index 3f61eb0..a407aaa 100644 --- a/ssh.c +++ b/ssh.c @@ -549,7 +549,8 @@ main(int ac, char **av) break; case 'R': - if (parse_forward(&fwd, optarg, 0, 1)) { + if (parse_forward(&fwd, optarg, 1, 1) || + parse_forward(&fwd, optarg, 0, 1)) { add_remote_forward(&options,...