Commit f7bf230
committed
Client Out Of Order Messaging Checking
1. Add macro for logging an expected message.
2. Add an expected message ID to the HandshakeInfo.
3. Add a message ID for "none (0)".
4. Add a check in IsMessageAllowedClient() for the expected message ID.
Clear it if successful.
5. The KEXDH messages sent to the server have expected responses. Set
them if sending the message is successful.1 parent 93ddf8f commit f7bf230
3 files changed
Lines changed: 27 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
638 | 638 | | |
639 | 639 | | |
640 | 640 | | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
641 | 653 | | |
642 | 654 | | |
643 | 655 | | |
| |||
12526 | 12538 | | |
12527 | 12539 | | |
12528 | 12540 | | |
| 12541 | + | |
| 12542 | + | |
| 12543 | + | |
| 12544 | + | |
| 12545 | + | |
12529 | 12546 | | |
12530 | 12547 | | |
12531 | 12548 | | |
| |||
12614 | 12631 | | |
12615 | 12632 | | |
12616 | 12633 | | |
| 12634 | + | |
12617 | 12635 | | |
12618 | 12636 | | |
12619 | 12637 | | |
| |||
12665 | 12683 | | |
12666 | 12684 | | |
12667 | 12685 | | |
| 12686 | + | |
12668 | 12687 | | |
12669 | 12688 | | |
12670 | 12689 | | |
| |||
12876 | 12895 | | |
12877 | 12896 | | |
12878 | 12897 | | |
| 12898 | + | |
| 12899 | + | |
| 12900 | + | |
| 12901 | + | |
| 12902 | + | |
12879 | 12903 | | |
12880 | 12904 | | |
12881 | 12905 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
605 | 605 | | |
606 | 606 | | |
607 | 607 | | |
| 608 | + | |
608 | 609 | | |
609 | 610 | | |
610 | 611 | | |
| |||
1178 | 1179 | | |
1179 | 1180 | | |
1180 | 1181 | | |
| 1182 | + | |
1181 | 1183 | | |
1182 | 1184 | | |
1183 | 1185 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| |||
0 commit comments