[ previous ] [ next ] [ threads ]
 
 From:  =?ISO-8859-1?Q?Hans_J=F8rgensen?= <hanstastisk at gmail dot com>
 To:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Linux PPTP and M0n0wall
 Date:  Tue, 26 Jul 2005 09:06:02 +0200
Hello!

To encrypt the traffic transmitted between my client machine (Linux
2.6.10-5) and my M0n0wall (version 1.11). I am trying to use PPTP.

The client connects fine with PPTP (no errors in either of the logs)
but when the client transmits data the following errors show up in the
M0n0wall log:

mpd: [pt0] LCP: protocol 0x2145 was rejected
mpd: [pt0] LCP: rec'd Protocol Reject #2 link 0 (Opened)

I have been googling these errors and seen that it is suggested that
thepatch from 2002 should be applied:

--- 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);
                       }


I would think that the patch is already applied... or?

Does anybody know how to solve this problem described above?

Thanks in advance!

/Hans