/net-cut

Primary LanguagePython

import netfilterqueue

def process_packet(packet): print(packet) packet.drop()

queue = netfilterqueue.NetfilterQueue() queue.bind(0, process_packet) queue.run()