zhuhaow / tun2socks Goto Github PK
View Code? Open in Web Editor NEWA tun2socks framework with Swift wrapper
Home Page: https://zhuhaow.github.io/tun2socks/
License: BSD 3-Clause "New" or "Revised" License
A tun2socks framework with Swift wrapper
Home Page: https://zhuhaow.github.io/tun2socks/
License: BSD 3-Clause "New" or "Revised" License
How to integrate into https://github.com/sheng/ladder-ios
作者 你好 我这边在使用tun2socks
let tunSet = NEPacketTunnelNetworkSettings.init(tunnelRemoteAddress: "240.0.0.1")
tunSet.mtu = 1500
tunSet.ipv4Settings = NEIPv4Settings.init(addresses: ["192.168.1.1"], subnetMasks: ["255.255.255.255"])
tunSet.ipv4Settings?.includedRoutes = [NEIPv4Route.default()]
tun的设置
我传入了我从tun网卡中拦截到的ip数据包SIPStack.stack.received(packet: packet) 这些IP包是正常的浏览网页的包。 但是didAcceptTCPSocket 回调方法一直不执行。代理方法我设置了。 队列也设置了。 TSIPStack.stack.outputBlock 有输出数据。 但是didAcceptTCPSocket一直不执行。我已经卡这里2周了。非常希望你能抽闲暇的时间帮看一下 可能有点浪费你的时间。我已经完全不知道怎么办了 有偿的帮我一下 麻烦了。
so as title
How can this support the vmess protocol?
Hi,
I have found a consistent crush when using the stack.
In this line:
https://github.com/zhuhaow/tun2socks/blob/master/tun2socks/TSTCPSocket.swift#L198
UInt16(data.count)
fails because the data count is bigger then 65535.
Let me know if you need help reproducing.
Thanks.
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.