-
Notifications
You must be signed in to change notification settings - Fork 425
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
VerifyIP blocked DNS style #973
Labels
bug
Something isn't working
Comments
从现在的逻辑看,是需要检查namesrv地址的有效性,目前支持以下几种:
这个检查没有覆盖namesrv1.com, namesrv1.com;namesrv2.com这种域名场景, 非常欢迎你提交PR修复它。 VerifyIP()代码: rocketmq-client-go/primitive/base.go Lines 33 to 86 in 26142da
|
#1010 PR 在这里, 顺便改了使用net包校验ipv4,6 url host:port的方式 |
@francisoliverlee 这个pr有计划merge么,我们确实需要通过coreDNS来访问Namesrv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
BUG REPORT
Please describe the issue you observed:
What did you do (The steps to reproduce)?
I deploy rocketmq on k8s, and use coreDNS addr to connect it. then i was blocked by VerifyIP function
What did you expect to see?
do not intercept connect when the addr not like ipv4 and ipv6
if the addr actually wrong, the tcp connection will failed and it will sign definite error
The text was updated successfully, but these errors were encountered: