Logo Search packages:      
Sourcecode: fail2ban version File versions  Download package

def firewall::firewall::Firewall::delBanIP (   self,
  aInfo,
  debug 
)

Unban an IP.

Definition at line 101 of file firewall.py.

00101                                       :
            """ Unban an IP.
            """
            ip = aInfo["ip"]
            if self.inBanList(ip):
                  logSys.warn("%s: Unban "%self.section + ip)
                  del self.banList[ip]
                  self.runCheck(debug)
                  executeCmd(self.unBanIP(aInfo), debug)
            else:
                  logSys.error("%s: "%self.section+ip+" not in ban list")

      def reBan(self, debug):


Generated by  Doxygen 1.6.0   Back to index