From owner-freebsd-net@FreeBSD.ORG Fri Dec 12 14:13:26 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA7B71065670 for ; Fri, 12 Dec 2008 14:13:26 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from smtp.teledomenet.gr (smtp.teledomenet.gr [213.142.128.2]) by mx1.freebsd.org (Postfix) with ESMTP id 6FD248FC17 for ; Fri, 12 Dec 2008 14:13:26 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: by smtp.teledomenet.gr (Postfix, from userid 58) id 790CF142057; Fri, 12 Dec 2008 16:13:25 +0200 (EET) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on smtp.teledomenet.gr X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RDNS_NONE autolearn=no version=3.2.5 Received: from iris.teledomenet.local (unknown [192.168.1.71]) by smtp.teledomenet.gr (Postfix) with ESMTP id B4610142045; Fri, 12 Dec 2008 16:13:22 +0200 (EET) From: Nikos Vassiliadis To: Alexander Motin Date: Fri, 12 Dec 2008 16:12:33 +0200 User-Agent: KMail/1.9.10 References: <1229005383.00046904.1228994401@10.7.7.3> <200812121429.38205.nvass@teledomenet.gr> <49426962.5070809@mavhome.dp.ua> In-Reply-To: <49426962.5070809@mavhome.dp.ua> X-NCC-RegID: gr.telehouse MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812121612.34002.nvass@teledomenet.gr> Cc: freebsd-net@freebsd.org Subject: Re: ng_bridge + ng_ksocket 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: Fri, 12 Dec 2008 14:13:26 -0000 On Friday 12 December 2008 15:38:42 Alexander Motin wrote: > You need some daemon to handle any additional logic. One simple example > I have send to you. Another one is MPD, implementing L2TP and > PPP-over-UDP links. Mpd opens separate UDP socket in user-level which > catches everything that wasn't caught by existing connected sockets in > netgraph and dynamically creates and connects additional UDP sockets in > netgraph to handle this traffic. Yes, that's what I meant. If you would consider the possibility of adding L2 over UDP functionality to MPD. I am asking this, since you've already done things like this for MPD and I suspect that there are some bits already in place. Of course a simple "I don't want to" or "no time" would be a fine answer:) OTOH you could also say that ethernet over UDP is conceptually unrelated to PPP, which is what MPD does. Nikos