Comments (5)
Try adb2938
from sing-box.
same panic
INFO[0000] router: loaded geosite database: 1000 codes
INFO[0000] router: updated default interface WLAN, index 5
INFO[0000] inbound/tun[tun-in]: started at tun0
INFO[0000] sing-box started (0.222s)
INFO[0000] [1446869591] inbound/tun[tun-in]: inbound packet connection from 172.19.0.1:137
INFO[0000] [1446869591] inbound/tun[tun-in]: inbound packet connection to 172.19.0.3:137
DEBUG[0000] [1446869591] router: found process path: :System
INFO[0000] [1446869591] outbound/socks[proxy]: outbound packet connection to 172.19.0.3:137
panic: buffer overflow: cap 8116,start 0, need 10
goroutine 70 [running]:
github.com/sagernet/sing/common/buf.(*Buffer).ExtendHeader(0xc00011b260, 0xa)
github.com/sagernet/[email protected]/common/buf/buffer.go:150 +0x1b9
github.com/sagernet/sing/protocol/socks.(*AssociatePacketConn).WritePacket(0xc0001fc0c0, 0xc00011b260, {{{0x0, 0xffffac130003}, 0xc000004060}, 0x89, {0x0, 0x0}})
github.com/sagernet/[email protected]/protocol/socks/packet.go:102 +0x139
github.com/sagernet/sing/common/bufio.CopyPacketWithSrcBuffer({0x15ee3ade138?, 0xc0001fc0c0}, {0x15ee3ade198, 0xc00006f540})
github.com/sagernet/[email protected]/common/bufio/conn.go:260 +0x163
github.com/sagernet/sing/common/bufio.CopyPacket({0x15ee3ade138, 0xc0001fc0c0}, {0x15ee3ade158?, 0xc0001980a0?})
github.com/sagernet/[email protected]/common/bufio/conn.go:168 +0x151
github.com/sagernet/sing/common/bufio.CopyPacketConn.func1({0xe?, 0xc0001b1fd0?})
github.com/sagernet/[email protected]/common/bufio/conn.go:360 +0x6c
github.com/sagernet/sing/common/task.Any.func1()
github.com/sagernet/[email protected]/common/task/task.go:43 +0x37
created by github.com/sagernet/sing/common/task.Any
github.com/sagernet/[email protected]/common/task/task.go:42 +0xa5
from sing-box.
from sing-box.
Fixed by 2d3d46e, thanks.
from sing-box.
Server side panic when use smux
panic: runtime error: slice bounds out of range [:20737] with capacity 16384
goroutine 1726 [running]:
github.com/sagernet/sing/common/buf.(*Buffer).ReadFullFrom(0x7f0eac140c58?, {0x7f0eac140c58?, 0xc0009b50b0?}, 0x119c9f8?)
/home/ubuntu/go/pkg/mod/github.com/sagernet/[email protected]/common/buf/buffer.go:205 +0xaf
github.com/sagernet/sing-box/common/mux.(*ServerPacketConn).ReadPacket(0xc000089ef0, 0xc000edfe80?)
/home/ubuntu/go/pkg/mod/github.com/sagernet/[email protected]/common/mux/service.go:159 +0xd1
github.com/sagernet/sing/common/bufio.CopyPacket({0x7f0eac134768, 0xc0000149c8}, {0x7f0eac140d78?, 0xc000089ef0?})
/home/ubuntu/go/pkg/mod/github.com/sagernet/[email protected]/common/bufio/conn.go:188 +0x38f
github.com/sagernet/sing/common/bufio.CopyPacketConn.func1({0x0?, 0x0?})
/home/ubuntu/go/pkg/mod/github.com/sagernet/[email protected]/common/bufio/conn.go:262 +0x6c
github.com/sagernet/sing/common/task.(*Group).Run.func1()
/home/ubuntu/go/pkg/mod/github.com/sagernet/[email protected]/common/task/task.go:59 +0x93
created by github.com/sagernet/sing/common/task.(*Group).Run
/home/ubuntu/go/pkg/mod/github.com/sagernet/[email protected]/common/task/task.go:58 +0x54a
from sing-box.
Related Issues (20)
- The sing-box program is frequently disconnected and the program hangs dead HOT 1
- deleted
- 希望有能直接跑通的示例,官网这些不work
- Android rule-set无法下载 HOT 3
- sbfa 安卓端Gui点击bug 百分百复现。
- Sing-box crashes when updating remote ruleset is not possible
- Add Fragment support
- 通过 sing-box tun 连接经过 nginx stream 流量转发的网站内容异常
- sing-box以windows服务方式启动时,set_system_proxy字段设置为true但无法正常设置开启windows系统代理 HOT 3
- 大家好:sing-box 是否支持 shadowsocks-rust ?
- [Feature Request] Add DNS answers to ip/nftables set
- can't start on mac,says (packet-tunnel) error: start service: initialize inbound/tproxy[tproxy-in]
- tun接口IP地址/30使用后一位可用IP 异常 HOT 4
- "fatal error: too many callback functions" after too many box.New() instance initialized and started then closed HOT 2
- 内网、办公网环境中,支持自定义域名、IP 段跳过系统代理 HOT 4
- [Feature Request] URL Rewrite and MITM
- IP-based routing rules are not working (geoip-ru) HOT 3
- fatal error: runtime: stack split at bad time HOT 1
- 私有地址匹配路由规则错误 HOT 1
- [功能请求] 支持IPV6后缀匹配
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sing-box.