adafruit / beaglecap

Capture from a Beagle 12 into Wireshark
3 stars 1 forks source link

pcap Timestamps #1

Open cabelito opened 4 years ago

cabelito commented 4 years ago

Hello there, you have made a great code. I found a few bugs 1-st one is - when using tshark and log USB traffic to a file and then tshark quits, there is still a python process that runs on the background and have to kill it manually 2-nd one is - timestamps of packets are completely wrong ? everything starts from 0:00:00 . I know that Beagle starts from 0:00:00 when used but we can always set a local timestamp not the one from the beagle ? I do not know how to set timestamp to be set in the pcap files locally instead of getting timestamp from beagle ? Any suggestion ? look at the code , found --ts but cannot figure out how to modify your python script so that it creates timestamp in pcap file according to computer running the tshark

tannewt commented 4 years ago

Thanks! I'm not actively using this so I'm also not supporting it. Please make a PR with fixes if you can. Otherwise, I'll leave this open for others.

cabelito commented 4 years ago

Thanks for your fast response. I am not using it either, just happened to test the device and didnt know it is possible to log this type of traffic using wireshark. Tried it in a couple of situations and this is it.