xebd / accel-ppp

High performance PPTP/L2TP/PPPoE/IPoE server for Linux
GNU General Public License v2.0
299 stars 107 forks source link

Add global [common]max-starting option #121

Closed themiron closed 4 years ago

themiron commented 4 years ago

Usually there's no need to have per-proto limitation, since the need of max starting limitation affects the whole server, not particular protocol only. So, instead of different [ipoe|pptp], non-working [pppoe] and absent [l2tp|sstp] max-starting options, let's have one general [common]max-starting for all of them.

Under new session storm (kind of DDoS) no logging is helpful. Since we have no rate-limited logging, let's remove it complitely alike max-session and connlimit do.

Also, max-sessions was not applied to sstp, fix that.