Servidor FreeRADIUS/Accounting
De IFRS Campus Canoas
Virtual Server - Accounting
Arquivo de configuração /etc/freeradius/sites-available/accounting.
server accounting { listen { ipaddr = * port = 1813 type = acct } client "wlc-cisco" { ipaddr = XXX.XXX.XXX.XXX # IP da controladora. proto = udp secret = senha require_message_authenticator = yes # max_connections = 1024 shortname = wlc-admin nastype = cisco } # Pre-accounting preacct { preprocess #update request { #FreeRADIUS-Acct-Session-Start-Time = "%{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}}" #} acct_unique #IPASS #suffix #ntdomain #files } accounting { detail #daily #unix radutmp sradutmp #main_pool sql #if (noop) { #ok #} #sql_log #pgsql-voip exec attr_filter.accounting_response Acct-Type Status-Server { ok } } }