cvs commit: src/sys/netgraph ng_pppoe.c

Mihail Balikov misho at interbgc.com
Thu Jan 26 05:50:45 PST 2006


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 at FreeBSD.org>
To: <src-committers at FreeBSD.org>; <cvs-src at FreeBSD.org>;
<cvs-all at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/cvs-src
> To unsubscribe, send any mail to "cvs-src-unsubscribe at freebsd.org"
>
>
> __________ NOD32 1.1380 (20060125) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>



More information about the cvs-src mailing list