Giter VIP home page Giter VIP logo

Comments (5)

ChisBread avatar ChisBread commented on July 23, 2024

chislash会通过修改路由表实现透明代理(stop时自动恢复)和DNS劫持
我猜测是路由表的问题,具体原因可能得等我找时间复现一下
在这之前如果使用时有异常,可以使用非透明代理模式

修改路由表之后考虑废弃了,下次更新会带来更稳定的透明代理体验

from chislash.

BobDLA avatar BobDLA commented on July 23, 2024

chislash会通过修改路由表实现透明代理(stop时自动恢复)和DNS劫持 我猜测是路由表的问题,具体原因可能得等我找时间复现一下 在这之前如果使用时有异常,可以使用非透明代理模式

修改路由表之后考虑废弃了,下次更新会带来更稳定的透明代理体验

感谢回复,刚我又仔细看了看日志和proxy设置.
发现
[chislash log] 04:23:11 ERR [Inbound] start failed error=operation not permitted addr=:7892 type=TProxy
应该是TPROXY出问题了
本机的lsmod | grep TPROXY
xt_TPROXY 20480 0
nf_defrag_ipv6 20480 2 nf_conntrack_ipv6,xt_TPROXY
nf_defrag_ipv4 16384 2 nf_conntrack_ipv4,xt_TPROXY
x_tables 40960 12 xt_conntrack,iptable_filter,nft_compat,xt_tcpudp,ipt_MASQUERADE,xt_addrtype,xt_nat,xt_owner,xt_TPROXY,ip_tables,xt_REDIRECT,xt_mark

同时本机的env里有http_proxy=7890
所以,估计是宿主机wget走的普通代理, docker环境下没有这个代理,所以没生效。

我这环境有点不太对劲,我先再剥离下问题的,再找您帮忙看看。多谢。

from chislash.

monkeybape avatar monkeybape commented on July 23, 2024

感谢大佬的整合,用下来感觉很不错,也遇到一些小问题:
1.默认生成的config.yaml中redir-host现在被官方废弃了,建议换成TUN或者Fake-ip。
2.第一次启动的时候,前端需要开一遍fq才能运行起来,不然抓取cache一直失败。

from chislash.

ChisBread avatar ChisBread commented on July 23, 2024

感谢大佬的整合,用下来感觉很不错,也遇到一些小问题: 1.默认生成的config.yaml中redir-host现在被官方废弃了,建议换成TUN或者Fake-ip。 2.第一次启动的时候,前端需要开一遍fq才能运行起来,不然抓取cache一直失败。

嗯嗯,等我有时间了会大改一次,重新实现一些功能

from chislash.

BobDLA avatar BobDLA commented on July 23, 2024

最近一直稳定运行,挺好。

from chislash.

Related Issues (9)

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.