Who Me Too'd this topic

Showing results for 
Show  only  | Search instead for 
Did you mean: 

Who Me Too'd this topic

Former Member
Not applicable
Report Inappropriate Content

ICAP javaclient question

I have downloaded an ICAP java client from https://github.com/Baekalfen/ICAP-avscan. But I cant really get it to work. Im not sure if its the client or the scanningserver that are not working correctly.

First I send this, according to the client Im supposed to get preview back but I dont.

getOptions request:

OPTIONS icap://xxxx9554/avscan ICAP/1.0

Host: xxxx9554

User-Agent: IT-Kartellet ICAP Client/1.1

Encapsulated: null-body=0


ICAP/1.0 200 OK

Date: Tue 24 Jan 2017 08:09:00 GMT

Methods: RESPMOD

Service: McAfee VirusScan Enterprise for Storage

Service-ID: VSES

ISTag: "5800.7501.8416.0"

X-Allow-Out: X-Infection-Found, X-Violations-Found, X-AV-License

X-AV-License: 1

Allow: 204

Max-Connections: 130

Options-TTL: 3600

Encapsulated: null-body=0

Then I send this including the whole file:

RESPMOD icap://xxxx/avscan ICAP/1.0

Host: xxxx9554

User-Agent: IT-Kartellet ICAP Client/1.1

Allow: 204

Preview: 0

Encapsulated: res-hdr=0, res-body=27

Content-Length: 5236200


After that, when Im trying to read the answer with dataInputStream.read the program hangs for around 1 minute before it continues without getting any header.

Can someone please help me with suggestions or a working javaclient?

Who Me Too'd this topic

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community