[collectd] [PATCH] set SO_REUSEADDR on socket so multiple listeners can share port

Florian Forster octo at verplant.org
Tue Dec 4 09:05:59 CET 2007

Hi Pavel,

sorry to you for replying so late, too. 

On Mon, Dec 03, 2007 at 10:09:03PM +0300, Pavel Shramov wrote:
> This patch allows programs other then collectd to listen on same port
> on same multicast address. For example unicast proxy that forwards all
> packets to another collect instance (or to monitoring system).

Thanks for the patch, I'll include it in the next feature release, i. e.
4.3.0. Unfortunately I started making some bigger changes and now have
no time to finish them, so I doubt that I'll be able to finish the new
release this year :(

> Of course this may be achieved using tunnels/multicast routing but
> proxy is much more simple (script is ~10 lines of python code or ~20
> lines of C code)

Oh, no problem: You patch doesn't change existing functionality, is easy
to read and understand and (with a little #ifdef around it) portable, so
there is no reason to reject it ;) If you have such a small and simple
proxy I'd be happy to include it in contrib/.

Best regards,
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20071204/906786b0/attachment.pgp 

More information about the collectd mailing list