[Twisted-Python] Blacklisting hosts

Chris Norman chris.norman2 at googlemail.com
Sat Aug 8 06:07:58 MDT 2015


Hi all,
I am using Twisted to make a game server. I want to be able to ban IP 
addresses. Currently I check if the host is in a blacklist, and if it 
is, call abortConnection on the transport. It works fine, but I'm 
thinking there should be a better way, to actively refuse the connection 
in the first place?

Cheers,



More information about the Twisted-Python mailing list