This is a discussion on Re: sshd gets stuck: select() in packet_read_seqnr waits indefinitely within the OpenSSH Development forums, part of the Networking and Network Related category; Hi, The fix for this bug which I reported and helped fix back in March: http://marc.info/?t=117394251600035 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
The fix for this bug which I reported and helped fix back in March: http://marc.info/?t=117394251600035 wash't included in the OpenSSH 4.7 release. Was there a problem with the fix? It has been running on my system for months, and has successfully avoided the problem 15 times. I can't seem to find the OpenSSH bug database. Is this bug being tracked? As far as I can tell I followed the bug reporting procedure properly. Thanks, Matt Day <opensshbugs@fjarlq.com> On Thu, Mar 15, 2007 at 02:40:12AM -0600, Matt Day wrote: > Awesome, thanks! > > I applied the patch and ran into one problem during testing: outbound > ssh connections immediately received the new "timed out" error. > > The problem was in packet_set_timeout: packet_wait_tvp was only > getting set to NULL when *both* timeout and count were 0. The default > is interval=0 count=3, so it used the timeval with tv_sec = 0. > > I fixed that (use || instead of && in packet_set_timeout) and also > made the two new "timed out" error messages unique. That might be > handy someday if one is wondering if it timed out waiting to read > or to write (which I found myself wondering while debugging this). > > I have installed these changes on my server and will let you know > when I get confirmation in my logfile that the fix is working. > > Thank you very much! > Matt > > ================================================== ================= > diff -u -p packet.c.orig packet.c > [..] _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@mindrot.org https://lists.mindrot.org/mailman/li...enssh-unix-dev |