Idea: Dot-Bit Android App based on AdblockPlus?

Forum rules
Warning !
Avoid using binary softwares from untrusted users.
Prefer compiling it yourself and verify sources.
Post Reply
phelix
Posts: 1634
Joined: Thu Aug 18, 2011 6:59 am

Idea: Dot-Bit Android App based on AdblockPlus?

Post by phelix »

Adblock Plus is open source ad blocker. They now have an Android version that works like a local DNS filter from what I understand.

Maybe it could be used as a base for an Android Dot-Bit DNS redirector.

https://hg.adblockplus.org/adblockplusa ... 26cfc2f289

As of today I know of no proper way to use .bit on Android.
nx.bit - some namecoin stats
nf.bit - shortcut to this forum

virtual_master
Posts: 541
Joined: Mon May 20, 2013 12:03 pm
Contact:

Re: Idea: Dot-Bit Android App based on AdblockPlus?

Post by virtual_master »

phelix wrote:Adblock Plus is open source ad blocker. They now have an Android version that works like a local DNS filter from what I understand.

Maybe it could be used as a base for an Android Dot-Bit DNS redirector.

https://hg.adblockplus.org/adblockplusa ... 26cfc2f289

As of today I know of no proper way to use .bit on Android.
Good question. I didn't thought about this because I don't use Android very much but many people use it dayly.
As I see Adblock plus can only filter or block. How should be redirected with a filter list ?
Foxyproxy doesn't exist on Android.
But what about Orbot ?
If can resolve tor domains it must be just a question of configuration to resolve .bit domains also.
http://namecoinia.org/
Calendars for free to print: 2014 Calendar in JPG | 2014 Calendar in PDF Protect the Environment with Namecoin: 2014 Calendar in JPG | 2014 Calendar in PDF
BTC: 15KXVQv7UGtUoTe5VNWXT1bMz46MXuePba | NMC: NABFA31b3x7CvhKMxcipUqA3TnKsNfCC7S

domob
Posts: 1129
Joined: Mon Jun 24, 2013 11:27 am
Contact:

Re: Idea: Dot-Bit Android App based on AdblockPlus?

Post by domob »

virtual_master wrote:
phelix wrote:Adblock Plus is open source ad blocker. They now have an Android version that works like a local DNS filter from what I understand.

Maybe it could be used as a base for an Android Dot-Bit DNS redirector.

https://hg.adblockplus.org/adblockplusa ... 26cfc2f289

As of today I know of no proper way to use .bit on Android.
Good question. I didn't thought about this because I don't use Android very much but many people use it dayly.
As I see Adblock plus can only filter or block. How should be redirected with a filter list ?
Foxyproxy doesn't exist on Android.
But what about Orbot ?
If can resolve tor domains it must be just a question of configuration to resolve .bit domains also.
That's a very interesting idea! I don't know how ABP works, to be honest, but it sounds like a start. Regarding Orbot (which I use myself and it works very well): It works by utilising the Android kernel's iptables, which (from what I understand) can be used to redirect networking of the whole system or selected processes, so that Orbot is allowed to tamper with the traffic before it hits the real network. This requires root privileges, though (which I have on my phone, but which isn't the case for most users).

I've already some very limited experience developing on Android, but not yet any "system-related" things (mostly playing around with the camera and sensors a bit). I might give it a try, though, if others agree that it could be worthwhile to work on it. (And phelix doesn't want to play around himself. :))
BTC: 1domobKsPZ5cWk2kXssD8p8ES1qffGUCm | NMC: NCdomobcmcmVdxC5yxMitojQ4tvAtv99pY
BM-GtQnWM3vcdorfqpKXsmfHQ4rVYPG5pKS
Use your Namecoin identity as OpenID: https://nameid.org/

phelix
Posts: 1634
Joined: Thu Aug 18, 2011 6:59 am

Re: Idea: Dot-Bit Android App based on AdblockPlus?

Post by phelix »

virtual_master wrote:
phelix wrote:Adblock Plus is open source ad blocker. They now have an Android version that works like a local DNS filter from what I understand.

Maybe it could be used as a base for an Android Dot-Bit DNS redirector.

https://hg.adblockplus.org/adblockplusa ... 26cfc2f289

As of today I know of no proper way to use .bit on Android.
Good question. I didn't thought about this because I don't use Android very much but many people use it dayly.
As I see Adblock plus can only filter or block. How should be redirected with a filter list ?
Well, it is a starting point? Querying the dns server should be relatively easy.

Just wanted to throw out the idea. The strategy of modifying existing software for Namecoin worked quite well so far: Convergence for TLS, Acrylic, Polipo, .... Orbot?
domob wrote:
Foxyproxy doesn't exist on Android.
But what about Orbot ?
If can resolve tor domains it must be just a question of configuration to resolve .bit domains also.
That's a very interesting idea! I don't know how ABP works, to be honest, but it sounds like a start. Regarding Orbot (which I use myself and it works very well): It works by utilising the Android kernel's iptables, which (from what I understand) can be used to redirect networking of the whole system or selected processes, so that Orbot is allowed to tamper with the traffic before it hits the real network. This requires root privileges, though (which I have on my phone, but which isn't the case for most users).

I've already some very limited experience developing on Android, but not yet any "system-related" things (mostly playing around with the camera and sensors a bit). I might give it a try, though, if others agree that it could be worthwhile to work on it. (And phelix doesn't want to play around himself. :))
No, I'm busy with not working on the file signatures :oops: (Got a new idea for a simple but secure variant to start with, though).
nx.bit - some namecoin stats
nf.bit - shortcut to this forum

virtual_master
Posts: 541
Joined: Mon May 20, 2013 12:03 pm
Contact:

Re: Idea: Dot-Bit Android App based on AdblockPlus?

Post by virtual_master »

Proxydroid seems to be proxy management tool similar with foxyproxy but also needs rooting.
Tried GAE proxy also but has more complex configurations only with rooting.
http://namecoinia.org/
Calendars for free to print: 2014 Calendar in JPG | 2014 Calendar in PDF Protect the Environment with Namecoin: 2014 Calendar in JPG | 2014 Calendar in PDF
BTC: 15KXVQv7UGtUoTe5VNWXT1bMz46MXuePba | NMC: NABFA31b3x7CvhKMxcipUqA3TnKsNfCC7S

cassini
Posts: 336
Joined: Sun May 26, 2013 6:36 pm

Re: Idea: Dot-Bit Android App based on AdblockPlus?

Post by cassini »

DNSMASQ !!!

Anybody experienced in using dnsmasq? I use Android Terminal Emulator quite a lot (as part of my indispensable Emacs For Android; no rooting required), and learned that there is this powerful dnsmasq tool on every Android device.

Code: Select all

dnsmasq --help
comes up with a list of 96 command line options. In addition to this, it can make use of dnsmasq.conf, resolv.conf, /etc/hosts, and Lua scripts.

Come on, folks, there must be a way of making this beast work for us :o

phelix
Posts: 1634
Joined: Thu Aug 18, 2011 6:59 am

Re: Idea: Dot-Bit Android App based on AdblockPlus?

Post by phelix »

cassini wrote:DNSMASQ !!!

Anybody experienced in using dnsmasq? I use Android Terminal Emulator quite a lot (as part of my indispensable Emacs For Android; no rooting required), and learned that there is this powerful dnsmasq tool on every Android device.

Code: Select all

dnsmasq --help
comes up with a list of 96 command line options. In addition to this, it can make use of dnsmasq.conf, resolv.conf, /etc/hosts, and Lua scripts.

Come on, folks, there must be a way of making this beast work for us :o
Nice find!

This sounds like it might be possible:
http://www.without-brains.net/blog/2011 ... r-own-tld/

But probably not too easy:
http://forum.xda-developers.com/showthr ... 118&page=2 [Think Tank] Cache DNS Requests on Android to speedup browsing
nx.bit - some namecoin stats
nf.bit - shortcut to this forum

virtual_master
Posts: 541
Joined: Mon May 20, 2013 12:03 pm
Contact:

Re: Idea: Dot-Bit Android App based on AdblockPlus?

Post by virtual_master »

I found something interesting but still didn't tried:
https://gitorious.org/retroshare
an Android interface for Retroshare.
http://retroshare.sourceforge.net/forum ... ?f=8&t=764
If Retroshare is running on Android without root maybe can be used to connect to .bit domains.
How ? Installing Retroshare on a server and connecting with namecoind.
The Android Retroshare would connect to the server Retroshare and solve the DNS or bring the proxied content from .bit domains.
This method could be used of course on PCs also and would be easier than other actual methods.(namecoind is not required by the client)
However solving the server side could be tricky.
http://namecoinia.org/
Calendars for free to print: 2014 Calendar in JPG | 2014 Calendar in PDF Protect the Environment with Namecoin: 2014 Calendar in JPG | 2014 Calendar in PDF
BTC: 15KXVQv7UGtUoTe5VNWXT1bMz46MXuePba | NMC: NABFA31b3x7CvhKMxcipUqA3TnKsNfCC7S

Post Reply