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

Hello,
I want to convert pcap file to csv.
The pcap file contains only bootp packets.
I want export all bootp field (inc. all bootp header info + all options) without specify them. Is it possible ?

My final goal is to compare two pcap trace files.

Right now, the best result is with:

tshark -nr input.pcapng -T pdml

But it is too verbose and once line per packet.

I also try this:

tshark -r input.pcapng -T fields -e bootp.id -e bootp.hw.mac_addr -e bootp.ip.client -e bootp.option.dhcp -e bootp.option.vendor_class_id -e bootp.option.ip_address_lease_time -e bootp.option.renewal_time_value -e bootp.option.rebinding_time_value -e bootp.option.classless_static.route

But several values of option (for example : bootp.option.classless_static.route) don't be dump into the csv file.

Thx in adv

asked 06 Feb '16, 03:42

_wooofer_'s gravatar image

_wooofer_
6112
accept rate: 0%

Be the first one to answer this question!
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:

×832
×8
×7

question asked: 06 Feb '16, 03:42

question was seen: 1,041 times

last updated: 06 Feb '16, 03:42

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