系统:ubuntu 20.04
goroutine 26789 [running]:
ehang.io/nps-mux.(*sendWindow).WriteTo(0xc0006711a0, 0xc000280f00, 0x13, 0x1, 0xc00026fd48, 0x4042d0, 0xc00026ff28)
/home/runner/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:554 +0x2f2
ehang.io/nps-mux.(*sendWindow).WriteFull(0xc0006711a0, 0xc0006d6300, 0x4b, 0x688, 0xc000000003, 0x40a37f, 0xc000010000, 0xaa0b00)
/home/runner/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:608 +0x8e
ehang.io/nps-mux.(*conn).Write(0xc000664960, 0xc0006d6300, 0x4b, 0x688, 0xc00026fe38, 0x40b905, 0xaa0b00)
/home/runner/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:63 +0x8e
ehang.io/nps/lib/rate.(*rateConn).Write(0xc0003e6f60, 0xc0006d6300, 0x4b, 0x688, 0xc0003e6f60, 0x1, 0xc00026fee8)
/home/runner/work/nps/nps/lib/rate/conn.go:28 +0x55
ehang.io/nps/server/proxy.(*UdpModeServer).process(0xc00014c000, 0xc0001fc270, 0xc0006d6300, 0x4b, 0x688)
/home/runner/work/nps/nps/server/proxy/udp.go:59 +0x8e3
created by ehang.io/nps/server/proxy.(*UdpModeServer).Start
/home/runner/work/nps/nps/server/proxy/udp.go:50 +0x2cc
3条答案
按热度按时间yxyvkwin1#
我也有这个问题,系统是debian 10
ki1q1bka2#
+1我发现是表面上是udp隧道的问题,关闭udp隧道就好了,日志里面有大量的 New udp connection,client 6,remote address xxx.xxx.xxx.xxx
fcipmucu3#
slice bounds out of range [160:80] 这个已经分支修复了,用了一天没崩溃过
https://github.com/yisier/nps/releases/tag/v0.26.13