From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Dec 10 12:50:01 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 312C31065692 for ; Thu, 10 Dec 2009 12:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E8E8A8FC18 for ; Thu, 10 Dec 2009 12:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBACo0CT012252 for ; Thu, 10 Dec 2009 12:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBACo0bg012251; Thu, 10 Dec 2009 12:50:00 GMT (envelope-from gnats) Resent-Date: Thu, 10 Dec 2009 12:50:00 GMT Resent-Message-Id: <200912101250.nBACo0bg012251@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Volodymyr Kostyrko Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61C6F106566B for ; Thu, 10 Dec 2009 12:47:18 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 45D218FC12 for ; Thu, 10 Dec 2009 12:47:18 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nBAClIn5015031 for ; Thu, 10 Dec 2009 12:47:18 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nBAClHbF015030; Thu, 10 Dec 2009 12:47:18 GMT (envelope-from nobody) Message-Id: <200912101247.nBAClHbF015030@www.freebsd.org> Date: Thu, 10 Dec 2009 12:47:18 GMT From: Volodymyr Kostyrko To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/141342: net/mpd5 pppoe connection error X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2009 12:50:01 -0000 >Number: 141342 >Category: ports >Synopsis: net/mpd5 pppoe connection error >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 10 12:50:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Volodymyr Kostyrko >Release: RELENG_8_0 >Organization: >Environment: FreeBSD chmmr.3501.lan 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Mon Nov 23 13:17:37 EET 2009 arcade@chmmr.3501.lan:/usr/obj/usr/src/sys/MINIMAL_8 amd64 >Description: Whe n connecting to mpd5 pool with pppoe from windows machine on my configuration first attempt almost certainly fails with: Dec 10 13:41:53 chmmr mpd: [PKUNK-4] CCP: Decompress using: mppc (MPPE(128 bits)) Dec 10 13:41:53 chmmr mpd: [PKUNK-4] IPCP: rec'd Configure Request #8 (Ack-Rcvd) Dec 10 13:41:53 chmmr mpd: [PKUNK-4] COMPPROTO VJCOMP, 16 comp. channels, allow comp-cid Dec 10 13:41:53 chmmr mpd: [PKUNK-4] IPADDR 172.31.0.2 Dec 10 13:41:53 chmmr mpd: [PKUNK-4] 172.31.0.2 is OK Dec 10 13:41:53 chmmr mpd: [PKUNK-4] PRIDNS 172.31.0.0 Dec 10 13:41:53 chmmr mpd: [PKUNK-4] IPCP: SendConfigAck #8 Dec 10 13:41:53 chmmr mpd: [PKUNK-4] COMPPROTO VJCOMP, 16 comp. channels, allow comp-cid Dec 10 13:41:53 chmmr mpd: [PKUNK-4] IPADDR 172.31.0.2 Dec 10 13:41:53 chmmr mpd: [PKUNK-4] PRIDNS 172.31.0.0 Dec 10 13:41:53 chmmr mpd: [PKUNK-4] IPCP: state change Ack-Rcvd --> Opened Dec 10 13:41:53 chmmr mpd: [PKUNK-4] IPCP: LayerUp Dec 10 13:41:53 chmmr mpd: [PKUNK-4] 172.31.0.0 -> 172.31.0.2 Dec 10 13:41:53 chmmr mpd: [PKUNK-4] IFACE: Adding IPv4 address to ng3 failed: File exists Dec 10 13:41:53 chmmr mpd: [PKUNK-4] IFACE: IfaceChangeAddr() error, closing IPCP Dec 10 13:41:53 chmmr mpd: [PKUNK-4] IPCP: parameter negotiation failed Dec 10 13:41:53 chmmr mpd: [PKUNK-4] IPCP: state change Opened --> Stopping Dec 10 13:41:53 chmmr mpd: [PKUNK-4] IPCP: SendTerminateReq #2 Dec 10 13:41:53 chmmr mpd: [PKUNK-4] IPCP: LayerDown Dec 10 13:41:53 chmmr mpd: [PKUNK-4] rec'd unexpected protocol IP Dec 10 13:41:53 chmmr mpd: [PKUNK-4] IPCP: rec'd Terminate Ack #2 (Stopping) Dec 10 13:41:53 chmmr mpd: [PKUNK-4] IPCP: state change Stopping --> Stopped Dec 10 13:41:53 chmmr mpd: [PKUNK-4] IPCP: LayerFinish Dec 10 13:41:53 chmmr mpd: [PKUNK-4] Bundle: No NCPs left. Closing links... Dec 10 13:41:53 chmmr mpd: [PKUNK-4] Bundle: closing link "re0-5"... The next attempt however succeeds. Here is a config sample: startup: set netflow node netflow0 set netflow hook 256 default: #load dialup load pppoe_server pppoe_server: create bundle template PKUNK set bundle yes compression crypt-reqd set ccp yes pred1 deflate mppc set mppc yes e128 compress set ecp key VitKukItboIpsoawvigs set ipcp dns 172.31.0.0 set ipcp ranges 172.31.0.0/32 172.31.0.0/16 set iface enable netflow-in netflow-out create link template common pppoe set auth max-logins 1 set link action bundle PKUNK set link no pap chap eap set link yes incoming multilink passive set link enable chap set pppoe service "3501" create link template re0 common set link max-children 1000 set pppoe iface re0 set link enable incoming >How-To-Repeat: Any connection from other machine which should create ng* interface fails first time. Next attempt succeeds. >Fix: >Release-Note: >Audit-Trail: >Unformatted: