Giter VIP home page Giter VIP logo

Comments (6)

klzgrad avatar klzgrad commented on July 25, 2024 1

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.

rvpn avatar rvpn commented on July 25, 2024 1

just managed to install NP today.. so far looking good. pretty stable. i hope you will be working on android client next..

from naiveproxy.

random755 avatar random755 commented on July 25, 2024

Any details on what's wrong with lwip's memory pooling?

from naiveproxy.

rvpn avatar rvpn commented on July 25, 2024

trojan (Igniter) is slow and buggy according to this review https://www.youtube.com/watch?v=oG8y-6s6Aek

from naiveproxy.

NightMachinery avatar NightMachinery commented on July 25, 2024

@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.

klzgrad avatar klzgrad commented on July 25, 2024

I decide not to support this.

from naiveproxy.

Related Issues (20)

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.