James,
There are no limitations about using localhost. This should work.
First thought: did you include "-i lo" in the tcpdump command line?
Something like "tcpdump -i lo udp port 2055" should do it.
Second thought: you could download the sources, compile with -g,
and run using gdb(1). Then you can add print statements, set
breakpoints and single-step to make sure it is working. One of the
perks of open-source :)
regards,
neil
On Sep 13, 2006, at 4:23 PM, clau_cdn clau_cdn wrote:
> I am trying to convert the sFlow datagrams into NetFlow and have a
> little problem. The agent is an HP ProCurve switch, the agent is
> enabled, configured and the datagrams are arriving at the collector
> (a linux box). On the collector (linux box) I do this:
>
> #./sflowtool -c localhost -d 2055
>
> I want that the sFlow traffic to be converted and forwarded to the
> same machine (localhost) to port 2055. Using tcpdump I can confirm
> that there is nothing converted/sent to my 2055 port. I can see
> that all the sFlow traffic arrives successfully from the agent and
> so far I can isolate this problem at the sflowtool processing
> phase. Is this a limitation of sflowtool aka I have to use a
> separate machine for collecting than the one which does the
> forwarding?
>
> Any input would be greately appreciated, thanks!
>
> James
>
> _________________________________________________________________
> Buy what you want when you want it on Sympatico / MSN Shopping
> http://shopping.sympatico.msn.ca/content/shp/?
> ctId=2,ptnrid=176,ptnrdata=081805
----------
Neil McKee
http://www.inmon.com
Received on Wed Sep 13 17:43:28 2006
This archive was generated by hypermail 2.1.8 : 09/13/06 PDT