Hello,

>>>>> On Mon, 21 Jan 2002 14:36:35 +0000, 
>>>>> Ian Dowse <[EMAIL PROTECTED]> said:

> I was just trying to track down a weird behaviour I had observed
> involving VNC and sshd. When a user logs in via sshd, their $DISPLAY
> would often end up being the same as that of an existing Xvnc
> session:

>> sockstat | grep 6013 |grep '\*'
> root     sshd     25710    7 tcp4   *:6013                *:*                  
> userX    Xvnc     51102    0 tcp4   *:6013                *:*                  
> root     sshd     25710    6 tcp46  *:6013                *:*                  

> As you can see, sshd has successfully bound its tcp4 socket to the
> same wildcard address as Xvnc was already using, but sshd does not
> set any of the SO_REUSE* options. It seems that this is caused by
> the following code in in_pcb.c:

Sorry for the delayed response, you are basically correct (I believe
sshd should set SO_REUSEADDR, but that is not relevant to this
problem).  We (the KAME developers) have recognized this bug, and are
now trying to fix it.  I guess we can send a patch in a week or so.

Thanks for your report,

                                        JINMEI, Tatuya
                                        Communication Platform Lab.
                                        Corporate R&D Center, Toshiba Corp.
                                        [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to