Re: sshd gets stuck: select() in packet_read_seqnr waits indefinitely

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 ...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-17-2007
Matt Day
 
Posts: n/a
Default Re: sshd gets stuck: select() in packet_read_seqnr waits indefinitely

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:29 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0