[Twisted-Python] matching ip ranges

Ed Suominen general at eepatents.com
Wed Aug 29 11:55:34 EDT 2007

Alec Matusis wrote:
> We need to match IP ranges of connections, were ranges are specified in
> the “/” notation (e.g.
> What is the best way to do this without consuming too much CPU resources
> when the connection rate is very high?

Take a look at the AddressRestrictorMixin in twisted_goodies.misc:


Best regards, Ed

More information about the Twisted-Python mailing list