Date: Sun, 11 Feb 1996 06:18:04 +0200 (EET) From: Heikki Suonsivu <hsu@clinet.fi> To: FreeBSD-gnats-submit@freebsd.org Subject: kern/1017: ssh stopped working between 15th Jan and 9th Feb Message-ID: <199602110418.GAA03742@katiska.clinet.fi> Resent-Message-ID: <199602110420.UAA11164@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 1017 >Category: kern >Synopsis: ssh stopped working between 15th Jan and 9th Feb >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Feb 10 20:20:01 PST 1996 >Last-Modified: >Originator: Heikki Suonsivu >Organization: Clinet, Espoo, Finland >Release: FreeBSD 2.2-CURRENT i386 >Environment: FreeBSD-current from sup on Friday (9th Feb). I am sure that ssh worked with 15th Jan sup, and probably later ones also. >Description: ssh machine cat file-larger-than-8k goes into fails but ssh machine cat file-smaller-than-8k works. I don't think this is a bug in ssh, as this does not happen with any other system and the same binaries work with earlier FreeBSD versions. Both the client and server sit in select waiting for data to be received or sent. USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND root 21761 0.0 2.5 384 736 pa I+ 4:04AM 0:01.03 ssh -v katiska c 0 21761 8524 161 2 0 384 736 select I+ pa 0:01.03 ssh -v katiska cat /etc/passwd And the server sshd sits in USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND root 3566 2.7 1.0 388 652 ?? S 6:10AM 0:00.57 /usr/local/sbin/ 0 3566 190 6 2 0 388 652 select S ?? 0:00.57 /usr/local/sbin/sshd If I allocate a tty (-t) the above command works. I would guess this has something to do with the new pipe code? A missing wakeup somewhere, or new pipe code behaving differently somewhere and waking up a bug in ssh(d)? >How-To-Repeat: ssh machine cat file-smaller-than-8k ssh machine cat file-larger-than-8k >Fix: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602110418.GAA03742>