User-Name in the Accounting log is being stripped
Clement Ogedengbe
c.ogedengbe at worc.ac.uk
Tue Apr 15 12:56:16 CEST 2014
Hello,
I am proxying non-local requests to an offshore server for authentication. Authentication process is successful but the reply log shows that User-Name is being stripped for some offshore users.
I configured my detail reply_log file with the following:
header = "%{Packet-Src-IP-Address} Returned from %{home_server:ipaddr} for User %{User-Name} - %t"
The reply log captured shows the records below: The User-Name in the header for the reply_log shows the complete user-name whereas the user-name in the reply log record is being stripped for some reasons. As a result of this, the accounting log is showing the "stripped" user-name instead of the complete user name.
Extract of reply log below:
10.255.252.248 Returned from roaming0.ja.net for User user at domain.com - Tue Apr 15 10:49:59 2014
Packet-Type = Access-Accept
Tunnel-Private-Group-Id:0 = "222"
User-Name = user at domain.<mailto:user at domain.>
Extract of accounting log below:
10.255.252.248 - Tue Apr 15 10:50:36 2014
User-Name = "user at domain."
NAS-Port = 13
NAS-IP-Address = 10.255.252.248
Framed-IP-Address = 172.21.30.255
NAS-Identifier = "XXX_WLC5"
Airespace-Wlan-Id = 4
Acct-Session-Id = "534d00ec/ac:22:0b:a2:a2:b8/6564"
NAS-Port-Type = Wireless-802.11
Cisco-AVPair = "audit-session-id=0afffcf800002060534d0098"
Acct-Authentic = RADIUS
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "222"
Event-Timestamp = "Apr 15 2014 10:50:36 BST"
Acct-Status-Type = Start
Calling-Station-Id = "172.21.30.255"
Called-Station-Id = "10.255.252.248"
Acct-Unique-Session-Id = "948506c37df9d95c"
Timestamp = 1397555436
Clement
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140415/d0ea8a37/attachment.html>
More information about the Freeradius-Users
mailing list