Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Programming
You last visited: Today at 02:32

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Is this how you setup the Game Ecnryption

Discussion on Is this how you setup the Game Ecnryption within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
tkblackbelt's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 291
Received Thanks: 95
Is this how you setup the Game Ecnryption

1. Server sends the p,g, and server Public key.

2. Decrypt the packet using the game key and get those values.

3. Generate a new public key using the p,g and random value.

4. Edit the packet by replacing the old public key using the generated key.

5. Encrypt and send the packet to the client.

6. Receive the client dh packet and edit it with the generated client public key.

7. Generate Client and server encryption keys using the real server/client keys

8. After that has been set up do you use ClientEncryptIV to encrypt client packet and vice versa for the server packets to. Or do you still need to use the game key and such.
tkblackbelt is offline  
Thanks
1 User
Old 01/06/2011, 03:10   #2
 
unknownone's Avatar
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 381
I think the best way to understand it is to write the entire thing as two separate applications - a server and a client - and have a mechanism to pass the unencrypted packets between the two applications. The cryptography between proxy and client, and that between proxy and server are entirely unrelated - they do not need to share any knowledge of eachother at all. It's only out of simplicity that we reuse the p,g,pub_key and initialization vectors sent from the server in our proxy<->client communication, not necessity.

So to go over your steps more closely.

1. This packet also contains 2 IVs. (The first is used in server-sent packets, the second in client-sent packets.) These, along with p, g and pub_key should be stored for later use. Call this pub_key "serverPubKey", and the IVs can be called "serverToProxyIV" and "proxyToServerIV".

3. We can generate a DH key pair from the p,g we received. (let's call this "DHServer")

We can create a second DH key pair from our own p,g (or we can reuse the others for simplicity). Call this "DHClient".

4. We create a new packet (or reuse the existing one, only this time we must replace the pub_key in it with the pub_key from DHClient.) If different p,g were used to create DHClient, these must also be placed in the packet. We can also use our own IVs here too, but reusing the existing ones is no problem. The IVs will be (in order) "proxyToClientIV" and "clientToProxyIV". (Note that although these might be the same values as serverToProxyIV and proxyToServerIV - they are not the same objects)

6. We receive the client packet and extract the pub_key from it ("clientPubKey"). This is then used along with DHClient to compute a new encryption key, which we will call "clientCryptKey".

We create a new packet (or reuse the same one), this time, the pub_key must be the pub_key from DHServer. At this point we compute a second key, "serverCryptKey", from DHServer and serverPubKey obtained in step 1.

So by this stage, you should have 2 keys and 4 IVs. No guesswork needed for the rest. You create a serverCryptographer from serverCryptKey and serverToProxyIV (DecryptIV), proxyToServerIV (EncryptIV). You use this cryptographer to decrypt all packets received from the server, and to encrypt all packets sent to the server.

You create the clientCryptographer from clientCryptKey and proxyToClientIV (EncryptIV) and clientToProxyIV (DecryptIV). You encrypt packets sent to the client, and decrypt packets received from the client.
unknownone is offline  
Thanks
7 Users
Old 01/06/2011, 07:15   #3
 
elite*gold: 0
Join Date: Jun 2006
Posts: 457
Received Thanks: 67
Quote:
Originally Posted by unknownone View Post
I think the best way to understand it is to write the entire thing as two separate applications - a server and a client - and have a mechanism to pass the unencrypted packets between the two applications. The cryptography between proxy and client, and that between proxy and server are entirely unrelated - they do not need to share any knowledge of eachother at all. It's only out of simplicity that we reuse the p,g,pub_key and initialization vectors sent from the server in our proxy<->client communication, not necessity.

So to go over your steps more closely.

1. This packet also contains 2 IVs. (The first is used in server-sent packets, the second in client-sent packets.) These, along with p, g and pub_key should be stored for later use. Call this pub_key "serverPubKey", and the IVs can be called "serverToProxyIV" and "proxyToServerIV".

3. We can generate a DH key pair from the p,g we received. (let's call this "DHServer")

We can create a second DH key pair from our own p,g (or we can reuse the others for simplicity). Call this "DHClient".

4. We create a new packet (or reuse the existing one, only this time we must replace the pub_key in it with the pub_key from DHClient.) If different p,g were used to create DHClient, these must also be placed in the packet. We can also use our own IVs here too, but reusing the existing ones is no problem. The IVs will be (in order) "proxyToClientIV" and "clientToProxyIV". (Note that although these might be the same values as serverToProxyIV and proxyToServerIV - they are not the same objects)

6. We receive the client packet and extract the pub_key from it ("clientPubKey"). This is then used along with DHClient to compute a new encryption key, which we will call "clientCryptKey".

We create a new packet (or reuse the same one), this time, the pub_key must be the pub_key from DHServer. At this point we compute a second key, "serverCryptKey", from DHServer and serverPubKey obtained in step 1.

So by this stage, you should have 2 keys and 4 IVs. No guesswork needed for the rest. You create a serverCryptographer from serverCryptKey and serverToProxyIV (DecryptIV), proxyToServerIV (EncryptIV). You use this cryptographer to decrypt all packets received from the server, and to encrypt all packets sent to the server.

You create the clientCryptographer from clientCryptKey and proxyToClientIV (EncryptIV) and clientToProxyIV (DecryptIV). You encrypt packets sent to the client, and decrypt packets received from the client.
i have done exactly as you've mentioned, and the furtherest i have got to is to establish a shared key between proxy and client; the decryption result of the non DH client packet contains TQClient stamp. But re encryption of the raw packet using "serverblowfish" did not gain recognition from the server.

1. the existence of the TQClient stamp affirms the correct decryption of client game packet right?
2. if 1 is correct then it has to imply that serverDH sharedkey is wrong, correct?

edit 1: I am not sure what is going on with the mechanisms of dh exchange from different security providers, but i wrote a dh class myself based on the description of dh exchange found on wikipedia. gonna test it after server is up.

edit 2: Well, the dh exchange did work, but i am still stucked at the server side DH exchange - server did not reply to my packet.

I attached a picture of what i have. From the size of the client's reply, it appears to be the Date packet. However when i try to infer the content of the packet, I have no idea what the packet is. In the picture, the green block is the TQClient stamp, red block is constant (probably tells me what is packet is about) and blue block is the variant.
Attached Images
File Type: jpg output.jpg (31.2 KB, 41 views)
shitboi is offline  
Old 01/06/2011, 10:47   #4
 
unknownone's Avatar
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 381
1. Yes
2. Perhaps.

It's quite difficult to diagnose this problem. Are you sure the server is rejecting your first non-handshake packet, or has it already given up becuse your handshake reply was not valid? You send one immediately after the other, so it might not be the packet you think causing the problem.

If it does turn out that your packet (and therefore, your serverDH key) is encrypted wrong, then it's a bit of hell to diagnose exactly what is going wrong. There's no means to debug or test the cryptography since you don't have access to the private key on the server. However, it might be useful if you can get your hands on a working proxy or server, and test against that - where you can debug the DH on your proxy and compare the key to that on the other proxy/server.
unknownone is offline  
Old 01/06/2011, 11:45   #5
 
elite*gold: 0
Join Date: Jun 2006
Posts: 457
Received Thanks: 67
Quote:
Originally Posted by unknownone View Post
1. Yes
2. Perhaps.

It's quite difficult to diagnose this problem. Are you sure the server is rejecting your first non-handshake packet, or has it already given up becuse your handshake reply was not valid? You send one immediately after the other, so it might not be the packet you think causing the problem.

If it does turn out that your packet (and therefore, your serverDH key) is encrypted wrong, then it's a bit of hell to diagnose exactly what is going wrong. There's no means to debug or test the cryptography since you don't have access to the private key on the server. However, it might be useful if you can get your hands on a working proxy or server, and test against that - where you can debug the DH on your proxy and compare the key to that on the other proxy/server.

I have edited my previous post before noticing your reply, lol.
What you have mentioned has always been on my mind. It seems impossible to me to find out if server has rejected my reply or not, because it does not dc me or anything.

I do not think there is anything wrong with my blowfish cipher.

This is how the program flowed (with minor details omitted; switch iv, usage of default key and iv etc...)

1. get server DH packet
2. extract dh param, blowfish iv
3. generate proxy local dh key pair
4. edit server DH packet and send to client
5. obtain client DH reply
6. extract client dh public key
7. perform client-proxy DH exchange
8. perform server-proxy DH exchange
9. send proxy DH reply to server
10. obtain the 36 byte non DH packet from client.
11. decrypt the packet using clientsideblowfish, encrypt with serversideblowfish, and forward to server.

result: server went blank -> no reply no disconnection.

as for validity of my proxy dh packet. Client accepted my proxy public key and performed dh exchange, implies my proxy public key is ok. So the possible error might come from improper formatting of my proxy dh reply. I just verified by building a string out of the pre and post edited packet, the only difference is the string of keys based on my naked eye judgement.

Everything seems perfectly fine to me. But it's not doing the work. I probably will struggle a bit before i get into the final measure you've suggested. New school term starting in a couple hours from now ... sigh.
shitboi is offline  
Old 01/06/2011, 12:06   #6
 
unknownone's Avatar
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 381
Looking at the image you posted, the blue part is incorrect because you have not got the correct IVs. The rest of the packet looks correct though. I'd suggest perhaps swapping your IVs about. (or it might be a simple case of copying them to a new buffer. the CFB64 algorithm will modify the IVs you pass to it, so you can't reuse the same buffers among multiple blowfish instances for instance.)

You appear to be doing everything else right. If you can fix the IV problem, I'd assume you'll get it working. You have the correct cryptography key for proxy/client communication for sure.
unknownone is offline  
Thanks
1 User
Old 01/06/2011, 12:51   #7
 
elite*gold: 0
Join Date: Jun 2006
Posts: 457
Received Thanks: 67
Quote:
Originally Posted by unknownone View Post
Looking at the image you posted, the blue part is incorrect because you have not got the correct IVs. The rest of the packet looks correct though. I'd suggest perhaps swapping your IVs about. (or it might be a simple case of copying them to a new buffer. the CFB64 algorithm will modify the IVs you pass to it, so you can't reuse the same buffers among multiple blowfish instances for instance.)

You appear to be doing everything else right. If you can fix the IV problem, I'd assume you'll get it working. You have the correct cryptography key for proxy/client communication for sure.

I did as you suggested, and this is how i stored the IVs as separate instances and switched the IVs. Seems that i did used wrong IVs like Korvac has told me before...

the packet relay worked for a couple rounds and my client gets disconnected.
It seems that these are the maximum number of packets i can relay, and i always gets dc'ed after that.
Code:
[ClientHandler] packet relayed to server
[ClientHandler] packet recieved -> size: 36
[ClientHandler] Raw packet : E7 2B 3E 48 31 85 E7 7B FE C5 63 55 72 91 42 E6 78 56 C9 7F F0 9A D 1B BD 2D 44 87 A8 17 30 42 8A E 8E F7 
[ClientHandler] Decrypted  : 1C 0 1C 4 E4 FD 91 0 F0 34 EF 1 7C 0 45 6E 0 21 5C 2 44 37 0 0 A 0 0 0 54 51 43 6C 69 65 6E 74 
[ClientHandler] ReEncrypted: 68 9E C6 3 70 7C 6A C7 85 C8 45 83 7D B 9D AC 6 A1 A4 78 21 89 17 8B 56 22 20 C7 2C 66 D6 AD EE E0 8 89 
[ClientHandler] packet relayed to server
[ServerHandler] packet recieved -> size: 63
[ServerHandler] packet relayed to client
[ClientHandler] packet recieved -> size: 1844
[ClientHandler] Raw packet : F6 E8 6E 76 47 42 74 E5 25 85 82 65 4 F6 B2 FA 6 23 8 B9 73 80 54 E5 EB 85 D 4 F0 E7 FF 71 7 75 FC 30 3F 56 AD 6E 77 69 E5 AA CA 9E 78 63 84 4D EF BA 28 74 BF E9 4A 9 C3 5F A2 29 78 37 3A EC DD 39 20 96 F1 DA 77 B 9E 49 F5 7D 59 D0 FB 86 6D 1E D0 C6 9F 51 1E B1 48 BC 99 9 B5 BE F4 EB 1D 34 BF 9D 7C 9A FD FA 7D EE FB 42 99 D3 9C DD D1 53 DD 7A 6B 5D 11 BB D7 6E D3 4B DD 4C 2E 15 74 15 93 F6 62 8F 8E 6A C9 D4 3F 5F 32 C0 69 51 90 F0 FF 67 3 BF A5 DC 2E F3 79 41 C F5 77 73 AA 8D DD AF A1 80 CE 63 58 69 AF AC 78 2E 39 E1 1F EE 6F C7 BF DC FB 57 3B 7 51 D2 7A 84 8C 44 DA CB E5 43 5A 7A 6E 33 B7 AE 3D 66 A4 A5 30 A3 15 11 2E 0 FF 1A 28 6C AD BB E1 9D 4D B7 F8 87 B2 17 9B C4 E2 DF 31 77 B8 2C AB 71 11 A0 5A 7C 8D 2 F4 8B EC 11 2F B8 43 9D E3 A3 1A 35 1B 87 F7 95 75 61 77 4B 88 4A 37 C2 4D 67 38 E F6 B0 75 AF 78 29 35 B4 7A FE D9 61 E1 9F A3 FD 60 93 BF 3A 4E E8 47 48 5D 23 79 CA 8A 79 31 2E 0 D 96 35 E8 AC 63 5 9A D8 F3 D8 E2 D1 A2 D3 8C DC 47 2A F7 6E F3 F4 97 9D BA 85 97 3A E8 CB 2A 6D F2 E8 DD A3 6E 40 C7 2D A1 71 67 D9 7F 7B 67 E1 3C 8E 6C 5E 30 89 F2 29 BA D9 27 23 FB 19 D2 9E C6 1F A8 77 51 AB EC 3 33 5E 7C E7 38 39 E 1E 9 2D E2 58 29 2D 46 D9 47 E3 2B 33 A3 6A B5 24 33 71 81 33 71 90 CE 96 FD 9 17 A8 4A 81 82 E1 C9 45 5F FA D5 74 2D A3 66 25 65 F2 20 1E 9D 1D 1F C9 44 EE 91 77 7 2A 74 DE 42 F7 E8 2 4B C0 12 67 28 B4 75 3D 4 A5 1B B6 9A 99 4C 95 D1 B3 10 2B DA 13 DD F9 1D 8D 65 FF 9E C5 23 0 39 B6 29 54 6C 69 18 94 72 E0 DA 40 CE C0 D6 9E 71 E1 F2 24 56 46 BF 97 B0 D2 29 92 A6 92 3D 82 45 E6 18 48 CC 3F BA 3B 2 49 5A B8 63 CC 2E C8 82 50 E1 F3 56 D2 DD 88 5F 72 21 9D 94 19 28 C4 19 CC 8A E3 3C 17 25 56 85 A9 B4 6E 53 FC D8 A AE 1C A0 74 65 40 D7 D2 82 64 1D 6D EA 7 21 BA 4C 2A EE BE 8E DB 41 77 8B CF 1A 87 51 7A 13 FD 72 BA 5F 78 C7 B4 5 14 8F D0 10 4B 7B 8 8 E0 35 E9 92 DA 8F 65 3B D EC D1 1C 9E 8D 6F E1 76 64 DE E3 53 E7 BB E4 2E E6 C6 84 14 71 73 84 5A 7A D0 90 D3 DA 33 85 C7 F1 EC 3C 8A CE 6E 17 95 1A DE EC B0 DD F0 DC E DA 2F 3D 8E 8 B8 E4 AC A4 74 B7 5B DB 60 73 92 C8 86 35 60 38 D1 52 18 AF 93 7B 3B 44 56 96 25 E2 E7 AF 85 1 45 A2 52 39 C8 F1 40 E9 C6 1C AD 44 6E 5B 4F B6 64 D3 3E FF 5E A9 AF A5 D3 2E 55 DD CC D2 C0 4E 1B 46 3A E EA D7 90 6A 6C A4 A8 7 D8 A4 59 FA 6E C6 C5 48 A0 C 7B 29 85 7A AE 45 EB A8 12 DF E2 A7 33 9B 1C 73 84 F5 D0 28 BC D9 4B 20 B8 ED 8 5C C6 74 9A DF F4 96 A1 5C 10 D3 E6 3E F E4 E5 7E E6 3B ED C4 74 88 C1 6D 4F 6E 76 4C 5F D6 8C 2C 98 9F BE A8 5D F3 C9 9C 6C 64 92 32 95 E7 AF E3 61 52 CA 62 14 7F 9F 43 4C A0 2A C0 C0 D4 8B 27 C4 9D B 5A 42 D8 F3 88 CE DF EE 11 4 91 84 68 F1 20 F2 F1 FD 40 FC 44 FE 78 45 96 43 7C 71 80 D0 EC 7D 1F F1 21 2E 92 D9 C6 AE 2 11 FD 69 92 F8 BF CF 3D 51 7 7C 98 2D 3E 69 E3 88 84 56 C4 A1 24 33 41 44 31 3B EA B0 40 FF C8 D5 7E 11 32 A1 22 9F 76 E3 F8 FF DD 60 1 95 97 F D0 97 78 3E 43 CF CB 3C 4A BA B5 74 F1 BF 3E 80 C3 39 C6 BF A0 A9 46 C7 63 73 F2 C4 BD 30 93 FB 40 52 F4 3E AE 25 EF B1 4F 75 D2 94 3D CF E9 F5 81 42 75 52 BE AB C0 54 79 7C C0 47 FE D1 43 D0 73 F4 C 6E A9 BC 6E CF 12 D7 8B 89 D6 A7 EE 80 9D 43 6A CD B5 4D 59 43 85 3F 95 F A1 FA 9D 50 1C 16 79 B8 B7 A1 88 B2 B4 17 9F 7C A5 B7 4D 3D 17 FE 7C 95 1D DA 9E 2 FE D9 32 8C 51 F 64 2E A3 88 38 D2 42 18 C2 79 72 7A B6 CF B 2F AB F4 95 A1 85 4A 40 9B B 5E 86 C9 8D 20 1A AE D2 40 55 89 75 73 F1 67 29 EC F0 E5 E7 B 7E 82 B9 E4 5E 9A 12 A5 1C 9 2 50 9E CA 4D 49 67 A5 68 18 A5 BC 1F DC FE DB 11 66 82 F1 4C 65 61 62 BB 8 4F 19 81 66 BC 68 C8 2F F8 62 7E 26 D7 63 1E 0 B9 B3 1A 55 24 F9 44 5B EE 64 A0 3C 3 3A 55 9 8 35 F4 1B 47 53 BA 1 95 75 FD 1E 79 78 B7 89 5E 33 76 81 A2 7 5A B4 4E 1E 15 8D C8 D3 8F 98 E8 B3 5A E9 E0 19 C8 C D0 26 5B 84 8A 43 A2 B 46 C7 2 7C F1 57 9E 92 5C F7 44 72 1F BA BA 4F C C1 21 F3 C D0 84 6D 3A 34 F4 36 FF F1 A4 5A 29 32 95 23 20 B9 F3 53 D2 87 B5 DE 14 72 D1 68 6C A2 EA 7C 8D 3B 80 6E DE 20 30 3E 3 EE F8 BF F7 97 8C 34 4F D9 B6 A3 E0 C1 92 F7 12 4 7 D0 0 69 46 F1 30 48 8D 8D 3C 80 2D 31 4E 99 65 BC A9 DC 9 E0 39 D 1A 75 5A 65 91 DD 86 F7 1E 51 30 7F EB 43 F8 12 7C AA 5B C0 D9 19 4B EE C7 FD BC 91 B5 6 59 38 FE B1 95 95 17 5C C1 F7 C2 7F C1 7B CD 33 92 8A C0 39 E5 DA FB F7 7D C0 19 CB 10 EE 8B 8C 43 56 DF DB 10 2D 2D 72 8C E 3C 7 F6 D7 99 88 97 28 51 75 F2 6C 37 66 E7 D6 25 20 1C 93 F4 17 2A 39 8 D9 7F 8A 10 1F 52 3A 33 94 3B C5 80 F9 81 3 BA 8C 99 9 15 57 A6 8F 3D BB A9 84 5A 24 47 7B 20 0 9E 18 D7 D5 6E F3 4F 60 BE 44 57 A6 73 41 25 DB 88 70 F9 1D 63 17 27 25 F5 B3 B8 3C CC 48 D4 F 76 64 B1 9D E 67 12 F0 BF AA A6 F4 5C 81 9F 39 F5 59 7D B3 A1 38 F3 57 BA 65 36 44 CB 6D 9E 9 DA 2E CC AF E6 F1 B 30 87 1 66 85 E2 FB 67 DB D4 13 69 78 DC FE 1 82 E2 32 7 11 90 E1 E8 DA 4 AF 45 AE 3F FB CA CC 65 7B 9A DD F1 F4 2B 2C AE B1 7 6E 66 BB D3 A0 B4 4F 48 A7 3E 93 68 D0 82 49 D3 75 93 7E 80 8F 81 76 C4 A7 A3 E5 20 EA 12 42 39 D C0 8D A8 58 D3 99 93 F2 E9 81 4A 7A 26 7D 8B 9F 56 F7 82 BB 87 9E 50 81 5C 86 3A C3 78 B6 B8 E9 C9 C1 91 CA 7C C6 5B 60 E DD 1F 3A A8 F7 42 33 6F 9E 34 F3 5F 74 4D 5F FB 65 8B 77 F8 98 3 3 50 20 CC 62 78 24 A3 62 28 F1 B7 B8 4A EE B1 87 1F AE FC 2F 96 A8 C5 16 E8 F5 29 32 30 5 DD 78 64 BC 2 B3 CA 84 6E 3B 63 C7 7B 35 D9 CC 66 DF D2 3D 81 47 15 D8 B8 93 F0 C9 F8 16 6F E1 BA 96 BF CD BF 19 A4 62 A1 93 32 83 21 50 E2 67 91 5E FF C 80 6B F6 8D 78 A8 4A 46 C0 7A FB 88 C6 77 B3 25 55 1F 71 C6 B5 70 3E A3 2A F F1 37 5C 33 60 72 95 8 5D B A8 8F C4 5B A9 10 33 F4 21 9 4C 30 D1 60 1 FD 30 F9 A6 BF 4 BA 85 9F D A3 CF 9 5A 91 CB 22 16 11 1B 27 67 D2 48 5C F4 B6 DD 35 7 9F C 57 59 CD 73 3B 5B F8 
[ClientHandler] Decrypted  : D C3 4C 3A 92 3A 2 9E 23 81 70 20 DE B 19 53 92 1A BC B6 9E 36 D9 3B D6 65 89 37 A6 5B 94 4C F1 F8 1C 34 2D 7A F3 D1 83 2C DC 1B 42 C4 62 83 C1 33 6E 4E 50 22 10 48 1D 2D 48 3A DE EA 30 9 8F 9C 19 D2 46 0 BA 66 B7 63 A0 9A 8D 9B CC 1F EB 3 7C 8 38 E1 7C 48 E8 52 96 98 33 1F 1 5E B0 E1 37 8C EF B1 3A 2 8D 4E 66 21 D E1 27 E0 EF 1F 88 7E 24 F3 72 C0 EC 6 AB B0 2A 7D 67 28 16 8A 29 12 C7 CA 33 75 AF BB 3C F3 BB FA A4 3B 41 54 B1 E6 EF 1 5F 1E 88 C3 2D 3 9B A1 4D C A4 FD F7 C6 2 87 CF 75 90 75 37 C 94 C8 42 C5 7 9D BC 60 C0 B2 A0 13 69 86 8 1 A 53 79 3A A6 3F CF 57 97 53 FF 5 11 FA 63 C7 9 67 51 B0 66 27 20 9D EA 1E 37 98 6A 6F 1C DC 9E F6 D2 4 66 90 C1 3C 6F EF 32 33 25 7D DE BE 10 27 5 68 1B AE 77 5C AC FE A0 79 13 98 4C C7 73 B7 8 8D A7 9E 61 B9 92 E7 49 1E A 55 7E C6 51 A7 EF D9 DA 50 81 A7 94 BC 77 11 31 B0 44 73 50 3 38 A1 A0 E9 5E 46 45 19 5 56 FB 99 B8 3F 9C 38 98 BD 64 1 2 F3 4A 32 52 AC 64 D5 56 C CD 10 52 C6 1B 2B 69 27 7E 75 8F 8F 8D 37 F0 DD 30 19 3E 5D A1 8D 65 3 CF 1C F ED B2 94 A5 CD D8 73 A D7 27 60 34 45 F9 2D BE A3 36 EB B0 3A E9 5C F8 E2 EB B8 B8 80 27 B1 60 D8 F7 75 24 48 D5 27 5B DD 34 45 16 E6 44 58 D0 EE 10 D2 DF 42 1F 92 3A 54 BA 9C 65 F0 12 CA 2A 67 76 3B 72 53 89 1C 6F 3 1B 1D 8B DC 42 14 94 F1 0 75 12 B2 20 78 21 C2 60 18 F1 F3 35 58 F0 C8 15 54 71 91 3D 2 12 C2 AE 1 74 1F 66 F0 D4 9C F0 C C5 FD FD 1B C0 AD 7F 5F 27 96 F4 FD B5 F7 8C D3 9D 2B D0 CC CF 37 4D 83 6F F2 24 E0 76 92 30 8A 1A 53 65 4D ED E8 2D 48 E9 40 EC 80 A8 F5 1D B5 2 25 40 1 55 CD 8F 47 8C E9 30 AF 9E 9D 28 35 3C E4 76 FD 4E 9A F 8B A1 16 58 A8 3C DA 2F F6 18 C0 2B C0 26 1E D5 F DA B0 D0 21 3B 77 2C 9A 32 B7 C2 82 B1 C6 2B 31 C0 BE 59 73 E0 C 9 F9 9B A5 A8 F 63 FC 1D E2 D7 78 9B 6D 18 13 5 FA 2A 3 A0 E5 A3 38 7D F0 2C 7C 13 AD 7 65 C8 E5 DC 84 D3 E9 B0 8F 2A 6E E3 17 12 CB DF 70 31 B8 7D 89 42 60 68 57 D D C8 74 7F 7A 0 9C 6D 82 5B DE 18 55 4 BF 20 63 68 3D 26 D1 37 3E A2 38 42 4E 6A FC 41 A3 10 47 7F 31 80 2A 26 1A 4E F9 CF B2 B0 56 6E A9 28 25 A9 51 BB 3 49 42 79 98 34 46 FC EF 9A 59 43 2C 8F 92 B8 4A DE 93 0 49 98 93 FD AA 33 DE DB 98 DF 50 EB A9 C9 40 5A E2 DF 13 72 B2 5C 4A 8C 4A E9 D3 99 33 E4 92 60 F7 7B F1 B5 12 99 CF 12 C8 E 62 C1 3D 34 70 8A 93 5 66 13 41 36 92 DE A 23 2F AF 5A 45 FE F5 32 EE 8C BD AE 4D F9 D4 DC 4F D5 7D 65 EB 5A 86 EB 9 0 D A2 E 42 3B BD FF 6A 54 FE 9F 47 E9 D1 AD 40 BA E7 4 37 3 B1 42 25 76 D4 5F 26 C9 0 2A E5 D0 F8 52 3C C2 CB 15 25 81 3C 4F 8B AC B4 1F 12 75 5F 25 CC ED F7 58 F4 6C 45 29 C5 4F CA 73 69 ED EB 7F 1C C9 18 4E 8 1B 60 BB EB 2D 1C 5B 29 E2 45 3A 58 53 A8 A9 AB 29 A3 47 F1 15 76 61 66 2E 10 C0 2B 7 BF B7 B8 B2 2C 23 84 C0 C7 69 77 6E 6B 70 B7 67 32 27 57 20 37 57 E5 A9 63 D7 88 A8 E4 7C 49 41 BF 0 9C E 9A 67 CB 91 91 8C BF 7F DE 65 10 45 FF FE E6 38 15 FA D8 F7 71 65 2C CF 30 73 C6 9D 99 4C A 80 EE 74 D5 9B 7D D3 D3 C2 7C C8 D6 2F 49 F1 90 94 DE B 18 C9 85 18 16 9C BA 8 99 17 E6 40 9E 54 4D 59 1A E BE 19 AB F6 43 6B F9 7C 45 D3 61 EF 15 BB D2 3C 99 F5 58 13 9E 46 A8 A0 B8 20 FE 68 DC 40 A7 36 46 23 1A A 25 28 38 CD 6A 62 2A 4F 6A F6 D8 EA 34 BD 30 42 F 80 3D EC 17 80 75 62 25 CC 48 D1 44 B2 C8 3F 41 F 85 3 F5 6E 5A 31 90 6F 1D 7D 35 FC F5 42 C5 EA A6 84 C6 C6 58 BD DE E3 EE CF BD E4 D7 A9 97 43 73 88 FF 4B A2 45 61 23 A6 A7 3A 11 4 D D2 FD 15 E5 D8 83 40 41 C2 8 40 FA D 47 E6 2C 39 2E 65 44 DA 7 2D 5 32 BC 55 41 32 B9 16 6D 2 9C 2A 6C 4A B6 ED B0 D6 AD 67 F7 1E AB 7D 60 7F 39 96 F4 AD 5E A7 A8 6 4 73 19 A0 46 4E BA 8C EF A0 4E D4 F 67 E2 8E 40 D6 75 1E 27 AC C9 D0 6B 52 F1 A1 8E 43 2F 1 17 A EF 73 7B 72 81 23 4E A2 B1 7 97 4A E1 37 0 A9 21 7C A7 F9 23 9A 80 28 AB 94 F5 81 16 FD BD EF FB 43 BB 9C BB CF 92 9E D1 56 A8 84 70 7D 65 F7 63 9F 39 E 6A 6B 7A 55 AB 2C BD B5 E7 77 68 D6 2D 2C 55 2E 67 33 94 93 DC 5A 41 4C A2 4D 45 17 D9 5B 2D 3C 14 DB 3B 5E 31 E2 3 11 E6 CB 89 D5 51 F7 EC B5 C8 CB 25 2 C3 14 18 69 DE D8 E0 34 B4 C2 DF 99 6A 9C 5B 20 94 69 44 EC E9 5B D7 9B AA 53 C9 75 C7 AA 5F F1 7 14 58 94 6A 9D EC 96 B8 6 F6 D5 22 5E 3B EC 3C 15 42 7E F9 65 12 33 B6 12 78 E2 88 6D 28 B6 AA C0 A1 39 24 4D 66 3F 4C 4B C0 3B E0 3A F9 3A 42 31 E2 74 20 B2 B5 1E A0 96 C6 DF A8 9E 35 DB 7D AA 41 1C 8F 6D E7 38 AE 76 66 95 E6 D2 27 29 55 92 8D DE 17 C E0 1F 5B 7C 71 D 7C D4 84 99 E3 F6 10 8B AF 64 61 D1 D6 7F 28 EA 1 E D6 A8 CA 76 8 65 9B 5A 14 A0 CA 62 38 85 6C 43 35 AF CF 73 5D 5 FD F6 AA 15 AC CB 7F 90 70 80 5E 9A 84 BE 0 AF D8 CD 3 8A 2D C7 B3 4B CB 99 42 1D BE B1 DA AD 55 A0 FA 17 15 89 D0 74 65 85 26 9C C9 ED 94 94 EB 6B 8 6A 6A F5 31 A A8 B8 9D D7 7C F6 76 43 B7 CB B2 F7 ED 6F AF EB 86 DF 64 BF C0 E2 3 22 15 9A F7 5 37 BA 82 FB 1D 11 8C D4 90 57 84 64 60 B3 4B 38 5F 33 9D 8C 9 C0 A6 18 15 41 77 58 3A 64 75 C2 9C 47 3E E4 9A 81 13 AF 24 0 3A E 8C B3 93 AE 27 EA F2 4F 5B EE 32 DF FC 63 24 60 D 34 78 F1 C CF 45 F0 EA 17 8B C BC CC 67 84 22 A4 CC E3 A0 5A AC 47 A B0 BA 7D D0 43 6D 15 51 3A 65 37 CB 5A EB 29 23 C 4F F9 81 87 E7 A6 5B 4C A7 BD 21 71 4C FB 6C F4 6B 6E 18 F2 5A 6F 6 14 84 8F 71 13 63 B 29 8A 3B 1 FE 9A 86 5 3C 39 B4 8 35 7C F 56 80 31 4 40 AA 86 C7 56 6E 8B D1 D4 E8 8B 1 91 5D 67 67 FB 53 88 42 71 88 81 D9 B1 81 77 5 7C 33 EE C 51 7B 16 B4 5B 47 53 FC 3A C4 6 33 B5 1E BC 78 48 EB BC CF 43 91 1D 1F B5 FB 2C DF 6B 5 54 EE 47 7B 94 4B 6D 58 AD 3E 31 42 AB F3 D6 C0 A6 C7 2F 3 97 A6 2E 71 31 AF 52 A9 AF 98 71 40 E0 27 2C DF B CC 6C 14 7 9C 7E 42 E2 4 9D 9D 89 2F F3 77 DF 64 6C 84 14 19 BB E5 A1 18 FD BE B7 20 A9 4 8 1A 9D FB BE BE C2 CA 3D 6A D1 83 F0 C1 61 41 AC B2 52 
[ClientHandler] ReEncrypted: 79 5D 96 3D 6 BB F9 59 52 1F 3D 7C 45 1F D3 8 2E 5E 40 F7 A1 DA 5E CF 81 C8 DC D4 D9 17 15 60 18 5B 60 10 49 43 7E 3D 88 99 73 E3 2E C3 3D 2B 80 FC DC 75 5C 7 93 F1 AB 43 CA 84 CB B8 EC 8C BD 31 B5 46 DD 93 4C 34 F9 FC 89 E8 10 B2 E 90 55 23 8A 12 5B CC 0 A6 7B AD 2B 13 61 88 76 14 E0 80 28 4 8C 58 FB 32 6E 20 BC 53 30 CC 79 F9 46 35 96 93 E8 A2 20 F7 D 63 34 94 A7 49 CA 27 81 2C 21 FA 4A F8 F0 DE 6 76 B8 25 70 ED E4 B9 DC B8 11 54 9B AA 51 D1 FC AA 1 81 A7 DA 28 95 E8 73 B3 3F F2 EB 15 DB C8 26 45 3D B2 71 B5 E5 CB 8 42 16 57 7E 60 7E 18 CC 3B 16 65 BD C7 38 1C 39 16 90 3C 21 3E 86 2A 65 31 4A 18 C9 27 6A 2B DC ED E8 92 1C 6C 1A 51 69 3E 34 4F 48 B1 55 8D B3 DD 4C 3C 7 75 87 EB 3C 18 AF 4D 0 B0 B2 38 F9 F9 CC 6E 82 F0 A8 31 A4 98 91 E5 1C F F7 62 10 78 7C E3 88 CF EF A2 41 42 A 27 BE 8C 83 DD DE 6E 97 4D F9 FC B5 D9 2E B9 4A D7 8C B5 B1 B5 C2 D1 70 AF C7 3D FC 6B C3 CA 5A AE 7A EB F4 44 9 47 E4 51 C7 E7 65 EA 88 8E 12 8 60 20 3E AE 6F DB B2 66 EA F4 1D 81 C 99 3B CF 4B 5E DB 12 93 4 6B EB DB 36 23 91 2E 52 C9 69 ED EC BD AE 41 19 C7 FA 36 9B D1 8A 22 41 C2 6A AE 25 B2 F3 7D 85 70 E7 5F B4 2F 2F 22 CD 8F 1A 28 A6 A0 57 D9 A0 8C A2 B2 94 56 15 AE 2D 8C 98 6B D2 A4 17 C4 49 15 9D C5 2E 4 73 D8 B6 34 2 72 13 81 51 2F DE 68 E2 E3 0 5D 70 5C 14 A0 43 FA 3D 45 AD 68 CD 92 9D AE 86 51 B3 21 DB EC 62 22 89 D0 39 9B 4A 90 5D FA E 66 B3 D1 48 D5 FE D2 48 6F D EB F7 5 7B 5B F9 26 A3 89 78 46 79 0 83 68 5D 34 2 D3 73 75 36 14 96 83 C2 F2 75 B3 2F 44 A9 9C EA 14 1D AA 2B A7 93 97 BE EC A9 36 FA 7F 3 D 75 35 9 F2 24 D0 37 A4 24 80 52 A8 E B7 55 5A D4 AF FD 8A B1 AA EE 39 C0 CA D2 AF A 91 BC B8 1B FC 4 C7 71 9B E B8 AD 3C 99 9A 58 22 91 AD F5 62 1B C5 7E B1 9F 9C 98 ED C2 FA D5 6D 17 20 15 9E FF 9F 45 4F 1C 52 51 9E F6 1C 46 92 E4 F2 EF A2 8C A6 42 FD 6A 9E 72 58 98 E6 F7 99 99 FD DF A3 53 B7 BB 8D D7 65 2E 9A E7 76 E1 9E 53 7B 36 CD D0 9 23 99 9F 3D 39 15 79 7 C6 6E 14 F5 6D 4 CC B5 C7 2C BC BA 47 ED B3 89 C9 12 BD 52 8 32 50 9E 63 82 FA D5 B1 8D AD 97 DA AB E5 DA 5E 4C A3 DF C9 4 1B D2 DA DD 8A 3E 95 56 5F F4 7A AD 9 C9 A0 B6 54 6E 93 7C BF 68 85 4E 28 89 94 17 6A B3 34 94 96 BA CB 27 C9 85 D9 53 DD 2A CE 96 92 D5 C7 B8 71 CA D1 77 39 DD 32 25 4B C2 67 39 7C 28 27 D7 5A 6A BF 2 F0 BF F4 57 8D AD C4 2 A7 EA 8A 2B 7F 50 D3 68 B5 43 F1 26 53 80 99 C1 9A 5F 17 C5 F3 73 A1 8E DF A 46 C8 9 8C C1 7 16 47 B3 8F 74 AC 5E 82 E3 12 C5 D1 A8 4B CE 58 21 36 EB A3 7B E6 A2 D BE A3 FD 5D B2 CE 96 F7 C3 A E9 8F 24 EE C5 FD 49 2D C8 C1 D8 B0 43 A1 E1 3E F2 25 97 DF 2D 36 1B ED 41 7F B4 3D C4 69 97 49 1B C9 61 71 23 9F 86 4C 3 B4 A1 CF E8 40 59 55 8D CF CE 52 E1 E7 D7 A8 DE 8C 31 DF 29 9C 64 A6 7D 5A B 68 D1 D0 C3 D7 FD 98 50 ED F9 AD F1 B6 7E 8C 51 D0 20 79 7A A8 7C 3D 9D 4 1B EB F4 C5 31 24 3E D1 B0 83 98 8 50 82 3F B7 BF 47 60 FB AF 39 E0 75 86 5B 3A FD A6 7A 46 0 37 42 94 47 7A F3 77 4D 62 6E 7 32 AA AD CD 97 88 92 2 1F F9 56 F8 30 2 94 67 D2 10 9B 60 D4 69 40 4E A1 1C AA 87 99 67 FB 31 23 43 E5 FF CF 38 8B 49 7A 99 CE AE 29 34 F1 9C 26 32 95 A2 3D 9D 89 58 D1 26 18 1E D0 B0 3F 7D DB BA 85 B6 FF 15 82 E2 3B EF D2 29 A0 71 87 F5 B1 31 A9 A6 E8 6A C2 FB AF F0 8 1D E4 6C 3E 9D 50 47 B1 8D B6 85 B7 51 83 3B CD 74 9C E 61 D5 90 4E 3B B1 A7 27 3F D 97 A3 37 D1 3A BE AA 3D 8A 67 43 24 E C5 F F4 5D 7F CE E0 8C C1 89 D C5 A2 EB 50 FD E3 A9 BC DD B C8 19 DB 21 EA 18 F9 82 2B 4C 9E ED 6B E9 33 A9 B8 A5 F1 23 AC D9 76 7 87 9F 16 3A B 66 A4 A 96 B3 B5 CF 8C F6 DD 10 E5 C6 94 C4 51 E1 D2 45 A7 50 F8 8C CC CB 77 9E 40 9F 55 DF 56 71 B5 4E 2A 2F 63 93 14 97 2B FD 9 40 7C 13 44 60 C1 C1 F8 9E F6 D 7 AB FE E7 B8 DC 59 AC C1 68 52 D0 97 DF 5E 4F A8 19 CF DA A9 24 2D EA 37 63 93 F6 BF 77 C9 78 12 24 2C E4 E6 22 87 12 B0 97 F2 DD FD 4 AF D7 81 F4 9A 93 5E 3B 40 9A CB 99 19 4 65 CD EA 81 A2 4E A1 48 CC 77 7F B0 33 B1 51 BA 37 4F 33 C6 43 4D 54 36 C1 CC 44 8D 9B EE B1 DB 6A 1 A6 33 C4 25 3F D A1 FE C3 10 EB 52 69 5B A 5E 46 64 79 77 2C DA 9B 1E 96 12 D4 2B 5A 23 E6 F3 F1 A3 26 CB 9E 8B 89 E8 7 5D 16 CA D8 F7 BC F2 FE 18 8 C 11 4C DA D4 2A FE A5 C3 30 86 DD 74 F 82 B CB 9A 51 DE 77 E5 4C E9 82 13 34 8A F3 6A 6D C0 67 59 2C 72 E5 AC 73 67 6D AC D8 9A 54 DF 89 2D 4E 5B 4B 8A B0 8F 1F 74 83 6 86 3F BC 7A 59 92 9C 13 96 40 EC DB D 25 3C 46 D6 0 7C A2 E0 E8 79 F2 BF F7 9F D7 4E 5D 17 3F 66 62 AE D7 8D 76 F0 F1 BC E2 40 C4 80 25 C9 8A DF 56 1B 23 39 22 8A CF 71 3A 30 94 F4 61 7C 45 A6 48 D4 7D 8C 12 BA B4 1F 85 A4 DA 4F AC FF C2 49 BE 1A 51 68 E2 A3 9F 7B 42 97 DB F5 4A CF 7D 41 BE 96 2F CF 86 DE 23 7C 99 9 77 C 16 50 A6 FA 49 1A 5E EB 7C 8B 63 92 15 31 95 51 FE 68 32 60 88 4A 34 38 67 C 61 3F 85 95 28 5C 2A 2C 9C 11 30 27 D5 17 62 70 2B D 8A CB 28 58 6C 6D 6C 38 12 D 20 80 64 1F 2D 65 34 31 D1 96 57 96 D2 26 3F 6 73 5 14 A8 DB 25 11 D2 AD BB FB B9 F6 AF C7 6F 13 E 6A 9B 9 E7 19 68 CC C1 7A C7 96 1 B6 C1 E7 21 A8 9D AD F8 90 7B 2E AB 44 1 E9 DB 17 ED 3 97 98 4A 1A 46 E3 A4 C A8 86 3F A5 5A 79 E5 D1 29 F9 4F 6A E6 80 86 C AD AF 94 91 BB 27 E4 75 5B 2C 78 79 E5 3D 5B 2F 45 63 EC 3B 44 CF 44 C6 3B 30 6D CF 85 EF 32 8C 6C 9D B3 28 F6 A4 F6 C AB F0 33 51 1F DA 6B 32 1C CE D8 A4 12 5A F0 8 5C 1B 2A BB 48 7C E3 B3 5 5D EA 27 A0 B8 EC CB 4C B5 E4 91 B 2B E7 A 40 FD CB BF 41 E3 9E 82 74 A8 7E BB 68 56 3E 38 8F DA 6F C1 E4 DC 96 19 39 57 72 5F E7 4F 6A C5 DD F 33 5E 69 93 C2 46 AA 4B 35 47 DD 4F 5F BC 2E 70 56 69 C3 20 97 4E 32 45 D2 E0 5D 44 8F AA 1D E BA FC 74 30 9E E 2E E9 F2 AF 7 B1 10 2 57 53 3F 9A E 5F 3E C7 43 E F1 E9 F 1A 6A 5F D8 36 A1 5C F6 AC F6 44 42 56 24 61 A0 39 F2 70 15 B9 
[ClientHandler] packet relayed to server
[ServerHandler] packet recieved -> size: 1500
[ServerHandler] packet relayed to client
this is another packet log

Code:
[ClientHandler] packet relayed to server
[ClientHandler] packet recieved -> size: 36
[ClientHandler] Raw packet : 66 AB 93 C1 9B 1E EB A6 42 B0 DF A1 75 24 B0 4B CC 4 9 B8 10 CE 1B 2C 5D 31 48 39 42 E2 47 E7 9F CE 44 BC 
[ClientHandler] Decrypted  : 1C 0 1C 4 E4 FD 91 0 D8 78 DB 4E 7C 0 45 6E 0 21 5C 2 44 37 0 0 A 0 0 0 54 51 43 6C 69 65 6E 74 
[ClientHandler] ReEncrypted: 48 D4 69 3D 38 6C B4 5A DE 20 64 30 94 F4 D9 12 F4 EC AE 64 59 51 3D 5B C D2 67 B0 1E 73 75 C9 5F F4 E3 8B 
[ClientHandler] packet relayed to server
[ServerHandler] packet recieved -> size: 63
[ServerHandler] packet relayed to client
[ClientHandler] packet recieved -> size: 1844
[ClientHandler] Raw packet : C D2 BB 22 42 DE C9 DB 7D 37 FF A2 55 1D 35 D8 1B 40 BA D5 EA C B 59 75 3E F5 70 43 1C 10 30 49 E4 87 72 83 23 7D A9 63 11 16 7F B7 32 56 A0 F7 1E 9B 43 9E C4 11 0 E2 58 24 2E 3A 12 66 2E 98 23 0 88 A3 7B 8B 9D BE 20 8E 6D 6F 4 5D FB FC E9 2A 94 F9 4E C7 49 4C 12 F4 F1 EE F1 67 FA 47 20 70 C3 5E 98 BB 7B F 7B BE E6 92 50 2C A7 79 2 1C 7B A8 C7 6A 53 83 84 56 E5 2F 24 A8 22 67 34 1D 77 35 90 33 1D DE D3 7C 40 88 B9 4A E0 96 98 F 9A 30 54 EF 58 6E 78 2 C0 5E A 5B 6D 37 15 7F 81 B1 50 AC 27 D5 FA B9 C4 74 37 D5 82 96 A8 3E 1 4E 9A B2 99 75 82 65 8D EA 88 44 E1 61 1B 1A 79 17 C0 38 81 8F E1 D2 37 C9 D5 F3 6D FC E9 49 E7 72 F3 77 69 9D 33 39 68 87 43 88 FF 64 33 BB 6 D4 60 C8 C4 AE E9 9E 4A ED E2 6E 4E B6 1A 9D 32 DE 9C E6 C 9E 3F 6A B6 20 E2 A9 A4 60 3E 37 36 CF 67 4 FF E0 E 96 D6 7 4 E8 B8 5C B7 7 0 19 D6 BF F0 CE 9E DA D6 7C FD BE D8 FB EC AB 81 ED 5 EC DD 20 1D CC CC E1 8C D7 7B 8A E 4D 93 3F 3D D7 1D A6 75 3E CC E2 2E 6 37 7D 10 41 AE 93 99 40 22 24 B7 48 A0 87 60 4 F0 36 1D 72 B2 E3 A2 3 EA F9 EB E2 B9 3E 3D 4C 18 DC 60 10 6D 61 D0 93 E E6 AD 15 C7 B2 C3 CF B4 B9 E8 DC E0 BF 29 2D 85 5C D8 F4 78 BD 75 14 E AF 85 44 89 89 E2 9 E3 6E 4E F7 B6 14 74 C7 FB 9A 8A 4A C7 38 E2 3D B0 FC 7D 77 BC D3 74 25 5E 36 AD 8 CE 1C 96 36 F5 51 B6 CD 60 8E 2F 18 D2 F4 D1 2B 24 9A 94 17 D8 D6 62 6 EC 7E C2 FB 78 A2 1D D8 ED 7B CC 97 89 8D 2B 5C 9E 58 7B 21 76 DE 85 4E 63 7 54 1 76 DE C0 5A 41 2C C3 CB 8B F1 4A 6B 55 AB B1 BD 5D A8 3F 80 16 42 A3 96 C0 CE DA E6 B3 F BA 24 6 99 E7 13 9F 9F 4E EA EA AA 1D 68 20 6D 7F 55 BC CF 40 8C 30 9B 7D 37 C7 18 B1 87 76 C6 95 CF 2F 9 B0 F3 73 9A F1 2B 91 BF BA 5C 4A 7E 7C CC 5 87 5 1A 6B 7F AB 93 B8 F7 82 FD C9 B 6C 87 47 67 64 52 A2 D4 D B6 6E B1 51 89 F8 A5 F9 A5 A7 BA 74 3C 6F E6 FE 29 ED CD D4 B2 7D 7D 67 9D 36 72 41 92 1B BB 6B CA 2D 10 2F 4F 55 A2 53 5D FF F B4 A1 83 FE F9 55 BB 4 D8 B3 92 E4 73 54 24 87 FD B8 E7 FE 68 BE 38 A5 85 B3 72 5F 4D DD BF F0 33 4B 20 7E E7 5E 91 2D 5E BF F4 2 79 A7 B5 CC EA 51 ED E2 C9 97 2E 4C 55 1C CA 74 BE 22 66 82 A5 3D 57 83 48 74 5A 28 46 6 45 76 71 81 65 10 9D 2F 9F FD 2D F0 A2 65 12 49 56 E8 8 F0 F7 D3 4A 19 2C DE 95 81 C9 43 6A 14 EB 67 E2 D1 61 ED 91 9 FF 3F 79 31 65 60 63 8 67 E8 F9 84 E9 E 60 5E B9 59 CD 87 B 8F 3E DF 33 BC 9D C9 9 D6 33 6 5C 7C C8 79 71 A9 D EF 71 98 E1 18 C1 D6 C5 13 F2 F4 FC E1 7C F 5A 83 61 69 1F B0 81 98 A2 89 4D AB 2C B6 AE B7 9D C5 6 E2 3E 83 B7 A8 54 D 3B 36 D0 6C 8A 51 29 16 F3 26 BA 83 A 57 FA 23 6C B3 75 45 54 0 50 CD C3 BE 8E 51 FE AE BA 51 C7 AF E A4 F3 2F C4 8F 9D 5B F3 3F E2 8C 65 A5 B0 6F 53 F 45 36 B0 5 4C C5 10 26 F1 F 8F E8 FE 7F 3B 74 D3 C C4 4A 13 52 E2 B5 44 22 90 F6 AE DC F9 3E D4 2C F3 B3 20 5F 88 98 FF BB 42 A0 94 D0 3A 81 4C 45 57 6E 1C 10 C6 96 84 6D F9 25 43 E5 77 F5 3B 3B 5D 83 43 EC 46 55 4C C0 5A BE 6C A4 D6 7 D9 CF 22 4F 53 79 7E C4 46 84 7F EA D4 C5 FD 35 16 42 92 D8 C3 A 75 F6 B1 AA 44 12 1D 31 A0 52 B0 B4 DA 6D B8 EE 54 83 AA B8 FB F8 49 56 8D C3 9B F6 4 C2 9 53 6 5D 5C 4 1B 6E D7 AE B6 34 D9 A5 F0 19 B6 F9 CE BF AF 1D 75 BC 3A CA 14 10 79 5D 76 E0 41 F9 AD 8A A1 66 5C 6F 81 AA 1 46 9E 2B B0 71 2B 94 B8 7A 3 4F B6 76 E3 C5 67 C6 FE AC B9 E3 2C D2 A6 0 D4 19 E5 27 14 AF 48 E C9 95 7C 12 F7 8D E8 FE F8 66 4D 76 A1 6 7E 86 31 EE 12 8D 44 B8 8F B9 D6 FC 4D 4B AA AA 6A AC A5 EC 1 44 7F 21 EC EE 80 9 D7 F0 76 33 20 83 74 E0 3 3 9E 55 46 CF F1 E6 E5 A2 CF DE 9C 2E E0 C9 4B 1 71 92 3E CC 27 B6 F9 68 19 8A 3F 2E D5 CB 78 F1 6A EE EE B4 88 37 7E 25 13 6F 94 44 3E 1C 17 CA B7 24 65 26 E4 B2 E B3 D1 EF 69 F0 CC 14 EE 62 B5 6C E5 51 A0 A1 D5 F0 45 CD DF 92 75 E6 37 81 69 DE 4B FF AF AC CF 60 AD 16 F3 68 65 6A 29 53 FB 13 2C 1F 9B 9E F 60 1E 26 1 D2 3 9 9F 34 61 EC A8 16 DD C6 AE F8 42 61 16 38 34 20 D4 73 A7 5F 9B B0 BE D7 7F EF D5 9E D4 1D D3 F6 24 21 39 F8 F7 17 B4 7E B5 66 7B A8 A0 A9 C6 18 12 68 37 4E BC 19 D4 D6 2C E9 F3 31 C5 C1 E9 A2 4C C6 11 49 B7 42 5E 5B E8 5 91 62 CE 41 7F C5 FB 87 A0 F6 71 7E E8 48 3E 62 D1 18 B2 97 3B 45 EA F8 F1 50 40 EE 18 77 89 80 6F 24 D 3F 57 22 4D 4E 62 42 77 C6 AA F0 6C 6D 95 DF 9D 2B FB 11 3B AF 18 61 D6 DA A5 6B C6 7B 12 88 56 62 9 86 24 92 81 8B A2 1C 9F 8E 75 E5 14 80 55 7D 99 6D 71 43 CB 6 BE 2 DE 4B FE 3C 3A 1F 53 73 6D F7 7C 4B 3B 30 ED 63 21 6B 6A 9F C1 AE 85 49 10 41 FE 3 6 E6 94 3B 51 A BE 92 14 7B E8 D7 18 17 71 3B 21 30 4C D8 4B 90 67 18 B9 77 EB 86 C8 A3 67 67 83 44 C4 26 83 1B 1D 83 58 E9 97 90 6A C9 9 C2 3C 66 E5 EC 6F ED 5 4D 88 D7 14 28 78 AA 84 9E 73 82 74 8C 7E B8 1A 3C 8D 8F EC B6 8B E7 93 AF D3 F1 F8 47 D8 B4 88 11 67 13 93 E4 FF 62 4D AE 8D D5 50 F5 AB D3 E5 CC 4E 92 DE C DF 5E 7A 10 AB CF 42 9C B6 9E 9A F1 CB FF 3A E9 29 11 ED EA 2C 24 F1 9F FC 50 66 A 4D 81 69 41 6B D1 52 CC 5C FD EF 45 75 25 B4 91 65 82 9B D2 6F 6B 8A 11 32 EE 84 3A FC A4 72 3F 66 D2 25 B1 19 5D E9 58 DE F3 96 27 25 15 64 85 90 76 A6 83 C7 91 63 17 F6 46 F4 E9 D 26 11 47 3C CC 8F EA 65 79 C0 EE 57 9B 69 B9 BF D1 D E1 A5 7A AF B1 9 C 3C 42 9B BC 9A 7B 45 BD AE C9 4C FD B9 C4 88 C6 83 B2 B9 A8 3F 67 72 30 70 66 C3 7A 5D 35 FD 79 2B 1A C1 59 5E 30 F1 EC 2C FB 2E 25 4 B1 B8 C8 D7 BD 11 9D 91 F9 BD 3F F5 B5 D1 63 4B 6D EF 42 50 D5 9C 8C AC D7 AB F6 82 AA 18 5 62 3 ED 31 1 D 81 DC 2C 2C B5 9E AC 46 58 72 AD 70 67 E9 C2 BA 7D D9 8E 48 37 5A 1F 20 DB 60 C0 D0 A 48 B9 96 C3 63 D9 C2 B1 75 2E 5 C8 61 DD 8F BD BA C8 AB 1B 70 0 CE 70 AB D8 E3 CD 91 8 FC C5 54 B2 9D B9 0 56 1F F0 89 AC 30 3C CA CB A0 8 29 F2 E6 41 B F6 D8 39 AE 62 55 25 90 F5 88 25 82 B2 A5 1F 44 18 35 52 5F F 4E F7 CC 1A B7 23 4B 97 65 28 
[ClientHandler] Decrypted  : 76 79 34 E7 3D 3D B3 7D 52 FE 80 5E 81 A2 16 CA 1E BA D1 7D B8 67 36 F5 F4 12 29 81 3 19 6A 1 4E 1A 17 64 3E F6 2F CC A C1 3F 35 BF 91 BC 47 26 A 5C 7D 5C 53 59 8D 43 AE 1C 77 13 2B 12 E2 9 D7 1C 65 D5 32 F6 C5 97 CE DD BD C3 B3 5D 2A 25 CB 4C 35 C5 6C F 50 A6 19 3 85 E5 AF 8 30 0 F6 7B 23 95 7D CC 66 AE 59 8 72 29 C3 DC 76 74 40 A0 27 B8 AF F F6 36 A0 5A A9 6F C1 67 A1 E8 A2 A3 AF F6 3E 4 1 D1 1 B2 F4 41 A4 B3 49 EB B0 4D 17 E7 86 BA A5 99 9B B6 94 3 58 7B 4D 60 D4 54 A4 5E 16 2D A0 ED 67 9D 32 78 68 FB 31 F5 12 71 EF A9 AC 12 39 A5 AA E7 52 9D 53 49 DA 3E A4 39 A3 22 D1 84 3E BD C7 E2 53 76 91 B4 B3 4E 30 87 71 FE 50 C8 23 6 C7 DB B8 13 5C A1 F8 85 C0 B8 A6 BB 15 E9 F5 F2 DA DB BF 44 BF 4B F1 2C EC 34 17 B2 A 85 F9 5D DF F6 1B 5B CC 82 3D 9B 8B FF F1 79 66 EA 0 66 D0 52 40 2 91 2E 8F 8E 8A C1 7C 6D 70 B8 18 8A 63 C7 46 EF C0 6B 48 BA 97 E1 23 53 98 C 87 6E E7 4A 7B F6 4A 4E 6 2C 37 6F 3C 18 D0 14 ED F 92 A1 BE F0 A8 D6 7B A9 23 AB F4 AB F0 3A E7 B6 3 CE 77 AE E8 C9 6E 67 15 5C 96 6D C9 AB 11 F8 64 FD 94 16 F9 4E 5A 42 A9 A8 D3 D1 14 B8 52 79 40 A6 D0 68 7B 56 4 B0 48 77 BC 7 4A 81 EC AD 3C D4 5A 1C 4E 3D 27 63 53 87 8F C2 D3 86 82 15 BC AE C9 EA AC 43 F3 1A 63 3E AC 57 69 E7 F8 5B 93 63 F2 2F 70 89 2B AD 4C B1 C6 D7 1F F9 7B FC 1D 7F 93 16 81 8A D8 71 50 BC 59 BA B9 F0 1E 65 BC 2E 9 C6 48 66 AF 9C 80 12 75 C3 AF CA 7E 4E 9 C 69 2D 75 46 D4 70 CC DC 36 C4 E6 E1 BF A 4A A9 2D 9F 94 E6 D3 C1 A3 6A 46 1A DB B9 AC 2A 38 82 B7 3B 7A 6D 65 CE F 2 BF 80 E5 5 CD C9 AB E2 C4 26 8A 1F 80 F5 B1 2E 84 C3 7 73 5B 1D D1 63 E4 86 C2 F 84 25 35 D5 6D 32 61 2B C9 23 EC 2A 22 49 30 D9 59 92 C1 2 23 96 F9 96 87 DA 2A 67 E1 83 D2 9D A5 1 A1 50 67 32 6 93 AD 21 E9 61 23 2F 12 73 57 EF B D4 2B 7C AC 9D AA F5 40 B 98 B4 1E 8E 9D B7 8E 6F A1 47 4 CA 78 F 12 80 F9 4E 7 1F 9F BE E0 7C 64 D6 2A E0 92 C8 1E 0 B9 E2 E0 14 12 75 38 22 B8 61 1 BE BC 38 D2 9B F3 AF 3D 20 7D 89 C 6E 22 27 A9 9 20 72 A1 9E A7 40 A5 28 B3 C4 30 90 E1 93 F1 8F 51 2F 5C FD DE 61 C3 EE 59 BA 75 47 C 28 EE A7 F BB 74 22 2 AB 69 C5 C2 24 89 A9 57 6C 36 3 89 3F EF 42 AA 38 68 8C A4 8 2B 32 F4 16 43 29 13 50 DF 92 1F 2C DF 8B 76 C3 83 CB 9A E1 D5 CF 38 20 33 F6 E6 A C4 54 3F 8 F6 8F 1E A3 D BE 7B 96 FD 54 80 F 4D DA 58 5B 1C A3 46 FA 70 C6 C2 A1 9 22 FF B1 3C FF DB 74 30 8B 9A 8D 2 98 2B CF C8 74 A4 40 FE DF 94 5B F1 2 9A 2 EF F5 FA B7 69 78 CF 8E F3 CA 44 EB A9 21 F7 9C C5 33 EE 88 58 C6 9C BA 62 45 85 78 D 9A 97 3F 6C B4 E9 DA EE 5B 78 9A AD AC 2D 18 97 4D 65 92 2C 6F 49 DC B7 D6 5C B3 C3 FB 27 11 F0 FE 5F F4 DE 0 41 9A 7C F3 EB F7 A6 7 7F 91 50 9E 2C A4 8A DC AF B2 BB B7 91 4A CF F8 ED B0 82 B9 C6 8C 34 64 E2 E3 E3 FB 49 57 C6 A3 71 59 AC C A 9B 7C 69 AB 20 D3 74 FA 46 8D F4 CD EE 42 39 BF 14 C6 10 15 9 18 F3 ED A6 E8 8 1C 25 D3 B5 A8 94 40 1F E9 1D E3 B7 88 7F 69 16 E7 89 89 E 4B D1 DF 69 3F 20 E5 22 46 5B 9B BB 48 C5 28 EE EE 74 65 2C E2 6F 6B 1A 6C 3D 6D 43 80 3F F3 D9 85 71 29 4D D3 6A 92 24 D FD E6 C3 48 88 1B 7E 2D 70 76 96 89 56 78 75 86 58 1A 33 D9 81 F D9 4C 85 2A 4A E0 8E C6 9A B6 45 94 15 C4 4E CD B8 B7 18 CB F6 DA 71 1 B2 D4 74 DC E3 5E E5 1D EF 73 7C 43 B5 51 4 D9 E7 3D 23 BC 2F 6E 2E 4E 2C E7 24 FB B6 B E4 40 DE 3D C2 11 15 23 F8 FE 2 DF E4 95 4B 72 7B 5F 3A 29 61 47 DB 5C D5 71 10 F6 96 2D 83 DE ED DD 6C 26 8C 68 CD 7 DE 92 85 93 A2 35 5C FF CC F1 3F 84 49 4D 23 8 B 47 41 35 5A B6 A5 4D FD 2A A5 EB EF 5D B8 B8 62 54 6F 45 72 FC 18 2C 4C 2C E1 4A 14 A1 9C 44 B7 D F8 48 B5 C C6 CF 77 5E 29 37 25 72 99 21 12 5F B1 9D 69 7E B7 18 C3 6F 78 68 58 33 4B 82 1 11 38 D7 46 A0 6D DF E1 25 D3 3F 9E 7 11 91 C5 D4 EB 27 AD 2D 43 5A 41 F8 C2 EF 28 2C 87 12 93 0 C9 34 E CA 9C 62 A9 4E DC 5F B6 A9 6E D3 5B 2 C3 A6 F7 28 95 19 5A 65 2F 27 7F 51 D AC AC F7 60 76 99 38 3 E3 3C 29 8B A9 6E 9A 68 B4 A1 4C 3B E8 51 4C 32 F9 90 FB 46 A3 7D 7B A5 42 79 CA 75 C0 9D 22 98 39 40 6E 49 DB AD 9E 1B 4D 76 32 B4 37 1 E2 3 E5 69 C 46 4B DC EC E3 D8 86 C2 98 74 53 58 B 36 B3 8F E7 5E FD F6 29 FA DC 12 68 1 19 3C 18 24 3E F4 30 A2 B4 B9 7A F7 23 DB 3 DA F5 91 5C 85 42 52 BD CE C9 33 49 86 CE CC 2D 9F E9 CE 59 C1 79 A 3F 64 36 63 57 B3 9D 34 0 67 C1 90 7D 90 AA AA C 20 A9 25 D3 82 13 6D 6E 83 5B F8 18 F4 B2 1F A7 52 91 F0 1C B6 AE 6D 6C 1F 4D F2 1E 46 61 BD F9 E1 DB 94 8C 35 A4 9B 73 33 BD 41 51 58 6D 2D 92 16 40 45 15 4C 27 F0 2C 53 19 3E B3 5F 5D 9A A5 C AA D7 3D 76 6C 17 97 50 F2 36 1D 80 50 E2 6C 58 30 54 F8 2 99 54 8C 82 59 80 BC 6 B5 B3 DC B5 1E 55 4 76 28 2E FA CF 7E 5F 0 EC 5C 51 FC 6C C2 82 4D 5B B9 6A 26 6C CF 41 E3 3 6A A9 C4 9E A4 1 88 80 8F 6A FD D8 CC 2F 86 13 17 12 8F 46 E8 7D 87 A 69 38 BD B1 63 27 7E 7 EC 9F 41 96 E0 9B AB 7E E3 43 6A 32 C7 E 33 E0 AF 11 BE 44 83 8 AB 39 5A A8 77 94 99 A7 2C 34 28 37 B5 B6 E9 F5 F2 34 F0 EE AB F9 1E C7 39 65 58 AE 27 C2 3C C0 7C B4 8E 1A 25 1D 1F 10 19 6F 4C 4D 92 94 D5 95 FB 22 6A C3 F4 1F 50 E3 34 7A 23 62 67 EA 2D 37 32 7D B3 B0 E7 20 DB E8 8D C1 C9 65 E5 A4 86 92 C6 47 CD 14 A3 D8 D8 7E 7D F1 AA 1B D1 B6 A9 D2 86 18 1D 40 3E CB 4B 7 6 5F 68 77 EF EE 61 C4 C5 77 F8 3F 7C FF D 99 BF 9C F2 F5 3F D8 C6 53 97 49 3C BE 98 38 ED 3A F0 2C E 73 7E 25 4C 23 93 14 99 9 C2 7C E9 C7 8B 3C 6 D1 9A AE C4 22 EB 1 4D 9C F1 8F D8 B0 AC E8 CF 61 4C 2E 2F 5F DE FB CB 95 2D 2 15 49 B2 29 27 CF 64 54 C5 49 F6 11 A0 C8 2 C4 D5 3C 24 E7 75 DE CB 12 20 8C F6 8E CF 23 38 FA B6 2E F 42 DB BA D0 1 88 39 AD 0 AB 16 95 DD EA 1 6A 65 AF C1 78 DF 2E DC 43 A5 4 47 42 46 48 C3 79 95 AB 14 4E 84 C2 A6 B6 84 2E FB F0 9 48 40 8C D0 39 5E EE CC 3 6E 5A DB D4 34 C5 75 
[ClientHandler] ReEncrypted: 22 AD 41 DE E1 AC 96 27 FC 71 F9 71 1C 45 30 2B 2 CF F2 B4 A EB 6B 37 3C 87 BE 7A C7 75 5 15 81 F5 2D 8E 4 DE C5 5A 21 AC 99 E F2 F4 9B 65 F1 FB 35 A0 84 7F C4 D0 5C 29 2B 21 F2 82 A6 D1 F7 3C E8 C4 17 C1 23 F C4 4C 96 DB 33 E2 D4 CF F0 FE 48 B7 F4 5E 2 48 51 81 35 71 F8 33 B0 50 12 C 7C D9 70 52 F4 2B 47 86 25 17 1C A8 2B E4 AD 98 7E AF 24 D A 41 A0 89 5A 29 30 45 3D CF 35 F1 6 96 41 86 E8 36 DD 5E 5B D3 7B 75 7F 83 8E 94 A6 3F 66 72 58 38 52 D 2E 0 43 6 6D A1 A1 DC 2A B2 5A 6B DE 6C F0 EA D1 AB 38 90 72 D5 9C 3E D5 4C 2C 38 9A 93 64 A3 18 24 93 18 A6 F9 35 64 E7 5C 1F 8A B7 FA 9E 4 B6 84 3F 85 7E 8B 21 46 49 31 BA 85 E3 F5 40 57 73 67 F0 3D DF B7 B1 70 15 A3 39 8D 3E F8 49 5F 7C DA C8 A8 25 AE 3F 5B 92 59 83 58 B7 5D 13 6E E5 94 14 5E D5 67 5 BF C9 FD 6B 51 79 E9 1D 37 F7 F3 C6 AE B3 25 E CF EC 24 94 AE BA 6F F8 FD 99 5 6A D3 A5 44 B7 96 E5 66 4E 43 C3 DF 49 9B 69 4B 5B 2E 81 39 BD 22 45 FE CF CE 1E 72 C0 E3 69 64 D6 38 D8 90 89 52 4B 42 9D F5 DA 67 A 9A C1 C7 B2 ED 25 BB 58 33 B1 C6 4F AD A8 51 A E9 E1 4E E4 70 12 A1 68 72 32 D3 56 58 27 80 4 26 B0 52 3E 2C 19 9 5A BA 32 58 A5 59 40 4A F6 BC 99 3F A0 FD 6C 6F CB 0 1F AF 3D E1 7D 4A 74 76 B3 4A 6A E 9C 5B 69 E9 37 F 58 62 3E 76 53 80 6E 74 62 17 57 68 E F 55 E1 A2 62 86 D3 91 3D F5 85 7F 6B B 7D 55 D8 C6 A1 20 A4 8A 1A 80 95 EF DE CD 99 CA 45 DB B9 C7 7C 72 B1 23 B7 6E F5 69 D2 A1 AF 31 BB EE E1 F2 88 E9 BE 18 91 1A 1C F9 A7 D6 6D 97 82 CC 7E 12 D4 E2 CC 2 DD F2 68 9B 37 5 CE CF 50 AD 55 98 E1 A8 B3 27 C3 35 B4 9D 25 2A 9A 1 57 CD C7 1E 27 D4 7A BA 51 3F 7E BF 86 4F 36 6B 7 29 E7 42 87 C2 E7 68 73 92 2D 67 28 F6 87 C8 C7 27 6A F3 25 B0 A1 19 B1 F3 74 F6 51 F3 1A 5B 72 56 B1 2C 82 3C 96 82 FD 90 DD D6 17 EC A7 1B 6D EE 57 9 41 98 9D F1 C2 7B 59 E2 A DB FF 67 D7 D1 C7 F7 99 33 65 B5 FD A1 D1 C7 4F 2 24 FD 3 67 CE AB 17 90 67 69 59 7 C0 30 4E 5 91 5D E7 E0 29 5C 31 63 78 C4 36 1B 77 37 D3 52 E 1B 2E B4 61 DB 54 7C 41 91 A 45 83 F1 DF B6 C5 92 9B C4 85 C6 D7 C2 3F 86 71 37 80 79 4F 42 EC E4 CB 85 FE 77 E9 F0 FF 58 BF 42 1B DF B5 29 38 42 26 E0 A4 E4 D1 F5 C7 72 CD 99 78 9D AF 80 2B F9 32 2F 3A F0 C0 6B 7 3A AF 5 FF E6 55 A5 5 3D DD C 4E 9A C2 85 71 92 54 B9 BB 5 8E BA 7D 95 93 88 EA F7 F6 6B D3 B1 2E 73 C1 8E 79 3B 0 6F A0 E8 1E 87 34 46 86 CE 45 B7 D 6C 6F 58 69 A7 17 13 DC 36 51 18 24 40 54 EB 16 7A 3B F1 1 DA CF 62 5D D1 FB 87 D7 15 6 2A 7F EC 96 9C 1A 22 72 47 3D 3B 44 BD 1B E6 D7 F4 D2 E0 C7 F4 88 57 DB A0 F3 4E 0 BA 55 25 61 F0 59 C4 EB A7 D9 AB 9D F9 5A F1 B4 82 6A 10 60 F3 3B 33 E9 1D 9B 7C 9A 99 B4 10 EE 67 F 97 32 F3 FA 9C EE A9 90 14 45 37 6B 19 58 A4 D6 5 B5 C5 89 61 0 8D 68 6A CC CA 0 5 30 36 D7 96 4D 3B 62 92 15 36 81 52 6E A2 9B BC 69 48 75 3A 50 DF 17 B6 11 27 9E AC BD EB 88 AA DE 87 A2 73 13 21 4E AE 83 D9 8E 74 F8 37 13 5D 7A F5 A AC B1 D5 59 7F 23 DA FD D3 94 1 1B 35 8E B7 BB 59 20 84 84 D1 BB EC 68 C4 94 33 ED 3E A7 9D 72 1A CC 76 7D C6 76 A 70 C1 ED 98 DE 71 9A E0 7 CA 37 1E F4 44 8C 5F B1 46 13 7B B5 B2 3C BC 98 F0 99 F1 4F D0 FD C6 AC 27 82 F A1 77 8 F1 8E 17 91 57 25 97 E2 4F FB 80 88 18 64 1B E7 A9 13 EF 73 8C F0 D9 AF 24 F9 4F 2E 3E A7 67 7F 1 52 BC 7B E5 B2 E4 74 B9 F0 76 9 3D 47 1E 7F 31 35 5A 46 AF 5B 1D 2A 39 4B EF 82 86 9D A3 6C D0 BC A4 75 FF BF C1 95 81 83 A3 D8 CB 28 8B DC 44 49 5E 7 80 CD 3D C 16 5C BB 68 84 9C 6 9B 9 CE 11 7D 9E 9F 13 E5 C4 1C E8 17 E6 2 76 A2 53 C9 B5 38 D0 75 A3 82 66 12 1B C8 81 BA CD A3 1F 74 DF 5E 47 6F 79 5 EE 65 34 4C E2 C2 30 4E C7 E8 77 68 95 58 D4 C A3 34 CF 76 28 AE ED C9 53 31 B0 F7 CE 71 83 C4 C1 A2 EF 44 EB B0 E7 77 43 79 C A9 A3 2E 39 D3 8E 42 57 A 84 BF C7 46 6D 52 4C D5 C0 D8 40 8 CC 9E B7 44 59 8D 69 4E 36 AD 59 4A 33 73 14 34 B5 8F AC 6D C5 F1 8C DF 33 E8 3D 2E C3 8D 18 B5 5A D4 B5 50 39 3D 69 DE 72 81 41 7C 5A 5 7 2E AA 68 88 C2 D6 94 48 EE 26 61 D2 F3 80 A1 74 4E 1D 65 D5 49 1F DE C0 81 4A F0 7 FF 3E 93 48 8F F9 8F A1 AB C4 EA D4 35 D5 EB BD AF E9 29 A6 47 2C 5B B9 66 FE 25 C 91 17 1B FC D9 DF 41 4 E1 20 B3 FF 1F EF EA D9 2 AD E2 5 4D B5 80 30 C 27 CA 40 C9 F9 61 C4 94 E1 2A 5D 83 EB 3D 8E E1 6D 89 B1 39 35 51 EF 71 16 FA 7D 37 B5 C7 49 D5 1F CD 74 54 42 F4 DF EA B8 9D 55 79 86 13 28 7C CD D4 F4 66 1F C0 E4 6A 75 A8 B7 0 1C DD AC 87 CC D4 A8 42 D4 1C 93 75 5A 99 F1 8C E2 E5 41 B5 71 40 9D 80 FD 58 AE D5 14 40 14 B6 23 B7 78 FF 22 CB 28 E5 78 96 E F8 53 6 82 F 39 44 A0 1 3D 5E 2C E4 EE 18 4E 63 F4 C0 67 E7 E9 9E A0 BD 26 5C A6 1F 81 4F 25 FA 67 31 9E 3D 92 7B B3 C5 AA D9 DD 46 2E FF 15 2D F 1D 2F DB 5A B7 FD E1 BE 2F BC 2D D5 BF CB 2E CE AC AC 10 21 2D BB CD 66 48 3 93 46 2A 56 87 E0 3 77 62 9B E5 18 7A FF D 7C 9D 48 A9 5E D0 C4 9B 43 A8 F9 F1 48 E9 E9 5E A2 3D 51 3D EF 22 82 C0 6E 20 92 4B 72 97 6C 16 3C 7F 4F 75 19 EF CA 57 21 F3 F D9 4C 6E 70 4D FB 68 D9 70 D1 33 83 61 BF EF 93 86 BA 26 95 6E EB FD 24 C8 88 8C 48 AF 91 14 6D B9 87 B8 C C7 5 B4 B3 18 5 FF 5F C7 B0 18 8C C8 3 E2 FD 43 49 2 D8 2 42 F 4E C2 39 13 2B 45 72 F5 50 2D FC 33 B4 CC D6 38 F9 DB D0 F4 E6 11 32 EC 4 35 31 AA 1E 65 CF 4C CC 2E 73 F6 6A 37 14 C8 9A FD 47 D3 63 27 52 E6 1D 94 38 5A 19 3A 9A 74 C0 26 19 9 D5 6D E0 F1 2 A4 C8 56 55 6A 34 86 42 72 39 C8 E5 7C F5 E1 7C F9 39 5D EB 8B FE 48 EE 8D 4C B5 47 CE 74 D4 E5 7F 9F 87 81 D3 CE 84 42 3A 4 D 57 49 A9 6A 80 9C 1F 7D E5 17 5 95 7 1E 9B E5 82 14 74 14 18 13 EC 84 3E C4 A9 3A 50 3C C2 A6 91 9 CD A6 54 40 F9 98 4C E2 6 91 96 9C F7 98 14 9F 20 F3 E 9B 34 B9 A9 10 D0 39 88 59 B6 D7 86 F9 1F 70 7E 1E AF 6A EA 9E A5 1D 5D E5 D9 52 8A 38 7F 1F E4 EB FE DA 54 4C 15 7E 56 7B 5C 42 25 DA 3B 6C 
[ClientHandler] packet relayed to server
[ServerHandler] packet recieved -> size: 1487
[ServerHandler] packet relayed to client
[ServerHandler] packet recieved -> size: 80
[ServerHandler] packet relayed to client
shitboi is offline  
Old 01/06/2011, 13:16   #8
 
unknownone's Avatar
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 381
[ServerHandler] packet recieved -> size: 63
[ServerHandler] packet relayed to client

Can you dump the packet here if possible.

Packets after the first one sent by your client are not decrypting properly, not sure why that is exactly.
unknownone is offline  
Old 01/06/2011, 14:08   #9
 
elite*gold: 0
Join Date: Jun 2006
Posts: 457
Received Thanks: 67
Quote:
Originally Posted by unknownone View Post
[ServerHandler] packet recieved -> size: 63
[ServerHandler] packet relayed to client

Can you dump the packet here if possible.

Packets after the first one sent by your client are not decrypting properly, not sure why that is exactly.
Something weird is going on.. Occasionally i get dc'ed on the first client reply.
Here are my output together with the occasional error msg.

Code:
[ClientHandler] packet relayed to server
[ClientHandler] packet recieved -> size: 36
[ClientHandler] non-ecrypted  : 1C 0 1C 4 E4 FD 91 0 A0 2D 21 18 7C 0 45 6E 0 21 5C 2 44 37 0 0 A 0 0 0 54 51 43 6C 69 65 6E 74 
[ClientHandler] packet relayed to server
[ServerHandler] packet recieved -> size: 63
[ServerHandler] non-ecrypted  : 37 0 EC 3 FF FF FF 0 35 8 0 0 F9 1 0 0 0 0 0 0 0 0 0 0 4 6 53 59 53 54 45 4D 8 41 4C 4C 55 53 45 52 53 0 9 41 4E 53 57 45 52 5F 4F 4B 0 0 0 54 51 53 65 72 76 65 72 
[ServerHandler] packet relayed to client
[ServerHandler] packet recieved -> size: 1416
[ServerHandler] non-ecrypted  : 1A 39 D3 7E 9E 44 96 E0 E0 72 D1 15 25 56 71 E7 E AD D7 56 2A A6 AE E5 B6 63 7C E4 78 8E 2C F6 CA 27 E0 F8 A2 C8 E5 51 CB 6F CF 50 AE 3 72 53 9F 66 8 CA 9B 20 D7 3D E3 20 7C DF 52 1 4E AB 8E D4 E9 20 CA 3B 9B B4 A0 54 12 E7 ED E3 D1 E9 C8 89 3A 70 53 7 1 EC 0 9 37 FC 3A EA CD 57 DD 83 65 C9 CF FE 17 EE 28 B2 87 55 E 16 A6 6A BA ED ED F 43 8B 33 55 E0 E5 94 B5 6B 16 2F 3A 39 C8 B9 F1 B7 39 B1 DC 2 D4 CF C5 4D E0 DE 64 2E 5F D3 94 D6 80 46 3D 29 F6 FC 3E 6B 5A 8C FF 74 D4 62 CF 1F C7 32 9E 4E D3 4C 3C BC B8 C6 E5 B5 CA A4 19 98 F1 57 EB A9 61 D7 CA 42 47 31 21 5 40 94 76 22 9F 6E BE 6F 3B 6A 79 F6 2E 29 B0 A6 FE 1D 36 12 7B AD C3 D6 5A D1 76 9C F8 E8 21 A2 2C 54 61 FB EC 9A B7 96 2E 7E 24 73 D BF 7D BB E4 5B B CB 1D 59 E D4 43 99 C7 52 BB 57 8F D1 B 93 27 EF 76 D7 22 FF C3 5 BE 8B 5 29 D1 46 14 75 0 E3 11 8 CB 25 D0 EF 90 3E C2 90 F7 1A D2 BA 42 63 6B D7 1E 98 DC B9 2D EF 96 D0 F4 76 C6 11 51 4A F5 F9 6D DF F9 A1 E7 D5 13 F3 EF 5F 27 65 E6 3A A9 C8 96 A2 7D F2 16 EC 16 DE 5E 8D DD 24 60 BA 76 55 1E 40 93 36 B5 B 14 5F 20 41 EE 55 1C 58 8A 83 D6 6 6B 63 57 8D A2 BD 44 F8 A1 34 66 25 76 B0 D9 66 FA 98 51 E4 15 A8 39 E7 9B 3F 7 A1 22 81 79 1C F2 9B C9 79 B3 24 5C A9 23 E 0 50 61 3E 89 8C 56 E2 14 F1 E6 15 96 84 A3 80 22 63 FD C0 70 E9 74 27 3F DD 26 A 43 20 A5 25 94 8B DC 4E D8 F8 9A B3 8D A3 72 D4 59 C0 EE 9D 43 9B 4B 9E 12 1A BC 44 23 B0 B0 DE DB 6C 36 F9 B9 8D 48 3 87 D8 DC CB A0 B0 BB 41 25 AC 1E 7 33 8E 8B D5 83 CB 45 33 55 46 A5 F D8 51 7B 98 28 11 C5 F0 59 73 64 74 C3 DE BB 50 49 C0 DE C4 47 61 CD D4 E2 5F 92 D1 62 78 FA 24 5 9F 56 25 CD 51 1D EE 4B A3 E5 87 62 63 AA 1F 9D 48 2 5D A4 FD 95 2F FA BE 34 72 43 B4 E4 D7 4A FA E3 C6 55 FF 96 FD 90 B0 D4 2B AA 96 A4 D 27 59 5A C5 F7 7D AB 38 E7 1D A E8 86 91 AD 99 BE 41 B3 63 17 3B B3 F1 EA 82 FC 63 5A CA 52 D8 85 E2 E 46 A9 DD FC FE 25 6D C9 7C B2 1A 26 37 D9 8E 36 9A 2E 39 85 68 90 F 7E 19 FB 9D 97 E3 44 CF B1 AD C9 42 DD EA 9C E5 93 96 68 44 8B 70 6F D7 1A 53 32 9A 6 74 3D 3D C6 63 9C 35 13 AF 99 E4 CC 9B 68 D2 CF A6 C1 86 7E BE 79 D1 90 57 B1 ED B2 51 BE C0 DC 1C 17 6F 75 2E D8 E1 3E A6 3D 83 43 89 F6 41 4A 86 44 7A F 85 E6 C1 D FC CF 7C B2 5E 50 EF 55 97 BD EB B8 58 FB 3B 76 66 EF 6E 40 84 FB 96 AC 94 30 23 C 82 C3 6D 0 D0 69 FA E1 2C 5E BD F4 69 E5 4 F8 62 6A 4A 29 19 24 49 8D EB 6C 50 DA 84 F1 18 49 C3 36 FC D1 A9 F1 E 76 F5 89 DD 75 E9 5E 87 76 CD D2 AC 23 C6 B1 2F 56 29 53 E9 95 78 9 BB E4 E9 1D A0 F3 55 4C BD 88 78 25 A2 A2 69 F9 BB 60 71 C7 7 C7 B5 2A 67 58 65 8C 8A AC E8 A0 3A 1A 8A 61 65 4F 9A 29 91 1 B0 C5 E5 95 1B D5 DD E 49 20 40 86 2E 89 5D E E7 98 8 D3 3A 1C E8 7C 92 FE 7A D8 AD E2 DF B9 7D D4 FA F0 C6 76 98 C 31 92 30 65 6A 7B AA 11 2C C2 AB AD DA 54 77 7D 28 C1 E8 6D CB 2A F3 92 32 87 FB 38 3E 23 49 E5 E7 11 2 C1 D1 D4 61 E3 CA 55 E7 23 4A 97 3D E7 4F 9C A0 2C B0 EB FF CD BD 5 B9 C4 74 91 86 12 8A 89 E8 D1 C0 66 BC 40 77 15 83 7F 21 31 95 9E CB 6C 8C 2D 69 C5 76 1C B4 DE F 4E AB A7 E2 55 5A 6A D0 22 FA BA 3E 2E 11 F1 23 BF FD 89 6A 10 4 67 81 B4 C2 5E 8 F 7F 91 A5 40 80 50 7F 23 83 FC F 90 56 3E AF 98 2B E6 C7 C1 BA F8 3C 8F F3 8A 59 4C 38 9B B0 6C 12 3F 69 BC E8 2F AB 65 E1 47 29 41 C6 71 2E F3 9A 6 76 83 99 F2 7D 8A 2F D3 ED 7E 51 7C BC 11 73 1C B5 67 23 21 B6 F7 98 B1 F3 2D D4 25 E4 9E C3 44 E2 E2 A7 45 B3 5E 35 14 32 FC BE C6 95 F2 0 41 30 65 33 25 3D DB 63 6D 11 89 D0 25 60 B9 DF 45 44 48 E7 CD 42 74 B1 1A B3 99 99 2F 3A A6 6F 7E 57 FC C7 5 1A A0 B1 E4 71 6D 6C 70 40 C 6B CD BD 96 69 8F DF 93 7D DF 13 D4 D1 8E 38 ED EE 66 A AC D3 5 54 6C 42 ED 50 6E AE 6F DA 62 87 B0 3D E3 B4 EC DD A5 CD D9 A3 DC F4 5C 41 57 F2 2D ED B6 A3 D3 8 AC EB 86 9A 94 5C E A8 75 48 3B E0 AC 81 24 AB 99 89 50 90 1D AB B5 69 8A F8 44 38 82 FB AD 37 BB DA B9 78 BC 8 3C 5C F7 38 26 4F EC 7D FC B5 A2 4A 63 9 BA A1 81 31 27 CF 3E 78 DC 83 C 6E 45 33 32 42 1E 79 D3 FF 94 58 E7 53 57 73 8A 57 93 F9 A8 88 49 E1 97 14 7D 9C F6 BA C4 59 7D D1 20 A2 9B 46 74 4A 9B 4F 8 2 4E E3 70 B0 7C CE 5D 10 C4 D1 BE 16 F3 78 DD 34 A9 A3 E 2C CC 7E 68 62 70 A8 1C 67 E7 13 D7 82 E8 36 57 6 E5 9A 2D 51 9 4F 98 DE E2 3C A2 AA 8 D0 8 F2 42 31 86 E4 94 B3 CC 1F 73 D1 89 22 E7 FE 41 35 66 11 85 D5 C2 5E D1 AC 71 C4 DA 4D DF BD 32 9E 47 1 AE B2 2B DE FE 39 BA 61 2F 7 D6 AE 70 A6 C6 
[ServerHandler] packet relayed to client
[ServerHandler] packet recieved -> size: 101
[ServerHandler] non-ecrypted  : 78 66 4A 7F 0 66 8C D9 50 20 B9 60 7E 83 38 8 38 D1 2A 67 E9 19 46 AB 36 27 45 73 98 A9 19 56 B8 34 94 C5 3C 83 33 2 DC CB 5A C2 14 B5 6D D4 E 8C 1E 16 F8 EF 2F 78 30 24 56 73 42 9D 8D 19 77 6 0 DB DC A2 CF 76 11 FE 7C 4E A0 81 90 14 BA 11 73 3F 1C B E7 B2 BA BF 8C AA 3F BB 8B E8 62 E0 F3 3B 9C 
[ServerHandler] packet relayed to client
[ServerHandler] packet recieved -> size: 120
[ServerHandler] non-ecrypted  : 33 7D D6 5B 3A 20 55 FC F2 DF E4 F4 E5 8F 46 80 1D 15 E1 EA 8C AC D 2C C9 22 81 5B 66 D9 A0 3 4A E0 4A BB 16 6F D3 E6 A1 26 AD 35 C5 9D 82 A6 F8 75 5F CE D2 C E5 43 A2 C5 F4 D7 CA E0 25 2D 4A 70 ED E5 D0 6E 1D 9E D6 9C 29 79 56 9E DF B1 A9 94 1F 37 4A B5 37 94 4A 14 91 93 E0 5D 79 CD 67 B3 E4 2F 5C 37 97 45 2E 40 3D EE 91 70 46 36 7B A0 4A 36 8C 31 12 88 
[ServerHandler] Exception caught
java.net.SocketException: Software caused connection abort: socket write error
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:124)
        at GameService.run(GameService.java:86)
        at java.lang.Thread.run(Thread.java:662)
java.io.IOException: Stream closed.
        at java.net.PlainSocketImpl.available(PlainSocketImpl.java:434)
        at java.net.SocketInputStream.available(SocketInputStream.java:217)
        at GameService.run(GameService.java:98)
        at java.lang.Thread.run(Thread.java:662)
Something i probably should mention. Aside from the irregular dc's after replaying an changing number of packets, the packet sizes also varies alot. I am not sure what the problem is.


On other occasions, exceptions are not thrown, client simply gets dc'ed

Code:
[ClientHandler] packet relayed to server
[ClientHandler] packet recieved -> size: 36
[ClientHandler] non-ecrypted  : 1C 0 1C 4 E4 FD 91 0 F7 8 91 1B 7C 0 45 6E 0 21 5C 2 44 37 0 0 A 0 0 0 54 51 43 6C 69 65 6E 74 
[ClientHandler] packet relayed to server
[ServerHandler] packet recieved -> size: 63
[ServerHandler] non-ecrypted  : 37 0 EC 3 FF FF FF 0 35 8 0 0 FE 1 0 0 0 0 0 0 0 0 0 0 4 6 53 59 53 54 45 4D 8 41 4C 4C 55 53 45 52 53 0 9 41 4E 53 57 45 52 5F 4F 4B 0 0 0 54 51 53 65 72 76 65 72 
[ServerHandler] packet relayed to client
[ClientHandler] packet recieved -> size: 1844
[ClientHandler] non-ecrypted  : EB DC E4 B9 58 33 8A C5 0 80 CA DA 70 66 8B 8F 9D F2 B0 AC 35 F2 8A 37 DD C2 5E D2 76 6E FF 9F 6 24 0 4E F6 CA BE F2 CA BF F8 F A0 16 55 A3 DA 81 8D DB DE E5 90 75 AF C8 FA F3 3A 83 6C DD 65 FF 79 28 D7 A3 CE 92 F8 FD B9 68 55 34 E7 F8 1E 3D C0 E 3B 9 5A A0 15 7B A6 1D 68 6A 30 4D 6 EF C7 DA AA 9A 92 F1 4 4B B8 88 15 E9 DF 49 96 C9 4 12 DB 84 FA AA 87 9 1F 25 A4 CE EC 6 1 BF D0 8B FC BD AA 39 83 AD A7 29 7C 55 3D C0 27 F8 2 C6 8A E2 FC 57 5B 74 BD AC B5 B7 1E 2 42 36 BB E1 D3 C5 FA 8A 5B EC 20 DC B2 5C DE D4 35 3C 18 87 A3 EA 4 8D 6 2 98 D9 CE B5 D7 A6 6C 8A 4C 29 28 36 99 5D C2 C1 65 74 93 50 3A 22 E8 46 B0 AC 1D 15 F3 18 2D 3F 61 3F F7 10 EF 6A 4A B9 D6 27 EF E4 AD DA 4B 28 E5 1F D2 5B B3 7 3D E9 26 EC 16 6A 2 D8 88 FB F2 82 34 1E 4C 26 97 8 59 F7 CF F5 34 7C B 6C B2 6E 6B E5 23 2B AA 8 A2 E0 5C 95 F 67 BE DF 96 8 80 F3 B4 8 C7 AB 4B AB AE 21 D FD A2 53 F8 5D AE 6D 53 D8 A1 94 DF 59 A3 DF B9 4E F5 C6 CD E5 C1 1B E7 4 3C BC 11 BF CE C5 48 45 CA AD E5 1C 80 D5 7E 13 26 3 64 EE 26 C5 29 34 52 1A E6 D5 62 63 E0 E3 53 8 67 E6 B2 F7 9B DB 2A A4 5C 28 4D 99 1F C5 DA DD D9 3E 6A E 4 1A F4 B8 9E E1 AA 6E 55 45 0 1D AC 22 B2 A6 B9 A1 2B F9 4F F0 A1 B2 FB 9F 27 26 5A A3 16 73 99 4B 38 C2 92 F4 AA B5 E8 A0 C7 F1 A7 B7 87 EA 60 EB BF 2C 77 FC F3 E BD 82 B9 7B 80 4E 51 AB 93 B5 FB 0 98 E5 BD F1 B4 4F 9D C AE 5B 36 B5 12 23 FD 6E 1A BB 13 C9 6F 95 CE 32 7C E3 13 F1 66 B1 69 28 6 73 F8 59 A 42 C9 7D 21 98 74 AE E0 F1 98 1B CE 4A B8 50 E4 16 71 E4 C1 2B AF D 73 AC 43 C4 46 91 5E 8 85 8D 40 55 C 94 46 D9 63 27 F7 DC 6D B8 CE 4 16 77 7E 83 34 D1 E2 85 84 61 27 90 F4 BC 31 21 56 9E 7B 82 46 1C DD 31 7D 6B 5D 8D 59 71 E9 C5 EC 58 E3 DA 6B 55 A6 9C 86 70 DB CD 40 F2 8C FA AE 93 9A DC 56 CA 58 A 5D FB A7 B0 A8 E9 44 B2 72 C0 52 A2 23 32 E9 39 9F 75 3A 9F A4 63 CA 50 5 5B FC BD A9 97 18 7C D9 E3 E6 FF D2 DC 60 C0 DA 72 17 BE E3 93 DE F7 3F 7D 4 D4 E 25 AC E2 A4 D2 0 9E FD 9F 14 94 41 DB 1F EB 26 C CF CF 1C 6F 57 11 95 13 C6 76 A8 6C 5 30 9C 6 46 42 95 87 F4 50 92 15 89 47 9F 8B B6 5B BF 2 E6 E1 33 C8 A 2C 30 2D 1E 26 D6 1A 62 C9 C C0 BE AB D6 C1 9B E0 A7 E0 9A 8B F5 FF 4E D1 EE ED FC 87 F0 8C F9 64 55 92 64 CF BD C5 41 F8 3 3E F5 8C 11 1E 26 D 50 7A 23 49 9E 2D 1C A3 9E 94 8F A2 D5 90 50 3 5C 3F B0 B2 50 61 59 9 C7 D B4 A6 1E 84 8D 52 94 10 E0 82 1D 98 AC F9 BA 9C 68 32 A6 51 BF 7B 19 AA 61 C2 B4 82 7B 87 F 7F 17 DE A8 97 98 2A F E8 93 87 80 C7 B6 67 AC 39 D4 35 49 8D F1 6 7E D7 4 52 17 BD 15 7E B7 95 27 16 4A 7 8A FC F3 AF 4B F4 97 E6 68 AE D7 FF 87 82 4C 68 45 2D A5 84 75 CC D3 8 89 2E 5E 59 96 C2 2F AD 1A B1 47 30 3C 95 32 23 6 A4 74 A3 B4 2F 40 37 94 E 47 D0 CE A7 EF 6F C D9 10 4 DA 54 F8 80 23 D6 29 9B 8B B4 CE A1 88 D2 70 C8 3 EE 8F 80 42 2 76 F2 D3 97 ED B4 57 7B E0 86 3E 8D 14 AF 9E 40 E7 55 34 7E B3 11 B3 3D B3 39 6E 36 27 FD 3A 60 18 87 FE 83 F6 1A CA 5A F2 50 BE AD 99 49 DD BD 9B E9 E 3B F2 BF 4A 79 33 6B D5 75 A5 30 F A4 C2 E2 3D 0 CD CF 80 5D 87 8E AB 41 21 19 A8 24 49 1F 34 13 EA 1 91 B 54 EA 32 AC 4D 6A 4 B2 E4 F2 FD 9D AA 41 23 A3 0 96 3A 71 E9 3B D8 50 6C 44 1D E7 A8 47 3 15 AB 95 A1 74 93 6A AD A4 95 14 68 4 61 4B 0 D7 2B 26 D4 51 EA F9 E4 2A C1 55 9F 3F AB 2 31 7D B6 1E 20 CA 1C 8D F3 B5 8A 11 5D DA 7C DB D 90 77 64 AB 3A 5B CC 70 2C 56 43 72 E3 CF 93 99 9F 86 78 15 2 AF 59 89 EE ED 5C D6 1D B8 90 52 5B 33 66 CE 6E 6B 81 21 3F A5 12 94 24 6E F2 BF 4D DF 45 29 9D C2 A4 A0 FC E0 44 77 3 F1 BE 99 8A 49 23 4 6 66 1C 20 47 D 59 A9 DD B9 DF 55 2C EF 83 FE C3 5 40 96 B1 80 EC 9F 51 AA 33 7F 3B 50 8F 6D 87 B7 D2 C3 1C 9A B8 9C B 87 6A 60 F3 64 17 17 B9 A9 FA 42 55 AB 0 22 4A 71 1C B5 58 D7 F1 6B A0 E4 30 1 E4 7F B5 FB 5F 5D 36 D 30 7D FD 1E B9 CD 53 D5 71 DD 5D 45 40 B7 A5 55 61 1D C8 3E DB 42 DB 2C 8B D4 4 43 21 AA D2 AB 75 FB F7 19 D6 F 8F 27 E5 C 89 D9 AC D5 D8 84 93 30 CB C9 66 35 C2 C9 62 D3 D B0 33 3 87 E 23 17 4B 17 71 54 13 A9 6B C1 44 E DE 9E 3E D2 FA E8 93 B6 A7 5A D4 34 7F B0 A2 8F D2 CE 85 20 29 6C 8B C1 A9 B4 36 BE A0 D4 66 ED 70 53 CF 2B D6 68 FC 46 4E 1E 41 5E 54 B8 D0 57 F6 52 25 9E 71 E1 14 AC B5 CC 63 3B B3 C2 60 11 C5 C3 40 5A 20 E5 D5 53 46 90 CE 3C D5 EE 49 C0 9E AD DF ED CE 89 14 90 74 16 47 37 6E E0 F6 FC A1 9E 10 8D B0 49 6B C 1F D1 CB D4 FF A7 E1 BA B7 B2 6B 93 83 24 95 50 53 AB 7F 82 9D C8 6 91 6D 99 40 81 99 79 84 AF D0 DE D1 4B 3B 6 A4 91 AA 35 3 DB DC 32 BC A4 7C 17 1F B7 A1 BF E1 8B 14 2A C0 35 49 14 31 6A 8C FA D4 80 78 E8 AA 3D 21 4E 6 D5 E4 26 94 C1 B4 60 8E EE 6E 9D BB EA 7E 2A 7 10 54 4B D6 17 E3 88 79 41 A4 19 69 9D FA 6E D4 BA 9A 8B C3 44 6 97 79 23 37 A7 A0 72 DD 49 96 84 C4 B7 76 F2 52 FA 50 41 2B E3 7E 81 EA AC 99 6C D9 CB 4B 8E 32 11 0 4C 1F 42 27 E5 5A 2D 95 1F 6D 6 7E 4B C8 F0 F6 2F AB D1 F5 E3 98 EC 8D E8 AD 2F ED 32 F0 7B 48 C1 FA 24 24 D 1A 88 AA 33 66 15 45 3A 3 C1 1E 10 87 B9 B1 34 F6 9F C2 AF E7 4F 95 FF 88 5B 12 46 4E B9 CC A1 79 E5 5D 6D 42 0 1C 79 7 F8 F7 59 A BA BF D1 92 B2 D5 C1 7 67 16 62 2 EC B1 B3 FF 15 92 42 9 67 F4 CD 12 39 E7 E0 28 4 AF 6D 53 57 21 1B F3 DC 48 6F E1 8A 27 A6 DB 2 C1 63 56 48 6F 68 E6 36 4 9E 98 B0 58 82 47 46 73 C8 92 EE 37 E 12 F A6 9F D4 E5 2C 71 E9 41 A0 22 C8 D6 B7 BA BF 77 92 4E 84 0 8D 31 91 5 FF 7A 1E 12 EF 26 37 85 46 E3 C7 CE B B 95 1F 38 C2 D4 D1 61 54 61 4A FC 6 16 5 15 67 E4 F7 B9 9 59 29 BF 39 C8 51 33 DD B4 BC 45 14 C0 E1 FA D4 88 6E EE 2B A7 89 3 E0 C6 48 63 DA EA F1 9A A1 8A AB C0 FB DD 1D 8 48 F9 5A 49 8B A2 6C 53 5C F4 9F EB 3A DD 7 F6 E1 B2 51 CD 56 EE E1 C9 2F 14 8 38 C3 9C C7 16 38 D0 48 A2 5E 10 B0 0 25 43 EA F9 
[ClientHandler] packet relayed to server
[ServerHandler] packet recieved -> size: 1368
[ServerHandler] non-ecrypted  : 81 4E A8 5 D8 29 86 D6 5F 1F FE 9B B5 D0 BE EC AC 2F 56 84 AD 9C 1D EE 5C DE 85 52 14 6B A6 3E FB 8D 3C 48 21 DE B3 67 68 F0 24 98 36 D2 12 69 EC BE 98 4E 70 FD 8A 66 24 E0 B6 4A AA 5A 73 32 70 D2 0 A4 DC EB 8E 5B 72 1D 9D 66 E5 87 17 18 7D 44 F2 F5 77 B7 FF D2 DC F7 17 6B CC 6B D0 B7 43 19 72 98 56 21 A1 D2 2E E8 B3 16 CC B3 E1 AA B7 65 27 4D E4 47 C4 67 6B A6 6F 63 C4 C7 E1 31 63 72 C5 47 AD 8B 4D 4D B7 9F 25 DB 73 A C4 29 A7 2 D8 6B A4 73 61 E5 D1 E2 10 A2 3B BB DF 1A 57 3F 45 28 DD C6 DC E4 B5 21 8C C 47 25 5E 6C 86 75 C8 41 3B 28 74 37 9E 78 DA 5F 9E 18 B1 30 44 FD D 84 CA 6E 67 D2 2A D6 60 81 89 DD 6A BE 9E A9 4B A7 8D 5D 17 D4 3C 58 D0 9A 96 F6 78 5D 85 70 70 7D DF EC 1B BD D6 36 1D 50 DF 5D 7 12 C6 F9 26 29 CE C 85 22 53 64 14 83 A3 85 A7 C2 E1 AD 11 A7 64 35 66 2D 27 EE B ED E9 94 72 77 64 4E 9 91 D9 A7 3 3A 90 6F 7C 4F 3F D2 FB 8 6 53 B0 66 29 96 7C 3F 21 67 31 DA 4 4B 6 E2 E8 DD 6E 8C E5 DF 2C B5 8E 96 C0 C2 91 1C 92 5F 3E 33 55 71 9E 9C 41 6E 22 BD 0 D8 9F D8 89 57 5B 9C 3D F8 C3 B6 AD 2C FB 5D 8 A0 BC FF D7 6A D5 57 EA CA 6F 5B A1 9B EB EA D4 7E 23 85 3B 12 D3 83 8F 8F B A5 70 27 BE 9 3C 13 85 58 17 2A AA BA 92 F3 73 64 64 2F CA D8 A9 D2 E2 81 1F 6E E0 77 CD 9C 1D 5A C9 3E 32 11 CD FD B1 97 1 B4 16 36 C6 3A 65 AE 4B B1 2C 5B 8E CC 13 D2 E2 DE F3 F9 E4 5F 81 31 6A CB 61 4 94 17 A1 75 34 99 27 E1 65 BC 3A 1B 63 9C 7B A6 34 78 A 39 56 40 D1 56 D6 E8 B4 B6 93 C7 79 A1 B6 77 A 2 E7 6D D 64 32 CA 60 C3 9 DA F2 E0 7E 7C E8 8D 51 14 5D 95 60 ED DC 10 82 20 61 87 48 FA F9 93 84 6A 47 19 97 85 79 2E 9E 32 62 24 AB F9 53 89 5D 23 E1 4D 93 A5 90 4E E3 9A 11 A3 70 6F 9C 76 8 73 2D BF C0 1F AD 25 1 82 A6 62 C9 6C 9C D5 CC 99 AD 3 B5 B1 AE 1B 7F 91 9D 40 4D F5 53 2E E9 A8 17 A2 F4 9E 7F DC 50 24 F0 21 2 C 8 5A DF F5 1A 27 73 7A 16 FB 6B CA B7 5A 91 D4 4A 96 65 EF 85 80 8F B8 67 CB 23 67 24 BE 9A 35 D0 A8 FF AB 86 BC 3C 7C E1 9C 98 D4 B6 8F F4 54 F4 AC 84 77 4F AC F6 5E C3 29 88 85 95 8D DF B0 5E 8B 14 A9 15 74 FF 6B F6 39 3 64 E7 F6 3B 9F 24 C6 59 5E E8 13 5F ED B7 94 D5 6C 20 F0 50 FF DF FF 0 3A FD EA AB 6B EB 4D 34 7B F4 CE 16 53 D9 BD E7 C3 63 6B 90 46 83 46 14 F4 49 36 27 28 51 7B AE A0 EA 28 B6 7C E4 57 B9 39 C3 DC EC 52 40 82 B6 BC AA 17 42 2A 11 65 BE 88 2F 34 20 E5 3 E1 4B 96 33 95 FE 96 1C 9F 8C 8F A1 AB 5A DC 88 EF E6 BB B7 B1 AF F5 A5 A0 97 80 5B 68 BF AF D9 E AF AE E4 F1 52 7E E4 7C 34 C2 95 82 AB 38 8 3B D0 23 CB BE 60 8B EF 86 E2 B0 AC 25 45 5C 2D 2D 79 5A 8A 9 E1 58 62 40 7F 42 83 50 9A CA CD 3A 3D D7 57 1E 56 7D 7F F2 24 F C3 A5 5C 5B 5C 82 2D 95 AD EB DF D2 D4 FF 22 9F 59 5D 89 4 8D 34 12 E9 11 EC 72 57 D9 33 F3 EE 1D 87 6F 7F 92 71 BF E2 3D 53 79 2A 62 46 DF EA DA FD 96 1B F7 BA D2 49 AE 49 91 84 D0 A3 9 43 EF 85 E4 5F EB D9 2C B5 DE E3 BE C9 D F5 D6 E3 DC F7 B7 91 92 A2 EC A6 AF 35 C0 5 29 68 BD E9 7B 4E 70 85 67 AB F5 28 56 92 28 6D FA 97 12 EE FA E4 BE AC 29 6 5B DC 9E 20 7C 98 89 5E 2A 49 D2 FB 73 94 59 52 5E A 32 69 5 4C 9 8 2A 87 B5 1F 4A 2F A FA 68 9D 8 E8 D4 12 87 EA 83 47 66 D1 8E 90 ED FE 79 DF 6D 5E C3 DF 8 A6 D6 2 BB 3F 9C 53 38 D2 82 74 E8 8E 4B 5B 9 D9 B8 72 88 2D C4 A4 E5 F1 D1 8 BC DE D2 60 8C 3D EB C7 AE 12 B 88 EE B9 88 82 59 5 4F 96 3B 19 44 A8 5F 3 B5 D2 56 A8 7E D1 52 FE BB B1 8C BC AE D A7 C1 F4 46 A6 EC B4 B4 6C 4F 6D A2 90 D9 1B AC 29 DA 3 45 1F F2 30 55 26 C4 67 B9 B2 7A 85 C1 7F 95 D0 D9 82 63 B A1 3A FC 98 26 5B 2A D5 48 C0 D5 52 69 CA 88 A2 7F 52 E 9D DF 88 2E 68 CE 60 65 F 13 69 82 70 CA 4D 79 6F B8 52 9C 1D 3 FC A8 CF 5B E1 6D 3C CC 17 BF 3D EF 12 81 EC EF 95 8A B0 EE C6 BE 4D 9B B3 EF F3 3B 19 59 5D 78 F7 2B 38 80 6A 0 17 15 FE F 50 B4 BA EA D6 9C 9 4D 68 3A 87 A6 B CC 6A 8F 2B 83 BA FC 7A 12 56 AF F4 44 D6 79 BF BB C7 58 DF AF 8 D6 37 F2 8D E7 66 9C 76 AE 6D 13 F4 97 84 85 D4 E5 FB 9D 10 60 60 DC EF 24 A1 D0 87 36 DA 26 78 6B D4 49 94 EB 3B 17 C3 7E 45 4E C7 37 64 FE 79 20 A9 28 A8 C4 11 63 AB 9E 5C F9 A9 A1 7F 5 49 30 E7 A0 36 42 CA 5B AC FD 91 C3 82 63 24 1 E F4 93 B5 47 1B 7E 8D FF CE F7 B5 BF 9A ED 3F B3 30 55 E2 92 57 9E 61 A9 8 D0 D1 93 66 42 54 3E 9A 46 F8 5D 4 2A B7 82 D1 0 28 10 AA E0 26 91 73 82 4 
[ServerHandler] packet relayed to client
[ServerHandler] packet recieved -> size: 37
[ServerHandler] non-ecrypted  : CB E8 BE A9 FC F7 26 9 B7 DD 71 C2 3C C6 FE 87 A8 90 7F 83 48 9E CA E7 ED 38 30 10 8B 34 B5 72 D1 E2 2E 77 F8 
[ServerHandler] packet relayed to client
[ServerHandler] packet recieved -> size: 112
[ServerHandler] non-ecrypted  : 1F D6 9B 21 67 15 C4 EA 3A 7B 16 8D A5 53 CB 9A 3D 70 1B F 94 D4 15 CC 47 1D 83 69 39 26 80 3B 99 90 FF 8E A5 13 5B 72 42 F7 AA B2 7F 97 71 CE 80 2A 9E 5D 60 96 BC F1 3F 53 20 D4 9E 32 EC 1B C0 13 44 FB EE E5 DF 0 B3 8 A0 CC 5E 59 D8 47 3 51 F3 C6 72 D8 A B7 4E 64 BB 52 A8 3F 51 CE 37 5E BE F4 8B F1 64 95 C B0 93 E7 CD B4 FD D8 
[ServerHandler] packet relayed to client
BUILD STOPPED (total time: 1 minute 10 seconds)
shitboi is offline  
Old 01/06/2011, 14:22   #10
 
unknownone's Avatar
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 381
Both your client and server are decrypting incorrectly after the first packet from each. I can't really tell why that is from the information I have.

Do you have your code on a repo I can browse round?

I normally ask people to upload to somewhere like . If you can open a repo and add me as a reader (name unknownone on bitbucket.) Might be able to pick out problems in your code. Also if I get the time, I'll pull the code and test it out.
unknownone is offline  
Old 01/06/2011, 14:35   #11
 
elite*gold: 0
Join Date: Jan 2011
Posts: 6
Received Thanks: 0
Hi all, (to shitboi its ed here).
Hopping in this topic, hope its ok with the op.

I think im in the same state as shitboi.

The first packets from client and server after DH Exchange are decrypted correctly. Then the second packet from server is badly decrypted and the client dc/crashes (returns to login screen, but its unusable, the enter button won't work).

Sometimes after that i continue receiving packets from the server, and some packets i can decrypt.

Here is an example (side note: i don't think that the 1460bytes packet received from server is the complete packet):
Code:
Client(36): size = 28 type = 1052
1C 00 1C 04 0D 56 AE 00 4A 50 E9 07 7C 00 45 6E       .....V..JP..|.En
08 00 27 00 60 01 00 00 0A 00 00 00 54 51 43 6C       ..'.`.......TQCl
69 65 6E 74                                           ient

Server(63): size = 55 type = 1004
37 00 EC 03 FF FF FF 00 35 08 00 00 F5 01 00 00       7.......5.......
00 00 00 00 00 00 00 00 04 06 53 59 53 54 45 4D       ..........SYSTEM
08 41 4C 4C 55 53 45 52 53 00 09 41 4E 53 57 45       .ALLUSERS..ANSWE
52 5F 4F 4B 00 00 00 54 51 53 65 72 76 65 72          R_OK...TQServer

Server(1460): size = 64579 type = 58036
43 FC B4 E2 74 73 4E A3 A2 B1 8D 4F 0F C2 14 3E       C...tsN....O...>
FB 67 65 69 6A 72 9D 1A 89 A4 83 7F 66 7C 99 51       .geijr......f|.Q
47 B3 3B B5 4B F9 5C EA 3B CA C9 14 EC 2C A3 B9       G.;.K.\.;....,..
1E 49 73 1D 3B 90 A5 5B 35 43 1D B8 1D 50 DF 63       .Is.;..[5C...P.c
84 41 0E 26 89 8D 88 AB B6 11 0A 95 F8 72 62 6B       .A.&.........rbk
EA 85 E2 F0 C0 2D 14 06 E2 08 8D E2 92 26 C4 4A       .....-.......&.J
8E EA D5 3F 0C C9 39 29 EC 16 C9 D7 18 04 4E 1C       ...?..9)......N.
1C 59 30 17 92 E3 FB 9B 9A 25 03 24 64 2F 5A 78       .Y0......%.$d/Zx
4E 90 B8 8C BC 78 49 00 21 EE 61 BB D8 AB 8C 1D       N....xI.!.a.....
3C 66 D2 91 B6 FD DA 89 F5 FE EB 91 6D AE 73 15       <f..........m.s.
36 18 CB F3 5B 75 51 82 2C B0 DC 0E 41 BF 6F 5F       6...[uQ.,...A.o_
DD DF 55 5A 64 CE 27 50 AB 57 61 0C AD ED 9F 60       ..UZd.'P.Wa....`
D5 FD 25 EC 08 E6 27 02 3B E1 C4 06 69 CB 00 02       ..%...'.;...i...
00 A7 B1 02 31 B3 B3 BE 30 ED 03 11 C2 DC 55 D2       ....1...0.....U.
72 24 2F 7F 11 F4 BB 2A AD 75 A9 D8 B5 6B D3 16       r$/....*.u...k..
11 F9 12 5A B7 6B AA 45 7B B8 37 F7 08 74 03 4B       ...Z.k.E{.7..t.K
48 07 86 8E 95 2F 69 D2 FC 42 52 C4 CB F7 AD AD       H..../i..BR.....
3C 69 AF 04 48 E1 6D B1 63 6A 1B E4 B6 AD 97 4A       <i..H.m.cj.....J
B2 55 B5 19 F1 3F C6 33 CC F6 DE 32 16 77 56 6D       .U...?.3...2.wVm
27 C3 82 EE 51 BC 4D 02 FE F3 CD 57 AD FE 0F 1A       '...Q.M....W....
0E 5C 92 EA 36 14 8A 08 84 D9 54 32 FF 73 91 38       .\..6.....T2.s.8
C5 EF 5E 81 7C F8 7A 3E A2 F4 A8 7C 0F F2 93 F8       ..^.|.z>...|....
DB 1F E4 49 91 F3 B8 FC 55 31 68 37 09 BD EB DE       ...I....U1h7....
B8 7E C8 64 64 BB C5 D9 EC 17 74 0A DA FB EC 28       .~.dd.....t....(
F7 52 0B E1 E6 BB C0 E8 EC 03 B1 2E 4C AB 7F B1       .R..........L...
96 85 E6 D8 E7 C8 E5 7C B6 56 75 D8 98 60 CA CA       .......|.Vu..`..
AC 7C D6 17 11 36 25 AD F3 DB E9 19 09 F3 1C 56       .|...6%........V
C5 35 67 32 DC F2 82 97 96 29 BB 91 6B 03 BE BF       .5g2.....)..k...
6C 5A 9C B5 9D 4B 80 54 48 4D BE 31 0B 0B 14 B1       lZ...K.THM.1....
9E 0D E8 70 B5 9A E1 4C 27 FA 21 87 83 27 C6 18       ...p...L'.!..'..
91 AA 07 44 EA 2F EB BB DD 9C 5F DC 1F F4 4B 4F       ...D./...._...KO
D3 7C CC 9E 1E 14 D6 F2 36 EE E9 3D FD 7A 7D B1       .|......6..=.z}.
05 92 D2 74 E4 E4 A5 67 75 FF EE 3D 8F 0A 20 1B       ...t...gu..=.. .
B1 DD B6 86 A9 08 10 76 43 02 FD 4A DA 24 44 1A       .......vC..J.$D.
E2 19 34 61 A6 1E EE F2 E1 4E 4B 23 AD E1 84 2A       ..4a.....NK#...*
BE 3D 1A 02 DB E3 DF 28 0F B1 08 EF 99 1E 1F F2       .=.....(........
99 5B A7 EB 60 51 9A 9D 21 17 F0 89 A5 8E 3B 3B       .[..`Q..!.....;;
25 8F 7E A0 5B 26 A4 FF B3 33 FC 0C E9 AA 4E 2C       %.~.[&...3....N,
15 F1 FF 75 72 DB AC 08 AF 64 07 99 C1 D4 E0 E8       ...ur....d......
CC A4 79 7C 11 A8 94 98 9A E9 8A BE 7A CE 01 07       ..y|........z...
68 AA 4B BA CA FA 02 A2 92 4B C5 63 B2 86 1A F3       h.K......K.c....
81 17 73 75 BB F1 D6 45 C6 B4 53 F1 29 E8 44 43       ..su...E..S.).DC
1B B3 FC C9 19 74 6F 42 E5 22 88 87 0D BF E6 88       .....toB."......
9A 77 0D A3 69 D7 77 B1 63 02 D0 50 BE 4C 9C B0       .w..i.w.c..P.L..
2A 34 FE A1 2E 22 47 1C 88 B9 E0 2E 96 79 13 58       *4..."G......y.X
34 A1 33 0D A5 5A 23 30 81 83 77 86 20 92 99 45       4.3..Z#0..w. ..E
75 5F 4C 2C 65 F9 F1 DB 68 78 87 0A 12 58 93 B6       u_L,e...hx...X..
2C 9D D9 D8 75 D1 A4 A3 99 30 F9 2A 5C 01 67 68       ,...u....0.*\.gh
96 67 E3 03 5B 25 20 F1 B8 2B 8C C0 DD 19 B9 C5       .g..[% ..+......
72 79 9B 18 1F E4 60 52 B9 0F 5B 1A 42 25 BD 2A       ry....`R..[.B%.*
D8 43 F6 34 CE F6 35 6D 54 18 66 7B C7 2D 63 36       .C.4..5mT.f{.-c6
13 2B 6B 8E 02 C8 7C D7 DE 89 7E 1E 33 41 70 94       .+k...|...~.3Ap.
65 A3 64 19 FD 6D 8B C9 6C AD E6 8C 4D E3 E9 E2       e.d..m..l...M...
B8 84 AF 1A C3 8E 18 FC 0C 5D DB 13 8C 78 84 7E       .........]...x.~
C7 E8 61 31 FA 92 72 66 08 66 90 DE D2 4F 11 52       ..a1..rf.f...O.R
A5 F1 33 22 2E 23 8F 5F C8 92 FF A2 26 F7 71 A3       ..3".#._....&.q.
10 F8 1B 67 10 3E EA 05 7E DF 29 A8 B4 D6 6F B7       ...g.>..~.)...o.
AE 5F B3 A5 FA 4C 0C F7 8F 35 0F 1B D3 8C E8 86       ._...L...5......
88 D9 C6 76 E9 D9 56 38 60 2F AF 0D 90 4E 12 10       ...v..V8`/...N..
CA 5D 2F 8F DD EF 33 74 DA EF 67 04 11 6E E1 97       .]/...3t..g..n..
F9 E1 E2 EC 55 15 8B 8C 4F 0C 5E A4 E6 45 4F A1       ....U...O.^..EO.
75 52 82 3C EB 37 EA B6 CA 41 66 BC 4B 89 FC AA       uR.<.7...Af.K...
1A 3D 9D EF B6 80 83 84 13 B4 0B 2C E9 61 EB 00       .=.........,.a..
B8 D0 DC 94 BF 14 7A CA 22 D1 DF 2F 8D 0A EB 4F       ......z."../...O
68 8D 90 70 60 6A 3C 17 5A 22 A5 8E 5F 58 05 3F       h..p`j<.Z".._X.?
0E 50 C6 83 A9 BE 1A C1 2E CE 2F 6E 23 1F 1F 99       .P......../n#...
CE B8 8C D1 94 20 4F 1F E4 C6 1C 7C B4 2A E8 5A       ..... O....|.*.Z
D9 DA 12 32 E7 F0 3C 36 5A 23 44 2D F6 83 D2 28       ...2..<6Z#D-...(
1D 64 33 D4 A9 3D C8 E2 55 A4 D2 26 65 87 57 BC       .d3..=..U..&e.W.
27 A1 1E 49 EF 29 79 AE D9 45 17 6E ED 65 39 D9       '..I.)y..E.n.e9.
70 37 62 F2 74 41 20 D6 D7 60 D4 DB 96 B9 9E 66       p7b.tA ..`.....f
95 90 6D 26 ED 28 27 BC 7F 3F 02 EF 2F E8 E9 2B       ..m&.('..?../..+
E3 D9 A5 57 29 AB 0B 6B 8C 1B 5C BF C1 42 9F 4A       ...W)..k..\..B.J
47 1B 6A 29 DA 90 07 2F 88 7F 3C 9A E4 6D 10 8C       G.j).../..<..m..
E5 FF 8B BA 33 2F 89 F6 60 AC 9C 71 1E F7 37 03       ....3/..`..q..7.
77 5D E9 25 3D 70 79 51 71 0D 76 E4 6A 87 4A D8       w].%=pyQq.v.j.J.
70 19 7D E1 EA 18 5B 86 0F 52 E0 46 EE 7E 59 95       p.}...[..R.F.~Y.
6D 7A 39 AC 9A B8 D9 E6 40 49 32 48 CA 9B 77 14       [email protected].
1B D1 B8 19 2C D7 BB 49 5D 03 2A CE FC A1 49 2A       ....,..I].*...I*
14 CC F6 93 A7 38 8B 6F E3 68 5E D6 4A 21 78 B5       .....8.o.h^.J!x.
01 A4 9C 6C DB 42 AB BD 36 C6 D2 52 EA CB 50 D7       ...l.B..6..R..P.
17 9D DF 6F AB C0 91 70 03 DC 15 87 58 F7 3E 35       ...o...p....X.>5
B5 78 88 CE FB 90 78 63 79 09 18 7F 0E 84 2B 1B       .x....xcy.....+.
35 90 9D 3A 72 15 3A B6 54 97 A8 C1 CA AD 83 92       5..:r.:.T.......
B1 6A D8 A2 4A 63 20 6F B4 90 41 97 5E 92 40 23       .j..Jc o..A.^.@#
9C EA F3 E5 5F C8 F1 D3 90 44 C4 98 F6 D9 0F 2E       ...._....D......
92 14 80 F4 19 37 F8 D5 12 5A 77 1B F0 8C 54 BD       .....7...Zw...T.
D9 73 3B 32 B8 79 7C 0F BF 8F E4 E3 86 43 5D E7       .s;2.y|......C].
81 1B D1 53 94 B4 07 F9 CF 6A 84 B1 73 50 28 8D       ...S.....j..sP(.
5B 92 78 14 90 DC E4 B3 2C F1 B0 CF 2D 1E 9E 65       [.x.....,...-..e
48 0D A3 CE DC 1D 48 70 CA FB 43 BD 57 BF 36 3B       H.....Hp..C.W.6;
55 89 49 FA                                           U.I.

Server(77): size = 60372 type = 22078
D4 EB 3E 56 F0 D9 31 42 E3 EB E1 64 82 9C D1 42       ..>V..1B...d...B
D1 1F 74 5C A0 E1 37 69 1E 65 02 3F 35 32 13 D8       ..t\..7i.e.?52..
1A BC B0 A5 88 F4 28 63 3C BB 21 0E 25 2E BA E6       ......(c<.!.%...
58 06 19 F3 D6 C9 A2 A4 2A E4 84 CF 73 44 FF 04       X.......*...sD..
24 0D 5F ED 06 48 90 F4 8D 40 E5 A6 4E                [email protected]

Server(73): size = 59054 type = 58729
AE E6 69 E5 B6 C2 22 7D D0 07 00 00 F5 01 00 00       ..i..."}........
00 00 00 00 00 00 00 00 04 06 53 59 53 54 45 4D       ..........SYSTEM
06 53 68 65 6E 65 61 00 15 45 6E 6A 6F 79 20 43       .Shenea..Enjoy C
6F 6E 71 75 65 72 20 4F 6E 6C 69 6E 65 2E 00 00       onquer Online...
00 54 51 53 65 72 76 65 72                            .TQServer

Server(79): size = 65496 type = 45357
D8 FF 2D B1 69 00 79 ED 2B BF CA 19 A3 7D 52 5B       ..-.i.y.+....}R[
09 F4 FF 33 F6 82 54 4F 5C 6B 23 8F 71 4B 61 59       ...3..TO\k#.qKaY
D2 CA B3 C4 9A FB 62 11 29 32 8A DF 9E 2C 95 22       ......b.)2...,."
D6 51 DA 6D 5F E1 53 F7 A4 DD D6 42 1F 15 54 0F       .Q.m_.S....B..T.
10 D9 D9 4A 75 A0 75 53 E6 C8 91 9B 6B 66 18          ...Ju.uS....kf.

Server(80): size = 27488 type = 34770
60 6B D2 87 22 4F 52 FC 02 00 00 00 FF FF FF FF       `k.."OR.........
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00       ................
08 00 00 00 06 00 00 00 00 00 00 00 00 00 00 00       ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00       ................
00 00 00 00 00 00 00 00 54 51 53 65 72 76 65 72       ........TQServer

Server(80): size = 72 type = 10017
48 00 21 27 5B A0 1F 00 02 00 00 00 FF FF FF FF       H.!'[...........
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00       ................
08 00 00 00 09 00 00 00 00 00 00 00 00 00 00 00       ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00       ................
00 00 00 00 00 00 00 00 54 51 53 65 72 76 65 72       ........TQServer

Server(155): size = 147 type = 1004
93 00 EC 03 00 FF FF 00 E6 07 00 00 F5 01 00 00       ................
00 00 00 00 00 00 00 00 04 06 53 59 53 54 45 4D       ..........SYSTEM
08 41 4C 4C 55 53 45 52 53 00 61 21 66 41 74 49       .ALLUSERS.a!fAtI
4D 61 21 20 68 61 73 20 64 65 66 65 61 74 65 64       Ma! has defeated
20 28 47 68 6F 73 74 4D 61 6B 65 72 5A 29 20 4B        (GhostMakerZ) K
69 63 6B 6E 41 72 73 65 7E 20 69 6E 20 74 68 65       icknArse~ in the
20 51 75 61 6C 69 66 69 65 72 2C 20 61 6E 64 20        Qualifier, and 
69 73 20 63 75 72 72 65 6E 74 6C 79 20 72 61 6E       is currently ran
6B 65 64 20 20 4E 6F 2E 20 32 32 21 00 00 00 00       ked  No. 22!....
00 00 00 54 51 53 65 72 76 65 72                      ...TQServer

Server(80): size = 65457 type = 53148
B1 FF 9C CF B7 6B C0 DC 93 68 36 8D BD DF B8 66       .....k...h6....f
09 8A 03 21 77 6A 07 C2 87 4E 34 6D B0 89 9F 26       ...!wj...N4m...&
2D F5 48 A0 0C 33 92 BA BC 08 B2 C3 1B 90 DE 21       -.H..3.........!
B0 7C 9B EA D3 53 59 3F 08 EE 13 C9 C2 C9 DB F8       .|...SY?........
01 68 EF 93 B3 87 86 BB FE 83 22 55 05 82 CD 08       .h........"U....

Server(80): size = 12247 type = 7891
D7 2F D3 1E BC BE F3 02 8D F6 E4 1C 75 89 1C 42       ./..........u..B
9B 9B EB 1D CE 95 2E 56 F4 96 40 4E 28 E5 18 A9       .......V..@N(...
78 00 9F CE B8 29 EA DE 93 8B 2F 70 7E BF 3A 8B       x....)..../p~.:.
2F 96 1F 33 7D 55 0C 52 41 8C 8E 35 04 12 74 24       /..3}U.RA..5..t$
E8 E4 4C 57 B0 6F A3 C6 61 98 E1 85 27 57 FF C4       ..LW.o..a...'W..

Server(80): size = 37574 type = 64611
C6 92 63 FC E8 CA 87 98 42 D9 EE 6A 34 99 0B 1B       ..c.....B..j4...
8F 78 4E 38 84 A2 68 93 D5 CF 6A 7B B1 06 A0 31       .xN8..h...j{...1
4B C0 73 BF E5 37 9B 90 6A 96 7D 34 F1 23 FA FA       K.s..7..j.}4.#..
7B F2 BD 69 80 5A 5C 98 D7 81 4E F2 52 A0 21 FD       {..i.Z\...N.R.!.
DF E0 E9 AA 7E CC 21 52 80 8E BB E1 B9 C9 29 6F       ....~.!R......)o

Server(80): size = 56134 type = 27288
46 DB 98 6A 77 F2 B1 4D CD D2 65 43 23 3B DC 6D       F..jw..M..eC#;.m
38 11 B4 D4 CB ED 35 AF 17 41 CA 2E BD 2F 73 BB       8.....5..A.../s.
EC 23 93 51 FD 88 3F 67 D3 F5 3E 2E C8 30 60 DC       .#.Q..?g..>..0`.
D5 C2 3E 55 FC A8 7B 8B 45 D6 60 34 E1 DC 07 60       ..>U..{.E.`4...`
BB 05 9A 15 E3 01 48 B3 42 CA DA 30 20 FC 85 A1       ......H.B..0 ...

Server(80): size = 35721 type = 36373
89 8B 15 8E 07 EF 2F D4 BD 77 F9 81 66 38 39 5D       ....../..w..f89]
C8 0C FD 67 95 83 E4 E8 F5 13 3B F8 90 CF 2D F3       ...g......;...-.
08 91 73 A2 75 B4 7C 97 B5 1C A5 61 16 99 EC C8       ..s.u.|....a....
DC 1F 02 45 68 4D 93 2D 30 01 D7 52 0E 0B 2F 8C       ...EhM.-0..R../.
43 4D 0F C9 6E 80 83 40 B4 D3 97 47 94 61 35 C8       [email protected].

Server(80): size = 50161 type = 3086
F1 C3 0E 0C 99 1F C1 00 51 9A 02 48 49 04 D0 D5       ........Q..HI...
4E 83 D4 5A D8 1F 6E B2 F7 CD 94 67 95 5A 7C D2       N..Z..n....g.Z|.
39 A8 19 A5 8D B8 FA E5 E7 59 39 F4 15 E8 D7 CB       9........Y9.....
D9 05 94 65 72 1A 4B A4 EC 9B 42 D2 4B 8D B3 8E       ...er.K...B.K...
43 71 20 56 1D 74 10 7E B9 27 F4 FF 73 80 A5 D6       Cq V.t.~.'..s...
ikkopz is offline  
Old 01/06/2011, 16:03   #12
 
tkblackbelt's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 291
Received Thanks: 95
Quote:
Originally Posted by unknownone View Post
I think the best way to understand it is to write the entire thing as two separate applications - a server and a client - and have a mechanism to pass the unencrypted packets between the two applications. The cryptography between proxy and client, and that between proxy and server are entirely unrelated - they do not need to share any knowledge of eachother at all. It's only out of simplicity that we reuse the p,g,pub_key and initialization vectors sent from the server in our proxy<->client communication, not necessity.

So to go over your steps more closely.

1. This packet also contains 2 IVs. (The first is used in server-sent packets, the second in client-sent packets.) These, along with p, g and pub_key should be stored for later use. Call this pub_key "serverPubKey", and the IVs can be called "serverToProxyIV" and "proxyToServerIV".

3. We can generate a DH key pair from the p,g we received. (let's call this "DHServer")

We can create a second DH key pair from our own p,g (or we can reuse the others for simplicity). Call this "DHClient".

4. We create a new packet (or reuse the existing one, only this time we must replace the pub_key in it with the pub_key from DHClient.) If different p,g were used to create DHClient, these must also be placed in the packet. We can also use our own IVs here too, but reusing the existing ones is no problem. The IVs will be (in order) "proxyToClientIV" and "clientToProxyIV". (Note that although these might be the same values as serverToProxyIV and proxyToServerIV - they are not the same objects)

6. We receive the client packet and extract the pub_key from it ("clientPubKey"). This is then used along with DHClient to compute a new encryption key, which we will call "clientCryptKey".

We create a new packet (or reuse the same one), this time, the pub_key must be the pub_key from DHServer. At this point we compute a second key, "serverCryptKey", from DHServer and serverPubKey obtained in step 1.

So by this stage, you should have 2 keys and 4 IVs. No guesswork needed for the rest. You create a serverCryptographer from serverCryptKey and serverToProxyIV (DecryptIV), proxyToServerIV (EncryptIV). You use this cryptographer to decrypt all packets received from the server, and to encrypt all packets sent to the server.

You create the clientCryptographer from clientCryptKey and proxyToClientIV (EncryptIV) and clientToProxyIV (DecryptIV). You encrypt packets sent to the client, and decrypt packets received from the client.

Sweet thanks alot I really appreciate your help, I hope can get my game encryption working good.
tkblackbelt is offline  
Old 01/06/2011, 16:42   #13
 
elite*gold: 0
Join Date: Feb 2006
Posts: 550
Received Thanks: 82
whats with this sudden influx of Java developers? its good
ChingChong23 is offline  
Old 01/06/2011, 19:31   #14
 
tkblackbelt's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 291
Received Thanks: 95
Quote:
Originally Posted by ChingChong23 View Post
whats with this sudden influx of Java developers? its good
Ya java is a very good language.xD
tkblackbelt is offline  
Old 01/07/2011, 11:56   #15


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
I had alot of problems with the client disconnecting after exceptionally large packets, this happens durring login on the later clients, the server sends a very large packet (some 4500 bytes) while my proxy could handle splitting this just fine, the client didnt always like what i sent it afterwards.

To resolve this issue i moved to a dynamic buffer and only read the header of a packet, before receiving the rest of the packet. This stops the 4500 byte problem and the client no longer crashes out for whatever reason.

I beleive that this could help you solve your problem, since you appear to be reading invalid packet data some of the time, splitting up the packets correctly can help pin-point exacty where your going wrong.

Is this for connecting to the current official servers?
Korvacs is offline  
Reply


Similar Threads Similar Threads
[GUIDE] Multi Client VMware setup for any game (pic.s included)
11/08/2011 - Cabal Guides & Templates - 316 Replies
Setup IF YOU DO NOT DOWNLOAD AND USE VMWARE WORKSTATION 6.5 BETA (LINK IN GUIDE) THEN DO NOT EVEN BOTHER TRYING THIS Have you ever wanted to have 2 bots running, a shop setup, and play your favorite character all at the same time on 1 PC? This guide will show you how to do this with the newest version of VMware Workstation 6.5 Beta (free for now). As many of you may have tried with older versions of VMware playing a lot of games in a virtual machine either REALLY sucked or wouldn't...
[How-To]Root Setup game.tar
02/12/2011 - Metin2 PServer Guides & Strategies - 2 Replies
PM for link for game.tar.gz Put the game-18.09.2010.tar.gz into the directory below /usr Give Command cd /usr tar -xf game-18.09.2010.tar.gz
[HELP]Is it posible to setup game.exe to work on a dns??
10/11/2010 - Shaiya Private Server - 7 Replies
My ISP dont provide a static IP ..so i have some problems with the game.exe ...is it posible seting it on a DNS ??
i setup a server and i dont know how to login to the game
07/05/2009 - Lin2 Private Server - 2 Replies
first: the Version is Gracia part 2 i turn on the server and all work great but i dont know how to connect to my server how i change ip in client folder?
[Other game then CO] How to setup a wow pvserver?
12/06/2008 - CO2 Private Server - 8 Replies
okay first i wanna ask tanelip this, can you please not close this thread (you can delete or close it tomorrow) my questions is how to setup a wow private server? im askin it in the co section because there is no pvserver section in WoW but only a Private server HOSTING section wow = world of warcraft if you have a nice guide for the newest patch, post it here if you dont have a nice guide for the newest patch but you can help, add me to msn [email protected] do not add my...



All times are GMT +1. The time now is 02:32.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.