Bug 699 - server broke connection without message
Summary: server broke connection without message
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: 3.7.1p1
Hardware: MIPS IRIX
: P2 normal
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-22 22:38 AEST by Jean-Christophe Penalva
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments
trace of the sshd -ddd (server side) (1.23 KB, text/plain)
2003-09-22 22:41 AEST, Jean-Christophe Penalva
no flags Details
trace of the ssh -vvv -l <user> <host> (client side) (835 bytes, text/plain)
2003-09-22 22:43 AEST, Jean-Christophe Penalva
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Christophe Penalva 2003-09-22 22:38:54 AEST
The sshd broke all connections (root or other uid) without any messages. I try
to run the server and the client with traces, but there's nothing, only a
"cleanup" message.
Comment 1 Jean-Christophe Penalva 2003-09-22 22:41:21 AEST
Created attachment 444 [details]
trace of the sshd -ddd (server side)
Comment 2 Jean-Christophe Penalva 2003-09-22 22:43:15 AEST
Created attachment 445 [details]
trace of the ssh -vvv -l <user> <host> (client side)
Comment 3 Darren Tucker 2003-09-22 22:46:38 AEST
If you apply the patch from bug #659 you will need to run "autoconf" or wait 
until tomorrow's snapshot (ie 20030923 or higher).

ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/snapshot/

*** This bug has been marked as a duplicate of 659 ***

*** This bug has been marked as a duplicate of 659 ***
Comment 4 Jean-Christophe Penalva 2003-09-22 23:49:37 AEST
After the patch from bug#659, there's a pb during the build :
/usr/local/bin/make
gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I/usr/local/include  -I.
-I.. -I. -I./.. -I/usr/local/ssl/include -I/usr/local/pub/tcp_wrappers_7.6 
-I/usr/local/include -DHAVE_CONFIG_H -c bsd-arc4random.c
In file included from ../openbsd-compat/openbsd-compat.h:160,
                 from ../includes.h:173,
                 from bsd-arc4random.c:25:
../openbsd-compat/fake-rfc2553.h:141: conflicting types for `gai_strerror'
/usr/include/netdb.h:147: previous declaration of `gai_strerror'
make: *** [bsd-arc4random.o] Error 1
Comment 5 Darren Tucker 2003-09-23 00:02:13 AEST
Did you run "autoconf" to rebuild configure before running "./configure && make"?
Comment 6 Jean-Christophe Penalva 2003-09-23 00:42:38 AEST
Yes, autoconf, then ./configure with options. And before the autoconf, a good
make clean.
Comment 7 Darren Tucker 2003-09-23 23:22:00 AEST
This is fixed in 3.7.1p2:
 - (dtucker) [configure.ac openbsd-compat/fake-rfc2553.c
   openbsd-compat/fake-rfc2553.h] Bug #659: Test for and handle systems with
   where gai_strerror is defined as "const char *".  Part of patch supplied
   by bugzilla-openssh at thewrittenword.com
Comment 8 Damien Miller 2004-04-14 12:24:19 AEST
Mass change of RESOLVED bugs to CLOSED