Aquesta és una revisió antiga del document


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
  • linux/tcpip/ss.1601650405.txt.gz
  • Darrera modificació: 02/10/2020 07:53
  • per admin