From owner-cvs-src@FreeBSD.ORG Thu Jan 26 13:50:45 2006 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7676016A420 for ; Thu, 26 Jan 2006 13:50:45 +0000 (GMT) (envelope-from misho@interbgc.com) Received: from mail.interbgc.com (mx04.interbgc.com [217.9.224.231]) by mx1.FreeBSD.org (Postfix) with SMTP id 61D5243D46 for ; Thu, 26 Jan 2006 13:50:43 +0000 (GMT) (envelope-from misho@interbgc.com) Received: (qmail 35163 invoked from network); 26 Jan 2006 13:50:42 -0000 Received: from misho@interbgc.com by keeper.interbgc.com by uid 1002 with qmail-scanner-1.14 (uvscan: v4.2.40/v4374. spamassassin: 2.63. Clear:SA:0(-1.8/8.0):. Processed in 0.997416 secs); 26 Jan 2006 13:50:42 -0000 X-Spam-Status: No, hits=-1.8 required=8.0 Received: from joiner.interbgc.com (HELO misho) (217.9.224.8) by mx04.interbgc.com with SMTP; 26 Jan 2006 13:50:41 -0000 Message-ID: <015a01c6227f$7ed33640$08e009d9@misho> From: "Mihail Balikov" To: References: <200601261306.k0QD6o4P070834@repoman.freebsd.org> <20060126131931.GN83922@FreeBSD.org> Date: Thu, 26 Jan 2006 15:50:40 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Subject: Re: cvs commit: src/sys/netgraph ng_pppoe.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mihail Balikov List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2006 13:50:45 -0000 Several months ago I have fixed problem with D-Link and ng_pppoe. D-Link sends LCP echo-req with empty magic-num. After disable magic-number verification for empty requests, everything starts to work fine. Here you are some dumps: [c1] LCP: magic number is wrong: 0x04000000 != 00245b59 [c1] LCP: received an invalid magic number [c1] LCP: LayerFinish [c1] LCP: LayerStart [c1] LCP: state change Opened --> Starting [c1] LCP: phase shift NETWORK --> DEAD 20:41:38.444829 0:2:b3:48:b:a3 0:f:3d:2:60:6c 8864 41: PPPoE [ses 0x1635] LCP 21: Conf-Req(38), MRU=1500, Magic-Num=cc1bb490, Auth-Prot CHAP/MD5 20:41:38.886605 0:f:3d:2:60:6c 0:2:b3:48:b:a3 8864 60: PPPoE [ses 0x1635] LCP 12: Conf-Req(253), Magic-Num=00245b59 20:41:38.886996 0:2:b3:48:b:a3 0:f:3d:2:60:6c 8864 32: PPPoE [ses 0x1635] LCP 12: Conf-Ack(253), Magic-Num=00245b59 ..................... 20:42:08.492464 0:f:3d:2:60:6c 0:2:b3:48:b:a3 8864 60: PPPoE [ses 0x1635] LCP 10: Echo-Req(254), Magic-Num=00245b59 20:42:08.492701 0:2:b3:48:b:a3 0:f:3d:2:60:6c 8864 30: PPPoE [ses 0x1635] LCP 10: Echo-Rep(254), Magic-Num=cc1bb490 20:42:09.587648 0:f:3d:2:60:6c 0:2:b3:48:b:a3 8864 60: PPPoE [ses 0x1635] LCP 6: Echo-Req(255) ----- Original Message ----- From: "Gleb Smirnoff" To: ; ; Sent: Thursday, January 26, 2006 3:19 PM Subject: Re: cvs commit: src/sys/netgraph ng_pppoe.c > On Thu, Jan 26, 2006 at 01:06:50PM +0000, Gleb Smirnoff wrote: > T> This change makes FreeBSD AC compatible with D-Link DI-614+ and > T> D-Link DI-624+ SOHO routers, and probably others. > > ... but don't hurry to buy them. The PPPoE part is compatible now > with HEAD, and I think will be compatible with 6.1-RELEASE, but the PPP > part is not. The D-Link router ignores LCP IP address offers sent by > FreeBSD. Same problem was reproduced between D-Link and Cisco. May be > this will be fixed in new firmware update. > > -- > Totus tuus, Glebius. > GLEBIUS-RIPN GLEB-RIPE > _______________________________________________ > cvs-src@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/cvs-src > To unsubscribe, send any mail to "cvs-src-unsubscribe@freebsd.org" > > > __________ NOD32 1.1380 (20060125) Information __________ > > This message was checked by NOD32 antivirus system. > http://www.eset.com > >