Intra icon indicating copy to clipboard operation
Intra copied to clipboard

Feature request : hosts file support

Open zufarsyah opened this issue 7 years ago • 6 comments

Its quite nice have hosts file support for block certain site or ip , and some redirect ip using for website

zufarsyah avatar Aug 11 '18 16:08 zufarsyah

Same request... I want to block facebook.com and a few others!

ghost avatar Oct 03 '18 21:10 ghost

I agree too, It would be awesome with this kind of project which combine multiple sources of host block list (reported adwares, malwares, ads, and few more) : https://github.com/StevenBlack/hosts ! It's work like a charm with my laptop (windows 10 and linux), why not on android?

clemlesne avatar Nov 18 '18 13:11 clemlesne

/etc/hosts isn't writeable without rooting.

What would be the fastest (or fast enough) way to do these lookups locally with Android?

westurner avatar Jan 10 '19 08:01 westurner

Would a BloomFilter lookup first be any faster or necessary? https://google.github.io/guava/releases/27.0-android/api/docs/com/google/common/hash/BloomFilter.html#mightContain-T-

Is there something better than ImmutableSortedMap.get()? https://google.github.io/guava/releases/27.0-android/api/docs/com/google/common/collect/ImmutableSortedMap.html#get-java.lang.Object-

westurner avatar Jan 10 '19 08:01 westurner

hopeful bump id like to also request this. editing the droids hostfile does get annoying at times, and requires a full reboot whereas pcs can reload it fine after a few mins to keep the apk file small, itd be awesome to have links to popular host files that download them, and to be able to import our own

FONZACUS avatar Jul 15 '22 04:07 FONZACUS

https://github.com/celzero/rethink-app /README.md :


DNS over HTTPS client

Almost all of the network related code (firestack), including DNS over HTTPS split-tunnel, is a very minimal fork of Jigsaw-Code/outline-go-tun2socks written in golang. A majority of work is on the UI with other parts remaining same as on Jigsaw-Code/Intra. A split-tunnel traps requests sent to the VPN's DNS endpoint and relays it to a DNS over HTTPS endpoint of the user's choosing, logging the end-to-end latency, time of request, the dns request query itself and its answer.

The RethinkDNS Resolver

A malware and ad-blocking DNS over HTTPS resolver at https://basic.rethinkdns.com/1:IAAgAA== (deployed to 200+ locations world-wide via Cloudflare Workers) is the default DNS endpoint on the app, though the user is free to change that. A configurable DNS resolver that lets users add or remove denylists and allowlists, add rewrites, analyse DNS requests is launching late 2022. Right now, a free-to-use DNS over HTTPS endpoint with custom blocklists can be setup here: rethinkdns.com/configure.

The resolver is deployed to Fly.io at max.rethinkdns.com and Deno Deploy at rdns.deno.dev too, apart from the default deployment on Cloudflare Workers.

The RethinkDNS resolver is open source software: serverless-dns.

On Fri, Jul 15, 2022, 12:56 AM FONZ @.***> wrote:

hopeful bump id like to also request this. editing the droids hostfile does get annoying at times, and requires a full reboot whereas pcs can reload it fine after a few mins to keep the apk file small, itd be awesome to have links to popular host files that download them, and to be able to import our own

— Reply to this email directly, view it on GitHub https://github.com/Jigsaw-Code/Intra/issues/31#issuecomment-1185173726, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAMNS525QQWLQRYLZL77Z3VUDVRRANCNFSM4FPE6C5A . You are receiving this because you commented.Message ID: @.***>

westurner avatar Jul 15 '22 16:07 westurner