Commit 671fc52
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 989d34f commit 671fc52
3 files changed
+27
-0
lines changed| 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 | | |
| |||
12523 | 12535 | | |
12524 | 12536 | | |
12525 | 12537 | | |
| 12538 | + | |
| 12539 | + | |
| 12540 | + | |
| 12541 | + | |
| 12542 | + | |
12526 | 12543 | | |
12527 | 12544 | | |
12528 | 12545 | | |
| |||
12611 | 12628 | | |
12612 | 12629 | | |
12613 | 12630 | | |
| 12631 | + | |
12614 | 12632 | | |
12615 | 12633 | | |
12616 | 12634 | | |
| |||
12662 | 12680 | | |
12663 | 12681 | | |
12664 | 12682 | | |
| 12683 | + | |
12665 | 12684 | | |
12666 | 12685 | | |
12667 | 12686 | | |
| |||
12873 | 12892 | | |
12874 | 12893 | | |
12875 | 12894 | | |
| 12895 | + | |
| 12896 | + | |
| 12897 | + | |
| 12898 | + | |
| 12899 | + | |
12876 | 12900 | | |
12877 | 12901 | | |
12878 | 12902 | | |
| |||
| 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