Code Monkey home page Code Monkey logo

spechtliteconf's Issues

使用whitelist规则,不能访问外网

使用whitelist,国内网站可以正常访问,但是国外网站无法访问。
log如下:
2018/01/24 08:50:40:019 Request: nex.163.com Type: DirectAdapter Rule: <DomainListRule>
2018/01/24 08:55:42:831 Request: twitter.com Type: DirectAdapter Rule: <DomainListRule>

经测试,删除whitelist里的内容,只保留 ”163\.com “这一行,twitter就可以正常访问了。
2018/01/24 09:01:56:659 Request: twitter.com Type: SpeedAdapter Rule: <AllRule>

经测试,也不是行数过多的问题,把”163\.com “这一行复制成4万行,twitter仍然可以正常访问。

应该是whitelist里有跟twitter等匹配的行,但是我不知道是哪一行。
希望大神能够修改下whitelist。谢谢

有一个问题:whitelist 的代理问题

如果按照现在的顺序

  • type: list
    file: ~/.SpechtLite/whitelist
    adapter: direct
  • type: all
    adapter: proxy
    先指定 directlist 后设置 proxy,那么可正常访问百度等网站,但无法访问 youtube 等网站
    但是顺序反过来
  • type: all
    adapter: proxy
  • type: list
    file: ~/.SpechtLite/whitelist
    adapter: direct
    就可以正常访问了 youtube,但我不确定百度是否走了代理。

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.