From owner-freebsd-net Tue Sep 26 4:55:53 2000 Delivered-To: freebsd-net@freebsd.org Received: from InterJet.elischer.org (c421509-a.pinol1.sfba.home.com [24.7.86.9]) by hub.freebsd.org (Postfix) with ESMTP id 9DA1D37B422 for ; Tue, 26 Sep 2000 04:55:47 -0700 (PDT) Received: from InterJet.elischer.org (InterJet.elischer.org [192.168.1.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id EAA09806; Tue, 26 Sep 2000 04:55:39 -0700 (PDT) Date: Tue, 26 Sep 2000 04:55:38 -0700 (PDT) From: Julian Elischer To: "Vladimir B. Grebenschikov" Cc: freebsd-net@freebsd.org Subject: Re: netgraph question In-Reply-To: <14800.36198.753383.94082@vbook.express.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Unfortunatly the way that AF_UNIX is implemented does not allow you to do this. literally the write code for one socket, puts the data directly on the receive queue of the other socket. Netgraph does not have any chance to intervene in this. (it would require the addition of netgraph code into the AF_UNIX code, and in fact that may be problematical due to spl levels and such. The only way I can thin would be o use a proxy, but it would be unable to do some of the things that AF_UNIX does, e.g. pass file descriptors. On Tue, 26 Sep 2000, Vladimir B. Grebenschikov wrote: > > Hi ppl > > I need to transfer stream connections to AF_UNIX from one host to > another host to tcp or AF_UNIX. > > So question is "Is it possible with netgraph ?". > > I've search a bit and don't found how to create new node automatic > (something like accept()) > > If it not possible now is such functionality planned ? > > -- > TSB Russian Express, Moscow > Vladimir B. Grebenschikov, vova@express.ru > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message