Re: sflowtool multicast-aware?

From: Ivan A. Beveridge <ivan@linx.net>
Date: 10/03/05
Message-ID: <43417AF8.4050603@linx.net>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Niel,

On 03/10/2005 19:00, Neil McKee wrote:
> sflowtool is not multicast aware at the moment. (Our Traffic Server
> product is).
>
> It is a small change so we can look into adding it to the next
> sflowtool release, but feel free to download and tweak the sources
> yourself. It's just a matter of filling in a "struct
> ip_mreq" (multicast request) and using it with setsockopt() on the
> UDP read socket. I seem to remember that you also need to add an
> entry to the linux routing table so it knows what interface to
> deliver to.

I'm not really a C hacker (having not really touched C coding in a
number of years), so will hopefully await an update to your released
code ... unless someone else can do the patch :)

> If you want to simulate it now, you can use sflowtool to copy the
> input sflow stream to a number of receivers by repeating the "-f host/
> port" option for each one.

I'm actually using that functionality on-host (fanout to different ports
on localhost), which is very useful for testing and other purposes :)

Thanks for the quick response.

Ivan
- --
Ivan Beveridge
<ivan@linx.net> http://www.linx.net/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDQXrqQQZN5jq7vncRAnm+AKCXdgJ0h2H7q+aCBh091yfrfObxbACfZQi9
+kiosInkxYrx4PRcIhqCrbQ=
=lukO
-----END PGP SIGNATURE-----
Received on Mon Oct 3 11:51:05 2005

This archive was generated by hypermail 2.1.8 : 10/03/05 PDT