Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: NTop: Users
Re: PF_RING tcpdump, incorrect timestamps
 

Index | Next | Previous | View Flat


alex.dupuy at mac

Mar 14, 2012, 6:31 PM


Views: 535
Permalink
Re: PF_RING tcpdump, incorrect timestamps [In reply to]

On Mar 14, 2012, at 10:04, Jon Schipp wrote:

> Thanks for the reply Alex.
>
> The TZ variable on my system has not been set.
>
> It makes sense that it is displaying the UTC time, I overlooked that
> idea. I changed the TZ variable to a few different timezones and the
> original tcpdump program compiled from source from tcpdump.org changes
> appropriately as each new value of TZ is set. However, the PF_RING
> version of tcpdump does not seem to respect the TZ variable. I
> downloaded the source and compiled the source in the userland
> directory from the latest PF_RING tarball. As to why that is I'm not
> sure.
>
> If I write to disk (-w) and read with analysis tools other than the
> pf_ring modified tcpdump, the tools report the EST format of the time,
> which is the way I like it...easier to read.
>
> I set the TZ variable to "EST+4" and then recompiled tcpdump source
> from the PF_RING release, just to see if anything changed.
> It's still the same. When you mentioned TZ I thought "Voila" but the
> modified tcpdump does not seem to pay attention to TZ like the
> original does.
>
> Am I missing something? Any other pointers?


Without looking at the PF_RING modified tcpdump sources in some detail, I can't say, but perhaps there was a localtime() call changed to gmtime() somewhere.

@alex
--
mailto:alex.dupuy [at] mac



_______________________________________________
Ntop mailing list
Ntop [at] listgateway
http://listgateway.unipi.it/mailman/listinfo/ntop

Subject User Time
PF_RING tcpdump, incorrect timestamps jonschipp at gmail Mar 12, 2012, 7:24 AM
    PF_RING tcpdump, incorrect timestamps alex.dupuy at mac Mar 13, 2012, 5:53 PM
    Re: PF_RING tcpdump, incorrect timestamps alex.dupuy at mac Mar 14, 2012, 6:31 PM
        Re: PF_RING tcpdump, incorrect timestamps alex.dupuy at mac Mar 15, 2012, 1:07 AM
            Re: PF_RING tcpdump, incorrect timestamps jonschipp at gmail Mar 15, 2012, 7:32 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.