| Summary: | SOCKS5 should return "NO ACCEPTABLE METHODS" instead of nothing | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Gunter Grodotzki <guenter> | ||||
| Component: | ssh | Assignee: | Darren Tucker <dtucker> | ||||
| Status: | NEW --- | ||||||
| Severity: | enhancement | CC: | djm, dtucker, mindrot.org | ||||
| Priority: | P5 | ||||||
| Version: | -current | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| See Also: | https://bugzilla.mindrot.org/show_bug.cgi?id=2417 | ||||||
| Bug Depends on: | 2417 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Gunter Grodotzki
2014-06-26 21:12:56 AEST
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 Retarget to openssh-7.3 Remove from openssh-7.3 list until the blocking bug is fixed |