MIME-Version: 1.0 In-Reply-To: X-Mailer: MIME-tools 5.428 (Entity 5.428) Content-Disposition: inline References: <5231E416.1060401@redhat.com> <523FFBB7.4030109@redhat.com> Content-Type: text/plain; charset="UTF-8" Message-ID: Content-Transfer-Encoding: binary X-RT-Original-Encoding: utf-8 RT-Send-CC: Content-Length: 965 On Mon Sep 23 08:28:55 2013, jpopelka@redhat.com wrote: > > => a simple question: is the problem for multicast or > > unicast packets (it should work for multicast packets > > but for unicast packets it has no chance to work with > > a single global socket bound to *.port)? => as this is about clients it should be unicast only. BTW the code was written for a relay or a server or an unique client (and for Unixes including BSDs and Linux). > > => I am afraid it will break agents via the multicast receive. > > We already dropped it and have been using the following, i.e. binding to > interface even for AF_INET6: => SO_BINDTODEVICE is system specific so can't be a critical part of the solution. BTW I can say the same about SO_REUSEPORT as when it is implemented SO_REUSEADDR still detects multiple clients trying to bind() to *,port... But as we have to support BSDs and Linuxes I am afraid the only solution is to bind() to the (?) link-local address.