我使用了grpc插件做验证,但是好像不生效,是配置问题吗?

46 views
Skip to first unread message

x l

unread,
May 4, 2023, 5:38:39 AM5/4/23
to go-gost
配置文件参考官网写的
authers:
- name: auther-0
  plugin:
    addr: 127.0.0.1:4567
    token: gost
    tls:
        secure: false
        servername: greet.Authenticator

对应的grpc服务用BloomRPC测试过能正常工作返回true或者是false,但是使用时,哪怕我随意输入错误的账号密码,gost都放行了,是哪里有问题吗?我使用的是3.0-rc7的包

我确定handler里头对应的auther已经正确地指向了这个配置auther-0,并且,如果我把auther-0的配置修改为auths内联指定username和password的话,它就能正常工作了

那么,我的问题可能会出在哪里?

ginuerzh

unread,
May 4, 2023, 10:50:12 AM5/4/23
to x l, go-gost
插件系统是rc7后加入的,你可以使用最新代码自行编译或等下个版本发布。

x l <showl...@gmail.com> 于 2023年5月4日周四 17:38写道:
--
您收到此邮件是因为您订阅了Google网上论坛上的“go-gost”群组。
要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到go-gost+u...@googlegroups.com
要在网络上查看此讨论,请访问https://groups.google.com/d/msgid/go-gost/73cfde9c-e098-492e-aea8-19939dd7cb8bn%40googlegroups.com
Reply all
Reply to author
Forward
0 new messages