In: http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/channels.c?rev=1.332;content-type=text%2Fplain Search for: "SSH_SOCKS5_NOAUTH not found" If a connection to SSH-SOCKS5 is established and a unsupported auth method is sent, SSH will not reply anything. According to http://tools.ietf.org/html/rfc1928 the server could (it does not state if the server MUST or SHOULD, hence "could" ;) ) send simply X'FF' NO ACCEPTABLE METHODS - with this a client can do appropriate handling. Would like to hear your thoughts if I am misinterpreting rfc1928, or I should just suck it up and handle cases like this with my client.
My reading of RFC1928 agrees with yours. I'll take a look at this after the upcoming 6.9 release is out the door.
Created attachment 2644 [details] Return "NO ACCEPTABLE METHODS" if we don't find the method we are looking for I think this will do it but I don't have an easy way to test it.
Will the buffered bytes be sent even when the method returns -1 which causes the caller to call chan_mark_dead(); ?
Attempted to implement error reporting for a few more error situations in bug #2417.
Retarget pending bugs to openssh-7.1
Retarget to openssh-7.3
Remove from openssh-7.3 list until the blocking bug is fixed