From owner-freebsd-net Sun May 5 15:37:28 2002 Delivered-To: freebsd-net@freebsd.org Received: from mailout01.sul.t-online.com (mailout01.sul.t-online.com [194.25.134.80]) by hub.freebsd.org (Postfix) with ESMTP id 875C737B415 for ; Sun, 5 May 2002 15:36:58 -0700 (PDT) Received: from fwd04.sul.t-online.de by mailout01.sul.t-online.com with smtp id 174Ucj-0000Ud-03; Mon, 06 May 2002 00:36:57 +0200 Received: from spirit.zuhause.stoert.net (320050403952-0001@[80.128.117.104]) by fmrl04.sul.t-online.com with esmtp id 174Uca-26EJ4CC; Mon, 6 May 2002 00:36:48 +0200 Received: from elevation.zuhause.stoert.net (elevation.zuhause.stoert.net [192.168.66.46]) by spirit.zuhause.stoert.net (8.11.6/8.11.6) with ESMTP id g45MalR77066 for ; Mon, 6 May 2002 00:36:47 +0200 (CEST) (envelope-from corecode@elevation.zuhause.stoert.net) Received: (from corecode@localhost) by elevation.zuhause.stoert.net (8.12.3/8.12.3/Submit) id g45MaiJ7052466; Mon, 6 May 2002 00:36:44 +0200 (CEST) (envelope-from corecode) Date: Mon, 6 May 2002 00:36:40 +0200 From: "Simon 'corecode' Schubert" To: net@freebsd.org Subject: pptp/ppp just closing without reason Message-Id: <20020506003640.7e0f743f.corecode@corecode.ath.cx> X-Mailer: Sylpheed version 0.7.5claws (GTK+ 1.2.10; i386-portbld-freebsd4.5) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=.YLUG7Oa?KLIunQ" X-Sender: 320050403952-0001@t-dialin.net Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --=.YLUG7Oa?KLIunQ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit hello networkers, i've been trying to set up a pptp tunnel for more than one week now and i wonder why this doesn't work: pptp 129.187.10.28 pptp returns after some seconds. the log indicates the termination of ppp, but why does it terminate? pitty i don't have the server logs May 6 00:27:39 spirit pptp[76897]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:548]: Client connection established. May 6 00:27:40 spirit pptp[76897]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:655]: Outgoing call established (call ID 0, peer's call ID 0). May 6 00:27:40 spirit ppp[76895]: Phase: Using interface: tun1 May 6 00:27:40 spirit ppp[76895]: Phase: deflink: Created in closed state May 6 00:27:40 spirit ppp[76895]: tun1: Phase: PPP Started (direct mode). May 6 00:27:40 spirit ppp[76895]: tun1: Phase: bundle: Establish May 6 00:27:40 spirit ppp[76895]: tun1: Phase: deflink: closed -> opening May 6 00:27:40 spirit ppp[76895]: tun1: Phase: deflink: Connected! May 6 00:27:40 spirit ppp[76895]: tun1: Phase: deflink: opening -> carrier May 6 00:27:41 spirit ppp[76895]: tun1: Phase: deflink: carrier -> lcp May 6 00:27:41 spirit ppp[76895]: tun1: LCP: FSM: Using "deflink" as a transport May 6 00:27:41 spirit ppp[76895]: tun1: LCP: deflink: State change Initial --> Closed May 6 00:27:41 spirit ppp[76895]: tun1: LCP: deflink: State change Closed --> Stopped May 6 00:27:42 spirit ppp[76895]: tun1: LCP: deflink: LayerStart May 6 00:27:42 spirit ppp[76895]: tun1: LCP: deflink: SendConfigReq(1) state = Stopped May 6 00:27:42 spirit ppp[76895]: tun1: LCP: ACFCOMP[2] May 6 00:27:42 spirit ppp[76895]: tun1: LCP: PROTOCOMP[2] May 6 00:27:42 spirit ppp[76895]: tun1: LCP: ACCMAP[6] 0x00000000 May 6 00:27:42 spirit ppp[76895]: tun1: LCP: MRU[4] 1500 May 6 00:27:42 spirit ppp[76895]: tun1: LCP: MAGICNUM[6] 0x94759594 May 6 00:27:42 spirit ppp[76895]: tun1: LCP: deflink: State change Stopped --> Req-Sent May 6 00:27:45 spirit ppp[76895]: tun1: LCP: deflink: SendConfigReq(1) state = Req-Sent May 6 00:27:45 spirit ppp[76895]: tun1: LCP: ACFCOMP[2] May 6 00:27:45 spirit ppp[76895]: tun1: LCP: PROTOCOMP[2] May 6 00:27:45 spirit ppp[76895]: tun1: LCP: ACCMAP[6] 0x00000000 May 6 00:27:45 spirit ppp[76895]: tun1: LCP: MRU[4] 1500 May 6 00:27:45 spirit ppp[76895]: tun1: LCP: MAGICNUM[6] 0x94759594 May 6 00:27:45 spirit ppp[76895]: tun1: LCP: deflink: RecvConfigAck(1) state = Req-Sent May 6 00:27:45 spirit ppp[76895]: tun1: LCP: deflink: State change Req-Sent --> Ack-Rcvd May 6 00:27:46 spirit ppp[76895]: tun1: LCP: deflink: RecvConfigReq(1) state = Ack-Rcvd May 6 00:27:46 spirit ppp[76895]: tun1: LCP: ACCMAP[6] 0x00000000 May 6 00:27:46 spirit ppp[76895]: tun1: LCP: AUTHPROTO[4] 0xc023 (PAP) May 6 00:27:46 spirit ppp[76895]: tun1: LCP: MAGICNUM[6] 0xb2cad472 May 6 00:27:46 spirit ppp[76895]: tun1: LCP: PROTOCOMP[2] May 6 00:27:46 spirit ppp[76895]: tun1: LCP: ACFCOMP[2] May 6 00:27:46 spirit ppp[76895]: tun1: LCP: deflink: SendConfigAck(1) state = Ack-Rcvd May 6 00:27:46 spirit ppp[76895]: tun1: LCP: ACCMAP[6] 0x00000000 May 6 00:27:46 spirit ppp[76895]: tun1: LCP: AUTHPROTO[4] 0xc023 (PAP) May 6 00:27:46 spirit ppp[76895]: tun1: LCP: MAGICNUM[6] 0xb2cad472 May 6 00:27:46 spirit ppp[76895]: tun1: LCP: PROTOCOMP[2] May 6 00:27:46 spirit ppp[76895]: tun1: LCP: ACFCOMP[2] May 6 00:27:46 spirit ppp[76895]: tun1: LCP: deflink: State change Ack-Rcvd --> Opened May 6 00:27:46 spirit ppp[76895]: tun1: LCP: deflink: LayerUp May 6 00:27:46 spirit ppp[76895]: tun1: Phase: bundle: Authenticate May 6 00:27:46 spirit ppp[76895]: tun1: Phase: deflink: his = PAP, mine = none May 6 00:27:46 spirit ppp[76895]: tun1: Phase: Pap Output: simons@eikon ******** May 6 00:27:46 spirit ppp[76895]: tun1: Phase: Pap Input: SUCCESS (Success) May 6 00:27:46 spirit ppp[76895]: tun1: CCP: FSM: Using "deflink" as a transport May 6 00:27:46 spirit ppp[76895]: tun1: CCP: deflink: State change Initial --> Closed May 6 00:27:46 spirit ppp[76895]: tun1: CCP: deflink: State change Closed --> Stopped May 6 00:27:46 spirit ppp[76895]: tun1: Phase: deflink: lcp -> open May 6 00:27:46 spirit ppp[76895]: tun1: Phase: bundle: Network May 6 00:27:46 spirit ppp[76895]: tun1: IPCP: FSM: Using "deflink" as a transport May 6 00:27:46 spirit ppp[76895]: tun1: IPCP: deflink: State change Initial --> Closed May 6 00:27:46 spirit ppp[76895]: tun1: IPCP: deflink: LayerStart. May 6 00:27:46 spirit ppp[76895]: tun1: IPCP: deflink: SendConfigReq(1) state = Closed May 6 00:27:46 spirit ppp[76895]: tun1: IPCP: IPADDR[6] 0.0.0.0 May 6 00:27:46 spirit ppp[76895]: tun1: IPCP: COMPPROTO[6] 16 VJ slots with slot compression May 6 00:27:46 spirit ppp[76895]: tun1: IPCP: deflink: State change Closed --> Req-Sent May 6 00:27:46 spirit ppp[76895]: tun1: IPCP: deflink: RecvConfigReq(1) state = Req-Sent May 6 00:27:46 spirit ppp[76895]: tun1: IPCP: IPADDR[6] 129.187.10.28 May 6 00:27:46 spirit ppp[76895]: tun1: IPCP: COMPPROTO[6] 16 VJ slots with slot compression May 6 00:27:46 spirit ppp[76895]: tun1: IPCP: deflink: SendConfigAck(1) state = Req-Sent May 6 00:27:46 spirit ppp[76895]: tun1: IPCP: IPADDR[6] 129.187.10.28 May 6 00:27:46 spirit ppp[76895]: tun1: IPCP: COMPPROTO[6] 16 VJ slots with slot compression May 6 00:27:46 spirit ppp[76895]: tun1: IPCP: deflink: State change Req-Sent --> Ack-Sent May 6 00:27:46 spirit ppp[76895]: tun1: CCP: deflink: RecvConfigReq(1) state = Stopped May 6 00:27:46 spirit ppp[76895]: tun1: CCP: DEFLATE[4] win 15 May 6 00:27:46 spirit ppp[76895]: tun1: CCP: MAGNALINK/DEFLATE[4] win 15 May 6 00:27:46 spirit ppp[76895]: tun1: CCP: BSD[3] May 6 00:27:46 spirit ppp[76895]: tun1: CCP: deflink: SendConfigReq(1) state = Stopped May 6 00:27:46 spirit ppp[76895]: tun1: CCP: [EMPTY] May 6 00:27:46 spirit ppp[76895]: tun1: CCP: deflink: SendConfigRej(1) state = Stopped May 6 00:27:46 spirit ppp[76895]: tun1: CCP: MAGNALINK/DEFLATE[4] win 15 May 6 00:27:46 spirit ppp[76895]: tun1: CCP: BSD[3] May 6 00:27:46 spirit ppp[76895]: tun1: CCP: deflink: LayerStart. May 6 00:27:46 spirit ppp[76895]: tun1: CCP: deflink: State change Stopped --> Req-Sent May 6 00:27:46 spirit ppp[76895]: tun1: IPCP: deflink: RecvConfigNak(1) state = Ack-Sent May 6 00:27:46 spirit ppp[76895]: tun1: IPCP: IPADDR[6] 129.187.48.18 May 6 00:27:46 spirit ppp[76895]: tun1: IPCP: IPADDR[6] changing address: 0.0.0.0 --> 129.187.48.18 May 6 00:27:46 spirit ppp[76895]: tun1: IPCP: deflink: SendConfigReq(2) state = Ack-Sent May 6 00:27:46 spirit ppp[76895]: tun1: IPCP: IPADDR[6] 129.187.48.18 May 6 00:27:46 spirit ppp[76895]: tun1: IPCP: COMPPROTO[6] 16 VJ slots with slot compression May 6 00:27:46 spirit ppp[76895]: tun1: CCP: deflink: RecvConfigAck(1) state = Req-Sent May 6 00:27:46 spirit ppp[76895]: tun1: CCP: deflink: State change Req-Sent --> Ack-Rcvd May 6 00:27:46 spirit ppp[76895]: tun1: IPCP: deflink: RecvConfigAck(2) state = Ack-Sent May 6 00:27:46 spirit ppp[76895]: tun1: IPCP: deflink: State change Ack-Sent --> Opened May 6 00:27:46 spirit ppp[76895]: tun1: IPCP: deflink: LayerUp. May 6 00:27:46 spirit ppp[76895]: tun1: IPCP: myaddr 129.187.48.18 hisaddr = 129.187.10.28 May 6 00:27:49 spirit ppp[76895]: tun1: CCP: deflink: RecvConfigReq(1) state = Ack-Rcvd May 6 00:27:49 spirit ppp[76895]: tun1: CCP: DEFLATE[4] win 15 May 6 00:27:49 spirit ppp[76895]: tun1: CCP: MAGNALINK/DEFLATE[4] win 15 May 6 00:27:49 spirit ppp[76895]: tun1: CCP: BSD[3] May 6 00:27:49 spirit ppp[76895]: tun1: CCP: deflink: SendConfigRej(1) state = Ack-Rcvd May 6 00:27:49 spirit ppp[76895]: tun1: CCP: MAGNALINK/DEFLATE[4] win 15 May 6 00:27:49 spirit ppp[76895]: tun1: CCP: BSD[3] May 6 00:27:50 spirit ppp[76895]: tun1: Phase: Signal 15, terminate. May 6 00:27:50 spirit ppp[76895]: tun1: IPCP: deflink: LayerDown: 129.187.48.18 May 6 00:27:50 spirit ppp[76895]: tun1: IPCP: deflink: SendTerminateReq(3) state = Opened May 6 00:27:50 spirit ppp[76895]: tun1: IPCP: deflink: State change Opened --> Closing May 6 00:27:50 spirit ppp[76895]: tun1: Phase: deflink: read (0): Got zero bytes May 6 00:27:50 spirit ppp[76895]: tun1: CCP: deflink: State change Ack-Rcvd --> Starting May 6 00:27:50 spirit ppp[76895]: tun1: CCP: deflink: LayerFinish. May 6 00:27:50 spirit ppp[76895]: tun1: CCP: deflink: State change Starting --> Initial May 6 00:27:50 spirit ppp[76895]: tun1: LCP: deflink: LayerDown May 6 00:27:50 spirit ppp[76895]: tun1: LCP: deflink: State change Opened --> Starting May 6 00:27:50 spirit ppp[76895]: tun1: Phase: deflink: open -> lcp May 6 00:27:50 spirit ppp[76895]: tun1: IPCP: deflink: LayerFinish. May 6 00:27:50 spirit ppp[76895]: tun1: IPCP: Connect time: 4 secs: 0 octets in, 812035 octets out May 6 00:27:50 spirit ppp[76895]: tun1: IPCP: : 0 packets in, 1573 packets out May 6 00:27:50 spirit ppp[76895]: tun1: IPCP: total 203008 bytes/sec, peak 135942 bytes/sec on Mon May 6 00:27:50 2002 May 6 00:27:50 spirit ppp[76895]: tun1: IPCP: deflink: State change Closing --> Initial May 6 00:27:50 spirit ppp[76895]: tun1: Phase: bundle: Terminate May 6 00:27:50 spirit ppp[76895]: tun1: LCP: deflink: LayerFinish May 6 00:27:50 spirit ppp[76895]: tun1: LCP: deflink: State change Starting --> Initial May 6 00:27:50 spirit ppp[76895]: tun1: Phase: deflink: Disconnected! May 6 00:27:50 spirit ppp[76895]: tun1: Phase: deflink: Connect time: 10 secs: 298 octets in, 820693 octets out May 6 00:27:50 spirit ppp[76895]: tun1: Phase: deflink: : 8 packets in, 1584 packets out May 6 00:27:50 spirit ppp[76895]: tun1: Phase: total 82099 bytes/sec, peak 122307 bytes/sec on Mon May 6 00:27:50 2002 May 6 00:27:50 spirit ppp[76895]: tun1: Phase: deflink: lcp -> closed May 6 00:27:50 spirit ppp[76895]: tun1: Phase: bundle: Dead May 6 00:27:50 spirit ppp[76895]: tun1: Phase: PPP Terminated (normal). May 6 00:27:50 spirit pptp[76897]: log[callmgr_main:pptp_callmgr.c:240]: Closing connection May 6 00:27:50 spirit pptp[76897]: log[pptp_conn_close:pptp_ctrl.c:285]: Closing PPTP connection May 6 00:27:52 spirit pptp[76897]: log[call_callback:pptp_callmgr.c:88]: Closing connection my config looks like this: pptp: set authname "simons@eikon" set authkey "XXXXX" set timeout 0 set ifaddr 0.0.0.0/0 disable mppe deny mppe accept deflate24 disable pred1 disable deflate set log Phase Chat Connect LCP IPCP CCP tun Warning Error command alert #debug pppoe works just fine from this machine. i really don't see why there is this Phase: Signal 15, terminate. seems ppp receives a SIGTERM from somewhere... i hope you can help me simon ps: i also don't understand why it keeps rejecting MAGNALINK/DEFLATE though i'm accepting deflate24. -- /"\ http://corecode.ath.cx/#donate \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News --=.YLUG7Oa?KLIunQ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) iD8DBQE81bP8r5S+dk6z85oRAoQ6AJkBYLQAgbBHQCcXzJC+8KgfaNAeowCgstcG 2zBu+2lYPOntpO8gaa3SqeM= =vIpk -----END PGP SIGNATURE----- --=.YLUG7Oa?KLIunQ-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message