Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jul 2000 13:26:03 +1000
From:      "Andrew Reilly" <areilly@nsw.bigpond.net.au>
To:        freebsd-questions@freebsd.org
Subject:   ports: pptpclient authentication woes
Message-ID:  <20000704132603.A15789@gurney.reilly.home>

next in thread | raw e-mail | index | archive | help
Hi helpful gurus,

I'm running `uname -a`:

FreeBSD gurney.reilly.home 4.0-STABLE FreeBSD 4.0-STABLE #0: Mon Jun 19 10:13:35 EST 2000     andrew@gurney.reilly.home:/usr/obj/usr/src/sys/GURNEY  i386

I'd like to connect my FreeBSD box to the office's Windows2000
server PPTP service.  I've built the pptpclient port and
installed the example configuration into /etc/ppp/ppp.conf.

After a bit of futzing with my firewall, I'm now getting the
following messages on the console:

(unknown)[16212]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:531]: Client connection established.
(unknown)[16212]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:637]: Outgoing call established.

warn[decaps_gre:pptp_gre.c:239]: discarding out-of-order

<time passes>

(unknown)[16212]: log[pptp_read_some:pptp_ctrl.c:368]: read error: Connection reset by peer
(unknown)[16212]: log[pptp_conn_close:pptp_ctrl.c:275]: Closing PPTP connection

After which there is a pptp.core in the current directory and
the socket in /var/run/ip.address.foo is not removed.

OK, that's a bit rude, but I don't think that's the real
problem.  The ppp LCP logs say:

Jul  4 13:18:39 gurney ppp[16210]: tun0: LCP: deflink: SendConfigNak(15) state = Ack-Rcvd 
Jul  4 13:18:39 gurney ppp[16210]: tun0: LCP:  AUTHPROTO[4] 0xc227 (unknown) 
Jul  4 13:18:39 gurney ppp[16210]: tun0: LCP: deflink: RecvConfigReq(16) state = Ack-Rcvd 
Jul  4 13:18:39 gurney ppp[16210]: tun0: LCP:  AUTHPROTO[4] 0xc227 (unknown) 
Jul  4 13:18:39 gurney ppp[16210]: tun0: LCP:  AUTHPROTO[4] 0xc227 - not recognised, NAK 
Jul  4 13:18:39 gurney ppp[16210]: tun0: LCP:  MAGICNUM[6] 0x176f7401 
Jul  4 13:18:39 gurney ppp[16210]: tun0: LCP:  PROTOCOMP[2] 
Jul  4 13:18:39 gurney ppp[16210]: tun0: LCP:  ACFCOMP[2] 
Jul  4 13:18:39 gurney ppp[16210]: tun0: LCP:  ENDDISC[23] Local Addr: foo
Jul  4 13:18:39 gurney ppp[16210]: tun0: LCP: deflink: SendConfigNak(16) state = Ack-Rcvd 
Jul  4 13:18:39 gurney ppp[16210]: tun0: LCP:  AUTHPROTO[4] 0xc227 (unknown) 
Jul  4 13:18:39 gurney ppp[16210]: tun0: Phase: deflink: Too many LCP NAKs sent - abandoning negotiation 

To my eye, that "AUTHPROTO[4] 0xc227 - not recognised, NAK" line
is pretty suspicious looking.

Any suggestions?

Any more information that I could provide to anyone who thinks
that they can help?

--
Andrew


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000704132603.A15789>