Commit be9d8d2
committed
internal: send a disconnect when key exchange fails
- Send SSH_MSG_DISCONNECT with KEY_EXCHANGE_FAILED from DoKexDhReply()
and DoKexDhInit() when the peer's key material is rejected.
- Add KEXDH_REPLY f-truncation and KEXDH_INIT e-truncation and
e-empty mutator modes to the regression harness.
- Record outbound disconnects on the duplex endpoints and assert the
reason code in the host-key rejection tests.
Issue: F-88381 parent 326d181 commit be9d8d2
2 files changed
Lines changed: 264 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5708 | 5708 | | |
5709 | 5709 | | |
5710 | 5710 | | |
| 5711 | + | |
| 5712 | + | |
| 5713 | + | |
| 5714 | + | |
| 5715 | + | |
| 5716 | + | |
5711 | 5717 | | |
5712 | 5718 | | |
5713 | 5719 | | |
| |||
7391 | 7397 | | |
7392 | 7398 | | |
7393 | 7399 | | |
| 7400 | + | |
| 7401 | + | |
| 7402 | + | |
| 7403 | + | |
| 7404 | + | |
7394 | 7405 | | |
7395 | 7406 | | |
7396 | 7407 | | |
| |||
0 commit comments