xebd / accel-ppp

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

[Fix] - Increment Accounting-Request id for Acct-Status-Type Stop #97

Closed mad4321 closed 4 years ago

mad4321 commented 4 years ago

Accounting stop is sent with the same id as the last Interium-update id. In some cases, when interium-update and stop packets are sent almost simultaneously (e.g. when acct-interim-interval and lease-time are equal), RADIUS could generate error: Discarding conflicting packet from client due to recent request for second packet.