Why this is happening when i try to ping in terminal?
" ping site
PING site (216.58.214.14) 56(84) bytes of data.
From X (X) icmp_seq=1 Destination Port Unreachable
ping: sendmsg: Operation not permitted "
ICMP can’t go over Tor
1 Like
Also, if using permission-hardening (currently not the default), the CAP_NET_RAW capability will be removed from ping to reduce attack surface since it wouldn’t work anyway: anon-apps-config/30_ping.conf at master · Whonix/anon-apps-config · GitHub
1 Like
Good point. Added to documentation.
1 Like
Let’s install a ping replacement (TCP based) by default? It might be useful for network troubleshooting.
Whonix-External as Network source for VM machine (KVM) is an example case where it might be useful.
nping is one candidate. Easy to install. Would be easy to install by default. And also easy to use.
1. Installation.
sudo apt install nmap
2. IP
nping 1.1.1.1
3. DNS
nping example.com
It’s literally just 1 different letter. It works over Tor. Tested.
Implemented in Whonix 18.