Answer the question
In order to leave comments, you need to log in
Switch authorization on Radius?
Good afternoon, Habr!
I want to test (but fail) the ability to authenticate and account switches (D-link 3526, firmware 6.10.023) on a Radius server (Freeradius 2.1.0 on Ubuntu 11.04).
read more
As planned, the following scheme should work:
1. The subscriber sends an IGMP-Join.
2.switch sees this and sends a message with authentication to the Radius server (as a username and password, the poppy address of the subscriber).
3.Radius-server replies to the switch that authentication was successful and the switch starts pouring a multicast stream on the subscriber's port.
4. Periodically and when switching the channel, the switch sends messages to the Radius server containing information for accounting.
The goal is to record the use of channels by subscribers. In fact, only accounting is needed.
BUT! The annoyance is that authentication does not pass and, accordingly, accounting does not occur.
Error text in radius logs ():
Wed Jun 22 16:21:23 2011 : Auth: Login incorrect: [001617122639/001617122639] (from client D-link port 20) <br/>
001617122639 Cleartext-Password := "001617122639", NAS-Port == 20, Framed-IP-Address == "239.0.0.1", NAS-IP-Address == "10.10.0.1"
..............<br/>
User-Name = "001617122639"<br/>
User-Password = "001617122639"<br/>
NAS-IP-Address = 10.10.0.1<br/>
NAS-Identifier = "D-Link"<br/>
NAS-Port-Type = Virtual<br/>
Service-Type = Framed-User<br/>
Framed-Protocol = PPP<br/>
NAS-Port = 20<br/>
Framed-IP-Address = 239.0.0.1<br/>
..............
Answer the question
In order to leave comments, you need to log in
check that files is in:
authorize {
...
files
...
}
accounting {
...
files
...
attr_filter.accounting_response # worth checking, mb. something needs to be tweaked.
}
In general, it would be nice to see the full output of the freeradius -X command along with 1 authorization attempt.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question