Пример #1
0
	def __init__(self, jail):
		FileFilter.__init__(self, jail)
		self.__modified = False
		
		self.__lastModTime = dict()
		self.__file404Cnt = dict()
		logSys.debug("Created FilterPoll")
Пример #2
0
	def __init__(self, jail):
		FileFilter.__init__(self, jail)
		self.__modified = False
		## The time of the last modification of the file.
		self.__lastModTime = dict()
		self.__file404Cnt = dict()
		logSys.debug("Created FilterPoll")
Пример #3
0
 def __init__(self, jail):
     FileFilter.__init__(self, jail)
     self.__modified = False
     ## The time of the last modification of the file.
     self.__lastModTime = dict()
     self.__file404Cnt = dict()
     logSys.debug("Created FilterPoll")
Пример #4
0
	def __init__(self, jail):
		FileFilter.__init__(self, jail)
		self.__modified = False
		# Pyinotify watch manager
		self.__monitor = pyinotify.WatchManager()
		self.__watches = dict()
		logSys.debug("Created FilterPyinotify")
Пример #5
0
 def __init__(self, jail):
     FileFilter.__init__(self, jail)
     self.__modified = False
     # Pyinotify watch manager
     self.__monitor = pyinotify.WatchManager()
     self.__watches = dict()
     logSys.debug("Created FilterPyinotify")
Пример #6
0
    def __init__(self, jail, **kwargs):
        FileFilter.__init__(self, jail, **kwargs)

        #Initially we set the classifier equal to null
        self.__fail_classifiers = list()
        ## The ip siever:
        self.__ip_sieve = IPSieve()
        self._build_available_feature_list()
Пример #7
0
    def __init__(self, jail, **kwargs):
        FileFilter.__init__(self, jail, **kwargs)

        #Initially we set the classifier equal to null
        self.__fail_classifiers = list()
        ## The ip siever:
       	self.__ip_sieve = IPSieve()
        self._build_available_feature_list()
Пример #8
0
 def __init__(self, jail):
     FileFilter.__init__(self, jail)
     self.__modified = False
     # Gamin monitor
     self.monitor = gamin.WatchMonitor()
     fd = self.monitor.get_fd()
     flags = fcntl.fcntl(fd, fcntl.F_GETFD)
     fcntl.fcntl(fd, fcntl.F_SETFD, flags | fcntl.FD_CLOEXEC)
     logSys.debug("Created FilterGamin")
Пример #9
0
	def __init__(self, jail):
		FileFilter.__init__(self, jail)
		self.__modified = False
		# Gamin monitor
		self.monitor = gamin.WatchMonitor()
		fd = self.monitor.get_fd()
		flags = fcntl.fcntl(fd, fcntl.F_GETFD)
		fcntl.fcntl(fd, fcntl.F_SETFD, flags|fcntl.FD_CLOEXEC)
		logSys.debug("Created FilterGamin")
Пример #10
0
	def __init__(self, jail):
		FileFilter.__init__(self, jail)
		self.__modified = False
		
		self.monitor = gamin.WatchMonitor()
		logSys.debug("Created FilterGamin")
Пример #11
0
 def __init__(self, jail):
     FileFilter.__init__(self, jail)
     self.__modified = False
     # Gamin monitor
     self.monitor = gamin.WatchMonitor()
     logSys.debug("Created FilterGamin")