Big PPTP server

Archie Cobbs archie at dellroad.org
Fri Aug 25 16:16:37 UTC 2006


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


More information about the freebsd-net mailing list