add stop_filter argument to sniff()
This argment is a python function applied to each packet to determine if we have to stop the capture after this packet. ex: stop_filter = lambda x: x.haslayer(TCP)
Please register or sign in to comment
This argment is a python function applied to each packet to determine if we have to stop the capture after this packet. ex: stop_filter = lambda x: x.haslayer(TCP)