Skip to content
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

分流器白名单功能和默认节点竞争生效 #657

Open
zero-custom opened this issue Feb 6, 2025 · 2 comments
Open

分流器白名单功能和默认节点竞争生效 #657

zero-custom opened this issue Feb 6, 2025 · 2 comments

Comments

@zero-custom
Copy link

zero-custom commented Feb 6, 2025

预期结果:gost按分流器白名单拦截example.org,使用节点node-example

实际现象:有时候使用节点node-example,有时候使用默认节点node-default

配置如下:

services:
  - name: service-0
    addr: :8080
    handler:
      type: http
      chain: chain-0
    listener:
      type: tcp

chains:
  - name: chain-0
    hops:
      - name: hop-0
        nodes:
          - name: node-example
            addr: 172.17.0.1:8081
            bypass: bypass-example
            connector:
              type: http
            dialer:
              type: tcp
          - name: node-default
            addr: 172.17.0.1:8082
            connector:
              type: socks5
            dialer:
              type: tcp

bypasses:
  - name: bypass-example
    whitelist: true
    matchers:
    - example.org
@ginuerzh
Copy link
Member

对于没有配置bypass的节点默认是会参与节点选择的。

@zero-custom
Copy link
Author

对于没有配置bypass的节点默认是会参与节点选择的。

所以:bypass只在node内生效,功能不会外溢,bypass列表不会在其他node上反转生效
bypass+whtelist的效果只是:白名单网站可选bypass节点和无规则节点,而不是白名单网站只能选bypass节点

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants