Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177955 - net-analyzer/flow-tools-0.68-r3 broken flow-headers capture times
Summary: net-analyzer/flow-tools-0.68-r3 broken flow-headers capture times
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-10 18:29 UTC by Alexander Zubkov
Modified: 2007-05-15 16:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
lib/ftio.c patch (ftio.c-patch,821 bytes, patch)
2007-05-10 18:30 UTC, Alexander Zubkov
Details | Diff
emerge --info (info.txt,3.05 KB, text/plain)
2007-05-15 11:36 UTC, Alexander Zubkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Zubkov 2007-05-10 18:29:02 UTC
Because of bug with pointer casting flow-headers have broken output of capture start and end times like this:
-----------------------------------------------------------------
hostname data # flow-header < ft-v05.2007-05-10.183242+0400 
#
# mode:                 normal
# capture hostname:     hostname
# capture start:        (null)# capture end:          Sun Aug 30 12:59:48 2415
# capture period:       138 seconds
# compress:             on
# byte order:           little
# stream version:       3
# export version:       5
# lost flows:           0
# corrupt packets:      0
# sequencer resets:     0
# capture flows:        92640
#
-----------------------------------------------------------------
start time is (null) and end time is far in the future.
Comment 1 Alexander Zubkov 2007-05-10 18:30:55 UTC
Created attachment 118777 [details, diff]
lib/ftio.c patch

This patch should fix this problem. After applying it flow-headers shows correct capture times for me.
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2007-05-15 10:40:39 UTC
Alexander, emerge --info, please. I did not manage to reproduce the bug on x86.
Comment 3 Alexander Zubkov 2007-05-15 11:33:10 UTC
The bug is x86_64-specific. Other such kind of patches for flow-tools are already in portage. But this place seems to be missed by patch-maker.
Comment 4 Alexander Zubkov 2007-05-15 11:36:54 UTC
Created attachment 119346 [details]
emerge --info

Attached "emerge --info" if it matters.
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2007-05-15 16:12:07 UTC
Thank you for report! This and similar issue in ftstat.c are fixed in flow-tools-0.68-r5.