sleep in asyncore

billie gnewsg at gmail.com
Thu Jan 11 05:52:41 EST 2007


Hi all.
I'm writing an authentication server by using asyncore / asynchat
modules.
I'd like to implement a basic brute-force protection by "freezing /
sleeping" the current client session for a period of time (e.g. 2
seconds) when the user sends a wrong password.
Does someone knows a "trick" to do that with asyncore?


Thanks in advance for your helping.




More information about the Python-list mailing list