I copied the example ignore file and renamed it cxs.ignore
and have added a rule in the file :
hdir:/public_html/wp-content/wflogs
but still in email i am getting this warning :
Aug 26 10:03:51 home cxswatch[45543]: WARNING: '/home/******/public_html/wp-content/wflogs/config.php' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Aug 26 10:03:51 home cxswatch[45543]: Ignoring resource for the next 300 seconds: '/home/********/public_html/wp-content/wflogs/config.php'
Aug 26 10:03:51 home cxswatch[45543]: WARNING: '/home/*******/public_html/wp-content/wflogs/ips.php' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Aug 26 10:03:51 home cxswatch[45543]: Ignoring resource for the next 300 seconds: '/home/********/public_html/wp-content/wflogs/ips.php'
Aug 26 10:03:51 home cxswatch[45543]: WARNING: '/home/***********/public_html/wp-content/wflogs/attack-data.php' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Aug 26 10:03:51 home cxswatch[45543]: Ignoring resource for the next 300 seconds: '/home/*********/public_html/wp-content/wflogs/attack-data.php'
Aug 26 10:04:00 home cxswatch[45543]: WARNING: '/home/**********/public_html/error_log' scanned 6 times in the last 30 seconds, you might want to ignore this resource
i dont know why its not ignoring the directory, ive stopped and started the cxs service a couple times as well.
i've searched alot but unable to find the fix.
My Ignore File is not taking effect.
-
- Junior Member
- Posts: 4
- Joined: 26 Aug 2016, 10:18
Re: My Ignore File is not taking effect.
Did you add
to your cxs command in /etc/cxs/cxswatch.sh and then restart cxswatch?
Regards,
Sarah
Code: Select all
--ignore /etc/cxs/cxs.ignore
Regards,
Sarah
-
- Junior Member
- Posts: 4
- Joined: 26 Aug 2016, 10:18
Re: My Ignore File is not taking effect.
that what i was thinking, i had to :
1. disable the restricted mode
2. Go to other files page in whm->cxs->other files
3. Modify the cxswatch file
4. added : --ignore /etc/cxs/cxs.ignore
5. then restarted cxs
6. (just restarted, so awaiting if this works )
1. disable the restricted mode
2. Go to other files page in whm->cxs->other files
3. Modify the cxswatch file
4. added : --ignore /etc/cxs/cxs.ignore
5. then restarted cxs
6. (just restarted, so awaiting if this works )
-
- Junior Member
- Posts: 4
- Joined: 26 Aug 2016, 10:18
Re: My Ignore File is not taking effect.
also : pls advise, i removed the MDSUM from ignore file.
was it required ?
was it required ?
Re: My Ignore File is not taking effect.
No, it is not required. It is an example.
-
- Junior Member
- Posts: 4
- Joined: 26 Aug 2016, 10:18
Re: My Ignore File is not taking effect.
thanks
its fixed.
its fixed.