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

tshark convert from pcap to csv bootp option?

0

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%