From owner-freebsd-hackers Sun Oct 3 23:59:21 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id 4969514DB0 for ; Sun, 3 Oct 1999 23:59:17 -0700 (PDT) (envelope-from julian@whistle.com) Received: from home.elischer.org (home.elischer.org [207.76.204.203]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id XAA30482; Sun, 3 Oct 1999 23:58:31 -0700 (PDT) Date: Sun, 3 Oct 1999 23:58:26 -0700 (PDT) From: Julian Elischer X-Sender: julian@home.elischer.org To: Brian Somers Cc: Wes Peters , David Gilbert , freebsd-hackers@FreeBSD.org Subject: Re: PPPoE offer. In-Reply-To: <199910040621.HAA00486@hak.lan.Awfulhak.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 4 Oct 1999, Brian Somers wrote: > > David Gilbert wrote: > > > > > > I've got some real $$$ available to encourage someone to make PPPoE > > > work efficiently enough on the FreeBSD platform to handle a > > > substantial number of users. Is anyone interested? > > > > Brian? ;^) > > There may be something real in the pipeline now. Julian E (cc'd) > reckons he can implement a netgraph node pretty quickly, and if I'm > interpreting the way netgraph works correctly, I could implement a > talk-to-netgraph ppp(8) device in a matter of minutes (``cp udp.[ch] > netgraph.[ch]'', tweak netgraph_Create()). > > The use of netgraph removes the requirement for the bpf device which > would be a little bit too hackish. It also provides the ability to > implement a PPPoE server - something that eluded me in the bpf case. I'm working on it as we speak.. actually I'm reading through the several Linux implementations and looking at docs, (after a quick hackish prototype test). I just want to see how other people are aproaching the problem before I leap. One really interesting idea was a daemon that openned a pty (master) and supplied the other end to ppp. it then reads and writes using linux's raw sockets. (basically no mods to ppp, and worked with kernel ppp too) Another introduces a type AF_PPPOE, and alters kernel-ppp to specifically know about PPPoE, and connect to it. I'll be doing something different but I probably won't have it ready for a day or so. (still lotso stuff to read). Brian, for more on netgraph, in case you haven't seen them there are man pages available through ftp://ftp.whistle.com/pub/archie/netgraph/index.html and I THINK the latest mpd code has commented out netgraph interface code. if not, I'm sure Archie would send you the files. julian > > > -- > > "Where am I, and what am I doing in this handbasket?" > > > > Wes Peters Softweyr LLC > > wes@softweyr.com http://softweyr.com/ > > -- > 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