-L max files:max depth
Avoid denial-of-service attacks by limiting the number of displayed files in a 'ls' and the maximum depth of a recursive 'ls'.
Defaults are 2000:5 (2000 files displayed for a single 'ls' and walk through 5 subdirectories max).
Собственно объявление /var/log/pureftpd.log, пару фильтров (выделяющий и блокирующий сообщения демона) и само действие записи сообщений в лог (+ зачистка messages).
может легче добавить в
может легче добавить в /etc/conf.d/pure-ftpd
## Misc. Others ## MISC_OTHER="-A -E -D -j -Z -H -L 20000:20 -O clf:/var/log/pureftpd.log -u 0"bes.internal
получилось. спасибо
а еще вопрос, что значат эти цифры 20000:20?
читаем man pure-ftpd до
читаем man pure-ftpd до просветления
-L max files:max depth Avoid denial-of-service attacks by limiting the number of displayed files in a 'ls' and the maximum depth of a recursive 'ls'. Defaults are 2000:5 (2000 files displayed for a single 'ls' and walk through 5 subdirectories max).Собственно объявление
Собственно объявление /var/log/pureftpd.log, пару фильтров (выделяющий и блокирующий сообщения демона) и само действие записи сообщений в лог (+ зачистка messages).
:wq
--
Live free or die