This is a static, read-only archive of Wireshark Q&A. Older questions and answers from October 2017 and earlier can be found at osqa-ask.wireshark.org.
0

I'd like to extract the timestamp from the wireless LAN management frame

asked Nov 11 '17

So I am very new to this so please be kind!

I've been looking around for how to extract the Timestamp from the wireless LAN management frame which is contained in a .cap file. The .cap contains information recorded using airodump and I think the wireless LAN management frame is a subset of a beacon frame (no idea if thats the right terms or context).

When I click on a frame in Wireshark it has a second 'pane' underneath that I can drill into and find the time-stamp I want. I would upload a picture but I need 60 points apparently. Its under:

IEE 802.11 wireless LAN management frame >> Fixed Parameters >> Timestamp.

I understand this is an EPOCH time/date and know how to convert it. What I don't know is how to extract it from each of the beacon frames. I have had a look at extracting packet bytes and dissections but I don't seem to be able to find a way to get the info I want. I got a .csv for instance and it seemed to list titles with no data.

I have read a couple of other forum posts and using tshark was mentioned but I am barely able to use Wireshark so didn't want to confuse myself further.

Could someone explain (as if to a simpleton) the best approach for grabbing this data consistently from the beacon frames? I would like to grab it to have a look at clock skew of wireless access points.

1 Answer

0

answered Nov 11 '17

updated Nov 12 '17

The easiest way is if you right click at that value and the choose add as column. After that you use the following shark cmd:

Tshark -Tfields -e Fieldname ...

https://www.wireshark.org/docs/man-pa...

Comments

1

I don't think you need to add a field as a column to use it with your tshark command - it should work without doing that, because "-e" is a field name, not a column name.

User 96950 ( Nov 12 '17 )

Yes that’s true I have mixed it up with the xport to csv function.

User 23750 ( Nov 12 '17 )
1

And to find the name to use with the -e, select the field in the packet details pane and the name is displayed in the bottom status bar in parentheses.

User 98587 ( Nov 12 '17 )
cc-by-sa Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.