logalyzer.sift.IPMatcher(object)
class documentation
Part of logalyzer.sift
(View In Hierarchy)
I efficiently match IP addresses. Simple and fast.
Construct me with a list of IP addresses in dotted-quad format, and add
any further ones with addIP
.
Method | __init__ | Undocumented |
Method | __len__ | Undocumented |
Method | addIP | Call this with an IP address (string format) to add it to my list if it's not already there. |
Method | removeIP | Call this with an IP address (string format) to remove it from my list if it's there. |
Method | __call__ | Undocumented |
def
addIP(self, ip):
Call this with an IP address (string format) to add it to my list if it's not already there.