freeradius: rewrite *-Station-Id and log SSID

This commit is contained in:
jeltz 2023-06-25 19:49:12 +02:00
parent ace765b682
commit b3d18e92b6
Signed by: jeltz
GPG key ID: 800882B66C0C3326
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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