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 _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"