'Deny (blacklist) IP address(es).
Addresses not in the blacklist will be allowed to continue with authentication.
Blacklist is mutually exclusive with whitelist.'

def deny(self, *addresses):

    if self.whitelist:
        raise ValueError('Only    use    a    whitelist    or    a    blacklist,    not    both')
    self.log.debug('Denying    %s', ','.join(addresses))
    self.blacklist.update(addresses)
