bugzilla-daemon at bugzilla.mindrot.org
2008-May-09 04:41 UTC
[Bug 85] ssh -2 localhost od /bin/ls | true ignore SIGPIPE
https://bugzilla.mindrot.org/show_bug.cgi?id=85 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |djm at mindrot.org --- Comment #6 from Damien Miller <djm at mindrot.org> 2008-05-09 14:41:19 --- The problem seems to be that protocol 2 lacks a way to "half close" a channel, e.g. close its output while keeping its input open. Markus, does this seem right? -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2008-May-09 05:04 UTC
[Bug 85] ssh -2 localhost od /bin/ls | true ignore SIGPIPE
https://bugzilla.mindrot.org/show_bug.cgi?id=85 --- Comment #7 from Markus Friedl <markus at openbsd.org> 2008-05-09 15:04:26 --- (In reply to comment #6)> The problem seems to be that protocol 2 lacks a way to "half close" a > channel, e.g. close its output while keeping its input open.yes, there is only an 'EOF' message that means: I will not send data over this channel, but there is no way to say: I'm no longer interested in what you want to send to me. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2008-May-09 16:30 UTC
[Bug 85] ssh -2 localhost od /bin/ls | true ignore SIGPIPE
https://bugzilla.mindrot.org/show_bug.cgi?id=85 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Blocks| |1452 --- Comment #8 from Damien Miller <djm at mindrot.org> 2008-05-10 02:30:24 --- A fix to this bug has been committed and, barring any problems, will be in OpenSSH 5.1:> CVSROOT: /cvs > Module name: src > Changes by: markus at cvs.openbsd.org 2008/05/09 10:16:06 > > Modified files: > usr.bin/ssh : session.c > > Log message: > re-add the USE_PIPES code and enable it. > without pipes shutdown-read from the sshd does not trigger > a SIGPIPE when the forked program does a write. > > ok djm@ > > > CVSROOT: /cvs > Module name: src > Changes by: markus at cvs.openbsd.org 2008/05/09 10:17:51 > > Modified files: > usr.bin/ssh : channels.c > > Log message: > error-fd race: don't enable the error fd in the select bitmask > for channels with both in- and output closed, since the channel > will go away before we call select(); > report, lots of debugging help and ok djm@ > > > CVSROOT: /cvs > Module name: src > Changes by: markus at cvs.openbsd.org 2008/05/09 10:21:13 > > Modified files: > usr.bin/ssh : channels.h clientloop.c nchan.c serverloop.c > > Log message: > unbreak > ssh -2 localhost od /bin/ls | true > ignoring SIGPIPE by adding a new channel message (EOW) that signals > the peer that we're not interested in any data it might send. > fixes bz #85; discussion, debugging and ok djm@-- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2008-May-09 23:56 UTC
[Bug 85] ssh -2 localhost od /bin/ls | true ignore SIGPIPE
https://bugzilla.mindrot.org/show_bug.cgi?id=85 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |830 -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are watching someone on the CC list of the bug.
Seemingly Similar Threads
- [Bug 85] ssh -2 localhost od /bin/ls | true ignore SIGPIPE
- [Bug 85] ssh -2 localhost od /bin/ls | true ignore SIGPIPE
- [Bug 85] ssh -2 localhost od /bin/ls | true ignore SIGPIPE
- ssh localhost yes | true
- [nbdkit PATCH] sh: Don't let child inherit SIGPIPE ignored