示例#1
0
    def stop(self):
        manager = AuditManager()
        manager.remove_decoder(NET_LAYER, LL_TYPE_IP, self.ip_decoder)
        manager.remove_injector(0, LL_TYPE_IP, ip_injector)
        manager.remove_injector(0, STATELESS_IP_MAGIC, stateless_ip_injector)

        self.decoder = None
示例#2
0
    def stop(self):
        manager = AuditManager()
        manager.remove_decoder(NET_LAYER, LL_TYPE_IP, self.ip_decoder)
        manager.remove_injector(0, LL_TYPE_IP, ip_injector)
        manager.remove_injector(0, STATELESS_IP_MAGIC, stateless_ip_injector)

        self.decoder = None
示例#3
0
    def stop(self):
        manager = AuditManager()
        manager.remove_decoder(PROTO_LAYER, NL_TYPE_TCP, self._process_tcp)
        manager.remove_injector(1, NL_TYPE_TCP, self._inject_tcp)

        try:
            manager.remove_decoder_hook(PROTO_LAYER, NL_TYPE_ICMP,
                                             self.reassembler.process_icmp, 1)
        except:
            pass
示例#4
0
 def stop(self):
     manager = AuditManager()
     manager.remove_decoder(PROTO_LAYER, NL_TYPE_UDP, self.decoder)
     manager.remove_injector(1, NL_TYPE_UDP, self.injector)
示例#5
0
 def stop(self):
     manager = AuditManager()
     manager.remove_decoder(PROTO_LAYER, NL_TYPE_UDP, self.decoder)
     manager.remove_injector(1, NL_TYPE_UDP, self.injector)