From owner-freebsd-jail@FreeBSD.ORG Tue Jul 7 11:10:08 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45977106564A for ; Tue, 7 Jul 2009 11:10:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [195.88.108.3]) by mx1.freebsd.org (Postfix) with ESMTP id F1E5F8FC1B for ; Tue, 7 Jul 2009 11:10:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 9B9A541C64A; Tue, 7 Jul 2009 13:10:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([195.88.108.3]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id FyYAJWrXzG47; Tue, 7 Jul 2009 13:10:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id E041C41C667; Tue, 7 Jul 2009 13:10:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 1ECC84448E6; Tue, 7 Jul 2009 11:08:46 +0000 (UTC) Date: Tue, 7 Jul 2009 11:08:46 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Alexander Leidinger In-Reply-To: <20090707110149.93723i84ufre1vco@webmail.leidinger.net> Message-ID: <20090707110601.U245@maildrop.int.zabbadoz.net> References: <10880739.281246929242603.JavaMail.root@mail> <20090707110149.93723i84ufre1vco@webmail.leidinger.net> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-jail@freebsd.org Subject: Re: Multicast in jail? 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: Tue, 07 Jul 2009 11:10:08 -0000 On Tue, 7 Jul 2009, Alexander Leidinger wrote: > Quoting Bill Marquette (from Mon, 6 Jul 2009 > 20:14:02 -0500 (CDT)): > >> I'm trying to run Avahi in a jail, much the same as Alexander Leidinger in >> this email from late last year >> http://www.mail-archive.com/freebsd-jail@freebsd.org/msg00587.html. I >> couldn't find any replies to that thread and it seems that I'm running into >> the same issues - the service announcements make it on the wire and the >> other devices in the network see them. > > So far I have nothing working. > > I assume that the mcast traffic is not arriving at all IPs. guess>Either because on overly restrictive jail check, and/or just because > there's no code which is distributing the traffic to all IPs. > > It seems kern_jail.c is a place to check if there's some code which handles No, in_pcb.c in6_pcb.c in_m*.[ch] in6_m*.[ch] are the files you need as a starting point; there's more and more and more. > this. Maybe prison_check_ip[46] if mcast is on top of this, or something new > to write if mcast is a different "AF". Again, this is a wild guess, I don't > have enough understanding of the network code in the kernel to even make > educated guesses about the real reason. But you first will have to understand all implications, that need a proper design plan and after that thoughtout implementation. Alternatively I wouldn't wonder if enabling raw sockets would give what you want or you'll wait for virtualization to be ready. /bz -- Bjoern A. Zeeb The greatest risk is not taking one.