[ntar-workers] Store "Daulight Saving Time" status in capture file ?

Guy Harris guy at alum.mit.edu
Mon Aug 29 21:26:16 GMT 2005


On Aug 29, 2005, at 3:13 PM, Bill Meier wrote:

>   If this is interesting, maybe the PCAP Next Generation dump file  
> format
>   should have a 'if_isdst' interface description block option'
>   in addition to the 'if_timezone' option.

If if_tzone is just the offset from GMT as of the time the capture  
starts, if_isdst shouldn't be necessary, as the offset would include  
any DST adjustment.  (If the capture crosses a standard/DST boundary,  
that won't work, but, at that point, you'd probably need the Olson  
code and database in your application, and an indication of what the  
*name* of the time zone locale is.)

Note also that if_isdst isn't necessarily sufficient, either, as,  
although the Olson database doesn't appear to have any *current*  
locales with a DST offset other than 1 hour, there are some in there  
that had a 2-hour offset at one point.


More information about the ntar-workers mailing list