示例#1
0
    def start(self):
        if ProcMon.is_ftrace_available():
            self.procmon.enable()
            self.procmon.start()

        self.iptcrules = IPTCRules()
        self.dbus_service.run()
示例#2
0
    def start(self):
        for r in Snitch.IPTABLES_RULES:
            logging.debug("Applying iptables rule '%s'" % r)
            os.system("iptables -I %s" % r)

        if ProcMon.is_ftrace_available():
            self.procmon.enable()
            self.procmon.start()

        self.qt_app.run()
        self.q.run()
示例#3
0
    def start(self):
        if ProcMon.is_ftrace_available():
            self.procmon.enable()
            self.procmon.start()

        self.qt_app.run()