{"head":"94de9ff65be1ba5d16dc211b7406c687fa3e5401","size":6,"push_id":44297166,"shas":[["14e45e26009e764fa4514e59126f462c6841cf21","ae9783c0b0efc69cd85ab025ddd17aa44cdc4aa5@android.com","DNS proxy thread in netd.\n\nNew thread in the netd process which listens on the\n/dev/socket/dnsproxyd socket (group owned by 'inet', so only useable\nby apps with the INTERNET permission), and does getaddrinfo requests\nfor other processes, caching in one place, rather than per-app.\n\nStill remaining: proper caching based on DNS-requested lengths, upping\nthe cache size, getnameinfo, stats, flush, etc, etc.\n\nChange-Id: I1d65af7d87876e508c718656bd81217cd961e20a","Brad Fitzpatrick"],["7257b21a045500d3e7fa4ac66eda35c1fba3753b","ae9783c0b0efc69cd85ab025ddd17aa44cdc4aa5@android.com","Fix DNS proxy.\n\nDon't assume writing 0 bytes to SocketClient will be successful.  (as\nimplemented in libsysutils right now, it returns an error...)\n\nBug: 3157030\nChange-Id: I2b2cb8700cbf69be6dffa2e51d1c876c40675b9b","Brad Fitzpatrick"],["d4e62bc184dfd84ea0c9c17b17e304b8bf08567e","ae9783c0b0efc69cd85ab025ddd17aa44cdc4aa5@android.com","Fix the DNS proxy again, for reals.\n\nme == the suck this morning\n\nBug: 3157030\nChange-Id: Ib87ed047cd6999ee3d29b392acc7a559d9bb7349","Brad Fitzpatrick"],["5235bff1442db310f6c65ece815c7d94cfc3faa7","8c008c9d2c0c8950ed883049c1bacded311db063@sonyericsson.com","Add GetHostByAddrHandler to DnsProxyListener\n\nAdded functionality to handle gethostbyaddr\nin DnsProxyListener. The functionality is\nused by getnameinfo. The patch is part of the\nwork to have one dns cache for all process in\nthe system.\n\nChange-Id: Ia7609160d2bd1d3bbe2b79956bd208d137a8a9ee","Mattias Falk"],["fcf416e5585578ff274e9f062a7281a479f07c49","8c008c9d2c0c8950ed883049c1bacded311db063@sonyericsson.com","Add ResolverController class\n\nAdded a ResolverController class that handles\nthe communication with the dns resolver in\nnetd.\n\nChange-Id: I0f71bd516109fd942e68b3400666c7a859228372","Mattias Falk"],["94de9ff65be1ba5d16dc211b7406c687fa3e5401","8cbcbac4913f4d2b0913d1f51c523ce28d93a2cc@google.com","DNS Proxy should not hang on addresses containing null bytes\n\nTwo bugs here:\n\n1.) The gethostbyaddr netd protocol was passing a binary address value\n    but the arguments are expected to be strings not containing\n    embedded nulls (or probably other special characters). This\n    happened reliably with IPv6 addresses which contained nulls. It\n    now expects an inet_ntop formatted address.\n\n2.) Although the gethostbyaddr code detected something was wrong, it\n    wasn't doing any proper error handling, leaving clients hanging\n    waiting for a response. It now sends back an empty response so\n    that clients can continue.\n\nA corresponding change will be necesssary in bionic for #1 for DNS\nproxying to work, but given the fix for #2, the existing bionic code\nwill fall back to performing its own gethostbyaddr call.\n\nBug: 4344448\nChange-Id: I2a55bb0cd0f1b0670f25c0c93554578bb20404e3","Brian Carlstrom"]],"ref":"refs/heads/lte_mecha_7-5"}