This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

I captured traffic for a specific subnet, I need to be able to filter the output, and save the results so I can send the files off to the manufacturer.

Wireshark ver. 1.4.1

Example:

Capture filter: net 1.1.1.0/24

This captured a lot of packets, since I needed it to run until a failure in the hardware occurred, and it is random when they fail.

Once I stopped the filter, I can then use a display filter to track one of the devices on that subnet

Example:

Display Filter: ip.addr == 1.1.1.1

The display changes to show just that IP, but I want to be able to save just those packets, to send to manufacturer.

Anyone have any ideas?

Thanks,

asked 03 Aug '11, 09:35

Sulimo's gravatar image

Sulimo
1112
accept rate: 0%

edited 28 Feb '12, 20:18

cmaynard's gravatar image

cmaynard ♦♦
9.3k1038142


If you're working in the GUI, simply click File > Save As. Browse to the location where you'd like to save your file, and enter a file name. In the "Packet Range" box, select "All packets" on the left and "Displayed" at the top. Click "Save."

permanent link

answered 03 Aug '11, 19:32

Jim%20Aragon's gravatar image

Jim Aragon
7.2k733118
accept rate: 24%

In the Wireshark Gui (1.12.8) 'File > Save As' would be 'File > Export Specified Packets' to get to that "Packet Range" box. Otherwise that is the way to go.

(29 Oct '15, 01:39) MOd24

Nevermind, I got it.

Jasper had the answer.

tshark -r <chunkfile##> -R "ip.addr eq XX.XX.XX.XX" -w <filteredfile##>

here is the post

permanent link

answered 03 Aug '11, 09:47

Sulimo's gravatar image

Sulimo
1112
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×349
×42

question asked: 03 Aug '11, 09:35

question was seen: 55,123 times

last updated: 29 Oct '15, 01:40

p​o​w​e​r​e​d by O​S​Q​A