| Summary: | kex_protocol_error should send SSH2_MSG_UNIMPLEMENTED | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Colin Watson <cjwatson> | ||||||
| Component: | sshd | Assignee: | Damien Miller <djm> | ||||||
| Status: | CLOSED FIXED | ||||||||
| Severity: | normal | CC: | djm, dtucker | ||||||
| Priority: | P5 | ||||||||
| Version: | 6.9p1 | ||||||||
| Hardware: | Other | ||||||||
| OS: | Linux | ||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 2451 | ||||||||
| Attachments: |
|
||||||||
|
Description
Colin Watson
2015-11-11 22:16:23 AEDT
Created attachment 2749 [details]
send SSH_MSG_UNIMPLEMENTED on kex protocol error
I think this should do it; can you test against the conch version that was sending the old key exchange?
Also, please send the banner string for the affected conch version so we can add a compat flag for it.
Created attachment 2750 [details]
fixed diff
oops, previous diff forgot to declare a variable
Patch applied - this will be in OpenSSH 7.2. (Please do let us know the affected conch version though) Thanks, that does indeed produce a sensible unimplemented message against that conch version, not that conch does anything with it other than logging it. Still better than nothing. I'm afraid that conch doesn't currently send a useful banner string for the purposes of compat flags: debug1: Client protocol version 2.0; client software version Twisted Patch has been applied - will be in OpenSSH 7.2 Close all resolved bugs after 7.3p1 release |