def run(self):
try:
(save_option,
verdict,
apply_for_all) = self.future.result(PACKET_TIMEOUT)
except TimeoutError:
# What to do on timeouts?
# Should we even have timeouts?
self.pkt.accept()
else:
if RuleVerdict(verdict) == RuleVerdict.DROP:
drop_packet(self.pkt, self.conn)
else:
self.pkt.accept()
评论列表
文章目录