微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Freeradius-server-3.0.21:由于Auth-Type导致身份验证失败

如何解决Freeradius-server-3.0.21:由于Auth-Type导致身份验证失败

我们之前使用的是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 举报,一经查实,本站将立刻删除。