Showing results for 
Search instead for 
Did you mean: 
Level 7

Setup MWG as icap server


I'd like to configure mwg as only an icap server, which can be connected to other equipement.

What I did as a configuration is the one in attached file, with only one rule set: icap server.

Myother configuration, in the appliance is:

Proxies (https, ftp, icap, an IM)

     -> proxy (optional WCCP) activated

     -> HTTP and FTP proxy are disabled

     -> ICAP server is enabled

Is my configuration OK, or I miss some thing. For the way I cant' connect to other machine to make a full chain test but I made a telnet and I had the following output:

[xxxxxxx]# telnet localhost 1344


Connected to localhost.

Escape character is '^]'.

OPTIONS icap://

ICAP/1.0 200 OK


Options-TTL: 3600

Encapsulated: null-body=0

Max-Connections: 100

Preview: 30

Service: McAfee Web Gateway 7.3.2 build17286


Allow: 204

Connection closed by foreign host.


I use MWG


0 Kudos
3 Replies
Level 17

Re: Setup MWG as icap server


it looks pretty much OK I think, as long as the rules play well together. I actually would have set up it in a different way, but since I am not sure what you are setting up it might be fine.

Generally there is not much different whether you are running an Explicit proxy or ICAP serverin regards to rules, so there is no need to create a special "ICAP" rule. I would create a blank "top level" rule set which has "Connection.Protocol = ICAP" and import the default rule sets from the rule set library below this top level rule set.

The request you made looks OK. You should be able to test it :-)



0 Kudos
Level 7

Re: Setup MWG as icap server

Thank you, I'll post comments when tests will be made.

0 Kudos
McAfee Employee

Re: Setup MWG as icap server

I've had to setup MWG with ICAP pretty recently and was looking to verify functionality. After some research, I found something called c-icap-client utility for Linux. Here's a basic syntax on how you can push a file from your Linux box to MWG.

c-icap-client -i -p 1344 -s reqmod -f /file/path/ -req http://b.ahfa.tld/kdafjlakf -d 10

There are two ways you can view them. After issuing the above command, you will see output in the terminal window. If you want, you can extract and save output as HTML file and open in a browser. The other way you can view logs is

by going MWG console > Troubleshooting tab > Log Files > user-defined-logs > foundViruses.log

0 Kudos