Page 1 of 1

challenge response module

Posted: Mon Dec 29, 2014 8:19 am
by CashD
I am working on a challenge response module and I got some questions on how to continue my development
I registered new commands by using the AddCommand function
I used HOOKTYPE_PRE_LOCAL_CONNECT to send the command

The command sent to the client but the server is continue to perform the other commands and let him in the server, I want the server wait for a user answer.

I want the user to be hang on there until he answers the challenge, if the answer is wrong it disconnects the user ofc.

I want to limit the hang on up to 2 minutes how should I do it right?
I tryed to use a loop inside the command but its not show the command first.

If someone could help me and tell me how may I do it right
I couldnt find enough documentations on how to write modules, I tryed to look on 3rd party modules but still I feel something missing there.

Thanks for everyone who willing to help

Re: challenge response module

Posted: Wed Jan 21, 2015 2:43 am
by Stealth
Check out f_auth from here

The author of that module determined the best way to hold a user in an unauthenticated state until a reply was received.