Displaying 14 results from an estimated 14 matches for "packet_read_seqnr".
2007 Mar 14
1
sshd gets stuck: select() in packet_read_seqnr waits indefinitely
...efault settings) in sshd_config:
LogLevel DEBUG
ClientAliveInterval 90
Subsystem sftp /usr/libexec/sftp-server
SSH client:
PuTTY version 0.58, default settings
OS/HW:
FreeBSD 6.1-RELEASE running on 64-bit x86 ("amd64" platform)
Executive summary:
The select() in packet_read_seqnr() waits indefinitely, resulting
in stuck SSH sessions when networking problems interfere with
key exchange. Would like to be able to set a timeout there, or
send SSH keepalives during key exchange.
Periodically (every 60 minutes) the SSH client initiates rekeying
via key exchange. Here...
2007 Sep 17
18
[Bug 1363] New: sshd gets stuck: select() in packet_read_seqnr waits indefinitely
http://bugzilla.mindrot.org/show_bug.cgi?id=1363
Summary: sshd gets stuck: select() in packet_read_seqnr waits
indefinitely
Product: Portable OpenSSH
Version: 4.2p1
Platform: All
URL: http://marc.info/?t=117394251600035
OS/Version: All
Status: NEW
Keywords: patch
Severity: major
Priorit...
2018 Dec 03
3
[PATCH] removing an old API.
...u_int
packet_get_char(void)
{
diff --git a/opacket.h b/opacket.h
index c6e5124..d711468 100755
--- a/opacket.h
+++ b/opacket.h
@@ -38,7 +38,6 @@ do { \
void packet_close(void);
u_int packet_get_char(void);
u_int packet_get_int(void);
-void packet_set_connection(int, int);
int packet_read_seqnr(u_int32_t *);
int packet_read_poll_seqnr(u_int32_t *);
void packet_process_incoming(const char *buf, u_int len);
diff --git a/sshd.c b/sshd.c
index 2795a2e..65b96d4 100755
--- a/sshd.c
+++ b/sshd.c
@@ -1906,9 +1906,12 @@ main(int ac, char **av)
* Register our connection. This turns encry...
2012 Nov 24
0
ssh-keyscan continuity patch --
...t.c.orig openssh-6.1p1/packet.c
--- openssh-6.1p1/packet.c.orig 2012-03-08 18:28:07.000000000 -0500
+++ openssh-6.1p1/packet.c 2012-11-23 18:18:00.233636000 -0500
@@ -1018,6 +1018,17 @@
}
/*
+ * The following two global variables exist to pass connection error
+ * conditions detected by code in packet_read_seqnr() to ssh-keyscan.
+ */
+
+int connclosed = 0; /* = 1 if connection closed by remote server */
+ /* prior to necessary data being read */
+int conntimedout = 0; /* = 1 if connection timed out locally while */
+ /* waiting for data from remote server */
+ /* both currently used in...
2003 Jan 24
0
Question on Architecture
...h and have a few questions ment to smooth the road some.
I am able to send and recieve data up till the password is sent. Once the password is entered the client gets the oh so loved:
"Disconnecting: Bad packet length ########."
I have added my recipher scheme to work on the streams at packet_read_seqnr and packet_write_poll. Is there a section in the code specifically made to handle the sending of the password that I am not accounting for? Can anyone think of another area data is send or recieved that I will need to had my cipher scheme to?
Thanks to all help in advance.
Thomas M. DuBuisson
A...
2014 Jul 18
2
[Bug 2256] New: ssh - Connection closed by UNKNOWN
...hment.cgi?id=2456&action=edit
add set_remote_ipaddr()
ssh clients shows "closed by UNKNOWN" message when a socket is closed
by a
remote side while ssh is waiting for user's password:
$ ssh user at localhost
user at localhost's password:
Connection closed by UNKNOWN
When the packet_read_seqnr() calls get_remote_ipaddr(), a connection's
socket is already closed and there's not been any other call of this
function
yet so canonical_host_ip from canohost.c is still NULL and the function
returns "UNKNOWN". I think that it could be workarounded by calling
get_remote_ipaddr()...
2014 Jul 16
1
ssh - Connection closed by UNKNOWN
Hi,
ssh clients shows "closed by UNKNOWN" message when a socket is closed by a
remote side while ssh is waiting for user's password:
$ ssh user at localhost
user at localhost's password:
Connection closed by UNKNOWN
When the packet_read_seqnr() calls get_remote_ipaddr(), a connection's
socket is already closed and there's not been any other call of this function
yet so canonical_host_ip from canohost.c is still NULL and the function
returns "UNKNOWN". I think that it could be workarounded by calling get_remote_ipaddr()...
2010 Apr 01
0
OpenSSH Coredump and "Bad packet length" errors seen on 5.10 sparc sun4v (Generic_125100-10)
...bc aes_128_cbc_cipher (1, 774a8, 74490, 10, f0,
ff2d9a18) + 1c
ff23dfb8 EVP_Cipher (61f98, 774a8, 74490, 10, 61800, 62400) +
18
0002f3e4 cipher_crypt (61f94, 774a8, 74490, 10, f0, 7b528) +
34
000338a4 packet_read_poll_seqnr (ffbfe474, 62000, 62000,
620f0,61800, 62400) + 258
00033f94 packet_read_seqnr (0, 6, ffbfe510, 628a8, f0, 3c) +
40
00038bbc dispatch_run (0, ffbfe524, ffbfe510, ffbfe4f0,
624ac, ff) +1c
00025988 ssh_userauth2 (64568, 65250, 72e08, 628a8, 1, 0) +
52c
00021a20 ssh_login (72e08, 4, 45400, 14, 45400, a) + 3a4
000196b4 main (62b14, 647e4, 42a60, 42a58, 42800,...
2011 Mar 18
2
[Bug 1213] ssh-keyscan exits in mid-way
https://bugzilla.mindrot.org/show_bug.cgi?id=1213
aab at purdue.edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #2008|0 |1
is obsolete| |
--- Comment #31 from aab at purdue.edu 2011-03-18 17:36:09 EST ---
Created attachment
2014 Jul 18
6
[Bug 2257] New: ssh - Connection closed by UNKNOWN
...at mindrot.org
Reporter: plautrba at redhat.com
ssh clients shows "closed by UNKNOWN" message when a socket is closed
by a
remote side while ssh is waiting for user's password:
$ ssh user at localhost
user at localhost's password:
Connection closed by UNKNOWN
When the packet_read_seqnr() calls get_remote_ipaddr(), a connection's
socket is already closed and there's not been any other call of this
function
yet so canonical_host_ip from canohost.c is still NULL and the function
returns "UNKNOWN". I think that it could be workarounded by calling
get_remote_ipaddr()...
2011 Feb 17
24
[Bug 1213] ssh-keyscan exits in mid-way
https://bugzilla.mindrot.org/show_bug.cgi?id=1213
Andreas Kotes <count-mindrot at flatline.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |count-mindrot at flatline.de
Severity|normal |major
--- Comment #6 from
2004 Mar 23
2
A question on Compilation errors...
...9;
./libssh.a(cipher.o): In function `cipher_by_name':
/openssh-3.8p1/cipher.c(149): undefined reference to `strcasecmp'
./libssh.a(channels.o): In function `channel_prepare_select':
/openssh-3.8p1/channels.c(1668): undefined reference to `howmany'
./libssh.a(packet.o): In function `packet_read_seqnr':
/openssh-3.8p1/packet.c(833): undefined reference to `howmany'
/openssh-3.8p1/packet.c(858): undefined reference to `howmany'
./libssh.a(packet.o): In function `packet_write_wait':
/openssh-3.8p1/packet.c(1371): undefined reference to `howmany'
/openssh-3.8p1/packet.c(1375): u...
2011 Sep 02
1
problems building openssh-5.8p1 on qnx
...on `ssh_exchange_identification':
sshconnect.c:(.text+0xe60): undefined reference to `howmany'
./libssh.a(channels.o): In function `channel_prepare_select':
channels.c:(.text+0x60dc): undefined reference to `howmany'
./libssh.a(packet.o): In function `packet_read_seqnr':
packet.c:(.text+0x26d4): undefined reference to `howmany'
packet.c:(.text+0x27d4): undefined reference to `howmany'
./libssh.a(packet.o):packet.c:(.text+0x4100): more undefined references to `howmany' follow
If I manually edit config.h after configure, a...
2008 Mar 31
80
[Bug 1452] New: (V_5_0) Bugs intended to be fixed in 5.0
https://bugzilla.mindrot.org/show_bug.cgi?id=1452
Summary: (V_5_0) Bugs intended to be fixed in 5.0
Classification: Unclassified
Product: Portable OpenSSH
Version: -current
Platform: Other