From owner-freebsd-net Wed Oct 11 14:29:31 2000 Delivered-To: freebsd-net@freebsd.org Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (Postfix) with ESMTP id 1F96737B66C for ; Wed, 11 Oct 2000 14:29:27 -0700 (PDT) Received: (from smap@localhost) by whistle.com (8.10.0/8.10.0) id e9BLTPL28607 for ; Wed, 11 Oct 2000 14:29:25 -0700 (PDT) Received: from bubba.whistle.com( 207.76.205.7) by whistle.com via smap (V2.0) id xma028605; Wed, 11 Oct 2000 14:29:04 -0700 Received: (from archie@localhost) by bubba.whistle.com (8.11.0/8.11.0) id e9BLT4T54299 for freebsd-net@FreeBSD.ORG; Wed, 11 Oct 2000 14:29:04 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200010112129.e9BLT4T54299@bubba.whistle.com> Subject: Re: mpd-netgraph port vs Windows-2000 PPTP vpn In-Reply-To: <20001010170757.A1428@gurney.reilly.home> "from Andrew Reilly at Oct 10, 2000 05:07:58 pm" To: freebsd-net@FreeBSD.ORG Date: Wed, 11 Oct 2000 14:29:04 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Andrew Reilly writes: > > Just for fun, try the patch below and see if you get any further. > > =================================================================== > > RCS file: /cvs/mod/whistle/ia/daemon/mpd/lcp.c,v > > retrieving revision 1.12.2.18 > > diff -u -r1.12.2.18 lcp.c > > --- lcp.c 2000/05/08 20:33:34 1.12.2.18 > > +++ lcp.c 2000/07/18 17:43:22 > > @@ -736,7 +736,11 @@ > > case TY_AUTHPROTO: /* authentication protocol */ > > { > > static const u_char chapcf[] = > > +#ifdef MICROSOFT_CHAP > > + { PROTO_CHAP >> 8, PROTO_CHAP & 0xff, CHAP_ALG_MSOFT }; > > +#else > > { PROTO_CHAP >> 8, PROTO_CHAP & 0xff, CHAP_ALG_MD5 }; > > +#endif > > static const struct fsmoption chapNak = > > { TY_AUTHPROTO, 2 + sizeof(chapcf), (u_char *) chapcf }; > > static const u_char papcf[] = > > I've just upgraded to mpd-netgraph-3.1, and that patch still > seems to be required for authentication against the office's > Windows{NT,2000} PPTP server. > > Any chance of this making it into the distribution? Or is this > indicative that there is still something horribly wrong with my > setup? > > Oh: the define MICROSOFT_CHAP is also necessary, but isn't > mentioned in the ports/net/mpd-netgraph/Makefile. It is > described in work/mpd-3.1/doc/mpd8.html, but by then it's too > late for a straight make install. > > Should this be a send-pr? FYI- I forgot to CC: the list before... I upgraded the mpd port yesterday to version 3.2 and it includes this patch. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message