Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162665 - net-analyzer/pmacct - sfacctd logs "WARN: expecting flow ..." when forwarding sflow UDP packets
Summary: net-analyzer/pmacct - sfacctd logs "WARN: expecting flow ..." when forwarding...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Netmon project
URL: http://www.mail-archive.com/pmacct-di...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-18 15:15 UTC by Chris Fletcher
Modified: 2007-02-01 16:06 UTC (History)
0 users

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


Attachments
patch to fix problem taken from pmacct CVS tree (pmacct-0.11.2-agentid.patch,879 bytes, patch)
2007-01-18 15:19 UTC, Chris Fletcher
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Fletcher 2007-01-18 15:15:40 UTC
sfacctd is using the UDP packet source address rather than the agent-id within the packet to identify
the originator of the sflow packet. If you aggregate sflow packets from several switches through a single forwarder (eg with sflowtool -f ) you get a lot of warnings sent to syslog as the serial numbers seem not
to be in order (as they are coming from different switches).

Reproducible: Always

Steps to Reproduce:
1. See description
2. Look in log file
Actual Results:  
logs of warnings in log file

Expected Results:  
no warnings in log file

This bug has been fixed in the pmacct CVS tree but not released as a new version. I have extracted the patch and created a new ebuild that applies the patch. This solves the problem I am seeing.
Comment 1 Chris Fletcher 2007-01-18 15:19:06 UTC
Created attachment 107378 [details, diff]
patch to fix problem taken from pmacct CVS tree

This patch is likely already be applied in the next version of pmacct
Comment 2 Markus Ullmann (RETIRED) gentoo-dev 2007-02-01 16:06:49 UTC
0.11.3 already in CVS (committed by vanquirius)