Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#61 PPPoE server - response delay

open
nobody
None
5
2011-11-04
2011-11-04
Miroslav Slavkov
No

This patch adds response-delay option to pppoe. It can be used when there are multiple PPPoE server on the same lan.

Example:

PPPoE1:
set pppoe response-delay 0

PPPoE2:
set pppoe response-delay 50

PPPoE3:
set pppoe response-delay 100

Please review the patch. I'm testing it too and will provide fixes if there are issues.
Currently the response delay is in the range of 0-100 ms.

Discussion

  • response delay patch for pppoe

     
    Attachments
  • While this very useful functionality, the implementation is wrong. Sleeping 100ms for every incoming connection is not a way for a busy server. It should be made asynchronous to not block state machine for the wait time.