bugzilla-daemon at netfilter.org
2013-May-09 18:41 UTC
[Bug 817] New: conntrack reports incorrect timestamps when microseconds are less than 100000
https://bugzilla.netfilter.org/show_bug.cgi?id=817 Summary: conntrack reports incorrect timestamps when microseconds are less than 100000 Product: conntrack-tools Version: unspecified Platform: All OS/Version: All Status: NEW Severity: minor Priority: P5 Component: conntrack AssignedTo: netfilter-buglog at lists.netfilter.org ReportedBy: hoffman at stanford.edu Estimated Hours: 0.0 Created attachment 394 --> https://bugzilla.netfilter.org/attachment.cgi?id=394 Patch to correct timestamp format of conntrack The fractional portion of timestamps reported by conntrack is printed as a left-justified integer instead of fixed-width and zero-padded. When the number of microseconds is less than six digits, this makes it incorrect (and sometimes non-monotonic) when read as a straight decimal number. Example of actual results: May 5 23:45:05 natbox2 logger: [1367822705.769455]#011[DESTROY] ... May 5 23:45:06 natbox2 logger: [1367822706.41462 ]#011[DESTROY] ... May 5 23:45:06 natbox2 logger: [1367822706.143201]#011 [NEW] ... Expected results: May 5 23:45:05 natbox2 logger: [1367822705.769455]#011[DESTROY] ... May 5 23:45:06 natbox2 logger: [1367822706.041462]#011[DESTROY] ... May 5 23:45:06 natbox2 logger: [1367822706.143201]#011 [NEW] ... Patch attached. -- Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
bugzilla-daemon at netfilter.org
2013-May-15 14:43 UTC
[Bug 817] conntrack reports incorrect timestamps when microseconds are less than 100000
https://bugzilla.netfilter.org/show_bug.cgi?id=817 Pablo Neira Ayuso <pablo at netfilter.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |pablo at netfilter.org Resolution| |FIXED --- Comment #1 from Pablo Neira Ayuso <pablo at netfilter.org> 2013-05-15 16:43:18 CEST --- Fixed in mainstream. http://git.netfilter.org/conntrack-tools/commit/?id=ca99976f450afa0f7ec2f4320e863860990af61d Thanks for the report. -- Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.