High-performance Network Mapper for discovery and management
cargo install netprobe-cli
np --help
netprobe-cli
uses a raw socket which require elevated privileges. Execute with administrator privileges.
ICMP Time-to-live Exceeded
and ICMP Destination (Port) Unreachable
packets to be received.netsh
example
netsh advfirewall firewall add rule name="All ICMP v4" dir=in action=allow protocol=icmpv4:any,any
netsh advfirewall firewall add rule name="All ICMP v6" dir=in action=allow protocol=icmpv6:any,any