search for: ssh_msg_none

Displaying 5 results from an estimated 5 matches for "ssh_msg_none".

2001 Mar 14
1
[PATCH] Added Null packet keepalive option
...at ex-parrot.com) patch posted 2/23. The original patch from Chris is at: http://www.ex-parrot.com/~chris/openssh-patches/openssh-2.5.1p1-keepalives.patch Description: In order to keep a session active across a firewall or similar device that times out stateful connections, the client sends a SSH_MSG_NONE after X number of seconds of inactivity. Chris' original patch set this frequency to 3 minutes in the source. My patch allows this frequency to be configurable in the client. The configuration option is named "NoopMsgFrequency", with the default set to "0", disabling thi...
2000 Mar 03
7
[PATCH] Add a Maximum Idle Time (1.2.2)
...ust have a random timeout for the select, and send a random - * SSH_MSG_IGNORE packet when the timeout expires. + * Wait for something to happen. This will suspend the process + * until some selected descriptor can be read, written, or has some + * other event pending. + * Implemented timeout SSH_MSG_NONE packets to keep a minimum + * frequency of traffic present on a connection. This can be used to + * prevent a firewall (ip_masq f.e.) from timing out and causing a new + * port to be allocated which effectively kills the connection. + * To fool traffic analysis, use SSH_MSG_IGNORE packets and...
2001 Aug 20
1
Idletimeout patch, third attempt
...at(void) { DBG(debug("use_ssh2_packet_format")); @@ -383,6 +464,7 @@ packet_start2(type); else packet_start1(type); + idletimeout_check(type); } /* Appends a character to the packet data. */ @@ -708,20 +790,21 @@ /* If we got a packet, return it. */ if (type != SSH_MSG_NONE) { xfree(setp); + idletimeout_check(type); return type; } /* * Otherwise, wait for some data to arrive, add it to the * buffer, and try again. */ - memset(setp, 0, howmany(connection_in + 1, NFDBITS) * - sizeof(fd_mask)); - FD_SET(connection_in, setp); - - /* Wai...
2007 Apr 17
9
[Bug 1307] client disconnects if ServerAlive enabled but not implemented
http://bugzilla.mindrot.org/show_bug.cgi?id=1307 Summary: client disconnects if ServerAlive enabled but not implemented Product: Portable OpenSSH Version: 4.3p2 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: ssh AssignedTo: bitbucket at
2018 Dec 10
2
[PATCH] cleanup of global variables server/client_version_string in sshconnect.c
In sshconnect.c there are two global variables for server_version_string client_version_string. These are used just in a few functions and can easily be passed as parameters. Also, there is a strange construct, where their memory is allocated to the global pointers, then copies of these pointers are assigned to the kex structure. The kex_free finally frees them via cleanup of the kex