Разветвление `addr2line `общего объекта из приложения для построения трассировки стека. Насколько это безопасно?

Короткий ответ :вы не можете.

Однако:

You should also include a flood="x" line which indicates the number of lines a user may place into their buffer at once before they are disconnected for excess flood. This feature can not be disabled, however it can be set to extremely high values, rendering it effectively disabled. A recommended value is 10. A counter is maintained for each user which is reset every 'threshold' seconds and specifying this threshold value with threshold="X" indicates how often the counter is reset. For example, with flood="5" and threshold="8", the user may not send more than 5 lines in 8 secs.

(Источник:https://brainbox.cc/stash/projects/INSP/repos/inspircd/browse/docs/inspircd.conf.example?at=a3491c9be4bf2c9899bde9c85da9e7d2c4fd694e)

Этот абзац относится к тегу «connect» в файле /etc/inspircd/inspircd.conf, который может выглядеть следующим образом:


К сожалению, я еще не пробовал это сам. По-видимому, InspIRCd имеет все мыслимые функции, кроме хорошей документации, и наличие атрибута «flood» в тегах «connect» заставило меня предположить, что он относится к лавинной рассылке соединений, а не к лавинной рассылке сообщений.Итак, после трех дней поисков я просто встроил ограничение скорости в своего бота.

0
10.01.2020, 23:17
0 ответов

Теги

Похожие вопросы