User Tools

Site Tools


настройка_сети_в_linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
настройка_сети_в_linux [2025/01/13 06:08]
val [Настройка сети в Linux]
настройка_сети_в_linux [2025/06/24 17:41] (current)
val [Команды для диагностики]
Line 83: Line 83:
 # количество подключений с каждого адреса (https://​serverfault.com/​questions/​421310/​check-the-number-of-active-connections-on-port-80) # количество подключений с каждого адреса (https://​serverfault.com/​questions/​421310/​check-the-number-of-active-connections-on-port-80)
 # ss -tn src :80 or src :443 | tr -s ' ' | cut -d ' ' -f5  | cut -d ':'​ -f1 | sort | uniq -c | sort -n # ss -tn src :80 or src :443 | tr -s ' ' | cut -d ' ' -f5  | cut -d ':'​ -f1 | sort | uniq -c | sort -n
 +
 +# отправка UDP пакета
 +# echo -n "​hello"​ >/​dev/​udp/​195.19.40.152/​5060
 </​code>​ </​code>​
  
Line 419: Line 422:
 # cat /​etc/​network/​interfaces # cat /​etc/​network/​interfaces
 </​code><​code>​ </​code><​code>​
-...+auto lo 
 +iface lo inet loopback 
 iface eth0 inet manual iface eth0 inet manual
  
настройка_сети_в_linux.1736737682.txt.gz · Last modified: 2025/01/13 06:08 by val