Date: Thu, 26 Jan 2006 15:50:40 +0200 From: "Mihail Balikov" <misho@interbgc.com> To: <cvs-src@freebsd.org> Subject: Re: cvs commit: src/sys/netgraph ng_pppoe.c Message-ID: <015a01c6227f$7ed33640$08e009d9@misho> References: <200601261306.k0QD6o4P070834@repoman.freebsd.org> <20060126131931.GN83922@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <glebius@FreeBSD.org> To: <src-committers@FreeBSD.org>; <cvs-src@FreeBSD.org>; <cvs-all@FreeBSD.org> 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 > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?015a01c6227f$7ed33640$08e009d9>