WhoisProxy is a module build for parsing messages of the WHOIS protocol. It reads and parses the REQUESTs on the client side and sends them to the server if the local security policy permits. Arriving RESPONSEs are not parsed as they do not have any fixed structure or syntax.
Example 4.22. Example WhoisProxy logging all whois requests |
---|
class MyWhoisProxy(AbstractWhoisProxy): def whoisRequest(self, request): log(None, CORE_DEBUG, 3, "Whois request: '%s'" % (request)) return ZV_ACCEPT |
Published on May 30, 2024
© BalaSys IT Ltd.
Send your comments to support@balasys.hu