Code: Show/Hide Client --> Server Core Protocol 0x01 (login packet) [packet type] [client encrpytion key] [encrption type] (11=continum) 00 01 b2 2f 73 84 11 00 Server --> client [packet type] [????? ] [????? ] [???? (01 = vie maybe? ] 00 10 9a 00 bc cf 06 00 3e c9 01 00 Client --> Server [packet type] [(same as above)] [? ??? ] 00 11 9a 00 bc cf 01 00 |
Code: Show/Hide /* check if a buffer is a connection init packet */
#define IS_CONNINIT(buf) \ ( \ (buf)->d.rel.t1 == 0x00 && \ ( \ (buf)->d.rel.t2 == 0x01 || \ (buf)->d.rel.t2 == 0x11 \ /* add more packet types that encryption \ * module need to know about here */ \ ) \ ) |