ss
- reemplazo de netstat
- TCP
- UDP
- sockets
- ICMP
comandos
ss
: todas las conexionesss -l
listening socketsss -a
all socketsss -a -t
all TCP socketsss -a -u
all UDP socketsss -a -x
all Unix socketsss -a -w
all raw socketsss -a -4
all IP4 socketsss -a -6
all IP6 socketsss -t -r state stablished
ss -t -r state listening
ss -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/