Jump to content

Recommended Posts

Posted

Hello, I was wondering if someone could explain the SRP algorithm used in the server. For example how do you generate the values that are sent to the client, etc.

Posted

I will refer you to int WorldSocket::HandleAuthSession (WorldPacket& recvPacket) (http://github.com/mangos/mangos/blob/master/src/game/WorldSocket.cpp) and the SRP documentation http://srp.stanford.edu/design.html because I think that is the best explanation. I really have no idea how it all works, but if you are trying to figure it out that's probably where you should start.

On the mangos side all it really does is put some seeds into an encryption and a decryption engine and pipe data through them. So the generating isn't done in mangos, you would have to get the source to OpenSSL and look through that.

×
×
  • Create New...

Important Information

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. Privacy Policy Terms of Use