Displaying 6 results from an estimated 6 matches for "ssh_channel_max_type".
2012 Oct 22
1
[PATCH] Implement remote dynamic TCP forwarding
...-git a/channels.h b/channels.h
index d75b800..cf6553e 100644
--- a/channels.h
+++ b/channels.h
@@ -55,7 +55,8 @@
#define SSH_CHANNEL_ZOMBIE 14 /* Almost dead. */
#define SSH_CHANNEL_MUX_LISTENER 15 /* Listener 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 ...
2001 Oct 29
0
Patch for allowing port forward host names > 30 bytes
...limited to 30 bytes.
Again, this was tested on portable OpenSSH but should be applied to
native.
- Dave Dykstra
--- channels.h.O Mon Oct 29 15:47:28 2001
+++ channels.h Mon Oct 29 15:47:47 2001
@@ -56,7 +56,7 @@
#define SSH_CHANNEL_ZOMBIE 14 /* Almost dead. */
#define SSH_CHANNEL_MAX_TYPE 15
-#define SSH_CHANNEL_PATH_LEN 30
+#define SSH_CHANNEL_PATH_LEN 200
struct Channel;
typedef struct Channel Channel;
2001 Feb 10
3
Protocol 2 remote forwarding patch
...Dec 5 20:11:48 2000
+++ openssh/channels.h Sat Feb 10 00:01:29 2001
@@ -49,7 +49,8 @@
#define SSH_CHANNEL_INPUT_DRAINING 8 /* sending remaining data to conn */
#define SSH_CHANNEL_OUTPUT_DRAINING 9 /* sending remaining data to app */
#define SSH_CHANNEL_LARVAL 10 /* larval session */
-#define SSH_CHANNEL_MAX_TYPE 11
+#define SSH2_CHANNEL_PORT_LISTENER 11
+#define SSH_CHANNEL_MAX_TYPE 12
/*
* Data structure for channel data. This is iniailized in channel_allocate
@@ -149,6 +150,9 @@
void channel_input_window_adjust(int type, int plen, void *ctxt);
void channel_input_open(int type, int plen, void *c...
2000 Aug 23
1
Protocol 2 remote forwarding patch
...00
+++ openssh-2.1.1p4-jhchanges/channels.h Tue Aug 22 21:36:16 2000
@@ -15,7 +15,13 @@
#define SSH_CHANNEL_INPUT_DRAINING 8 /* sending remaining data to conn */
#define SSH_CHANNEL_OUTPUT_DRAINING 9 /* sending remaining data to app */
#define SSH_CHANNEL_LARVAL 10 /* larval session */
-#define SSH_CHANNEL_MAX_TYPE 11
+#define SSH2_CHANNEL_PORT_LISTENER 11 /* Jarno: protocol 2 remote port
+ * listener. (needs different type
+ * because with protocol 2 remote
+ * forward the server sends
+ * forwarded-tcpip (not direct-tcpip)
+...
2001 Oct 24
2
disable features
...ame = NULL;
static char *auth_sock_dir = NULL;
+#endif
/* AF_UNSPEC or AF_INET or AF_INET6 */
static int IPv4or6 = AF_UNSPEC;
+#ifdef WITH_TCPFWD
/* helper */
static void port_open_helper(Channel *c, char *rtype);
+#endif
/* -- channel core */
@@ -678,6 +683,7 @@
chan_fn *channel_pre[SSH_CHANNEL_MAX_TYPE];
chan_fn *channel_post[SSH_CHANNEL_MAX_TYPE];
+#ifdef WITH_TCPFWD
static void
channel_pre_listener(Channel *c, fd_set * readset, fd_set * writeset)
{
@@ -690,7 +696,9 @@
debug3("channel %d: waiting for connection", c->self);
FD_SET(c->sock, writeset);
}
+#endif
+#ifdef...
2010 Jan 14
1
ssh(1) multiplexing rewrite
...ls.h,v
retrieving revision 1.102
diff -u -p -r1.102 channels.h
--- channels.h 11 Jan 2010 01:39:46 -0000 1.102
+++ channels.h 14 Jan 2010 03:07:48 -0000
@@ -53,7 +53,9 @@
#define SSH_CHANNEL_CONNECTING 12
#define SSH_CHANNEL_DYNAMIC 13
#define SSH_CHANNEL_ZOMBIE 14 /* Almost dead. */
-#define SSH_CHANNEL_MAX_TYPE 15
+#define SSH_CHANNEL_MUX_LISTENER 15 /* Listener for mux conn. */
+#define SSH_CHANNEL_MUX_CLIENT 16 /* Conn. to mux slave */
+#define SSH_CHANNEL_MAX_TYPE 17
struct Channel;
typedef struct Channel Channel;
@@ -81,6 +83,9 @@ struct channel_connect {
struct addrinfo *ai, *aitop;
};
+/...