ICAP Client
Next Generation Security Gateway Guide R80.20 | 75
X-Response-Desc ;]
[Expert@GW:0]#
To delete all configured HTTP response X-Headers temporarily
Set the value of this kernel parameter to an empty string '':
# fw ctl set str icap_unwrap_append_header_str ''
Print the list of the configured HTTP headers:
# fw ctl set str icap_unwrap_append_header_str '__print__'
# dmesg | grep append_icap_unwrap_headers
Example:
[Expert@GW:0]# fw ctl set str icap_unwrap_append_header_str ''
[Expert@GW:0]# fw ctl set str icap_unwrap_append_header_str '__print__'
[Expert@GW:0]# dmesg | grep append_icap_unwrap_headers
[Expert@GW:0]#
To restore the default configured HTTP response X-Headers temporarily
Set the value of this kernel parameter to the strings 'X-Virus-ID',
'X-Violations-Found', and 'X-Infection-Found':
a) # fw ctl set str icap_unwrap_append_header_str 'X-Virus-ID'
b) # fw ctl set str icap_unwrap_append_header_str 'X-Violations-Found'
c) # fw ctl set str icap_unwrap_append_header_str 'X-Infection-Found'
Print the list of the configured HTTP headers:
# fw ctl set str icap_unwrap_append_header_str '__print__'
# dmesg | grep append_icap_unwrap_headers