Displaying 8 results from an estimated 8 matches for "ssh_msg_channel_open_confirm".
2020 Jul 07
2
libssh2 is hanging during a file transfert
I don't see a problem, my MTU is at the default value = 1500,
but when I look at the trace from libssh2,
packet type 4 received, => SSH_MSG_DEBUG
packet type 91 received, => SSH_MSG_CHANNEL_OPEN_CONFIRMATION
packet type 93 received, => SSH_MSG_CHANNEL_WINDOW_ADJUST
packet type 99 received, => SSH_MSG_CHANNEL_SUCCESS
packet type 98 received, => SSH_MSG_CHANNEL_REQUEST
packet type 96 received, => SSH_MSG_CHANNEL_EOF
packet type 97 received, => SSH_MSG_CHANNEL_CLOSE ==> why ?
and...
2013 Apr 19
0
OpenSSH_6.1p1 sends a SSH packet bigger than 32K
The full SSH_MSG_CHANNEL_DATA packet looks like this:
uint32 packet length
byte SSH_MSG_CHANNEL_DATA
uint32 recipient channel
uint32 nr data bytes
byte[] data
OpenSSH_6.1p1 considers that the 'maximum packet size' from SSH_MSG_CHANNEL_OPEN or SSH_MSG_CHANNEL_OPEN_CONFIRMATION impacts only the 'byte[] data' field and not the entire message (headers included). Section 5.1 from RFC 4254 (which talks about this limitation) leaves room for interpretation when it comes to the 'maximum packet size' because it "specifies the maximum size of an indiv...
2003 Jan 29
0
[PATCH] features for restricted shell environments
...channel_input_port_forward_request(int, int);
int channel_connect_to(const char *, u_short);
--- clientloop.c 28 Jan 2003 18:06:51 -0000 1.1.1.2
+++ clientloop.c 28 Jan 2003 19:06:35 -0000 1.3
@@ -1342,7 +1344,7 @@
dispatch_set(SSH_MSG_CHANNEL_DATA, &channel_input_data);
dispatch_set(SSH_MSG_CHANNEL_OPEN_CONFIRMATION, &channel_input_open_confirmation);
dispatch_set(SSH_MSG_CHANNEL_OPEN_FAILURE, &channel_input_open_failure);
- dispatch_set(SSH_MSG_PORT_OPEN, &channel_input_port_open);
+ dispatch_set(SSH_MSG_PORT_OPEN, &channel_input_port_open_quiet);
dispatch_set(SSH_SMSG_EXITSTATUS, &am...
2001 Oct 24
2
disable features
...h_13(void)
{
dispatch_init(NULL);
+#ifdef WITH_PROTO13
dispatch_set(SSH_MSG_CHANNEL_CLOSE, &channel_input_close);
dispatch_set(SSH_MSG_CHANNEL_CLOSE_CONFIRMATION, &channel_input_close_confirmation);
+#endif
dispatch_set(SSH_MSG_CHANNEL_DATA, &channel_input_data);
dispatch_set(SSH_MSG_CHANNEL_OPEN_CONFIRMATION, &channel_input_open_confirmation);
dispatch_set(SSH_MSG_CHANNEL_OPEN_FAILURE, &channel_input_open_failure);
+#ifdef WITH_TCPFWD
dispatch_set(SSH_MSG_PORT_OPEN, &channel_input_port_open);
+#endif
dispatch_set(SSH_SMSG_EXITSTATUS, &client_input_exit_status);
dispatch_set...
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
2000 Aug 23
1
Protocol 2 remote forwarding patch
...tring("bla bla");
+ packet_put_cstring("bla bla"); /* TODO: Perhaps a little better
+ explanation */
packet_put_cstring("");
packet_send();
}
@@ -1045,7 +1052,7 @@
dispatch_set(SSH_MSG_CHANNEL_DATA, &channel_input_data);
dispatch_set(SSH_MSG_CHANNEL_OPEN_CONFIRMATION, &channel_input_open_confirmation);
dispatch_set(SSH_MSG_CHANNEL_OPEN_FAILURE, &channel_input_open_failure);
- dispatch_set(SSH_MSG_PORT_OPEN, &channel_input_port_open);
+ dispatch_set(SSH_MSG_PORT_OPEN, &client_channel_input_port_open); /* Jarno */
dispatch_set(SSH_SMSG_AG...
2016 Jan 26
2
Questions about inferred state machines for OpenSSH
Dear all,
For my thesis, I've been working on automatic inference of state
machines for SSH servers. I ran into a couple of particularities
regarding OpenSSH's inferred state machine, and was hoping some of you
might be interested. Maybe you can even shed some light on it.
Setup: I'm using LearnLib's (Java) version of the L* learning
algorithm [1] to come up with sequences of
2020 Jul 07
3
libssh2 is hanging during a file transfert
I'm trying to send data to a server with openssh 7.9p1, but it's hanging
somewhere.
the client stop at the line :
Jul 7 11:52:16 TOTO sshd[19553]: debug3: channel 0: will not send data
after close
and after 5 minutes the client closes the connection, why ?
This is the trace of the server openssh : ( DEBUG3 level)
Jul 7 11:52:15 TOTO sshd[31175]: debug3: fd 6 is not O_NONBLOCK
Jul