-
Notifications
You must be signed in to change notification settings - Fork 26.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如何关闭 dubbo telnet调试功能 #2795
Comments
当前版本似乎没有看到关闭telnet的代码 |
你是指的telnet之后invoke吗? |
我看的2.6.x版本好像没有关闭telnet的代码,可以稍微改下源码然后重新编译一下 |
目前大体情况是,dubbo协议不允许关闭telnet。 |
支持关闭telnet,我本地有实现过,在下面调用handler.telnet(channel, (String) message)的时候加个配置判断一下,不知道这样是否可行? @carryxyh
|
@kexianjun |
pls review this pr #2809 |
这个功能将会在哪个版本放出来? |
@kcysk |
👌,谢谢 |
I believe #2925 from @kexianjun should satisfy this particular requirement, to disable telnet, simply configure <dubbo:protocol name="dubbo" port="20890" telnet="help"/> In this way, only I don't agree with the idea of introducing another flag to control this func. A better way to disable telent should be: <dubbo:protocol name="dubbo" port="20890" telnet="disabled"/> Then we can use this magic word What do you think, Guys? |
Sure it's better to config |
@kexianjun @beiwei30 |
@kexianjun @beiwei30 Dears, for Dubbo 2.7.6, the configuration does not work anymore. The "disabled" configuration will lead to an exception. |
pls config like the following
and refer to #2795 (comment) |
Thanks @kexianjun for your answer. |
yes |
由于安全问题, 需要关闭 dubbo telnet调试功能
The text was updated successfully, but these errors were encountered: