kuoruan / openwrt-kcptun Goto Github PK
View Code? Open in Web Editor NEWkcptun for OpenWrt
License: MIT License
kcptun for OpenWrt
License: MIT License
./scripts/feeds update -a
./scripts/feeds install golang
make package/kcptun/compile
编译OK
请更新kcptun版本v20201126
对于在软路由上运行OpenWrt的人会很有用。谢谢考虑!
错误如下:os/user
runtime/debug
runtime/race
testing
testing/iotest
testing/quick
text/scanner
( cd "/home/ubuntu/1/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/host/go-1.19.5/src" ; GOROOT_FINAL="/home/ubuntu/1/staging_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/host/lib/go-cross" GOROOT_BOOTSTRAP="/home/ubuntu/1/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/host/go-1.19.5/.go_bootstrap" GO_LDFLAGS="-buildmode pie" GOCACHE="/home/ubuntu/1/tmp/go-build" GOENV=off CC="gcc" CXX="g++" bash make.bash --no-banner ; )
Building Go cmd/dist using /home/ubuntu/1/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/host/go-1.19.5/.go_bootstrap. (go1.4-bootstrap-20170531 linux/amd64)
Building Go toolchain1 using /home/ubuntu/1/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/host/go-1.19.5/.go_bootstrap.
/home/ubuntu/1/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/host/go-1.19.5/src/cmd/compile/internal/ssa/rewritedec64.go:63[/home/ubuntu/1/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/host/go-1.19.5/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/rewritedec64.go:67]: out of memory
go tool dist: FAILED: /home/ubuntu/1/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/host/go-1.19.5/.go_bootstrap/bin/go install -gcflags=-l -tags=math_big_pure_go compiler_bootstrap purego bootstrap/cmd/...: exit status 2
Makefile:366: recipe for target '/home/ubuntu/1/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/host/go-1.19.5/.built' failed
make[2]: *** [/home/ubuntu/1/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/host/go-1.19.5/.built] Error 2
make[2]: Leaving directory '/home/ubuntu/1/feeds/packages/lang/golang/golang'
package/Makefile:105: recipe for target 'package/feeds/packages/golang/host/compile' failed
make[1]: *** [package/feeds/packages/golang/host/compile] Error 2
make[1]: Leaving directory '/home/ubuntu/1'
/home/ubuntu/1/include/toplevel.mk:192: recipe for target 'package/openwrt-kcptun/compile' failed
make: *** [package/openwrt-kcptun/compile] Error 2
硬件是斐讯 k3,系统用的 Lean 的 OpenWrt。路径什么的都配置了,换 client_linux_arm7 也一样。
好像没有这个版本,谢谢!
请更新kcptun版本v20201010
LEDE kcptun-client时不时就断了,需要重新启动才能恢复链接(然后又断)。
LEDE kcptun-client
Client Status: Running
Client Version: 20200409-1
LuCI Version: 1.5.3
Memory percentage: 0
Server: ********:29198
Local host: 12948
crypt: NONE
mode: FAST
sndwnd: 512
nocomp: Disable Compression
剩余的是默认,已确认与服务器端一致
Last 50 lines of log file:
2020/04/24 18:02:23 stream closed in: 192.168.0.1:39444 out: ********:29198(561)
2020/04/24 18:02:23 stream closed in: 192.168.0.1:39716 out: ********:29198(753)
2020/04/24 18:02:23 stream closed in: 192.168.0.1:39738 out: ********:29198(767)
没有相关的syslog
Shadowsocks端
UDP-Relay Server: Disable
Local Port: 1234
Override MTU: 1492
TCP Fast Open: no
TCP no-delay: no
谢谢!
新路由3是啥架构啊,选择哪个版本啊
大佬 能不能支持下 N1用 aarch64_generic 谢谢!
OpenWRT 22.03已经默认使用nftables了,是尝试重新编译打包ipk安装可以正常运行,但是会让openwrt增加了一个iptables包,跟系统有些不和谐。希望可以更新一下,使用nftables替代iptables。谢谢!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.