Open JeremyRand opened 10 years ago
I have a repository on GitHub where I have started working on getting NMControl running on Android. I am able to connect to the rpc on port 9000 and dns on port 5353 from another computer to verify that nmcontrol.py is running correctly.
We currently need to implement a proxy in NMControl so that the Android version of NMControl can be used with applications for Android that support proxies. DNS is an alternative option on rooted devices, but it is not an option on non-rooted devices, because Android needs DNS to run on port 53 and non-rooted devices can't run stuff on ports like 53.
I don't suppose Android allows an app to request SELinux capabilities? There's an SELinux cap which allows binding to low ports, according to something on StackOverflow.
It looks like Android doesn't ship with setcap by default. It seems like it would require a custom ROM to add setcap to do what you suggested. That was a good idea though.
Well, I guess this is another reason I can add to the list of why no one should be using Android. (Of course, no one should be using iOS either. I'm unaware of a mainstream mobile OS that doesn't suck horribly.)
Anyway, yeah, we need to hammer out what we're going to do about the proxy thing. I would have done so already, I've just been without forum access, which makes it hard for me to coordinate things. I'll see what I can do on this.
Python runs on Android, so it's plausible that we could run NMControl on Android with minimal modifications. (We could access a namecoind instance remotely.)