From owner-freebsd-net@FreeBSD.ORG Fri Jun 10 09:48:03 2005 Return-Path: <owner-freebsd-net@FreeBSD.ORG> 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 8C81C16A43A for <freebsd-net@freebsd.org>; Fri, 10 Jun 2005 09:48:03 +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 2B28443D1F for <freebsd-net@freebsd.org>; Fri, 10 Jun 2005 09:48:02 +0000 (GMT) (envelope-from raglon@packetfront.com) Received: from localhost (localhost [127.0.0.1]) by mail.packetfront.com (Postfix) with ESMTP id B5F67A3F6C for <freebsd-net@freebsd.org>; Fri, 10 Jun 2005 11:48:00 +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 14006-03 for <freebsd-net@freebsd.org>; Fri, 10 Jun 2005 11:48:00 +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 74228A3F67 for <freebsd-net@freebsd.org>; Fri, 10 Jun 2005 11:48:00 +0200 (CEST) Message-ID: <42A961CA.5030706@packetfront.com> Date: Fri, 10 Jun 2005 11:47:54 +0200 From: Ragnar Lonn <raglon@packetfront.com> User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-net@freebsd.org References: <200505192159.j4JLxNhb060631@atalus.net> <428DF2FF.3010408@oxygen.az> In-Reply-To: <428DF2FF.3010408@oxygen.az> 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 Subject: 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 <freebsd-net.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-net>, <mailto:freebsd-net-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-net> List-Post: <mailto:freebsd-net@freebsd.org> List-Help: <mailto:freebsd-net-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-net>, <mailto:freebsd-net-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 10 Jun 2005 09:48:03 -0000 Hello, I've been using vimage on FreeBSD 4.11 along with Netgraph to setup a system that simulates many physical client machines for the purpose of testing broadband Internet access hardware. I have hundreds of vimages, each with its own ngeth0 network interface connected via Netgraph to a real physical interface. It is working very well indeed but now I'm trying to setup logging from the various vimage instances and have run into problems. Each vimage runs applications that I want to log the output from in an orderly manner. I'd like to use syslog but as it turns out, the processes inside a vimage cannot communicate with the syslogd in the "default" vimage. I tried logging to the Unix domain socket /var/run/log but that didn't work from within a vimage (other than "default" of course). What ways are there to do IPC between applications in different vimages? I know I can connect them using Netgraph and virtual network interfaces but setting up more network interfaces means a lot of housekeeping as those interfaces can't be removed when I remove vimages from the system. I dont want to send actual traffic out onto the network either, as that might interfere with the test traffic to/from the machine. Any ideas? Regards, /Ragnar