From owner-freebsd-net@FreeBSD.ORG Thu Jun 16 10:06:14 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F03B16A41F for ; Thu, 16 Jun 2005 10:06:14 +0000 (GMT) (envelope-from raglon@packetfront.com) Received: from mail.packetfront.com (mail.packetfront.com [212.247.6.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id A943843D4C for ; Thu, 16 Jun 2005 10:06:13 +0000 (GMT) (envelope-from raglon@packetfront.com) Received: from localhost (localhost [127.0.0.1]) by mail.packetfront.com (Postfix) with ESMTP id 5A2FBA3F71; Thu, 16 Jun 2005 12:06:11 +0200 (CEST) Received: from mail.packetfront.com ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23056-07; Thu, 16 Jun 2005 12:06:11 +0200 (CEST) Received: from [192.168.1.159] (pf-raglon.int.packetfront.com [192.168.1.159]) by mail.packetfront.com (Postfix) with ESMTP id 1276AA3F6F; Thu, 16 Jun 2005 12:06:11 +0200 (CEST) Message-ID: <42B14F08.9090300@packetfront.com> Date: Thu, 16 Jun 2005 12:06:00 +0200 From: Ragnar Lonn User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Julian Elischer References: <200505192159.j4JLxNhb060631@atalus.net> <428DF2FF.3010408@oxygen.az> <42A961CA.5030706@packetfront.com> <42A9D7E7.1020504@elischer.org> <42AD7212.3090104@packetfront.com> <42ADC142.9020102@elischer.org> In-Reply-To: <42ADC142.9020102@elischer.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at packetfront.com Cc: freebsd-net@freebsd.org Subject: Re: IPC between vimage instances? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2005 10:06:14 -0000 Julian Elischer wrote: >> Being able to remove interfaces would be really great. Then I could >> create extra logging interfaces in each vimage and not worry about >> the cleanup nightmare afterwards. Right now, I have a lot of script >> code just to find and reuse old ngeth interfaces sitting around in the >> default vimage and if I'm to have two types of those interfaces >> (one for logging, that has one underlying netgraph tree structure, and >> one for test traffic, using another netgraph tree structure) it would >> likely be at least twice as much trouble. That's why I was looking for >> some other way of communicating between different vimages. > > > > "use the source Luke" > I know it seems like a lot but the netgraph code and the networking > interface code are > relatively simple.. Well, I'm tempted to do that but I'm a bit scared it will turn out to be a major task - I mean, being able to remove network interfaces is a pretty useful feature so why hasn't it been implemented? Or has it really just not been high enough priority for anyone to bother with? >interface removal in 4.x was nt quite "finished" >there are several viewpoints from which th einterface is not quite removed. >(as you have found) >I can not remember the details as It all changed in 5.x Anyone else who can fill me in on the basic problem with interface removal under 4.x? What is it that doesn't work, what code (files) should I look at if I want to try and fix it? Regards, /Ragnar