lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #36317] PPP with PPPoE reauth not working


From: Sylvain Rochet
Subject: [lwip-devel] [bug #36317] PPP with PPPoE reauth not working
Date: Thu, 26 Apr 2012 14:43:50 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2 Iceweasel/10.0.2

URL:
  <http://savannah.nongnu.org/bugs/?36317>

                 Summary: PPP with PPPoE reauth not working
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: gradator
            Submitted on: Thu 26 Apr 2012 02:43:50 PM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: CVS Head

    _______________________________________________________

Details:

Hi,

When a ReAuth request is sent (CHAP Challenge received while already received
previously for example) and when using PPPoE, the PPP stack fails to restart
the auth to the beginning and wrongfully shutdown the PPPoE session instead of
keeping it alive due to a misunderstanding of the difference between
pppLinkDown() and pppLinkTerminated() in netif/ppp/ppp.c

This can be a problem when using DSL providers chaining LAC+LNS servers, for
example when using L2TP tunnel switching/forwarding technique, which cause the
PPP auth to be required on all L2TP forwarders, in order to let the LAC+LNS
find the next L2TP next-hop by requesting a Radius server using the realm part
of the auth string.

Here is a patch that fix this behavior, which doesn't shutdown the PPPoE while
a ReAuth request is sent, and which set the correct flag to the LCP field.

Sylvain



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 26 Apr 2012 02:43:50 PM GMT  Name: pppoe-reauth-fix.patch  Size:
891B   By: gradator

<http://savannah.nongnu.org/bugs/download.php?file_id=25743>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?36317>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]