Freeradius3空授权部分

时间:2018-07-27 06:29:59

标签: ios freeradius radius

使用FreeRADIUS版本3.0.17。 如果使用了非默认端口(此处为1712),则会出现Access-Reject并显示以下错误。 同样适用于1812端口。

调试失败的案例

Fri Jul 27 11:44:17 2018 : Debug: (0) Received Access-Request Id 74 from 192.168.122.1:54017 to 192.168.122.1:1712 length 75
Fri Jul 27 11:44:17 2018 : Debug: (0)   User-Name = "agnel"
Fri Jul 27 11:44:17 2018 : Debug: (0)   User-Password = "cisco"
Fri Jul 27 11:44:17 2018 : Debug: (0)   NAS-IP-Address = 10.105.236.107
Fri Jul 27 11:44:17 2018 : Debug: (0)   NAS-Port = 0
Fri Jul 27 11:44:17 2018 : Debug: (0)   Message-Authenticator = 0xddff1bd7dc9e5b44c3f0c9ecf089d325
Fri Jul 27 11:44:17 2018 : Debug: (0) session-state: No State attribute
Fri Jul 27 11:44:17 2018 : Debug: (0) Empty authorize section.  Using default return values.
Fri Jul 27 11:44:17 2018 : ERROR: (0) No Auth-Type found: rejecting the user via Post-Auth-Type = Reject
Fri Jul 27 11:44:17 2018 : Debug: (0) Failed to authenticate the user
Fri Jul 27 11:44:17 2018 : Debug: (0) Using Post-Auth-Type Reject
Fri Jul 27 11:44:17 2018 : Debug: (0) Post-Auth-Type sub-section not found.  Ignoring.
Fri Jul 27 11:44:17 2018 : Debug: (0) Delaying response for 1.000000 seconds
Fri Jul 27 11:44:17 2018 : Debug: Waking up in 0.3 seconds.
Fri Jul 27 11:44:17 2018 : Debug: Waking up in 0.6 seconds.
Fri Jul 27 11:44:18 2018 : Debug: (0) Sending delayed response
Fri Jul 27 11:44:18 2018 : Debug: (0) Sent Access-Reject Id 74 from 192.168.122.1:1712 to 192.168.122.1:54017 length 20
Fri Jul 27 11:44:18 2018 : Debug: Waking up in 3.9 seconds.
Fri Jul 27 11:44:22 2018 : Debug: (0) Cleaning up request packet ID 74 with timestamp +7
Fri Jul 27 11:44:22 2018 : Info: Ready to process requests

调试已通过的案例

Fri Jul 27 11:45:04 2018 : Debug: (0) Received Access-Request Id 175 from 192.168.122.1:39458 to 192.168.122.1:1812 length 75
Fri Jul 27 11:45:04 2018 : Debug: (0)   User-Name = "agnel"                                                                  
Fri Jul 27 11:45:04 2018 : Debug: (0)   User-Password = "cisco"                                                              
Fri Jul 27 11:45:04 2018 : Debug: (0)   NAS-IP-Address = 10.105.236.107                                                      
Fri Jul 27 11:45:04 2018 : Debug: (0)   NAS-Port = 0                                                                         
Fri Jul 27 11:45:04 2018 : Debug: (0)   Message-Authenticator = 0x0e54f6497f8d7966db4f4702ec76a282                           
Fri Jul 27 11:45:04 2018 : Debug: (0) session-state: No State attribute                                                      
Fri Jul 27 11:45:04 2018 : Debug: (0) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default     
Fri Jul 27 11:45:04 2018 : Debug: (0)   authorize {                                                                          
Fri Jul 27 11:45:04 2018 : Debug: (0)     policy filter_username {

0 个答案:

没有答案