#! /usr/bin/env python3

from scapy.all import sniff, wrpcap, rdpcap

#pakete = sniff(iface="wg0", count=10, filter="ip src 10.50.0.3", prn=lambda x:x.summary())
#pakete = sniff(iface="wg0", filter="host 10.50.0.3", prn=lambda x:x.show())
pakete = sniff(iface="wg0", filter="ip src 10.50.0.3", prn=lambda x:x.show())


#wrpcap("netscan.pcap", pakete)
#pakete.nsummary()
#for pkt in pakete: 
#    pkt.show()
#    pkt.summary()