Replies: 1 comment
-
Thanks for your kind words.
Firestack calls client code's
To register a DNS Transport (DoH, ODoH, DNS53, DoT) against an ID of your choice, see funcs starting with
Rethink (the client app that firestack was built for) has its own blocklists, yes. It isn't that straight forward to use it, so if I were you, I'd avoid relying on it. The blocklists that Rethink downloads is configured here: serverless-dns/blocklists/config.json.
You could look at how Rethink uses firestack (main repo, lead developer's repo which targets the latest firestack commit, right now), Copilot, if you've got access is pretty good at navigating open source codebases.
Look at BraveVPNService.kt and GoVPNAdapter.kt. It can be overwhelming at first, but as before, see if Copilot helps. You could try asking it to outline what a file does function by function, class by class etc before asking it more specific queries around integration. To get you started, (moving this to discussion) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, hope you’re well!
I’m a Computer Science student in Brazil and I’m developing my undergraduate thesis (final project/TCC) about helping users avoid online gambling.
My goal is to build an Android app (Kotlin) that can effectively block access to betting and gambling sites (such as bet365, blaze, sportingbet, etc) using Firestack as a local VPN/DNS filter.
My questions:
What’s the recommended way to implement a custom blocklist of gambling/betting domains with Firestack on Android?
Is there an official or suggested method to load and update a list of banned domains (for both DNS and IP-level blocking), and make sure it works for all apps (not just browsers)?
Are there any special caveats, limitations, or Android-specific behaviors I should consider to ensure gambling domains are truly blocked?
If possible, could you provide a basic code example or point to the relevant API/classes for this use case in Kotlin?
This is a university project and not for commercial use.
Any guidance or references would be hugely appreciated! Thank you for your work on this amazing project.
Beta Was this translation helpful? Give feedback.
All reactions