xebd / accel-ppp

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

Using l2tp Calling Number/Called Number AVPs as Radius Calling-Station-Id/Called-Station-Id #175

Closed aserkin closed 2 years ago

aserkin commented 2 years ago

The attempt to implement https://phabricator.accel-ppp.org/T59. The changes take the Calling Number/Called Number AVPs from L2TP ICRQ and put them respectively into the RADIUS AVPs Calling-Station-Id/Called-Station-Id in Access and Accounting requests. This allows use of Calling Number/Called Number AVPs for authorization purposes.