CMD AUTH LOGON PROOF Server: Difference between revisions
Jump to navigation
Jump to search
(→{{Template:Sandbox/PrettyVersion|expansionlevel=2|build=2.4.3.8606}}: Add note that field does not exist before 2.4.0) |
(→{{Template:Sandbox/PrettyVersion|expansionlevel=1|build=1.1.2.4125}}: Add link to result enum) |
||
Line 16: | Line 16: | ||
| 0x0 || 1 / - || uint8 || command || LOGIN_PROOF (0x1) | | 0x0 || 1 / - || uint8 || command || LOGIN_PROOF (0x1) | ||
|- | |- | ||
| 0x1 || 1 / - || uint8 || result || The fields below are only included if this is | | 0x1 || 1 / - || uint8 || result || The fields below are only included if this is [[Login_Packet_Results|SUCCESS]] (0x0). | ||
|- | |- | ||
!colspan="5"| Body | !colspan="5"| Body |
Revision as of 17:56, 11 August 2021
CMD_AUTH_LOGON_PROOF_Server is a Login Packet sent by the server after receiving a CMD_AUTH_LOGON_PROOF_Client. It is followed by a CMD_REALM_LIST_Client from the client.
Packet Layout
(1.1.2.4125)
Offset | Size | Type | Name | Description |
---|---|---|---|---|
Header | ||||
0x0 | 1 / - | uint8 | command | LOGIN_PROOF (0x1) |
0x1 | 1 / - | uint8 | result | The fields below are only included if this is SUCCESS (0x0). |
Body | ||||
0x2 | 20 / Little | uint8[20] | server_proof | SRP6 Server proof. |
0x16 | 4 / Little | uint32 | hardware_survey_id | ID of a hardware survey that the client should perform. Set to 0 to not use. Can safely be set to 0. |
(2)
Size
For version ≤ (1) if the result is not SUCCESS (0x00) the packet is 2 bytes. If it is SUCCESS the packet is 26 bytes.
For version ≥ (2) if the result is not SUCCESS (0x00) the packet is 4 bytes. If it is SUCCESS the packet is 38 bytes.