I know I might be a little crazy, but I'm going to work on a CO Client. I'm trying to do a proxy/packet logger and a very simple client that can do some basic things. Later is definitely a big project, but it is something I want to tackle. However, before I can do that, there are a few things that I need to know.
Does anyone have the login packet structures for 5089+? There are a couple of things that I am looking for and perhaps just some clarification on what I already know from the old client/server:
1) On the first packet that is sent from the Client to the Server: What is used to encrypt the password or is it still the same encryption that can be found on the private servers?
2) On the first packet that is sent from the Client to the Server: Near the end of the packet there is now some extra information. What is this? I'm pretty sure I'll need to send this to the CO Server.
3) On the first packet that is sent from the Server to the Client. Using 0 as the first offset in the index, the previous structure was the following:
0/1 = Packet Length (2 bytes)
2/3 = PackeType (0x41f) (2 bytes)
4 = Encryption Key 2 using an offset of 3
5 = Encryption Key 2 using an offset of 2
6 = Encryption Key 2 using an offset of 1
7 = Encryption Key 2 using an offset of 0
8 = Encryption Key 1 using an offset of 3
9 = Encryption Key 1 using an offset of 2
10 = Encryption Key 1 using an offset of 1
11 = Encryption Key 1 using an offset of 0
12 - 27 = IP Address
28/29 = Port Number (2 bytes)
30/31 (Unused)
Can anyone confirm is this is still the same with 5089+. If not, what is the new packet structure and how is it defined and used?
Lastly, it appears that there is one last packet that is again sent from the Client to the Login Server. What is this for? I'm unable to tell what this is.
I'm into the wee hours of the morning, so pardon any typos. thank you for your assistance.
Does anyone have the login packet structures for 5089+? There are a couple of things that I am looking for and perhaps just some clarification on what I already know from the old client/server:
1) On the first packet that is sent from the Client to the Server: What is used to encrypt the password or is it still the same encryption that can be found on the private servers?
2) On the first packet that is sent from the Client to the Server: Near the end of the packet there is now some extra information. What is this? I'm pretty sure I'll need to send this to the CO Server.
3) On the first packet that is sent from the Server to the Client. Using 0 as the first offset in the index, the previous structure was the following:
0/1 = Packet Length (2 bytes)
2/3 = PackeType (0x41f) (2 bytes)
4 = Encryption Key 2 using an offset of 3
5 = Encryption Key 2 using an offset of 2
6 = Encryption Key 2 using an offset of 1
7 = Encryption Key 2 using an offset of 0
8 = Encryption Key 1 using an offset of 3
9 = Encryption Key 1 using an offset of 2
10 = Encryption Key 1 using an offset of 1
11 = Encryption Key 1 using an offset of 0
12 - 27 = IP Address
28/29 = Port Number (2 bytes)
30/31 (Unused)
Can anyone confirm is this is still the same with 5089+. If not, what is the new packet structure and how is it defined and used?
Lastly, it appears that there is one last packet that is again sent from the Client to the Login Server. What is this for? I'm unable to tell what this is.
I'm into the wee hours of the morning, so pardon any typos. thank you for your assistance.