问题描述
我们之前使用的是FreeRADIUS版本 2.2.6 。 现在尝试更新为FreeRADIUS版本 3.0.21 。
由于“错误:未找到身份验证类型:通过Post-Auth-Type =拒绝用户”,我的访问请求被拒绝
我在 users 文件中的用户条目: “访客”身份验证类型:= EAP,明文密码:=“未来”
raddb /启用了mods的/ eap 文件中的EAP类型: default_eap_type = md5
clients.conf 中的客户信息:
ipaddr = 13.0.0.5
# secret and password are mapped through the "secrets" file.
secret = FutureRadius
shortname = fs
# the following three fields are optional,but may be used by
# checkrad.pl for simultaneous usage checks
nastype = other
# login = !root
# password = someadminpas
}
请求数据包
00 25 90 61 ef 12 00 01 02 03 04 05 08 00 45 00
00 69 01 f0 00 00 40 11 5e 2c 0d 00 00 05 0d 00
00 64 c0 02 07 14 00 55 fc c7 01 05 00 4d e6 da
5b 0e 8e 9a 1c 31 43 31 1c 78 bb 0c fa 3f 01 07
67 75 65 73 74 4f 0c 02 01 00 0a 01 67 75 65 73
74 50 12 4f 94 32 7a b0 32 31 49 6c 98 1e ae fe
ae 0c c6 20 08 66 73 4e 61 73 31 05 06 00 00 00
02 3d 06 00 00 00 0f
拒绝数据包
00 01 02 03 04 05 00 25 90 61 ef 12 08 00 45 00
00 30 97 c9 00 00 40 11 c8 8b 0d 00 00 64 0d 00
00 05 07 14 c0 02 00 1c 1a 96 03 05 00 14 ad e8
a5 3b 39 0a 95 2a 60 1b 35 70 ba ad e7 e1
登录以接收请求:
radiusd: #### Opening IP addresses and Ports ####
Listening on auth address 13.0.0.100 port 1812
Listening on acct address 13.0.0.100 port 1813
Listening on proxy address * port 39569
Ready to process requests
(0) Received Access-Request Id 248 from 13.0.0.5:49154 to 13.0.0.100:1812 length 77
(0) User-Name = "guest"
(0) EAP-Message = 0x02f3000a016775657374
(0) Message-Authenticator = 0x5ea3c773d0776999bf04331027037624
(0) NAS-Identifier = "fsNas1"
(0) NAS-Port = 2
(0) NAS-Port-Type = Ethernet
(0) ERROR: No Auth-Type found: rejecting the user via Post-Auth-Type = Reject
(0) Failed to authenticate the user
(0) Using Post-Auth-Type Reject
(0) Post-Auth-Type sub-section not found. Ignoring.
(0) Delaying response for 1.000000 seconds
Waking up in 0.3 seconds.
Waking up in 0.6 seconds.
(0) Sending delayed response
(0) Sent Access-Reject Id 248 from 13.0.0.100:1812 to 13.0.0.5:49154 length 20
Waking up in 3.9 seconds.
(0) Cleaning up request packet ID 248 with timestamp +5
Ready to process requests
有人可以帮忙吗? 在此先感谢:)
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)