EasyManua.ls Logo

Check Point R80.20 - Page 77

Check Point R80.20
626 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ICAP Client
Next Generation Security Gateway Guide R80.20 | 77
To add an HTTP server status code temporarily
1.
Set the value of this kernel parameter to the desired string (see the
Notes
above):
• # fw ctl set str icap_append_status_code_str 'N'
• # fw ctl set str icap_append_status_code_str 'NN'
• # fw ctl set str icap_append_status_code_str 'NNN'
2.
Print the list of the configured server status codes:
# fw ctl set str icap_append_status_code_str '__print__'
# dmesg | grep icap_client_append_status_code
Example:
[Expert@GW:0]# fw ctl set str icap_append_status_code_str '3'
[Expert@GW:0]# fw ctl set str icap_append_status_code_str '__print__'
[Expert@GW:0]# dmesg | grep icap_client_append_status_code
[fw6_0];icap_client_append_status_code: ==> new 'status code' array is: [
1 ; 2 ; 3 ;]
[fw4_0];icap_client_append_status_code: ==> new 'status code' array is: [
1 ; 2 ; 3 ;]
[Expert@GW:0]#
To delete all configured HTTP server status codes temporarily
1.
Set the value of this kernel parameter to an empty string '':
# fw ctl set str icap_append_status_code_str ''
2.
Print the list of the configured HTTP headers:
# fw ctl set str icap_append_status_code_str '__print__'
# dmesg | grep icap_client_append_status_code
Example:
[Expert@GW:0]# fw ctl set str icap_append_status_code_str ''
[Expert@GW:0]# fw ctl set str icap_append_status_code_str '__print__'
[Expert@GW:0]# dmesg | grep icap_client_append_status_code
[Expert@GW:0]#
To restore the default configured HTTP server status codes temporarily
1.
Set the value of this kernel parameter to the strings '1' and '2':
a) # fw ctl set str icap_append_status_code_str '1'
b) # fw ctl set str icap_append_status_code_str '2'
2.
Print the list of the configured server status codes:
# fw ctl set str icap_append_status_code_str '__print__'
# dmesg | grep icap_client_append_status_code

Table of Contents