Can someone point me to docs or help me get my head around what changes need to be done for IPv6 Accounting? Looks like I may need to add some fields to radacct and update the INSERT and UPDATE statements with IPv6 variables. Is it necessary to run freeradius dual stack for IPv6 AAA? Version 2.3.11-6 MySQL backend I am using sql_log Thanks Shannon
On 27/05/11 14:37, Shannon Ward wrote:
Can someone point me to docs or help me get my head around what changes need to be done for IPv6 Accounting? Looks like I may need to add some fields to radacct and update the INSERT and UPDATE statements with IPv6 variables.
Assuming your NAS supports it, you want to store Framed-IPv6-Address - so something like: -- postgres alter table radacct add framedipv6address inet; -- other alter table radacct add framedipv6address varchar(40); ...and then change the queries e.g. in sql.conf: accounting_update_query = " \ UPDATE ${acct_table1} \ SET \ framedipaddress = '%{Framed-IP-Address}', \ framedipv6address = '%{Framed-IPv6-Address}', \
Is it necessary to run freeradius dual stack for IPv6 AAA?
No - IPv6 attributes can appear in IPv4 radius packet.
On 05/27/2011 09:44 AM, Phil Mayers wrote:
On 27/05/11 14:37, Shannon Ward wrote:
Can someone point me to docs or help me get my head around what changes need to be done for IPv6 Accounting? Looks like I may need to add some fields to radacct and update the INSERT and UPDATE statements with IPv6 variables.
Assuming your NAS supports it, you want to store Framed-IPv6-Address - so something like:
-- postgres alter table radacct add framedipv6address inet; -- other alter table radacct add framedipv6address varchar(40);
...and then change the queries e.g. in sql.conf:
accounting_update_query = " \ UPDATE ${acct_table1} \ SET \ framedipaddress = '%{Framed-IP-Address}', \ framedipv6address = '%{Framed-IPv6-Address}', \
Is it necessary to run freeradius dual stack for IPv6 AAA?
No - IPv6 attributes can appear in IPv4 radius packet. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Thanks this helped me
Shannon Ward wrote:
Can someone point me to docs or help me get my head around what changes need to be done for IPv6 Accounting?
What does that mean?
Looks like I may need to add some fields to radacct and update the INSERT and UPDATE statements with IPv6 variables.
No. Read the "dialup.conf" file. The only references to "IP" is in "NAS-IP-Address". The standard RADIUS attributes count *packets* and *bytes*. They don't distinguish between IPv4 or IPv6. They count both. There is no way in RADIUS to count only IPv6 traffic.
Is it necessary to run freeradius dual stack for IPv6 AAA?
If you want to receive IPv6 traffic, yes. If you want to receive IPv4 RADIUS traffic containing IPv6 attributes, no. Alan DeKok.
participants (3)
-
Alan DeKok -
Phil Mayers -
Shannon Ward