3c57e25ba7380a4fcacea33ac1ee1ee434957d2b |
|
09-May-2017 |
Lorenzo Colitti <lorenzo@google.com> |
Pass dnsmasq the socket mark to use for listen sockets. This allows us to configure dnsmasq to reply to DHCP requests and DNS queries when a VPN is up. Bug: 37778642 Test: bullhead builds and boots Test: succesfully tethered when a VPN was connected Change-Id: I7d5899f80fae856a52a2019550b155bccee2888a
/system/netd/server/TetherController.h
|
212c405c296ed869eda927e683734aff80248872 |
|
17-Jul-2016 |
Erik Kline <ek@google.com> |
Add tetherApplyDnsInterfaces() binder interface. Bug: 9580643 Change-Id: I781a422c969deb153bc8370edda4578612af6dc6
/system/netd/server/TetherController.h
|
2c5aaa1876db659556c2e9605beccc670e6b7c0d |
|
08-Jun-2016 |
Erik Kline <ek@google.com> |
Setup interfaces for IPv6 tethering Including: - set the interface for router mode (accept_ra = 0) - reset the interface for client mode (accept_ra = 1) - InterfaceController::setAcceptIPv6Ra() - InterfaceController::setAcceptIPv6Dad() - make InterfaceController static - refactor for more modern C++ usage here and there - sporadic style guide fixes Bug: 9580643 Change-Id: Ia557c8770e18c58b12ad16d982c63b6ebd525516
/system/netd/server/TetherController.h
|
70c03661bd2328c153075d938fb3ed57fc5ff404 |
|
31-Mar-2016 |
Erik Kline <ek@google.com> |
Switch from android::netd::List to std::list Change-Id: I3e6560bbc46fd551d3501227250536cabeff4f71
/system/netd/server/TetherController.h
|
f90a8b92eaf5e74979f589f1f6d3fa403dc26680 |
|
13-Nov-2015 |
Erik Kline <ek@google.com> |
Pass both IPv4 and IPv6 nameservers to dnsmasq Additionally, store and return a list of strings for DNS forwarders, since that's what is most useful. These strings are guaranteed to be valid IP string literals by virtue of validation on input. Bug: 9580643 Change-Id: I4fbaf19835055b12e38d585c0bfba0d2b18b9717
/system/netd/server/TetherController.h
|
13fa01fab904679970e4b95357f8eed7327b6d49 |
|
12-Nov-2015 |
Erik Kline <ek@google.com> |
Change dnsmasq input command argument separator Heretofore netd issued commands to dnsmasq over a stdin channel using ":" as an argument separator. This make it very complicated to issue commands that involve IPv6 addresses. This changes the separator from ":" to "|". Additionally: - Pass DHCP range string literals through to startTethering(), still performing string literal to IPv4 address validation. Bug: 9580643 Change-Id: I210daf311a4c3d84dae3ed054b92c9fa399a791f
/system/netd/server/TetherController.h
|
799625cd5b0a2191632f5b042bf9ff559c18a848 |
|
24-Feb-2015 |
Lorenzo Colitti <lorenzo@google.com> |
Changes to forwarding for wifi calling. 1. Support multiple forwarding requests. Keep track of all requests inside TetherController, and enable system forwarding any time there is more than one active request. 2. Enable both IPv4 and IPv6 forwarding. Bug: 19500693 Change-Id: Ic81bae7b399bc6ebf6a63de4bcd341885638dfa4
/system/netd/server/TetherController.h
|
667c477133318e4779819d34364194c8e5eaf19c |
|
26-Aug-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Add a socket mark parameter to tethering DNS commands. This allows the framework to pass down to dnsmasq the socket mark to use for DNS queries. Bug: 16357676 Change-Id: I8933b6de198a92c2aaf0291931ace8966ddba275
/system/netd/server/TetherController.h
|
87475a1471373b72ffc9f81f17dfd7884723fa86 |
|
16-Jul-2014 |
Sreeram Ramachandran <sreeram@google.com> |
Fix WiFi-Direct and Tethering. A LocalNetwork object now always exists in the NetworkController, with a fixed NetId that's guaranteed not to collide with NetIds created by the framework. When routes are added on an interface tracked by the LocalNetwork, they are added to a fixed "local_network" table. When NAT is enabled, we add a special "iif -> oif" tethering rule. Bug: 15413694 Bug: 15413741 Change-Id: I36effc438d5ac193a77174493bf196cb68a5b97a
/system/netd/server/TetherController.h
|
6a773534e7f8541f221f27fb8063af079b1a5936 |
|
11-Jul-2014 |
Sreeram Ramachandran <sreeram@google.com> |
Fix tethering in the case of a regular upstream connection. Fixes tethering via Ethernet, Bluetooth and WiFi (hotspot). Tethering when the upstream has a DUN-specific APN is likely still broken (untested). For now, assign a fixed NetId (a hack) until we can change the framework to create a valid NetworkAgent and all that jazz. Bug: 15968336 Bug: 14988803 Change-Id: Idcf4d492d9329a9c87913e27be6dd835a792bea2
/system/netd/server/TetherController.h
|
f4cfad361175a7f9ccf4d41e76a9b289c3c3da22 |
|
21-May-2014 |
Sreeram Ramachandran <sreeram@google.com> |
Move netd_client into netd. Change-Id: Ie4b6b303225c93f2448a503d6ea9cebb552cbad5
/system/netd/server/TetherController.h
|