Mysql - radcheck, radreply, radgroupcheck and radgroupreply
Anyone can help me with this??? ---- Hi, I'm using Freeradius + Mysql to do the MAC Address authentication of the clients that connection on my APs (Mikrotik machines). In the mysql I've the follow: Table usergroup: UserName = MAC address GroupName = NAS-Port-ID - (the name of the AP where the client will be connected - ex. "MyAP1") Table radgroupcheck: GroupName = NAS-Port-ID - (the name of the AP where the client will be connected - ex. "MyAP1") Then I've four lines for each GroupName with the follow: Attribute: "Auth-Type" // op: ":=" // Value: "Local" Attribute: "NAS-IP-Address" // op: "==" // Value: "IP of the AP" Attribute: "NAS-Port-Identify" // op: "==" // Value: "Name of the AP - Ex: MyAP1" On the table radcheck I don't have anything. This table is empty. In the table radreply I've one record: UserName: "MAC Address of the client" Attribute: "Mikrotik-Rate-Limite" op: "=" Value: "64000/128000" The problem is: If the Freeradius don't find the UserName on the table radcheck it doesn't return the attributes that are on the table radreply, just the records of the table radgroupreply are returned. I need to return the reply different for each client because this parameter is the speed of upload and download and this values are different for each client. My questio is: Is it possible that the Freeradius return the values of the table radreply if I don't have any value on the radcheck? (The authentication was made in the radgroupcheck table) Thanks in advanced, Fabrício F.: Kammer
Hi! Ive installed Freeradius, its working great. I use it to verify users, im running a PPTPD server. I have a question though. When i do "radwho" it lists current users. The output is the following: userlogin username PPP S122 Tue 21:27 127.0.0.1 <givenIPadress> The question i have is, what does the S122 mean? I've never seen it go above S128, does this mean that the radius cant handle more then 128 current users? If so, how do i raise the limit? Or if the limit is not in the radius software, could it be a limit that is related to the OS (debian 2.4.27) or the PPTPD? Any help is very welcome! Thanks a bunch! :) Cheers! //Max
participants (2)
-
"Fabrício F. Kammer" -
Max Jonborn