Freeradius 3.0.25和共享秘密的特殊角色

发布于 2025-01-18 21:49:24 字数 387 浏览 2 评论 0原文

我在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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

乖乖公主 2025-01-25 21:49:24

我能够通过更改文件 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?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文