You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "heng-git (GitHub)" <gi...@apache.org> on 2018/11/16 08:42:09 UTC

[GitHub] [incubator-dubbo-ops] heng-git opened issue #182: ip黑白名单配置不生效,是我配置错了么?该如何配置?

service Unique ID   : com.sys.service.DataTimePermissionService (提供得服务)
blacklist:
  - 10.10.50.81
  - 10.10.50.204


[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/182 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo-ops] nzomkxia commented on issue #182: ip黑白名单配置不生效,是我配置错了么?该如何配置?

Posted by "nzomkxia (GitHub)" <gi...@apache.org>.
你截图显示的ip和预期拦截的ip不一致,请检查一下是不是写错了?

[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/182 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo-ops] majinkai commented on issue #182: ip黑白名单配置不生效,是我配置错了么?该如何配置?

Posted by "majinkai (GitHub)" <gi...@apache.org>.
用dubbox2.8.4的那个admin,访问控制生效吗

[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/182 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo-ops] majinkai commented on issue #182: ip黑白名单配置不生效,是我配置错了么?该如何配置?

Posted by "majinkai (GitHub)" <gi...@apache.org>.
麻烦问一下,dubbo的版本用的哪个,除了黑名单这两个IP之外,这个服务还有更多的提供者吗

[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/182 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo-ops] heng-git commented on issue #182: ip黑白名单配置不生效,是我配置错了么?该如何配置?

Posted by "heng-git (GitHub)" <gi...@apache.org>.
dubbo版本用的是 dubbox2.8.4  ,   是这个版本问题么? 

[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/182 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo-ops] heng-git commented on issue #182: ip黑白名单配置不生效,是我配置错了么?该如何配置?

Posted by "heng-git (GitHub)" <gi...@apache.org>.
在同一局域网内
预期拦截:eg: 10.10.40.81 ,10.10.40.204这两个IP访问 com.sys.service.DataTimePermissionService服务
实际结果配置Access Control后用这两个IP得电脑仍能请求com.sys.service.DataTimePermissionService服务
具体配置:
![20181116182531](https://user-images.githubusercontent.com/45091831/48615888-108c5580-e9cd-11e8-92df-6b412860416a.png)


[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/182 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo-ops] nzomkxia commented on issue #182: ip黑白名单配置不生效,是我配置错了么?该如何配置?

Posted by "nzomkxia (GitHub)" <gi...@apache.org>.
我这里试了一下,用dubbo2.6.4版本,访问控制的黑名单功能可以生效

[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/182 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo-ops] nzomkxia commented on issue #182: ip黑白名单配置不生效,是我配置错了么?该如何配置?

Posted by "nzomkxia (GitHub)" <gi...@apache.org>.
写法没错,我本地复现一下

[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/182 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo-ops] nzomkxia commented on issue #182: ip黑白名单配置不生效,是我配置错了么?该如何配置?

Posted by "nzomkxia (GitHub)" <gi...@apache.org>.
请发一下具体的配置,预期的结果和实际的结果,我模拟验证下

[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/182 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo-ops] heng-git commented on issue #182: ip黑白名单配置不生效,是我配置错了么?该如何配置?

Posted by "heng-git (GitHub)" <gi...@apache.org>.
服务提供者只有一台机器, 黑名单这两个是消费者,我的目的是拦截这两个IP请求我的服务

[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/182 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo-ops] heng-git commented on issue #182: ip黑白名单配置不生效,是我配置错了么?该如何配置?

Posted by "heng-git (GitHub)" <gi...@apache.org>.
额,我配置的没错,上面预期描述中写错了   都是 10.10.50.81 ,10.10.50.204,   ip拦截这样配置没问题吧?

[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/182 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org