zw963 / asuswrt-merlin-transparent-proxy

transparent proxy base on ss, v2ray, xray, ipset, iptables, chinadns on asuswrt merlin or side router.
MIT License
380 stars 80 forks source link

AC68U 部署成功 使用失败 #79

Closed Cigarrr closed 5 years ago

Cigarrr commented 5 years ago

你好,感谢你的脚本。 ss+dnsmasq+dnscrypt2 模式,部署成功无任何报错 我在使用上有些问题,主要现象如下 1 youtube可以打开,但是视频播放页面始终无法播放视频 2 访问google.com出现「您的连接不是私密连接」 错误,查看证书居然是 image 3 其他墙外网站,出现「意外终止了连接。」或者「拒绝了我们的连接请求。」等错误 4 访问www.ip111.cn 报「连接已重置。」 我尝试过将dns修改为114dns等国内dns,无效 多次尝试重启路由器和重新部署,无效

Cigarrr commented 5 years ago

merlin 版本 ASUSWRT-Merlin RT-AC68U 384.10-2 Wed Apr 3 22:29:02 UTC 2019

gitx6 commented 5 years ago

dns污染造成的。

Cigarrr commented 5 years ago
admin@RT-AC68U-6070:/tmp/mnt/sda/entware/etc# dnscrypt-proxy -config dnscrypt-proxy.toml
fatal error: runtime: out of memory

runtime stack:
runtime.throw(0x48defb, 0x16)
    /media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/panic.go:617 +0x5c fp=0xbe8949cc sp=0xbe8949b8 pc=0x3debc
runtime.sysMap(0xc00000, 0x400000, 0x869298)
    /media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/mem_linux.go:170 +0xac fp=0xbe8949f0 sp=0xbe8949cc pc=0x26eb0
runtime.(*linearAlloc).alloc(0x85ce1c, 0x400000, 0x400000, 0x869298, 0x0)
    /media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/malloc.go:1299 +0x9c fp=0xbe894a08 sp=0xbe8949f0 pc=0x1c1e0
runtime.(*mheap).sysAlloc(0x85cb48, 0x2000, 0x11f74, 0x362fc)
    /media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/malloc.go:539 +0x54 fp=0xbe894a64 sp=0xbe894a08 pc=0x1a2f4
runtime.(*mheap).grow(0x85cb48, 0x1, 0x0)
    /media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/mheap.go:1232 +0x2c fp=0xbe894a94 sp=0xbe894a64 pc=0x36804
runtime.(*mheap).allocSpanLocked(0x85cb48, 0x1, 0x8692a8, 0x0)
    /media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/mheap.go:1150 +0x42c fp=0xbe894ab0 sp=0xbe894a94 pc=0x36704
runtime.(*mheap).alloc_m(0x85cb48, 0x1, 0x1e, 0x0)
    /media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/mheap.go:977 +0xd0 fp=0xbe894ad8 sp=0xbe894ab0 pc=0x35c38
runtime.(*mheap).alloc.func1()
    /media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/mheap.go:1048 +0x3c fp=0xbe894af0 sp=0xbe894ad8 pc=0x68a24
runtime.(*mheap).alloc(0x85cb48, 0x1, 0x1001e, 0x0)
    /media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/mheap.go:1047 +0x60 fp=0xbe894b14 sp=0xbe894af0 pc=0x35fe4
runtime.(*mcentral).grow(0x85d5c0, 0x0)
    /media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/mcentral.go:256 +0x9c fp=0xbe894b40 sp=0xbe894b14 pc=0x26ae8
runtime.(*mcentral).cacheSpan(0x85d5c0, 0x1)
    /media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/mcentral.go:106 +0x370 fp=0xbe894b74 sp=0xbe894b40 pc=0x26568
runtime.(*mcache).refill(0x4004c004, 0x1e)
    /media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/mcache.go:135 +0x94 fp=0xbe894b88 sp=0xbe894b74 pc=0x25f78
runtime.(*mcache).nextFree(0x4004c004, 0x1e, 0x856fec, 0x857b18, 0x40050008)
    /media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/malloc.go:786 +0x7c fp=0xbe894ba8 sp=0xbe894b88 pc=0x1ab24
runtime.mallocgc(0xe0, 0x47e168, 0x41001, 0x857790)
    /media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/malloc.go:939 +0x790 fp=0xbe894c10 sp=0xbe894ba8 pc=0x1b46c
runtime.newobject(0x47e168, 0x2f326acd)
    /media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/malloc.go:1068 +0x2c fp=0xbe894c24 sp=0xbe894c10 pc=0x1b860
runtime.malg(0x8000, 0x344)
    /media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/proc.go:3220 +0x1c fp=0xbe894c40 sp=0xbe894c24 pc=0x47214
runtime.mpreinit(...)
    /media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/os_linux.go:311
runtime.mcommoninit(0x857b18)
    /media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/proc.go:618 +0x108 fp=0xbe894c58 sp=0xbe894c40 pc=0x411b8
runtime.schedinit()
    /media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/proc.go:540 +0x60 fp=0xbe894c80 sp=0xbe894c58 pc=0x40c10
runtime.rt0_go(0xbe894dd0, 0xbe894ddf, 0xbe894de7, 0x0, 0xbe894dfb, 0xbe894e1e, 0xbe894e29, 0xbe894e31, 0xbe894e48, 0xbe894e65, ...)
    /media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/asm_arm.s:163 +0x7c fp=0xbe894cc0 sp=0xbe894c80 pc=0x6a830

似乎找到一些线索,执行dnscrypt-proxy报runtime error

zw963 commented 5 years ago

感觉是设备内存不够啊,版本应该是对的。

Cigarrr notifications@github.com 于 2019年4月23日周二 上午12:02写道:

admin@RT-AC68U-6070:/tmp/mnt/sda/entware/etc# dnscrypt-proxy -config dnscrypt-proxy.toml

fatal error: runtime: out of memory

runtime stack:

runtime.throw(0x48defb, 0x16)

/media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/panic.go:617 +0x5c fp=0xbe8949cc sp=0xbe8949b8 pc=0x3debc

runtime.sysMap(0xc00000, 0x400000, 0x869298)

/media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/mem_linux.go:170 +0xac fp=0xbe8949f0 sp=0xbe8949cc pc=0x26eb0

runtime.(*linearAlloc).alloc(0x85ce1c, 0x400000, 0x400000, 0x869298, 0x0)

/media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/malloc.go:1299 +0x9c fp=0xbe894a08 sp=0xbe8949f0 pc=0x1c1e0

runtime.(*mheap).sysAlloc(0x85cb48, 0x2000, 0x11f74, 0x362fc)

/media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/malloc.go:539 +0x54 fp=0xbe894a64 sp=0xbe894a08 pc=0x1a2f4

runtime.(*mheap).grow(0x85cb48, 0x1, 0x0)

/media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/mheap.go:1232 +0x2c fp=0xbe894a94 sp=0xbe894a64 pc=0x36804

runtime.(*mheap).allocSpanLocked(0x85cb48, 0x1, 0x8692a8, 0x0)

/media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/mheap.go:1150 +0x42c fp=0xbe894ab0 sp=0xbe894a94 pc=0x36704

runtime.(*mheap).alloc_m(0x85cb48, 0x1, 0x1e, 0x0)

/media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/mheap.go:977 +0xd0 fp=0xbe894ad8 sp=0xbe894ab0 pc=0x35c38

runtime.(*mheap).alloc.func1()

/media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/mheap.go:1048 +0x3c fp=0xbe894af0 sp=0xbe894ad8 pc=0x68a24

runtime.(*mheap).alloc(0x85cb48, 0x1, 0x1001e, 0x0)

/media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/mheap.go:1047 +0x60 fp=0xbe894b14 sp=0xbe894af0 pc=0x35fe4

runtime.(*mcentral).grow(0x85d5c0, 0x0)

/media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/mcentral.go:256 +0x9c fp=0xbe894b40 sp=0xbe894b14 pc=0x26ae8

runtime.(*mcentral).cacheSpan(0x85d5c0, 0x1)

/media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/mcentral.go:106 +0x370 fp=0xbe894b74 sp=0xbe894b40 pc=0x26568

runtime.(*mcache).refill(0x4004c004, 0x1e)

/media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/mcache.go:135 +0x94 fp=0xbe894b88 sp=0xbe894b74 pc=0x25f78

runtime.(*mcache).nextFree(0x4004c004, 0x1e, 0x856fec, 0x857b18, 0x40050008)

/media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/malloc.go:786 +0x7c fp=0xbe894ba8 sp=0xbe894b88 pc=0x1ab24

runtime.mallocgc(0xe0, 0x47e168, 0x41001, 0x857790)

/media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/malloc.go:939 +0x790 fp=0xbe894c10 sp=0xbe894ba8 pc=0x1b46c

runtime.newobject(0x47e168, 0x2f326acd)

/media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/malloc.go:1068 +0x2c fp=0xbe894c24 sp=0xbe894c10 pc=0x1b860

runtime.malg(0x8000, 0x344)

/media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/proc.go:3220 +0x1c fp=0xbe894c40 sp=0xbe894c24 pc=0x47214

runtime.mpreinit(...)

/media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/os_linux.go:311

runtime.mcommoninit(0x857b18)

/media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/proc.go:618 +0x108 fp=0xbe894c58 sp=0xbe894c40 pc=0x411b8

runtime.schedinit()

/media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/proc.go:540 +0x60 fp=0xbe894c80 sp=0xbe894c58 pc=0x40c10

runtime.rt0_go(0xbe894dd0, 0xbe894ddf, 0xbe894de7, 0x0, 0xbe894dfb, 0xbe894e1e, 0xbe894e29, 0xbe894e31, 0xbe894e48, 0xbe894e65, ...)

/media/ware4/Entware.2018.02/staging_dir/host/go/src/runtime/asm_arm.s:163 +0x7c fp=0xbe894cc0 sp=0xbe894c80 pc=0x6a830

似乎找到一些线索,执行dnscrypt-proxy报runtime error

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/zw963/asuswrt-merlin-transparent-proxy/issues/79#issuecomment-485459746, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEGCBWEYKF5SOE4E7E2E6LPRXOSXANCNFSM4HHQEQAA .

Cigarrr commented 5 years ago

image

谢谢, 删掉改用dnscrypt-proxy之后,google正常了,但是youtube始终无法播放,可能是什么原因呢?

gitx6 commented 5 years ago

dns污染造成的问题没有解决。

https://www.rubyfish.cn/config-dnscrypt-proxy

端口改成自己的端口。

zw963 commented 5 years ago

dns污染造成的问题没有解决。

https://www.rubyfish.cn/config-dnscrypt-proxy

端口改成自己的端口。

对的, 我发现红鱼的公共 DNS 貌似不好用了,还是得自己搭建 dnscrypt-wrapper 服务器, 速度很爽的.

Cigarrr commented 5 years ago

dns污染造成的问题没有解决。 https://www.rubyfish.cn/config-dnscrypt-proxy 端口改成自己的端口。

对的, 我发现红鱼的公共 DNS 貌似不好用了,还是得自己搭建 dnscrypt-wrapper 服务器, 速度很爽的.

我转用dnscrypt-proxy 自带的cisco dns,问题解决了。谢谢。

gitx6 commented 5 years ago

https://pymumu.github.io/smartdns/

解决dns投毒的一种方案