ss
- reemplazo de netstat
- TCP
- UDP
- sockets
- ICMP
comandos
ss: todas las conexionesss -llistening socketsss -aall socketsss -a -tall TCP socketsss -a -uall UDP socketsss -a -xall Unix socketsss -a -wall raw socketsss -a -4all IP4 socketsss -a -6all IP6 socketsss -t -r state stablishedss -t -r state listeningss -a state stablished '( dport = :https or sport = :https )'- dport: destintantion port
- sport: source port
ss -a state stablished '( dport = :ssh or sport = :ssh )'ss -a dst <IP_ADDRESS>: listado con destino a IPsudo ss -t -p: identificar el proceso que usa el socket
/via: https://www.howtogeek.com/681468/how-to-use-the-ss-command-on-linux/