From owner-freebsd-current@FreeBSD.ORG Sat Nov 17 11:38:18 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B4E216A418; Sat, 17 Nov 2007 11:38:18 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 1004313C4C5; Sat, 17 Nov 2007 11:38:18 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 223B147E22; Sat, 17 Nov 2007 06:20:18 -0500 (EST) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Sat, 17 Nov 2007 06:20:18 -0500 X-Sasl-enc: MlPmUwMRTa1HjGBc3YjUQUrsfIHM+nUwTyqeufbXUuhW 1195298417 Received: from empiric.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTP id 66F71131B; Sat, 17 Nov 2007 06:20:17 -0500 (EST) Message-ID: <473ECE70.7070705@incunabulum.net> Date: Sat, 17 Nov 2007 11:20:16 +0000 From: Bruce M Simpson User-Agent: Thunderbird 2.0.0.6 (X11/20070928) MIME-Version: 1.0 To: Reinhard Haller References: <4732110D.3090808@interactive-net.de> In-Reply-To: <4732110D.3090808@interactive-net.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, Robert Watson , Marko Zec Subject: Re: 7.0-BETA2 routed and multicast registration X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Nov 2007 11:38:18 -0000 Hi, I'm catching up on FreeBSD email after a long hiatus. Reinhard Haller wrote: > Hi, > > routed has problems with setsockopt registering itself for multicast. > The trace contains the following messages: > > IP_ADD_MEMBERSHIP ALLROUTERS: Can't assign requested address > turn on RIP > setsockopt(IP_ADD_MEMBERSHIP RIP): Can't assign requested address > setsockopt(rdisc_sock,IP_MULTICAST_IF): Can't assign requested address > That's because the ip_multicast_if() hack has been deprecated in -CURRENT for months now, because routed (and other multicast applications) really should be using the RFC 3678 APIs. I'm pretty sure I already pointed people at patches for converting routed to use the updated multicast APIs much earlier in the year; please check the archives, or see here: http://people.freebsd.org/~bms/dump/routed.rfc3678.diff I haven't tested or committed the routed patch due to a lack of user feedback, sadly -- which is regrettable, we all end up feeling the pain during a release cycle if issues aren't nipped in the bud there and then. Marko: I would much prefer it if ip_multicast_if() is not reintroduced to 7-CURRENT. kind regards, BMS