ModSecurity: ModSecurity collection expirevar does not work

When I use collection ‘IP’, the variable in collection never expire even if I restart nginx. The variable in collecion expired unless I remove the files:modsec-shared-collections modsec-shared-collections-lock in disk,

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 2
  • Comments: 17 (5 by maintainers)

Most upvoted comments

Meanwhile here’s a workaround for everyone who needs DOS protection to work. The hack uses dedicated variables in conjunction with the TIME_EPOCH variable to explicitly expire the DOS variables.

REQUEST-912-DOS-PROTECTION.conf.txt

This has now been merged.

Hello,@pixelicous I met the same problem. Has this problem been solved?