I've configured sql and radutmp accounting and everything works just fine with my cisco switches. Logged on users are available using radwho and radlast. The same is not true for HP switches though.

Here's what a HP26xx switch sends when a user logs on:

rad_recv: Accounting-Request packet from host 192.168.132.22:1046, id=23, length=96
Acct-Session-Id = "00DD00000007"
Acct-Status-Type = Start
Service-Type = NAS-Prompt-User
Acct-Authentic = RADIUS
Acct-Delay-Time = 0
NAS-IP-Address = 192.168.132.22
NAS-Identifier = "core2-22"
User-Name = "user"
Calling-Station-Id = "192.168.132.3"



And here is what a cisco 2950 sends:

rad_recv: Accounting-Request packet from host 192.168.132.12:1813, id=215, length=94
NAS-IP-Address = 192.168.132.12
NAS-Port = 1
NAS-Port-Type = Virtual
User-Name = "user"
Calling-Station-Id = "192.168.132.3"
Acct-Status-Type = Start
Acct-Authentic = RADIUS
Service-Type = NAS-Prompt-User
Acct-Session-Id = "00000033"
Acct-Delay-Time = 0



The difference is that the 2950 sends

NAS-Port = 1
NAS-Port-Type = Virtual

Could the lack of these attribs from the HP switch be the reason for the absense in radwho/radlast?


Magnus

- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to