CTX129118
NetScaler 9.2
NetScaler 9.2
Article
2012-03-10
2012-03-10
Summary This article contains information about analyzing the cached multiple HTTP Callout requests. Background You ...

Summary

This article contains information about analyzing the cached multiple HTTP Callout requests.

Background

You might need to handle huge volume of network traffic passing through a NetScaler appliance and cache multiple HTTP Callout requests. This might further result in some complications to analyze individual request. In this scenario, you can use the HTTP Callout feature to block Client IP addresses from accessing a Web site.

Analyzing Cached Multiple HTTP Callout Requests

Run the following command from the shell prompt of the NetScaler appliance to analyze the cached objects:

for loc in $(nscachemgr -a | awk '/0x/ {print $1}'); do?? echo -e "\n---------------------\n---------------------" &&?? nscli -U :nsroot:<Password> "show cache object -locator $loc" | egrep 'Host|callout|URL'; echo -e "---------------------\n---------------------" ;done

Note: In the preceding command, the echo command is used to format the output. The egrep syntax can be tweaked for the required locator output.

The following is an excerpt from the output of the preceding command:

Host: 10.10.10.10
Host port: 80
URL: /home/ipcheck.asp?ip=172.16.159.232
Stored by policy: cache_policy-session-callout-cache
HTTP callout cell: YES
HTTP callout name: ip-session-callout
HTTP callout type: TEXT
HTTP callout response: good

In the preceding output, notice the following points:

  • The HTTP request to port 80 on the backend Web server with the 10.10.10.10 IP address has been cached.
  • The file cached is /home/ipcheck.asp?ip=172.16.159.232 and the Client IP address 172.16.159.232 address is tagged to the filename.
  • The caching cell is associated with HTTP Callout and the response is good.

This indicates that the Client IP address is not blocked.

More Information

Refer to the Knowledge Center article CTX124718 – How to Cache httpCallout Responses in a NetScaler Appliance for more information.


Applicable Products

特别说明


本文来源为Citrix.com所有,翻译后版权归翻译者所有.如需转载请注明出处.

文档版本


.

广告招租


最新留言


.

广告招租


.