ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-users: Re: [Ethereal-users] Timestamp in text2pcap

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Thu, 26 Jan 2006 15:18:03 -0500
Sorry for the last mail LEGO, it was sent before finished.
 
I was gonna say I tried many different switches, the only one that did something was the first one (append current date and assume the same delay between packages).
 
I'm attaching the files needed to repeat the experiment. I really don't know what I'm missing.
 
I created this bat file:
miprueba.bat
-------------------------------------
:: miprueba.bat
:: Conversion poniendo el encabezado de MTP2 y el timestamp
text2pcap.exe -l 140 -d miprueba.log miprueba_0.pcap
text2pcap.exe -l 140 -t '%F %T.' -d miprueba.log miprueba_1.pcap
text2pcap.exe -l 140 -t '%F %T' -d miprueba.log miprueba_1b.pcap
text2pcap.exe -l 140 -t %F %T. -d miprueba.log miprueba_2.pcap
text2pcap.exe -t '%F %T.' -d miprueba.log miprueba_3.pcap
text2pcap.exe -t %F %T. -d miprueba.log miprueba_4.pcap
text2pcap.exe -t '%Y-%m-%d %H:%M:%S.' miprueba.log miprueba_5.pcap
text2pcap.exe -t %Y-%m-%d %H:%M:%S. miprueba.log miprueba_6.pcap
----------------------------------------
 
To process this file
 
miprueba.log
---------------------------------------
2006-01-25 11:32:56.973 0000   A3 92 00
2006-01-25 11:32:57.080 0000   A3 93 09 85 FF 57 FD BF 0B 01 10 00
2006-01-25 11:32:57.081 0000   A3 93 00
2006-01-25 11:32:57.201 0000   A4 93 00
2006-01-25 11:32: 57.217 0000   A5 93 00
2006-01-25 11:32:57.283 0000   A5 94 09 85 FF 57 FD 7F B7 00 10 00
2006-01-25 11:32:57.285 0000   A5 94 00
2006-01-25 11:32:57.300 0000   A5 95 0F 85 FF 57 FD BF 1B 01 06 16 00 01 29 01 01 00
2006-01-25 11:32:57.301 0000   A5 95 00
2006-01-25 11:32:57.453 0000   A5 96 09 85 FF 57 FD 3F B3 00 10 00
------------------------------------------

Attachment: miprueba.log
Description: Binary data

:: Conversion poniendo el encabezado de MTP2 y el timestamp
text2pcap.exe -l 140 -d miprueba.log miprueba_0.pcap
text2pcap.exe -l 140 -t '%F %T.' -d miprueba.log miprueba_1.pcap
text2pcap.exe -l 140 -t '%F %T' -d miprueba.log miprueba_1b.pcap
text2pcap.exe -l 140 -t %F %T. -d miprueba.log miprueba_2.pcap
text2pcap.exe -t '%F %T.' -d miprueba.log miprueba_3.pcap
text2pcap.exe -t %F %T. -d miprueba.log miprueba_4.pcap
text2pcap.exe -t '%Y-%m-%d %H:%M:%S.' miprueba.log miprueba_5.pcap
text2pcap.exe -t %Y-%m-%d %H:%M:%S. miprueba.log miprueba_6.pcap

Attachment: text2pcap.exe_
Description: Binary data