Comments (6)
I have rough ideas of how, but haven't got time yet to do it.
The basic idea is use Android's VpnService, which exposes a Linux tun device where a read() call returns an IP packet. TCP connections over these packets can be reassembled and demultiplexed into separate connections through lwIP, and then programmatically fed into naiveproxy proper. Aside from this there also needs to be a frontend for user config etc. The main tricky part now is how to tune lwIP so that it works efficiently. lwIP has its own memory pooling which is problematic if used within naiveproxy; I haven't found the best way to do it yet. After these it would be a pure time consuming process of creating an Android app.
In the mean time you can check Trojan's Android app called Igniter.
from naiveproxy.
just managed to install NP today.. so far looking good. pretty stable. i hope you will be working on android client next..
from naiveproxy.
Any details on what's wrong with lwip's memory pooling?
from naiveproxy.
trojan (Igniter) is slow and buggy according to this review https://www.youtube.com/watch?v=oG8y-6s6Aek
from naiveproxy.
@klzgrad commented on Mar 4, 2020, 6:51 PM GMT+3:30:
I have rough ideas of how, but haven't got time yet to do it.
The basic idea is use Android's VpnService, which exposes a Linux tun device where a read() call returns an IP packet. TCP connections over these packets can be reassembled and demultiplexed into separate connections through lwIP, and then programmatically fed into naiveproxy proper. Aside from this there also needs to be a frontend for user config etc. The main tricky part now is how to tune lwIP so that it works efficiently. lwIP has its own memory pooling which is problematic if used within naiveproxy; I haven't found the best way to do it yet. After these it would be a pure time consuming process of creating an Android app.
In the mean time you can check Trojan's Android app called Igniter.
Could you integrate trojan with caddy as well? It makes setting up everything so elegant and painless.
from naiveproxy.
I decide not to support this.
from naiveproxy.
Related Issues (20)
- Android client support? HOT 13
- naive是不是被攻克了 HOT 29
- 这个是什么问题 ~/go/bin/xcaddy build --with github.com/caddyserver/forwardproxy@caddy2=github.com/klzgrad/forwardproxy@naive 运行这个命令的报错 HOT 5
- naiveproxy同时作为上游和中转服务器
- The writing issue with probe resistance requiring authentication in the JSON of forwardproxy v2.7.6-naive. (forwardproxy v2.7.6-naive的josn中probe resistance requires authentication写法问题) HOT 3
- CVE-2023-45288 (Caddy)
- Chromium 124 stable branch is out (cut)
- Connection immediately closed HOT 13
- v124.0.6367.54-1配置quic异常退出 HOT 21
- PostQuantumKyber breaks middleboxes after v124 HOT 34
- 请问现在iOS上没有支持naive的了吗 HOT 2
- MITM'd by Huorong Anti-Virus Personal Root Certificate HOT 13
- Release 无法下载到历史版本 HOT 2
- naiveproxy-v125.0.6422.35-1-openwrt-aarch64_generic.tar.xz unavailable
- 在域名块中添加 log 指令后 forward_proxy 无法正常工作 HOT 1
- [Non-issue] How come the first commit is only 4 days old? HOT 1
- The persistent compilation warning problem has not been solved. HOT 1
- how to deploy naiveproxy server side without caddy? HOT 3
- 请教如何配置access log,以记录所有代理的地址、ip等信息,类似nginx的access log HOT 1
- Feature request: proxy chain HOT 9
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 naiveproxy.