Giter Club home page Giter Club logo

Comments (3)

heiher avatar heiher commented on June 2, 2024 1

could you explain which files need to be modified in the file system, for example what does this line in How to Run do:
mv dnsproxyd hev-dns-proxy; mv dnsproxyd.netd dnsproxyd
Understanding a little bit how it works I could make a magisk module for myself and other...

Oh! This is a mistake. I have already updated the README.

How to Run

# Switch to root user
adb root
# Push executable to device
adb push hev-dns-proxy /data/hev-dns-proxy
adb shell
# Run new dns proxy in background
/data/hev-dns-proxy -p /dev/socket/hev-dns-proxy -a 8.8.8.8 -b 8.8.4.4 &
cd /dev/socket
# Change ownership and SELinux context for socket file of new dns proxy
chown root:inet hev-dns-proxy
chcon u:object_r:dnsproxyd_socket:s0 hev-dns-proxy
# Backup socket file of netd
mv dnsproxyd dnsproxyd.netd
# Enable new dns proxy
mv hev-dns-proxy dnsproxyd

I think you should write a service manage script to run that dns proxy after netd booted, and switch the socket file.

from hev-dns-proxy.

heiher avatar heiher commented on June 2, 2024

Sorry. I don't know how to make a magisk module.

from hev-dns-proxy.

gilcu3 avatar gilcu3 commented on June 2, 2024

could you explain which files need to be modified in the file system, for example what does this line in How to Run do:
mv dnsproxyd hev-dns-proxy; mv dnsproxyd.netd dnsproxyd
Understanding a little bit how it works I could make a magisk module for myself and other...

from hev-dns-proxy.

Related Issues (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.