Page MenuHomeSolus

Update c-ares to 1.15.0

Authored by Girtablulu on Dec 5 2018, 12:15 AM.



Update c-ares to 1.15.0

  • Add ares_init_options() configurability for path to resolv.conf file
  • Ability to exclude building of tools (adig, ahost, acountry) in CMake
  • Android: Support for domain search suffix
  • Report ARES_ENOTFOUND for .onion domain names as per RFC7686
  • AIX build fix for trying to include both nameser_compat.h and onameser_compat.h
  • Fix modern GCC warnings
  • Apply the IPv6 server blacklist to all nameserver sources, not just Windows
  • Fix warnings emitted by MSVC when using -W4
  • Prevent changing name servers while queries are outstanding
  • Harden and rationalize c-ares timeout computation
  • ares_set_servers_csv() on failure should not leave channel in a bad state


  • Fix patch for CVE-2017-1000381 to not be overly aggressive
  • gethostbyaddr should fail with ECANCELLED not ENOTFOUND when ares_cancel is called
  • CMake minimum version is now 3.1
  • ares_gethostbyname.3: fix callback status values
  • docs: Document WSAStartup requirement
  • Fix a typo in init_by_resolv_conf
Test Plan

Chrooted into the build package and run arestest and rebuild wireshark against the new version and used it

Diff Detail

R491 c-ares
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
Girtablulu created this revision.Dec 5 2018, 12:15 AM
Girtablulu requested review of this revision.Dec 5 2018, 12:15 AM
JoshStrobl requested changes to this revision.Dec 6 2018, 10:59 PM
JoshStrobl added a subscriber: JoshStrobl.
JoshStrobl added inline comments.

Let's change this to programming.library while we're at it.

This revision now requires changes to proceed.Dec 6 2018, 10:59 PM
Girtablulu updated this revision to Diff 11199.Dec 6 2018, 11:06 PM

Fix component

JoshStrobl accepted this revision.Dec 6 2018, 11:20 PM
This revision is now accepted and ready to land.Dec 6 2018, 11:20 PM
This revision was automatically updated to reflect the committed changes.