Date: Fri, 25 Aug 2006 11:16:34 -0500 From: Archie Cobbs <archie@dellroad.org> To: Brett Glass <brett@lariat.net> Cc: Julian Elischer <julian@elischer.org>, net@freebsd.org Subject: Re: Big PPTP server Message-ID: <44EF2262.7020009@dellroad.org> In-Reply-To: <7.0.1.0.2.20060825091302.074f8008@lariat.net> References: <7.0.1.0.2.20060810201735.067258b0@lariat.net> <44DBF2BB.5080202@micom.mng.net> <7.0.1.0.2.20060810212047.073f0078@lariat.net> <44DBFC05.6080804@elischer.org> <7.0.1.0.2.20060810220804.08de8568@lariat.net> <44DCB4D8.4020901@elischer.org> <44DF51C1.8000306@dellroad.org> <7.0.1.0.2.20060813182130.06f54060@lariat.net> <7.0.1.0.2.20060825091302.074f8008@lariat.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Brett Glass wrote: > Just wanted to ask about the feasibility of the following idea. Would it > be possible to use the Netgraph PPTP node, in combination with Brian > Somers' userland PPP implementation, to make a PPTP server? It would > work similarly to FreeBSD's "pppoed", which uses the Netgraph PPPoE > node. This would provide the full feature set of the userland PPP > (including dynamic creation of Netgraph nodes, the ability to call out > to shell scripts, etc.) together with your PPTP implementation. How hard > would it be to cobble this together, starting with the code for pppoed? Sure it's feasible.. it's just a SMOP :-) (small matter of programming). The ng_pptpgre node handles the "data packet" level of PPTP, but most of the complexity in PPTP is in the higher level protocol for setup and teardown. You'd have to get that in there somehow. Two (different) examples of such code are in (1) mpd and (2) libpdel. The latter is newer and cleaner but might be harder to merge. -Archie __________________________________________________________________________ Archie Cobbs * CTO, Awarix * http://www.awarix.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44EF2262.7020009>