Coder Social home page Coder Social logo

zhuhaow / tun2socks Goto Github PK

View Code? Open in Web Editor NEW
295.0 32.0 135.0 1.1 MB

A tun2socks framework with Swift wrapper

Home Page: https://zhuhaow.github.io/tun2socks/

License: BSD 3-Clause "New" or "Revised" License

C 95.54% Objective-C 1.97% Swift 1.52% C++ 0.48% Ruby 0.49%

tun2socks's Issues

didAcceptTCPSocket 回调不执行

作者 你好 我这边在使用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周了。非常希望你能抽闲暇的时间帮看一下 可能有点浪费你的时间。我已经完全不知道怎么办了 有偿的帮我一下 麻烦了。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.