[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Which PPP implementation should be used? PPP-new or PPP
From: |
Sylvain Rochet |
Subject: |
Re: [lwip-users] Which PPP implementation should be used? PPP-new or PPP from the master branch |
Date: |
Tue, 1 Apr 2014 17:26:48 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hello Charles,
On Tue, Apr 01, 2014 at 11:57:03AM +0000, address@hidden wrote:
> Hi Sylvain,
>
> Thanks for your support.
>
> I didn't know it doesn't support PPP server. Any plans to add PPP
> server ? What needs be done in order to support PPP server?
Answering both in one bundle, since answers to them ended up to be
mixed.
First, it builds if you set PPP_SERVER for a unix build because I
already done all the required port to lwIP on this part, there are some
remaining FIXME inside PPP_SERVER parts which must be fixed before
expecting doing a build for an embedded device, but none of them are
looking hard to fix for any experienced C developer.
However, some work is required to add a way to get logins and passwords
in order to authenticate clients. pppd code using /etc/ppp/pap-secrets
and /etc/ppp/chap-secrets is obviously disabled.
But, a huge work is required to add passive interface (= waiting for
something, = server) support to lwIP PPP stack (in ppp.c), and PPP lower
layers require attention as well, which should be only waiting for
PPPoS, PADO and PADS for PPPoE and full LNS support for PPPoL2TP.
Sylvain
signature.asc
Description: Digital signature