linux:tcpip:ss

ss

  • reemplazo de netstat
    • TCP
    • UDP
    • sockets
    • ICMP
  • ss: todas las conexiones
  • ss -l listening sockets
  • ss -a all sockets
  • ss -a -t all TCP sockets
  • ss -a -u all UDP sockets
  • ss -a -x all Unix sockets
  • ss -a -w all raw sockets
  • ss -a -4 all IP4 sockets
  • ss -a -6 all IP6 sockets
  • ss -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 IP
  • sudo ss -t -p: identificar el proceso que usa el socket

/via: https://www.howtogeek.com/681468/how-to-use-the-ss-command-on-linux/

  • linux/tcpip/ss.txt
  • Darrera modificació: 02/10/2020 07:54
  • per admin