freeradius: rewrite *-Station-Id and log SSID
This commit is contained in:
parent
ace765b682
commit
b3d18e92b6
2 changed files with 3 additions and 1 deletions
|
@ -24,7 +24,7 @@ linelog linelog_inner_postauth {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
linelog_outer_prefix = {{ '${.linelog_prefix} from %{%{Calling-Station-Id}:-unknown} via %{NAS-IP-Address} (%{Client-Shortname}):' | enquote }}
|
linelog_outer_prefix = {{ '${.linelog_prefix} from %{%{Calling-Station-Id}:-unknown} (%{jsonquote:%{Called-Station-SSID}}) via %{NAS-IP-Address} (%{Client-Shortname}):' | enquote }}
|
||||||
|
|
||||||
linelog linelog_outer_authz_user {
|
linelog linelog_outer_authz_user {
|
||||||
filename = syslog
|
filename = syslog
|
||||||
|
|
|
@ -25,6 +25,8 @@ server outer-aurore {
|
||||||
}
|
}
|
||||||
|
|
||||||
authorize {
|
authorize {
|
||||||
|
rewrite_calling_station_id
|
||||||
|
rewrite_called_station_id
|
||||||
linelog_outer_authz_user
|
linelog_outer_authz_user
|
||||||
filter_username
|
filter_username
|
||||||
split_username_nai
|
split_username_nai
|
||||||
|
|
Loading…
Reference in a new issue