Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

GAuthDaemon rewrited on c++

Newbie Spellweaver
Joined
Aug 9, 2013
Messages
49
Reaction score
66
What he can:
  • Authorization
  • GM privilege
  • Recive gold
  • Recive gold without relogin into game
What he can, what cant original auth:
  • Token authorization
  • Characters filter
  • Anti brutforce
  • 2 auth type (login, token)
  • Auto mysql server reconnection
What in plans:
  • Support codes on ingame mailbox
Installation:
  • Copy gauthd folder in home folder
  • Configure gauthd.conf
  • chmod 777 -R /home/gauthd/
  • In start script change auth start options to
Code:
cd $PW_PATH/gauthd/; ./gauthd >$PW_PATH/logs/gauth.log &
  • In stop script change auth stop options to
Code:
pkill -9 gauthd
  • Remove this on GAuthClient section in gdeliveryd gamesys.conf
Code:
isec                    =       2
iseckey                 =       baxixD0awqydOtrxjxr8uhzaslmnqh
osec                    =       2
oseckey                 =       baxiykbpn3fxLqpsdpiodI4iazqjdl
shared_key              =       baxiIvunkjfjlj0Ckgxzzdfpess5vw


If you want enable token authorization, set or add token_login_support = true on gdeliveryd gamesys.conf (normal authorization is also available) and you need start game with params user and token2, like this:
Code:
start elementclient.exe startbypatcher console:1 user:kn1fe token2:CZrfpz6yE6ZnoYZ9nKdk6g==
Where:
kn1fe - account login
token2 - password hash from users table

Download link -
Source code -
I will accept any bug reports and suggestions
 
Last edited:
Newbie Spellweaver
Joined
Aug 9, 2013
Messages
49
Reaction score
66
Version 1.1.0
  • 3 auth type with selection in conf file (allow_auth_type)
  • Password hash type selection
  • Added antibrute, for example: $count login try for $interval seconds = block auth for $block_time
  • Code refactoring and optimization
  • In gauthd.conf added comments to parameters

Download link -
Source code -
 
Newbie Spellweaver
Joined
Aug 9, 2013
Messages
49
Reaction score
66
Version 1.1.1
  • Removed email auth, beause challenge_algo = 1 makes interesting bug (you can login in any account with any password)
  • Rebuild to x32 with latest qt version

Download link -
 
Skilled Illusionist
Joined
Dec 21, 2011
Messages
335
Reaction score
12
My VPS (not dedicated) keeps randomly shutting down after I used gauthd, it didn't work as well because "Too old kernel". I can't update my kernel so I don't use it anymore.

Is there a way to reverse damage done by gauthd?
 
Newbie Spellweaver
Joined
Jun 9, 2012
Messages
20
Reaction score
7
this gauthd is 64bit ?? I need 32bit for Ubuntu server. But I can't QT ...
 
Newbie Spellweaver
Joined
Aug 9, 2013
Messages
49
Reaction score
66
Gauth dies by itself randomly sometimes. The connection gets cut. Is there a way to fix this?
I know that, but i dont know why he crashes, because i cant repeat it.
He crashes sometime when someone try login to account
 
Banned
Banned
Joined
Dec 17, 2011
Messages
470
Reaction score
245
You think pwi did it in java because they don't know how to use QT and C++?
Brouteforce? is included in glink no one is dumb enough to expose authd port.
Token ? is easy to fix if you have sources or you have the new version of the authd.

Sorry bro i admire your work but this one is for nothing.
 
Newbie Spellweaver
Joined
Aug 9, 2013
Messages
49
Reaction score
66
You think pwi did it in java because they don't know how to use QT and C++?
Brouteforce? is included in glink no one is dumb enough to expose authd port.
Token ? is easy to fix if you have sources or you have the new version of the authd.

Sorry bro i admire your work but this one is for nothing.
Earlier wanmei had the whole web part in java, for this reason iweb and authd works on java.
How relation have bruteforce, auth port and link?
And if you take tokens, after recent events on pwi, they did authorization on dynamic tokens that change each time you start the game. I made them just for easy entrance to the game
 
Newbie Spellweaver
Joined
Aug 9, 2013
Messages
49
Reaction score
66
Added experimental version 1.4.0:
  • Reworked database connection classes
  • Updated mysql library
  • Compiling with qt 5.10.1
 
Back
Top