From owner-freebsd-hackers Fri May 21 7:32:20 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (Postfix) with ESMTP id B7D0014D21 for ; Fri, 21 May 1999 07:32:11 -0700 (PDT) (envelope-from brian@lan.awfulhak.org) Received: from keep.lan.Awfulhak.org (keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.9.2/8.9.2) with ESMTP id PAA16579; Fri, 21 May 1999 15:32:00 +0100 (BST) (envelope-from brian@lan.awfulhak.org) Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id OAA03405; Fri, 21 May 1999 14:59:02 +0100 (BST) (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199905211359.OAA03405@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Mark Tinguely Cc: grog@lemis.com, brian@Awfulhak.org, freebsd-hackers@freebsd.org Subject: Re: Number of TUN devices In-reply-to: Your message of "Fri, 21 May 1999 08:28:59 CDT." <199905211328.IAA01990@plains.NoDak.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 21 May 1999 14:59:02 +0100 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [.....] > > Why are you thinking of using user PPP for this? As you say, at the > > data rates you're thinking of, it's not an optimal solution. > > no, only the LCP, NCP, authenication, dignostic messages for debugging > is done in user space. this is small traffic to setup/maintain/tear down > the connections, especially when you consider we are talking "PVC" in most > cases. the network traffic will be either directly forwarded to the > appropriate network stack, quietly discarded, or sent back to the originator > depending on the state of the link/network protocol. > > again, I am dealing with a situation where the packets do not have to > be processed, unlike the serial PPPs. and on the downside, I lose the > alias feature found in user PPP (which hopefully natd could fill in). Ppp now supports a udp transport in synchronous mode. The overheads are less and throughput is increased by a factor of about 3. It's only available in -current (and from my web site). It sounds like you want ppp in sync mode - maybe with additional device support (see tty.c udp.c tcp.c & exec.c in the current ppp sources). > > This is also probably material for -hackers. > > moved. > > --mark. -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message