Comments (8)
Thank you for pointing that out. I tried and it was not working. See Router.swift. I'm not sure it is because there is some limitation on the TUN interface (seems like it will not forward packets to itself) or I just did something wrong.
Zhuhao Wang
2016年9月24日 +0800 23:44 Samuel [email protected],写道:
the ip packets to bytes method used in fq router is explained here. http://fqrouter.tumblr.com/post/51474945203/socks%E4%BB%A3%E7%90%86%E8%BD%ACvpn
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub (#18), or mute the thread (https://github.com/notifications/unsubscribe-auth/ABOmLLZgn-UZiYMg5Ha_-vav4HJNM1Hoks5qtUVogaJpZM4KFq_A).
from nekit.
did you try to zero the checksum field? like the following code?
https://github.com/fqrouter/fqrouter/blob/master/manager/vpn.py#L94
from nekit.
I do not think it is the case. If I remember right I implemented the checksum correctly. Is there any reason that setting this to zero would make a difference than setting it to the real one?
2016年9月25日 +0800 09:11 Samuel [email protected],写道:
did you try to zero the checksum field? like the following code?
https://github.com/fqrouter/fqrouter/blob/master/manager/vpn.py#L94—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub (#18 (comment)), or mute the thread (https://github.com/notifications/unsubscribe-auth/ABOmLDiUpLTXwq06ifjo7pPQhWgrWTjvks5qtcpOgaJpZM4KFq_A).
from nekit.
I don't know either. I want to try it myself, but I found some classes are missing, do you have them? If so could you share?
from nekit.
I think every file needed is in the repo, just need to add to the project.
Take a look at IPStack/Packet/
Zhuhao Wang
Zhejiang university
2016年9月25日 +0800 09:22 Samuel [email protected],写道:
I don't know either. I want to try it myself, but I found some classes are missing, do you have them? If so could you share?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub (#18 (comment)), or mute the thread (https://github.com/notifications/unsubscribe-auth/ABOmLPynoV1Yf48ATio2TpjYqlrWHI_Uks5qtczSgaJpZM4KFq_A).
from nekit.
I tried it, it does not work on tcp server in app extension, but it works on tcp server on containing app.
I asked the question on stackoverflow here http://stackoverflow.com/questions/39760871/socket-server-in-ios-nepackettunnelprovider-app-extension-cant-receive-connecti
from nekit.
Well, I think you representation is a little misleading, because you are not dealing with IP packets with containing app.
The proxy server works fine, the problem is the SYN packet is never received by the TUN interface if I remember correctly, and that is what you should ask. You can check it by using tcpdump or wireshark.
My guess is there is something special about how the system routing packets in this circumstance, maybe it's a bug.
from nekit.
Yes, the modified packets sent to packetFlow
never show up in tcpdump.
from nekit.
Related Issues (20)
- 使用NEKit能否完全使用tcp/udp的方式去代理呢? HOT 2
- 关于dns转发的疑问 HOT 15
- nekit vpn打开之后 微信,qq 这种基于socket做的通信类app都无法访问
- 请问支持V2ray vmess协议吗? HOT 3
- 我设置全局走代理,ios12正常,ios13偶尔不走代理
- 编译报错(Module 'NEKit' was created for incompatible target x86_64-apple-macos10.11:) HOT 2
- support SSR? HOT 1
- mayday mayday telegram连接的问题 HOT 2
- is there any plan to support AES256GCM?
- xcode11.2.1 telegram socks5代理连接失败 HOT 3
- Question HOT 2
- How to support aes-256-gcm? HOT 2
- xcrun: error: unable to find utility "xcodebuild", not a developer tool or in PATH HOT 1
- 新手问一下怎么打包带CHACHA20POLY1305的项目 HOT 1
- 求助HTTPS代理怎么设置呢? HOT 29
- 你好,我试用NEkit 软件在后台经常遇到Crashed HOT 11
- 这个框架能链接V2ray吗
- Fails when `Building scheme "iOS Framework" in CocoaAsyncSocket.xcodeproj` HOT 5
- 升级到最新的NEKit ,iOS和MacOS上连接正常的SS都是先连接成功然后过几秒就断开 HOT 6
- 连接几次后,打开网络或者请求VPN就会断开,请问什么原因 HOT 7
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 nekit.