Skip to main content
hrahuman_FTNT
Staff & Editor
Staff & Editor
December 15, 2021

Technical Tip: How to View the ICAP response in v2.0

  • December 15, 2021
  • 0 replies
  • 902 views
Description This article describes how to View the ICAP response in v2.0
Scope FortiProxy v2.
Solution

The following debug must be enabled to view the ICAP server response in the v2.0.

 

To enable WAD's ICAP + HTTP debug:


diag wad debug enable category icap
diag wad debug enable category http
diag debug console no-user-log-msg enable
diag debug enable

 

To disable debug:

 

diag debug disable

 

ICAP server responses 403 Forbidden block page for eicar test file.


On the FortiProxy ICAP client, find the following debug:

 

[I]wad_http_icap_notify :937 icap=0x7ff4a1f8e538 len=5258 request=0 clt_strm=0x7ff4a1fcc030
[V]wad_http_status_line_reader_parse :753 status line code=403 ver_len=8 len=24 invalid=0
[V]wad_http_hdr_reader_parse :1143 header line len=19 name_len=10 val_len=5 is_piggy=0 invalid=0

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.