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

def firewall::firewall::Firewall::checkForUnBan (   self,
  debug 
)

Check for IP to remove from ban list.

Definition at line 140 of file firewall.py.

00140                                     :
            """ Check for IP to remove from ban list.
            """
            banListTemp = self.banList.copy()
            for element in banListTemp.iteritems():
                  btime = element[1]
                  if btime < time.time()-self.banTime:
                        aInfo = {"ip": element[0],
                                     "bantime": btime,
                                     "unbantime": time.time()}
                        self.delBanIP(aInfo, debug)
      
      def flushBanList(self, debug):


Generated by  Doxygen 1.6.0   Back to index