RADIUS Extensions for IP Port Configuration and Reporting
e066377 at yahoo.com
Sat Nov 23 13:35:41 CET 2019
An ISP company uses NAT not to assign a distinct real IP to each user because of insufficient number of real IP.
And such ISP companies need NAT IPDR (Internet Protocol Detail Record) report with following format:
User_Name | Private_IP | Private_IP_Port_Range_Start | Private_ IP_Port_Range_End |Real_IP | Real_IP_Port_Range_Start | Real_IP_Port_Range_End|Session_Star_Date | Session_EndUpdate_Date | Upload_Byte | Download_Bype | Session_Dsiconnect_Message | Session_State | Session_PVC | Service_Number | Session_Code
Here it is needed to get/set IP source transport ports allocated to a user but could not find attributes of such kind in freeRadius. In searching for that info i found RFC 8045 https://tools.ietf.org/html/rfc8045 which defines attributes IP-Port-Limit-Info, IP-Port-Range, IP-Port-Forwarding-Map.
Does freeRadius current version (3.0) has support for RFC 8045 ?
Are there any way to get the transport port allocated to a user when accounting session starts and write this info in radacct in a custom column so that we can use that port in IPDR reporting?
More information about the Freeradius-Users