Date: Sun, 10 Oct 2004 17:42:08 +0200 (CEST) Subject: Gammel patch From: "Morten Winther" <none@freebsd--mwi.dk.lh.bsd-dk.dk> To: bsd-dk@bsd-dk.dk
Hej
Er der en der kan hjælpe mig med denne patch. Den er ret gammel og ser ud
til ikke at passe direkte med det jeg ser i cvs.
--- 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);
}
Fra google:
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.
Errors from log:
Oct 10 15:18:10 mpd: [pt1] LCP: rec'd Protocol Reject #48 link 0 (Opened)
Oct 10 15:18:10 mpd: [pt1] LCP: protocol 0x2145 was rejected
Oct 10 15:18:12 mpd: [pt1] LCP: rec'd Protocol Reject #50 link 0 (Opened)
Oct 10 15:18:12 mpd: [pt1] LCP: protocol 0x2145 was rejected
Oct 10 15:18:14 mpd: [pt1] LCP: rec'd Protocol Reject #51 link 0 (Opened)
Oct 10 15:18:14 mpd: [pt1] LCP: protocol 0x2145 was rejected
Oct 10 15:18:16 mpd: [pt1] LCP: rec'd Protocol Reject #52 link 0 (Opened)
Oct 10 15:18:16 mpd: [pt1] LCP: protocol 0x2145 was rejected
Oct 10 15:18:18 mpd: [pt1] LCP: rec'd Protocol Reject #53 link 0 (Opened)
Oct 10 15:18:18 mpd: [pt1] LCP: protocol 0x2145 was rejected
Oct 10 15:18:20 mpd: [pt1] LCP: rec'd Protocol Reject #54 link 0 (Opened)
Oct 10 15:18:20 mpd: [pt1] LCP: protocol 0x2145 was rejected
Best regards
Morten
This archive was generated by hypermail 2b30 : Wed 15 Nov 2006 - 18:24:44 CET