¿Which is the fastest way to check if a host is up or down using python?.
I need to perform ~ 120K pings so it doesn't matter if there is a few of false negatives.
I have 2 different approaches:
- ICMP requests with scapy
- Execute os.system("ping -c 1 " . ip)