Jump to content

How To speed UP the auth login in few seconds (Disable Packets Encryption)


Recommended Posts

  • 7 months later...
  • Honorable Member
On 1/29/2023 at 12:51 AM, xGalardo said:

Is it safe to remove or not?

You're decreasing the level of security of the packets by using a static key. A man in the middle attack is possible to sniff the players' passwords.

 

If after enabled you're getting DCs, open protocol.h and change this macro to this:

#define DEFAULT_PACKET_BUFFER_SIZE (150*1024) //@warme015 prevent dc if there are many entities

The alternative way would be to call buffer_adjust_size in desc.cpp

Edited by martysama0134
  • Good 2
  • Love 1
Link to comment
Share on other sites

 

You're decreasing the level of security of the packets by using a static key. A man in the middle attack is possible to sniff the players' passwords.

 

If after enabled you're getting DCs, open protocol.h and change this macro to this:

#define DEFAULT_PACKET_BUFFER_SIZE (150*1024) //@warme015 prevent dc if there are many entities

The alternative way would be to call buffer_adjust_size in desc.cpp

At some point, if your time permits, could you do a full tutorial on how to remove it and the changes needed to avoid problems?

Link to comment
Share on other sites

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.