My Ignore File is not taking effect.

Community forum to discuss cxs.
If you believe that there is a problem with your cxs installation and want support then, as a paid product, you should use the helpdesk after having consulted the documentation.
Post Reply
ashiftoday
Junior Member
Posts: 4
Joined: 26 Aug 2016, 10:18

My Ignore File is not taking effect.

Post by ashiftoday »

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.
Sarah
Moderator
Posts: 934
Joined: 09 Dec 2006, 22:49

Re: My Ignore File is not taking effect.

Post by Sarah »

Did you add

Code: Select all

--ignore /etc/cxs/cxs.ignore 
to your cxs command in /etc/cxs/cxswatch.sh and then restart cxswatch?

Regards,
Sarah
ashiftoday
Junior Member
Posts: 4
Joined: 26 Aug 2016, 10:18

Re: My Ignore File is not taking effect.

Post by ashiftoday »

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 :) )
ashiftoday
Junior Member
Posts: 4
Joined: 26 Aug 2016, 10:18

Re: My Ignore File is not taking effect.

Post by ashiftoday »

also : pls advise, i removed the MDSUM from ignore file.
was it required ?
Sarah
Moderator
Posts: 934
Joined: 09 Dec 2006, 22:49

Re: My Ignore File is not taking effect.

Post by Sarah »

No, it is not required. It is an example.
ashiftoday
Junior Member
Posts: 4
Joined: 26 Aug 2016, 10:18

Re: My Ignore File is not taking effect.

Post by ashiftoday »

thanks
its fixed.
Post Reply