본문 바로가기
오류 처리 관련

How To Get A Wireshark Trace?

by rudgns99 2023. 11. 12.
반응형

Wireshark

  1. Install Wireshark. https://www.wireshark.org/download.html
  2. Open Wireshark.
  3. Select the interface to trace. Typically, this will be the Ethernet adapter (or if using wifi, it will be the Wi-Fi adapter.
    • The icon has a heartbeat monitor graphic next to it and it is typically the most active one.
    • The below screenshot has an example of what this may look like (the ethernet adapter number might not always be the same).

  1. After the adapter is selected, click the shark fin icon on the top right of the screen.
  2. This will trigger the capture. 
  3. Reproduce the issue.
  4. Go back to wireshark and then click the stop icon (the red square icon next to the shark icon).
  5. Go to File->Save As... and save the capture.
  6. Send the capture to UiPath along with the additional information regarding the client and server IP address.

 

Netsh

If there is a need to capture a network trace of a client or server without installing Wireshark or Netmon this might be helpful. (This feature works on Windows 7/2008 R2 and above).

  1. Open an elevated command prompt and run: "netsh trace start persistent=yes capture=yes tracefile=%temp%\nettrace-boot.etl" (make sure you have a \temp directory or choose another location).
  2. Reproduce the issue or do a reboot if tracing a slow boot scenario.
  3. Open an elevated command prompt and run: "netsh trace stop"
  4. The trace will be stored in %temp%\nettrace-boot.etl**or wherever you saved it. The trace can be viewed using netmon: https://www.microsoft.com/en-us/download/4865
  5. Send the capture to UiPath along with the additional information regarding the client and server IP address.