First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

Capture network traffic for specific application

  • retag add tags

Dear Community,

I'm new to Wireshark and trying to investigate an issue with an application which synchronizes with OneDrive. I'm therefore expecting the tool to capture all network traffic from/to this application to help the developer fix the issue.

Is this possible? If yes, how shoudl I configure Wireshark to perform the capture?

Thanks in advance for any help!

jlgarnier's avatar
1
jlgarnier
asked 2020-01-09 14:24:09 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

OneDrive uses TCP ports 80 (HTTP) and 443 (HTTPS). The latter provides security by encrypting the data thus HTTPS captures are useless without the encryption key. Wireshark is able to decrypt data with the key.

While capture filters are very limited, they can at least filter an IP address and port. For client-side captures there is usually no need to configure a capture filter; however, they can be helpful in server-side captures in reducing or eliminating frames missing from the capture file due to excessive volume. The PC will receive all of the frames transmitted and received on the server's network interface and must be placed in the PC's input buffer before Wireshark can filter it. The PC stores the filtered data and disk latency is the most common cause missing frames because the rate at which data can be stored is usually far slower that the rate at which it can be buffered. If the PC is configured to encrypt data (e.g., due to company policy), latency is worse. Furthermore, we have seen frequent spikes in the incoming data rate cause as much as 99% data loss.

If the application issue is intermittent, Wireshark must be configured to store the packets received within a given time interval among a group of files in a round-robin fashion. A sufficient number of files must be specified for the person monitoring the issue to notice the failure and terminate the capture before any of the relevant capture files are overwritten. If it is not possible to reproduce the problem immediately or within a reasonable period, you may have to employ this method. If so and you need help, let us know.

cal_turney's avatar
1
cal_turney
answered 2020-01-12 07:01:48 +0000, updated 2020-01-12 07:48:26 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer