Displaying 5 results from an estimated 5 matches for "rmaxpack".
2000 Aug 15
0
Experimental -R support patch for openssh client
...SSH2_MSG_GLOBAL_REQUEST/
+ * "forwarded-tcpip".
+ * Checks if creating the channel is ok. And connects to required host.
+ * returns new channel if OK or NULL for failure.
+ */
+Channel*
+client_forwarded_tcpip_request(const char *request_type, int rchan,
+ int rwindow, int rmaxpack)
+{
+ Channel* c = NULL;
+ int sock;
+ char *connected_address; /* Remote address that is listening for the
+ connection */
+ int connected_port; /* Remote port connected */
+
+ char* client_address; /* Client that connected to connected_address */
+ int client_port; /...
2001 Feb 10
3
Protocol 2 remote forwarding patch
...* Jarno Huuskonen:
+ * This gets called after ssh client has received
+ * SSH2_MSG_GLOBAL_REQUEST type "forwarded-tcpip".
+ *
+ * returns new channel if OK or NULL for failure.
+ */
+Channel*
+client_forwarded_tcpip_request(const char *request_type, int rchan,
+ int rwindow, int rmaxpack)
+{
+ Channel* c = NULL;
+ int sock;
+ char *listen_address; /* Remote (server) address that is listening
+ for the connection */
+ int listen_port;
+ char* originator_address; /* Address of the client connecting to
+ listen_address */
+ int originator_port; /* Cli...
2000 Aug 23
1
Protocol 2 remote forwarding patch
...o Huuskonen:
+ * This gets called after ssh client has received
+ * SSH2_MSG_GLOBAL_REQUEST type "forwarded-tcpip".
+ *
+ * returns new channel if OK or NULL for failure.
+ */
+Channel*
+client_forwarded_tcpip_request(const char *request_type, int rchan,
+ int rwindow, int rmaxpack)
+{
+ Channel* c = NULL;
+ int sock;
+ char *listen_address; /* Remote (server) address that is listening
+ for the connection */
+ int listen_port;
+ char* originator_address; /* Address of the client connecting to
+ listen_address */
+ int originator_port...
2001 Oct 24
2
disable features
...* WITH_X11FWD */
+#ifdef WITH_AGENTFWD
static Channel*
client_request_agent(const char *request_type, int rchan)
{
@@ -1144,6 +1149,7 @@
c->force_drain = 1;
return c;
}
+#endif
/* XXXX move to generic input handler */
static void
@@ -1165,11 +1171,17 @@
ctype, rchan, rwindow, rmaxpack);
if (strcmp(ctype, "forwarded-tcpip") == 0) {
+#ifdef WITH_TCPFWD
c = client_request_forwarded_tcpip(ctype, rchan);
+#endif
} else if (strcmp(ctype, "x11") == 0) {
+#ifdef WITH_X11FWD
c = client_request_x11(ctype, rchan);
+#endif
} else if (strcmp(ctype, "aut...
2003 Oct 08
4
OS/390 openssh
...(!isalpha(c) && !isdigit(c)) {
switch (c) {
diff -bur openssh-3.7.1p2.orig/serverloop.c openssh-3.7.1p2/serverloop.c
--- openssh-3.7.1p2.orig/serverloop.c Sat Jun 28 04:38:02 2003
+++ openssh-3.7.1p2/serverloop.c Tue Oct 7 08:22:02 2003
@@ -926,9 +926,9 @@
ctype, rchan, rwindow, rmaxpack);
if (strcmp(ctype, "session") == 0) {
- c = server_request_session(ctype);
+ c = server_request_session("session");
} else if (strcmp(ctype, "direct-tcpip") == 0) {
- c = server_request_direct_tcpip(ctype);
+ c = server_request_direct_tcpip("direct-tcpi...