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 17:27:57 +0100
It expects the whole timestamp, not just the time.

try -t '%F %T.'  and add the date to your file

2006-01-25 10:44:22.490 0000   A7 97 00

%T = %H:%M:%S
%F = %Y-%m-%d

On 1/26/06, ariel@xxxxxxxx <ingenieroariel@xxxxxxxxx> wrote:
> Hello,
>
> I'm using text2pcap to read a hex dump from a signaling card. I tried to use
> the -t to read the timestamp and add it to the pcap file.
>
> This is a portion of the text(dumpfile):
> 10:44:22.490 0000   A7 97 00
> 10:44:22.491 0000   A7 97 00
> 10:44:22.492 0000   A7 97 00
> 10:44:22.492 0000   A7 97 00
> 10:44:22.493 0000   A7 97 00
> 10:44:22.494 0000   A7 97 00
>
> And this is what I'm calling from the command line:
> text2pcap.exe -l 140 -t "%H:%M:%S." -d mytest.log mytest.pcap
>
> I expected to be able to read the proper arrival time in Ethereal, but all I
> got was:
>
> Arrival Time: Dec 31, 1969 19:00:00.0000000
>
> Could someone give me some hints about how to do that right??
>
> Thanks in advance,
>
> Ariel.
>
> --
> Ariel Mauricio Núñez Gómez
> _______________________________________________
> Ethereal-users mailing list
> Ethereal-users@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-users
>
>
>


--
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan