# TCPDump Question

**URL:** <https://community.f5.com/t/tcpdump-question/19288>\
**Category:** Technical Forums\
**Tags:** tmsh, tmos, security\
**Created:** [January 6, 2015, 3:49pm UTC](https://community.f5.com/t/tcpdump-question/19288 "2015-01-06T15:49:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aspindler34\_133](https://avatars.discourse-cdn.com/v4/letter/a/b4bc9f/32.png) [@aspindler34\_133](https://community.f5.com/u/aspindler34_133)\
**Post date:** [January 6, 2015, 3:49pm UTC](https://community.f5.com/t/tcpdump-question/19288/1 "2015-01-06T15:49:54Z")

</div>

What is the correct format to export a dumpfile to, to be properly read in wireshark? I am having issues with wireshark complaining about my capture files not being valid.

---

<div class="post-metadata">

**Author:** ![nathe](https://avatars.discourse-cdn.com/v4/letter/n/eb8c5e/32.png) [@nathe](https://community.f5.com/u/nathe)\
**Post date:** [January 6, 2015, 3:55pm UTC](https://community.f5.com/t/tcpdump-question/19288/2 "2015-01-06T15:55:56Z")

</div>

I believe the bigip and wireshark supports many formats.

From SOL13637 you can use .dmp, from SOL411 you can use binary format .bin and I have used .pcap too.

Hope this helps,

N

---

<div class="post-metadata">

**Author:** ![Cthulhucalling](https://avatars.discourse-cdn.com/v4/letter/c/a3d4f5/32.png) [@Cthulhucalling](https://community.f5.com/u/Cthulhucalling)\
**Post date:** [January 6, 2015, 3:59pm UTC](https://community.f5.com/t/tcpdump-question/19288/3 "2015-01-06T15:59:15Z")

</div>

It sounds like you may be redirecting the text output to a file, which is not what Wireshark wants. Tcpdump can write the packet data to a file in PCAP format. Use the -w option, then you can import that into Wireshar.
