We have VSES with ICAP installed on Windows 2016 server. Configured ICAP but it is not working as expected. The ICAP stats are showing zero from the console when conducting ICAP client testing from using icapclient.pl' perl script. Note the scanResult returned is 'File is Allowed'.
I have debug turned on the ICAP server and the log is showing 'Bad request Invalid Size':
08/30/2019 10:54:36:491 5724 Request SocketManager::AcceptConnection : Client successfully connected from: 10.10.1.48 ClientId: 0
08/30/2019 10:54:36:506 6504 Request ICAPDataHandler::ParseICAPMethod : RESPMOD Request - 10.10.1.48 ClientId: 0
08/30/2019 10:54:36:506 6504 Request ICAPDataHandler::ParseICAPMethod : RESPMOD Request - 10.10.1.48 ClientId: 0
08/30/2019 10:54:36:506 5252 Warning ClientContext::ParseICAPHeaders : Bad request, invalid size, ClientId: 0
08/30/2019 10:54:36:522 3096 Warning SocketManager::ReuseOrDisconnectClients Client 0 is deleted at step -1
08/30/2019 10:54:36:522 3096 Warning ClientContext::~ClientContext reuse START Client 0 at step -1
Any ideas what might be missing?
Thanks
The VSES scan server can only accept chunks of 8k or less. It will reject anything larger. Below is a KB that will provide the requirements. Also, make sure to check the Supported Environments KB, as not all ICAP Clients are certified to work with VSES. If the ICAP Client isn't on the KB, it usually means that the ICAP Client vendor hasn't passed self-certification, and therefore they haven't been added to the KB as "supported," officially.
VirusScan Enterprise for Storage compatibility testing with ICAP-based NAS appliances:
https://kc.mcafee.com/corporate/index?page=content&id=KB75543
Supported Environments for VSES:
https://kc.mcafee.com/corporate/index?page=content&id=KB74863
Was my reply helpful?
If this information was helpful in any way, or answered your question, will you please select "Accept as Solution" in my reply, or give kudos as appropriate, so together we can help other members?
The best data collection for this would be a packet capture (Wireshark usually works well), taken between the ICAP Client and ICAP Server. This will help us validate the proper ICAP reqmod/respmod data, as well as allow us to follow the TCP stream and most likely identify the failure point.
Opening a service request and attaching the capture, as well as a MER from the scan server, should help us progress further.
What make/model of ICAP Client is currently being used to send these requests?
New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.
Thousands of customers use our Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership: