From owner-freebsd-jail@FreeBSD.ORG Fri Nov 21 12:46:41 2008 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8733C1065673; Fri, 21 Nov 2008 12:46:41 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id E02F08FC0C; Fri, 21 Nov 2008 12:46:40 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (pD9E2CD96.dip.t-dialin.net [217.226.205.150]) by redbull.bpaserver.net (Postfix) with ESMTP id 67CDB2E35C; Fri, 21 Nov 2008 13:31:07 +0100 (CET) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 8F3241364A9; Fri, 21 Nov 2008 13:31:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1227270663; bh=ymZYQpo5RFFM+X4zsNj/CwMcG54rHcYZI q6DBbcsX7k=; h=Message-ID:Date:From:To:Cc:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=MdV7gO1GJCxhAF7l3pYSa+aT Of0EBCBut7wiFf4+7SCJt5N2ZvTkXvhPSpbfG9eKBgkK8fQNnSyT8L2UEvYH2Y3A1Oy 3azFcELkmppmBdtrZ6R+TF5vADcJa7mk9V0XSvvTCJ1/Adm883ZMYy/gVJi23I26qx2 /DOcf+QZNasMyMzX1P64eOO9xjyvWw0LpLoGpELJkesxMr95pn+zQj244cXf6wagGd1 0w4f5OFtz5UuKqb/FRL/G9ikbzMb5qPxsHUus4T/weUu7DB03x36/IwQLs9mQvxLJSw IA+46MgYeQGFaqZx4maPmvPELSEHkHUV0Jvtkdb3dGcyFGsakA== Received: (from www@localhost) by webmail.leidinger.net (8.14.2/8.13.8/Submit) id mALCV31n071577; Fri, 21 Nov 2008 13:31:03 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Fri, 21 Nov 2008 13:31:03 +0100 Message-ID: <20081121133103.123166twjls14360@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Fri, 21 Nov 2008 13:31:03 +0100 From: Alexander Leidinger To: jail@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.3) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 67CDB2E35C.2B6B7 X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.823, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, RDNS_DYNAMIC 0.10, TW_FC 0.08) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: rpaulo@FreeBSD.org Subject: Jails & multicast? X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2008 12:46:41 -0000 Hi, does someone know if multicast is supposed to work in a jail? I'm playing around with avahi (mDNS / DNS-SD) in a jail. Now that I =20 defined a lot of service descriptions for all my jails, I wanted to =20 test this and tried to browse the service descriptions via mDNS. But =20 somehow I get no output. The avahi server is in the same jail as the avahi browser. In the =20 server output I see connections from the browser, but the browser =20 hangs and does not return (-> ctrl+c to abort =3D last line in the =20 following output): ---snip--- dbus-protocol.c: interface=3Dorg.freedesktop.Avahi.Server, path=3D/, =20 member=3DGetAPIVersion dbus-protocol.c: interface=3Dorg.freedesktop.Avahi.Server, path=3D/, =20 member=3DGetState dbus-protocol.c: interface=3Dorg.freedesktop.Avahi.Server, path=3D/, =20 member=3DDomainBrowserNew dbus-protocol.c: client :1.51 vanished. ---snip--- And here some info from ifmcstat. In the jail: ---snip--- # ifmcstat dc0: inet 0.0.0.0 inet 0.0.0.0 inet 0.0.0.0 inet 0.0.0.0 inet 0.0.0.0 inet 0.0.0.0 inet 0.0.0.0 inet 0.0.0.0 inet 0.0.0.0 inet 0.0.0.0 inet 0.0.0.0 inet 0.0.0.0 inet 0.0.0.0 inet 0.0.0.0 group 224.0.0.251 igmpv2 mcast-macaddr 01:00:5e:00:00:fb refcnt 1 group 224.0.0.1 mcast-macaddr 01:00:5e:00:00:01 refcnt 1 lo0: inet 0.0.0.0 group 224.0.0.1 inet6 ::1:0:0 inet6 ::1:0:0 group ff02::202%lo0 refcnt 1 group ff01::1%lo0 refcnt 2 group ff02::2:82d1:3fc1%lo0 refcnt 2 group ff02::1%lo0 refcnt 2 group ff02::1:ff00:1%lo0 refcnt 2 ---snip--- And outside the jail: ---snip--- # ifmcstat dc0: inet 192.168.1.2 inet 192.168.1.100 inet 192.168.1.101 inet 192.168.1.102 inet 192.168.1.103 inet 192.168.1.104 inet 192.168.1.105 inet 192.168.1.106 inet 192.168.1.107 inet 192.168.1.108 inet 192.168.1.110 inet 192.168.1.111 inet 192.168.1.113 inet 192.168.1.114 group 224.0.0.251 igmpv2 mcast-macaddr 01:00:5e:00:00:fb refcnt 1 group 224.0.0.1 mcast-macaddr 01:00:5e:00:00:01 refcnt 1 lo0: inet 127.0.0.1 group 224.0.0.1 inet6 fe80::1%lo0 inet6 ::1 group ff02::202%lo0 refcnt 1 group ff01::1%lo0 refcnt 2 group ff02::2:82d1:3fc1%lo0 refcnt 2 group ff02::1%lo0 refcnt 2 group ff02::1:ff00:1%lo0 refcnt 2 ---snip--- It's the first time I play around with multicast, any hints how to =20 debug this further are welcome. Anything I need to setup so that this =20 works? I have options MROUTING in the kernel, but that's all I did =20 related to multicast. Bye, Alexander. --=20 The light at the end of the tunnel can be a helluva nuisance, especially if you're using the tunnel as a darkroom. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137