From owner-freebsd-current@FreeBSD.ORG Sat Nov 17 11:27:52 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 65E0416A418; Sat, 17 Nov 2007 11:27:52 +0000 (UTC) (envelope-from zec@icir.org) Received: from zec2.tel.fer.hr (zec2.tel.fer.hr [161.53.19.79]) by mx1.freebsd.org (Postfix) with ESMTP id EE18A13C468; Sat, 17 Nov 2007 11:27:44 +0000 (UTC) (envelope-from zec@icir.org) Received: from localhost (localhost [127.0.0.1]) by zec2.tel.fer.hr (8.14.1/8.14.1) with ESMTP id lAHCRM1p014262; Sat, 17 Nov 2007 12:27:22 GMT (envelope-from zec@icir.org) From: Marko Zec To: Bruce M Simpson Date: Sat, 17 Nov 2007 12:27:21 +0000 User-Agent: KMail/1.9.7 References: <4732110D.3090808@interactive-net.de> <473ECE70.7070705@incunabulum.net> In-Reply-To: <473ECE70.7070705@incunabulum.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200711171227.21855.zec@icir.org> Cc: Robert Watson , freebsd-current@freebsd.org, Reinhard Haller 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:27:52 -0000 On Saturday 17 November 2007 11:20:16 Bruce M Simpson wrote: > 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. Note that with a recent port of Quagga multicast doesn't work as well, so now we don't have neither RIP nor OSPF support there which is kind of funny. Though I think it's not only the missing RFC1724 support in the kernel that is crippling mcast support in Quagga... Marko > Marko: I would much prefer it if ip_multicast_if() is not > reintroduced to 7-CURRENT. > > kind regards, > BMS