Imunify360 LiteSpeed custom rules and userdata removed during updates
Forum
  1. Forums
  2. Imunify360
  3. Imunify360 and Imunify Sensor
  1. Ray Baron
  2. Tuesday, 11 June 2019
  3.  Subscribe via email
I have a few custom rules (created new file -- not added to current file) and a fair amount of user data (e.g., userdata_bl_agents, userdata_bl_IPs). Every time modsec is updated my custom rules file is removed and the userdata_bl_* files are replaced with empty, default files.

Short of making the files immutable, is there a way to prevent Imunity360 updates from removing my customizations?
Rate this post:
  1. 12.06.2019 10:06:52
  2. # 1
Sergey Khristich Accepted Answer
Posts: 88
Joined: 20.05.2019
0
Votes
Undo
Hello Ray,

In new versions we do not overwrite userdata_ files, but they are not used.
That is, to customize our set of rules cannot be.
Please let us know if you have any questions.
Thanks in advance!
  1. 13.06.2019 15:06:21
  2. # 2
Ray Baron Accepted Answer
Posts: 30
Joined: 01.04.2013
0
Votes
Undo
So I can no longer provide a list of useragents I want to block?

If I write custom conf files (e.g., 006_i360_6_custom.conf) will they be removed when Imunify360 is updated?
  1. 13.06.2019 17:06:19
  2. # 3
Sergey Khristich Accepted Answer
Posts: 88
Joined: 20.05.2019
0
Votes
Undo
Hello Ray, we do not recommend customizing our rulset.
You can add a rule here /etc/apache2/conf.d/modsec/modsec2.user.conf
and save the date-file to yourself.
Please let us know if you have any questions.
Thanks in advance!
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.