Displaying 6 results from an estimated 6 matches for "channel_input_window_adjust".
2006 Aug 03
1
Suspicious sshd log messages in my syslog
Hello All,
I'm using OpenSSH 4.3p2. I'm getting few messages in my syslog and it is
shown below,
Aug 02 11:15:19 foo sshd[4381]: Received window adjust for non-open channel
0.
I found that sshd received a SSH_MSG_CHANNEL_WINDOW_ADJUST and it executes
the function channel_input_window_adjust() in channels.c. I like to know how
this can happen for a non-open channel. Is anything suspicious going in my
network?
Could anyone share the ideas?
Thanks,
-logu
2001 Feb 10
3
Protocol 2 remote forwarding patch
...nding 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 *ctxt);
+/* Jarno Huuskonen: */
+void channel_server_global_request(int type, int plen, void *ctxt);
+
/* Sets specific protocol options. */
void channel_set_options(int hostname_in_open);
@@ -205,9 +209,...
2000 Aug 23
1
Protocol 2 remote forwarding patch
...o refuse forwarding requests.
+ */
+void server_channel_input_port_open(int type, int plen);
+/* Jarno: This is only a client wrapper for channel_input_port_open */
+void client_channel_input_port_open(int type, int plen);
+void channel_input_port_open(int type, int plen, int remote_channel);
void channel_input_window_adjust(int type, int plen);
+
+/* Jarno Huuskonen: Checks if the server allows port forwarding.
+ * Logs all failed attempts.
+ * Return 1 if the forwarding is allowed or 0 for failure.
+ */
+int allow_remote_forwarding(const char *address_to_listen, int port);
+
void channel_input_open(int type, int ple...
2003 Jan 29
0
[PATCH] features for restricted shell environments
...channel_input_open_failure(int, u_int32_t, void *);
-void channel_input_port_open(int, u_int32_t, void *);
+void channel_input_port_open(int, u_int32_t, void *, int);
+void channel_input_port_open_loud(int, u_int32_t, void *);
+void channel_input_port_open_quiet(int, u_int32_t, void *);
void channel_input_window_adjust(int, u_int32_t, void *);
/* file descriptor handling (read/write) */
@@ -194,7 +197,8 @@
/* tcp forwarding */
void channel_set_af(int af);
void channel_permit_all_opens(void);
-void channel_add_permitted_opens(char *, int);
+void channel_fix_permitted_opens(void);
+int channel_add_...
2001 Oct 24
2
disable features
...free(rtype);
}
+#endif
static void
server_init_dispatch_20(void)
@@ -968,7 +974,9 @@
dispatch_set(SSH2_MSG_CHANNEL_OPEN_FAILURE, &channel_input_open_failure);
dispatch_set(SSH2_MSG_CHANNEL_REQUEST, &channel_input_channel_request);
dispatch_set(SSH2_MSG_CHANNEL_WINDOW_ADJUST, &channel_input_window_adjust);
+#ifdef WITH_TCPFWD
dispatch_set(SSH2_MSG_GLOBAL_REQUEST, &server_input_global_request);
+#endif
/* client_alive */
dispatch_set(SSH2_MSG_CHANNEL_FAILURE, &server_input_channel_failure);
/* rekeying */
@@ -982,12 +990,16 @@
dispatch_set(SSH_CMSG_EOF, &server_input_eof);
di...
2004 Jan 19
3
Security suggestion concering SSH and port forwarding.
Hi,
sorry if it is the wrong approuch to suggest improvments to OpenSSH,
but here comes my suggestion:
I recently stumbled upon the scponly shell which in it's chroot:ed form is
an ideal solution when you want to share some files with people you trust
more or less.
The problem is, if you use the scponlyc as shell, port forwarding is still
allowed. This can of course be dissallowed in