challenge response module

These are old archives. They are kept for historic purposes only.
Post Reply
Posts: 1
Joined: Mon Dec 29, 2014 8:05 am

challenge response module

Post by CashD » Mon Dec 29, 2014 8:19 am

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

Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US

Re: challenge response module

Post by Stealth » Wed Jan 21, 2015 2:43 am

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.

Post Reply