Hi,

current DNS proxy implementation prevents any other DNS server
running in the system because we bind to port 53 in all interfaces.
This patchset changes this and connman only binds to those interfaces
that it needs meaning loopback and tethering interface if tethering
is enabled.
We are trying to bind both IPv4 and IPv6 addresses but if IPv6
is disabled, then only IPv4 listener is created.
The diff of patch 2 looks a bit complex to read but might be easier
to review if it is applied first.

Cheers,
Jukka


Jukka Rissanen (3):
  inet: Get an address from a given interface and address family
  dnsproxy: Listen only needed addresses
  dnsproxy: Add ::1 to resolv.conf when necessary

 src/connman.h  |   1 +
 src/dnsproxy.c | 351 +++++++++++++++++++++++++++++++++++++++++----------------
 src/inet.c     |  55 +++++++++
 3 files changed, 309 insertions(+), 98 deletions(-)

-- 
1.7.11.7

_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to