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 [2024/07/09 09:46]
val [Файлы конфигурации Ubuntu >= 18]
настройка_сети_в_linux [2025/06/24 17:41] (current)
val [Команды для диагностики]
Line 3: Line 3:
   * [[https://​wiki.debian.org/​ru/​NetworkConfiguration]]   * [[https://​wiki.debian.org/​ru/​NetworkConfiguration]]
   * [[http://​help.ubuntu.ru/​wiki/​%D0%BD%D0%B0%D1%81%D1%82%D1%80%D0%BE%D0%B9%D0%BA%D0%B0_%D1%81%D0%B5%D1%82%D0%B8_%D0%B2%D1%80%D1%83%D1%87%D0%BD%D1%83%D1%8E|Настройка сети вручную]]   * [[http://​help.ubuntu.ru/​wiki/​%D0%BD%D0%B0%D1%81%D1%82%D1%80%D0%BE%D0%B9%D0%BA%D0%B0_%D1%81%D0%B5%D1%82%D0%B8_%D0%B2%D1%80%D1%83%D1%87%D0%BD%D1%83%D1%8E|Настройка сети вручную]]
 +  * [[https://​it-lux.ru/​tcp-queue-syn-flooding/​|Ошибка в логах ядра. request_sock_TCP:​ Possible SYN flooding]]
  
 ===== Команды для настройки ===== ===== Команды для настройки =====
Line 82: 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 418: 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.1720507593.txt.gz · Last modified: 2024/07/09 09:46 by val