Objective
This article describes how to record network packet trace using the Graphical User Interface (GUI) of a NetScaler appliance.
Instructions
Points to Note
-
Citrix recommends the use of "Live on the Bleeding Edge" Wireshark version from the "automated build section" of the following web link: http://www.wireshark.org/download/automated.
-
In NetScaler software release 10.5 and later, to decrypt the capture, ensure that ECC (Elliptic Curve Cryptography) is disabled/removed from the virtual server before the trace is captured. For detailed steps refer to the Additional Resources section of this article.
To record the network packet trace on a NetScaler appliance, complete the following procedure based on the NetScaler firmware:
NetScaler 9.3 - 10.1
-
Expand the System node of the navigation pane on the appliance.
-
Select the Diagnostics node.
-
Click the Start new trace link in the Diagnostics page, as shown in the following screenshot:
-
Update the packet size to 0??in the Packet size field.
-
Select nstrace??as the Trace file format.
Note: If NetScaler headers are not required then select tcpdump. -
Click Start to start recording the network packet trace.
-
Click Stop to stop recording the network packet trace after the test is complete.
An nstrace.cap file is generated, which contains the network packet trace.
-
Click Download.
-
Select the required file and click Select.
-
Click Browse in the Download Files dialog box to specify a location on the system to download the file.
-
Click Download, as shown in the following screen shot to download the selected file:
Open the network packet trace file with the Wireshark utility to display the content of the file.
NetScaler 10.5 and Later
-
Expand the??System??node of the navigation pane on the appliance.
-
Select the??Diagnostics??node.
-
Click the??Start new trace??link under Technical Support Tools as shown in the following screen shot:
-
Update the packet size to??0??in the??Packet Size??field.
Note:??If NetScaler headers are not required then select Capture trace in .pcap format.
-
Click??Start??to start recording the network packet trace.
-
Click OK??to stop recording the network packet trace after the test is complete.
An nstrace.cap file is generated, which contains the network packet trace.
-
Highlight the required file and click??Download.
-
Specify a destination and save the packet trace.
-
Open the network packet trace file with the Wireshark utility to display the content of the file.
Note: Select Decrypted SSL packets (SSLPLAIN) to decrypt the packet trace without the private key.
Additionally, it is always recommended to add ip based filters while taking traces. This will ensure that you will capture only interested traffic which will further ease your troubleshooting.
Adding filters will also decrease the load on Netscaler while taking traces.
You will find the option to configure filters on the same page:
Simple IP based filters are enough to get the right captures. But you have additional options also.
Note:
On a unit handling Gigabytes of traffic per second, capturing traffic is a very resource intensive process.
The impact to resources is mainly in terms of CPU and Disk Space.
Disk Space impact can be reduced by using filtering expressions (e.g. capturing traffic only related to a particular IP).However the impact on CPU remains despite using expressions and in some cases might cause a slight further increase as NetScaler now needs to process packets according to the filter before capturing them.
??The best practise with regards to tracing are:
1. The duration for which the trace is run should be as limited as possible while still ensuring the packets of interest are captured.
2. Schedule the tracing activity to happen at a time when the number of users (and hence the traffic) is greatly reduced, such as during off hours.
Additional Resources
Refer to the Wireshark Go deep web page for more information about the Wireshark utility.
Disable ECC Curve on Virtual Server from NetScaler GUI
-
Open the virtual server and navigate to ECC Curve.
-
If no ECC Curve is bound to the virtual server then no other action is required.
-
If any ECC Curve is bound to the virtual server then click the ECC Curve and Unbind it from the virtual server.
Disable ECC Curve on Virtual Server from NetScaler CLI
-
SSH to the NetScaler.
-
Run the following command for each ECC Curve bound to the virtual server:
unbind ssl vserver "vServer_Name" -eccCurveName "ECC_Curve_Name"
Supporto Citrix
Traduzione automatica
Questo articolo ??¨ stato tradotto da un sistema di traduzione automatica e non ??¨ stata valutata da persone. Citrix fornisce traduzione automatica per aumentare l'accesso per supportare contenuti; tuttavia, articoli automaticamente tradotte possono possono contenere degli errori. Citrix non ??¨ responsabile di incongruenze, errori o danni derivanti dell'uso di articoli automaticamente tradotte.
Citrix技術支持
自動翻譯
這篇文章被翻譯由一個自動翻譯系統,並沒有受到人們的審查。 Citrix提供自動翻譯,增加獲得支持的內容;但是,自動翻譯的文章可能可以包含錯誤。思傑不負責不一致,錯誤或損壞因使用自動翻譯的文章的結果。
Поддержка Citrix
Tradução automática
Эта статья была переведена автоматической системой перевода и не был рассмотрен людьми. Citrix обеспечивает автоматический перевод с целью расширения доступа для поддержки контента; Однако, автоматически переведенные статьи могут может содержать ошибки. Citrix не несет ответственности за несоответствия, ошибки, или повреждения, возникшие в результате использования автоматически переведенных статей.
시트릭스 지원
자동 번역
이 문서 자동 번역 시스템에 의해 번역 된 사람들에 의해 검토되지 않았다. 시트릭스는 컨텐츠를 지원하기 위해 접근을 높이기 위해 자동 번역을 제공합니다; 그러나, 자동으로 번역 기사 오류를 포함 할 수있다. 시트릭스는 자동으로 번역 된 기사의 사용의 결과로 발생하는 불일치, 오류 또는 손해에 대해 책임을지지 않습니다.