jarvisgally / v2simple Goto Github PK
View Code? Open in Web Editor NEWA simple implementation of V2Ray.
A simple implementation of V2Ray.
大概是下面的代码
proxy -> tls -> client.go
func (c *Client) Handshake(underlay net.Conn, target string) (io.ReadWriter, error) { cc := stdtls.Client(underlay, c.tlsConfig) // 这一行返回EOF err := cc.Handshake() if err != nil { return nil, err } return c.inner.Handshake(cc, target) }
vmss服务器(v2ray)是一个可以正常提供服务。
然后报错是EOF
v2ray 错误日志如下
我把本地和vps的服务跑起来以后网络连接还是不正常,只有极个别网站能勉强访问,我用的是无加密方式的,也就是用chunk.go里的读写数据的方法,我想知道这个demo的功能是否是完整的,我计划正常跑起这个项目以后再去研究v2ray-core的
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.