Freeradius 3.0.25和共享秘密的特殊角色
我在Freeradius Server 3.0.25中的“ clister.conf”文件中的共享秘密面临问题。 我试图遵循文档,但没有运气,特别是我试图在秘密“ ab”的八分之一的文档中使用确切的示例:
client.conf:secult.conf:
necuts =“ \ 101 \ 102”,
然后i运行radtest:
-x测试密码localhost 0“ ab”
在服务器调试日志中我找到:
./ radtest )“
我尝试了出现的每一个组合:有或没有引号,带有radtest中的“ -t ep-md5”参数,
..但是我需要八进制,因为我们的客户使用秘密中的特殊不可打印字符。
任何帮助都将受到赞赏 谢谢
i'm facing a problem regarding the shared secret in "clients.conf" file in freeradius server 3.0.25.
I tried to follow the documentation, but with no luck, in particular I'm trying to use the exact example in documentation of the octal representation of the secret "AB":
clients.conf:
secret = "\101\102"
then I run the radtest:
./radtest -x testing password localhost 0 "AB"
in server debug log I find:
"Dropping packet without response because of error: Received packet from 127.0.0.1 with invalid Message-Authenticator! (Shared secret is incorrect.)"
I tried every combination that come in mind: with or without quotes, with the "-t eap-md5" parameter in radtest, ..
Of course if I write 'secret = "AB" ' in clients.conf everything works, but I need octal representation because a client of ours uses special non printable characters in the secret.
Any help is appreciated
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我能够通过更改文件 radiusd.conf 中参数 Correct_escapes 的默认值来使其工作:
Correct_escapes = false <-- 默认情况下为“true”
我仍然不清楚为什么它不能与 Correct_escapes 设置一起使用到“true”,也许这是一个错误?
I was able to make it work by changing the default value of parameter correct_escapes in file radiusd.conf:
correct_escapes = false <-- it was 'true' by default
Still is not clear to me why it doesn't work with correct_escapes set to 'true', maybe it's a bug?