Hi everyone,
What is this?
This is a DHCPv6 Client for Android.
Motivation
Google doesn't support DHCPv6. See: https://code.google.com/p/android/is...etail?id=32621
This is an issue for a lot of people especially for corporations and universities because they need control over the IPv6 addresses they distribute.
I did some research and found out that Fairphone already has support for DHCPv6, they achieve this by implementing the wide-dhcpv6 client and added some own scripts around it.
This gave me the idea to play a little with this client. I did so and the result is this app.
Basically it is an implementation of Fairphone's DHCPv6 solution for every rooted Android phone and not just Fairphone.
Workflow
There is no need for dhcp6c to continue to run because it will not react to any connectivity changes anyway, and doesn't renew the lease if it expires. (As far as I know, let me know if I'm wrong)
Why is root required?
Root permissions are required for the DHCPv6 client to work because it binds to port 546.
Permissions
Get the app
Simply download it from the app store: <PUBLISHING PLEASE HOLD ON .. :)>
-realm_01
What is this?
This is a DHCPv6 Client for Android.
Motivation
Google doesn't support DHCPv6. See: https://code.google.com/p/android/is...etail?id=32621
This is an issue for a lot of people especially for corporations and universities because they need control over the IPv6 addresses they distribute.
I did some research and found out that Fairphone already has support for DHCPv6, they achieve this by implementing the wide-dhcpv6 client and added some own scripts around it.
This gave me the idea to play a little with this client. I did so and the result is this app.
Basically it is an implementation of Fairphone's DHCPv6 solution for every rooted Android phone and not just Fairphone.
Workflow
- Broadcast Receiver for CONNECTIVITY_CHANGE (invoked when connectivity is changed)
- invoking /system/bin/dhcp6c <interface>
- killing /system/bin/dhcp6c
There is no need for dhcp6c to continue to run because it will not react to any connectivity changes anyway, and doesn't renew the lease if it expires. (As far as I know, let me know if I'm wrong)
Why is root required?
Root permissions are required for the DHCPv6 client to work because it binds to port 546.
Permissions
- root - see above
- access network and wifi state - catching network changes
- internet - for checking if internet is available and getting a list of all interfaces available
- billing - for donation
Get the app
Simply download it from the app store: <PUBLISHING PLEASE HOLD ON .. :)>
-realm_01
Aucun commentaire:
Enregistrer un commentaire