Date: 22 Nov 2002 00:49:05 +0300 From: "Vladimir B. " Grebenschikov <vova@express.ru> To: Archie Cobbs <archie@dellroad.org> Cc: "net@freebsd.org" <net@freebsd.org> Subject: Re: mpd pptp freebsd <-> linux setup Message-ID: <1037915344.914.18.camel@vbook> In-Reply-To: <200211212041.gALKfgJe067023@arch20m.dellroad.org> References: <200211212041.gALKfgJe067023@arch20m.dellroad.org>
next in thread | previous in thread | raw e-mail | index | archive | help
χ Thu, 21.11.2002, Χ 23:41, Archie Cobbs ΞΑΠΙΣΑΜ: > Vladimir B. Grebenschikov wrote: > > Session established, but then I am trying to ping other end I get: > > > > [pptp] LCP: rec'd Protocol Reject #2 link 0 (Opened) > > [pptp] LCP: protocol 0x2145 was rejected > > [pptp] LCP: rec'd Protocol Reject #3 link 0 (Opened) > > [pptp] LCP: protocol 0x2145 was rejected > > Looks like the other side is semi-broken. It's interpreting 0x21 0x45 > as a two byte protocol ID, whereas really it's a one byte compressed > protocol ID (0x0021) followed by the first byte of an IP packet (0x45). > That's clearly broken, because only the last byte of a protocol ID can > be odd. > > Perhaps it's not expecting the 0x0021 to be protocol-compressed... > the MPPE RFC (3078) is silent on whether or not that's allowed. > > Try the patch below and see if that helps. You might also report > the bug to whoever maintains the Linux PPP daemon. Yes, patch hepls ! Thank you very mutch. > -Archie > > __________________________________________________________________________ > Archie Cobbs * Packet Design * http://www.packetdesign.com > > --- sys/netgraph/ng_ppp.c.orig Thu Nov 21 12:39:06 2002 > +++ sys/netgraph/ng_ppp.c Thu Nov 21 12:39:26 2002 > @@ -744,7 +744,7 @@ > case HOOK_INDEX_VJC_VJIP: > if (priv->conf.enableCompression > && priv->hooks[HOOK_INDEX_COMPRESS] != NULL) { > - if ((m = ng_ppp_addproto(m, proto, 1)) == NULL) { > + if ((m = ng_ppp_addproto(m, proto, 0)) == NULL) { > NG_FREE_META(meta); > return (ENOBUFS); > } -- Vladimir B. Grebenschikov <vova@express.ru> TSB "Russian Express" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1037915344.914.18.camel>
