SpecialistOff.NET / Вопросы / Статьи / Фрагменты кода / Резюме / Метки / Помощь / Файлы
Список вопросов ПечатьМетки: fail2ban rsyslog /etc/rsyslog.conf rsyslog.conf
2023-02-16 00:21:03,377 fail2ban.filter [135809]: WARNING Found a match for 'Feb 16 01:21:03 prod2 sshd[136392]: Unable to negotiate with 3.221.23.225 port 37466: no matching key exchange method found. Their offer: diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 [preauth]' but no valid date/time found for 'Feb 16 01:21:03 prod2 sshd[136392]: Unable to negotiate with 3.221.23.225 port 37466: no matching key exchange method found. Their offer: diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 [preauth]'. Please try setting a custom date pattern (see man page jail.conf(5)). If format is complex, please file a detailed issue on https://github.com/fail2ban/fail2ban/issues in order to get support for this format.
| RemiZOffAlex Создано: 2023-02-16 03:25:48.412932 Обновлено: 2023-02-16 03:25:48.412951 |
|---|
|
Заменяем в файле /etc/rsyslog.conf строку $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat на $ActionFileDefaultTemplate RSYSLOG_FileFormat |