This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
настройка_сети_в_linux [2025/06/24 17:29] val [Команды для диагностики] |
настройка_сети_в_linux [2025/10/01 08:41] (current) val [Файлы конфигурации Gentoo] |
||
---|---|---|---|
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 | ||
- | |||
- | # исходящие соединения с этой системы | ||
- | # tcpdump -nniany src <THISIP> and "tcp[tcpflags] & (tcp-syn) != 0" and src port not 80 and src port not 443 | ||
# отправка UDP пакета | # отправка UDP пакета | ||
Line 377: | Line 374: | ||
# ifup enp0s3 | # ifup enp0s3 | ||
</code> | </code> | ||
+ | |||
+ | ==== Файлы конфигурации Alma Linux ==== | ||
+ | |||
+ | * [[https://serverspace.ru/support/help/nastrojka-seti-dlya-alma-linux/|Настройка сети для Alma Linux]] | ||
==== Файлы конфигурации Gentoo ==== | ==== Файлы конфигурации Gentoo ==== |