最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

mod security - ModSecurity v3: Dump active configuration - Stack Overflow

programmeradmin2浏览0评论

Is there a way to dump all active configuration values set in the various modsecurity config files at runtime, e.g. on restart of the web server (httpd)? I tried setting "SecDebugLogLevel" to 9 (the documented maximum) but the debug log file will only contain data pertaining to requests. E.g. the actual value SecArgumentsLimit would be interesting, but it's not in the file.

Is there a way to dump all active configuration values set in the various modsecurity config files at runtime, e.g. on restart of the web server (httpd)? I tried setting "SecDebugLogLevel" to 9 (the documented maximum) but the debug log file will only contain data pertaining to requests. E.g. the actual value SecArgumentsLimit would be interesting, but it's not in the file.

Share Improve this question asked Apr 1 at 12:29 wurzelsepp201wurzelsepp201 363 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

Thanks for reporting this. Unfortunately, there is no such option to dump all configuration at runtime, but you can always debug nginx process to dump configuration, as mentioned in official docs: https://docs.nginx/nginx/admin-guide/monitoring/debugging/#dumping-nginx-configuration-from-a-running-process

发布评论

评论列表(0)

  1. 暂无评论