Giter Site home page Giter Site logo

Comments (13)

juewuy avatar juewuy commented on May 24, 2024

@devioa 这个只是分流DNS决定是否返回fakeip,不会影响具体规则分流

from shellcrash.

devioa avatar devioa commented on May 24, 2024

@devioa 这个只是分流DNS决定是否返回fakeip,不会影响具体规则分流

问题是这个网站是国内的,但却走了代理,我自己在 ruleset 调用 geoip-cn 后这个网站就再也没出现了
而且不止im.jinritemai.com这个域名下所有子域名都会被分流到代理,还有一个就是*.chnau99999.com**黄金的域名也会被分到代理去,其他网站暂时不知道,目前我自己就遇到这两个

from shellcrash.

devioa avatar devioa commented on May 24, 2024

不信你自己用 sing-box 内核测一下访问**黄金官网

from shellcrash.

juewuy avatar juewuy commented on May 24, 2024

@devioa 这是分流规则问题而不是脚本DNS问题

from shellcrash.

devioa avatar devioa commented on May 24, 2024

geoip-cn.srs下载了后没有被调用是事实吧?而且我自己修改代码加上调用过后这问题就解决了

from shellcrash.

devioa avatar devioa commented on May 24, 2024

而且这本来就是分流规则问题,这不是 sing-box 的rule-set配置管的吗?我啥时候说这是 dns 问题了

from shellcrash.

devioa avatar devioa commented on May 24, 2024

我这张图想表达的意思是,这是一个 ip 在**大陆的网站,但是
image
但是却在经过 sing-box 内核的时候,可能因为jinritemai.com不在geosite-cn.srs数据库中有记录,而且此时 singbox 内核也没有 geoip-cn 数据库去识别是否为国内 ip,所以在这张图里就可以看到它最后被分流到 final 里去了,然后通过 final 走代理绕国外去了
image

from shellcrash.

ericsyj avatar ericsyj commented on May 24, 2024

这是singbox官方内核的预期行为,在路由规则匹配阶段,singbox不会做任何域名解析,如果你需要可以用singboxp内核

from shellcrash.

devioa avatar devioa commented on May 24, 2024

这是singbox官方内核的预期行为,在路由规则匹配阶段,singbox不会做任何域名解析,如果你需要可以用singboxp内核

OK,如果是官方内核的预期行为,可以忽略我这上面的解释,那回到 issue 标题的问题,geoip-cn.srs下载后并未被调用,最终导致了国内网站被错误分流走代理的这个情况出现

from shellcrash.

ericsyj avatar ericsyj commented on May 24, 2024

这是singbox官方内核的预期行为,在路由规则匹配阶段,singbox不会做任何域名解析,如果你需要可以用singboxp内核

OK,如果是官方内核的预期行为,可以忽略我这上面的解释,那回到 issue 标题的问题,geoip-cn.srs下载后并未被调用

建议你先检查一下内核运行后/tmp/ShellCrash/jsons/中的配置文件是否有引用此数据库

from shellcrash.

juewuy avatar juewuy commented on May 24, 2024

@ericsyj 我不是告诉你此数据库是用来分流DNS了吗?
至于规则问题请自行解决,没有完美的规则我只能这么说
你所说的一切都不是bug,不会再回复

from shellcrash.

devioa avatar devioa commented on May 24, 2024

这是singbox官方内核的预期行为,在路由规则匹配阶段,singbox不会做任何域名解析,如果你需要可以用singboxp内核

OK,如果是官方内核的预期行为,可以忽略我这上面的解释,那回到 issue 标题的问题,geoip-cn.srs下载后并未被调用

建议你先检查一下内核运行后/tmp/ShellCrash/jsons/中的配置文件是否有引用此数据库

并没有,我在 issue Description中都把相关代码引用出来了,建议你先看下

from shellcrash.

devioa avatar devioa commented on May 24, 2024

@ericsyj 我不是告诉你此数据库是用来分流DNS了吗? 至于规则问题请自行解决,没有完美的规则我只能这么说 你所说的一切都不是bug,不会再回复

OKOK行行行你觉得不是那就不是你说的都对我自己 fork 自己解决

from shellcrash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.