We need to block McAfee IP addresses from logging errors. When McAfee scans the site the error log file quickly grows to thousands of error messages until finally the database gets full and the site goes down. We've configured the McAfee scan to exclude a range of pages with wildcard characters for categories/ products but the problem is still occuring.
We need to exclude the list of McAfee servers from logging error. Any ideas?
--Alan Wills
Block McAfee IP addresses from logging errors
- Logan Rhodehamel
- Developer
- Posts: 4116
- Joined: Wed Dec 10, 2003 5:26 pm
Re: Block McAfee IP addresses from logging errors
McAfee purposely submits invalid data to various fields as part of the scan. Our application was logging an error when unexpected data was present in certain fields, but this error was not helpful in conjunction with automated site scans. This has been corrected as part of the 7.0.3 release.
Cheers,
Logan
.com
If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Logan

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Re: Block McAfee IP addresses from logging errors
I changed web.config as follows
to
and added validateRequest="false" to the Admin/web.config
Is that an acceptable work around until we can apply 7.0.3 ?
Thanks,
Alan
Code: Select all
<system.web>
<customErrors mode="On"/>
<pages theme="AbleCommerce" enableEventValidation="false" validateRequest="false">
Code: Select all
<system.web>
<customErrors mode="On"/>
<pages theme="AbleCommerce" enableEventValidation="false" validateRequest="true">
and added validateRequest="false" to the Admin/web.config
Is that an acceptable work around until we can apply 7.0.3 ?
Thanks,
Alan