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
1111
accept rate: 0%

edited 28 Feb '12, 20:18

cmaynard's gravatar image

cmaynard ♦
3.2k51656


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

link

answered 03 Aug '11, 09:47

Sulimo's gravatar image

Sulimo
1111
accept rate: 0%

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."

link

answered 03 Aug '11, 19:32

Jim%20Aragon's gravatar image

Jim Aragon
3.1k62066
accept rate: 14%

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

Tags:

×127
×26

Asked: 03 Aug '11, 09:35

Seen: 2,158 times

Last updated: 28 Feb '12, 20:18

powered by OSQA