I keep getting false positive for (cxswatch Scanning /home/user/public_html/wp-content/cache/supercache/www.userdomain.com).
I have already put (hdir:/public_html/wp-content/cache/supercache) in cxs.ignore and restarted the service.
I still keep seeing many email regarding the same false positive any help would be great.
Help with ignoring directory in users homedir
-
- Junior Member
- Posts: 22
- Joined: 03 Nov 2016, 12:10
Re: Help with ignoring directory in users homedir
Hi,
can you paste your cxs.ignore file and also a copy of the logs where it is showing these directories being scanned.
Not sure I can be much help but it may help others to investigate the issue for you.
can you paste your cxs.ignore file and also a copy of the logs where it is showing these directories being scanned.
Not sure I can be much help but it may help others to investigate the issue for you.
-
- Junior Member
- Posts: 22
- Joined: 03 Nov 2016, 12:10
Re: Help with ignoring directory in users homedir
Just to add.
I added the following to my cxs.ignore and restarted the service:
And then get this in my logs:
So I am seeing the same issue as you are.
I added the following to my cxs.ignore and restarted the service:
Code: Select all
hdir:/public_html/wp-content/cache
hdir:/public_html/wp-content/wflogs
hfile:/public_html/error_log
Code: Select all
Apr 5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/all/104' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr 5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/all/104'
Apr 5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/all/63c' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr 5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/all/63c'
Apr 5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/all/d55' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr 5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/all/d55'
Apr 5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/all/674' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr 5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/all/674'
Apr 5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/all/78e' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr 5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/all/78e'
Apr 5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/all/3fd' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr 5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/all/3fd'
Apr 5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/all/8b3' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr 5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/all/8b3'
Apr 5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/options/053' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr 5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/options/053'
Apr 5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/all/8e7' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr 5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/all/8e7'
Apr 5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/all/cc6' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr 5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/all/cc6'
Apr 5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/all/aac' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr 5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/all/aac'
Apr 5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/all/b6a' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr 5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/all/b6a'
Apr 5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/options/6be' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr 5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/options/6be'
Apr 5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/all/975' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr 5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/all/975'
Apr 5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/options/fe1' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr 5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/options/fe1'
Apr 5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/all/db0' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr 5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/all/db0'
Apr 5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/all/b05' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr 5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/all/b05'
Apr 5 13:07:10 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/all/8c5' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr 5 13:07:10 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/all/8c5'
-
- Junior Member
- Posts: 22
- Joined: 03 Nov 2016, 12:10
Re: Help with ignoring directory in users homedir
Seems we have to add
to the cxs command in /etc/cxs/cxswatch.sh and then restart cxswatch.
I've just done this and restarted. looks as though the --ignore is missing from the command.
Code: Select all
--ignore /etc/cxs/cxs.ignore
I've just done this and restarted. looks as though the --ignore is missing from the command.