Menu

#67 max-logins patch to disconnect duplicated connections

None
open
None
1
2017-11-05
2014-05-27
Cesar Fazan
No

I needed an option for my pppoe server to replace/disconnect an existing connection if an user trys to do a new one, so I changed the way set auth max-logins work.

If the second or third argument to max-logins is "replace" it will search and disconnect the old connections. If not max-logins will behave the old way.

While this patch is so far stable for me, I'm not sure if its done in the right place (lcp.c).

Any comments?

1 Attachments

Discussion

  • Dmitry S. Lukhtionov

    • assigned_to: Dmitry S. Luhtionov
    • Group: -->
     
  • Eugene Grosbein

    Eugene Grosbein - 2017-11-05

    Please descript what is your original problem you try to solve with this as the patch is unacceptable in its current form because of security issues.

     

Log in to post a comment.