| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Fix WARNING: Failed to fetch URL https://c-ares.org/download/c-ares-1.27.0.tar.gz
Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Replace references of WORKDIR with UNPACKDIR where it makes sense to do
so in preparation for changing the default value of UNPACKDIR.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before the patch:
# ./run-ptest
[snip]
[ DISABLED ] LibraryTest.DISABLED_ParseAReplyVariantCnameLast
[ RUN ] LibraryTest.ParseAReplyErrors
[ OK ] LibraryTest.ParseAReplyErrors (4 ms)
[ RUN ] LibraryTest.ParseAReplyAllocFail
[ OK ] LibraryTest.ParseAReplyAllocFail (0 ms)
[snip]
After the patch:
# ./run-ptest
[snip]
SKIP: LibraryTest.DISABLED_ParseAReplyVariantCnameLast
PASS: LibraryTest.ParseAReplyErrors
PASS: LibraryTest.ParseAReplyAllocFail
[snip]
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
| |
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes 1.26.0:
Brad House (14):
update release notes format
update format slightly
RELEASE-NOTES -> RELEASE-NOTES.md
test: fix outdated license headers
no reason to include sys/random.h all the time (#684)
Do not sanity check RR Name vs Question (#685)
autotools: fix building for 32bit windows due to stdcall symbol mangling (#689)
man ares_fds(3): mark as deprecated and add explanation (#691)
fix doxygen typo
Autotools allow make to override CFLAGS/CPPFLAGS/CXXFLAGS (#695)
Event Subsystem: No longer require integrators to have their own (#696)
adig: Differentiate between internal and server error
Release prep for c-ares 1.26.0 (#698)
clusterfuzz: enforce maximum DNS packet size due to long parser time
Erik Lax (1):
Added flags to are_dns_parse to force RAW packet parsing (#693)
Gregor Jasny (1):
cmake: improve some include related code (#680)
Changes 1.25.0:
Brad House (22):
fix test building with symbol hiding
ci: add test case for building with hidden symbol visibility
ci: disable static for symbol hiding tests
getrandom() may require sys/random.h on some systems
fix support with older google test versions
CI: Add Alpine Linux and old Ubuntu (#667)
Fix bad stub for ares__iface_ips_enumerate()
ahost should use ares_getaddrinfo() these days (#669)
Connection failure should increment server failure count first
sonarcloud: const
clang-format
ares_strsplit() rewrite as wrapper around ares__buf_split()
clang-format
Autotools warning fixes (#671)
Old MacOS SDKs require you include sys/socket.h before net/if.h (#673)
docs: host -> ip
Autotools: rework to simplify and fix recent issues (#674)
set winver consistently across build systems
autotools: update logic for building tests to provide more feedback
OSSFuzz: it assumes autotools builds a static library by default, which means the old autotools must have done that even though there were comments saying it wasn't. Disable static by default on Windows however since it can't build both simultaneously.
tests: replace google DNS with CloudFlare for reverse lookups as google's servers stopped responding properly
1.25.0 release prep (#676)
Gregor Jasny (1):
Fix minor warnings and documentation typos (#666)
Martin Chang (1):
Use SOCK_DNS extension on socket on OpenBSD (#659)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
Inside a default `runqemu` there's no resolv.conf, so the "Live" tests
fail, exclude them by default.
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
| |
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use PACKAGE_BEFORE_PN which is designed to introduce packages before the
final greedy ${PN}.
Changes 1.24.0:
Brad House (28):
Nameserver parsing: replace another hand-written parser (#643)
clang-format
SonarCloud: silence bogus reported error
ares_init_options() with invalid options values should unset the option
Enable system extensions
try to move AC_USE_SYSTEM_EXTENSIONS
ares__round_up_pow2() work around bogus warning
silence openwatcom warning due to qcache_max_ttl being unsigned
Support ipv6 link-local servers and %iface syntax (#646)
Windows UBSAN tests (#649)
increment failures on timeout (#651)
SonarCloud: make const
enhance timeout test case
enhance timeout test case to make sure it will re-use a previously downed server
Rewrite sortlist hand parser for memory safety and bugs (#653)
Clean up some Windows-only warnings (#654)
clang-format and fix one warning
remove redundant cast
use IF_NAMESIZE instead of IFNAMSIZ to avoid warning
Use external GoogleTest instead of bundling it (#655)
remove dead code: bitncmp
remove dead code: ares_iphlpapi.h
Coverity: fix allocation size as reported in new code
tag some functions as deprecated in docs
reference alternative to ares_getsock() in docs
1.24.0 release prep (#657)
rand: allow fallback from OS (#661)
ares_cancel() could trigger callback with wrong response code (#663)
Changes 1.23.0:
Brad House (21):
Query Cache support (#625)
ares_set_servers_*() should allow an empty server list
Fix Windows UWP (Store) building and add to CI/CD (#627)
clang-format
cleanup some Windows warnings in test
fix additional windows test warnings
CMake: CXXFLAGS environment wasn't being read because C++ compiler was enabled after settings warnings.
now that warnings are enabled on test cases, clear a bunch of warnings
fix test case regression due to missing parens
SonarCloud: fix minor codesmells
more precise timeout calculation (#633)
environment is meant as an override for sysconfig
Fix MacOS version test
Basic Thread Safety (#636)
fix ares_threadsafety() prototype
ares_init_options with ARES_OPT_UDP_PORT wrong byte order
fix doc typo
remove a simply
clang-format
add missing manpage to distribution list
1.23.0 release prep (#641)
Christian Clauss (2):
INSTALL.md: Fix typo (#630)
Fix typos discovered by codespell (#634)
Daniel Stenberg (1):
CI: codespell
Ignat (1):
Support attempts and timeout options from resolv.conf (#632)
petrvh (1):
ares_getaddrinfo(): do not use search domains if ARES_FLAG_NOSEARCH is set (#638)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
============
-Fix /etc/hosts processing performance with all entries using same IPaddress.
-Fix typos in manpages
-Fix OpenWatcom building
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
============
-ares_reinit() is now implemented to re-read any system configuration and
immediately apply to an existing ares channel
-The adig command line program has been rewritten and its format now more
closely matches that of BIND's dig utility
-The new DNS message parser and writer functions have now been made public
-RFC9460 HTTPS and SVCB records are now supported
-RFC6698 TLSA records are now supported
-The server list is now internally dynamic and can be changed without impacting
existing queries
-Hosts file processing is now cached until the file is detected to be changed
to speed up repetitive lookups of large hosts files
-Internally all DNS messages are now written using the new DNS writing functions
-EDNS is now enabled by default
-Internal cleanups in function prototypes
-Randomize retry penalties to prevent thundering herd issues when dns servers
throttle requests
-Fix Windows build error for missing if_indextoname()
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
License-Update:Update from 1989 MIT license text to modern MIT license text
Changelog:
===========
-Resolve use-after-free issue when TCP connection is terminated before a response is returned
-Reduce number of queries for a load test case to prevent overloading some build systems
-Fix fuzz test build target
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
==========
Security
---------
- CVE-2023-32067. High. 0-byte UDP payload causes Denial of Service [12]
- CVE-2023-31147. Moderate. Insufficient randomness in generation of DNS
query IDs [13]
- CVE-2023-31130. Moderate. Buffer Underwrite in ares_inet_net_pton() [14]
- CVE-2023-31124. Low. AutoTools does not set CARES_RANDOM_FILE during cross
compilation [15]
Bug fixes
----------
- Fix uninitialized memory warning in test [1]
- Turn off IPV6_V6ONLY on Windows to allow IPv4-mapped IPv6 addresses [2]
- ares_getaddrinfo() should allow a port of 0 [3]
- Fix memory leak in ares_send() on error [4]
- Fix comment style in ares_data.h [5]
- Remove unneeded ifdef for Windows [6]
- Fix typo in ares_init_options.3 [7]
- Re-add support for Watcom compiler [8]
- Sync ax_pthread.m4 with upstream [9]
- Windows: Invalid stack variable used out of scope for HOSTS path [10]
- Sync ax_cxx_compile_stdcxx_11.m4 with upstream to fix uclibc support [11]
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
=========
Security:
----------
Low. Stack overflow in ares_set_sortlist() which is used during c-ares initialization and typically provided by an administrator and not an end user.
Changes:
----------
Windows: Drop support for XP and derivatives which greatly cleans up initialization code.
Add ARES_OPT_HOSTS_FILE similar to ARES_OPT_RESOLVCONF for specifying a custom hosts file location.
Add vcpkg installation instructions
Bug fixes:
------------
Fix cross-compilation from Windows to Linux due to CPACK logic.
Fix memory leak in reading /etc/hosts when using localhost fallback.
Fix chain building c-ares when libresolv is already included by another project
File lookup should not immediately abort as there may be other tries due to search criteria.
Asterisks should be allowed in host validation as CNAMEs may reference wildcard domains
AutoTools build system referenced bad STDC_HEADERS macro
Even if one address class returns a failure for ares_getaddrinfo() we should still return the results we have
CMake Windows: DLLs did not include resource file to include versions
CMake: Guard target creation in exported config
Fix ares_getaddrinfo() numerical address resolution with AF_UNSPEC
Apple: fix libresolv configured query times.
Fix tools and help information
Various documentation fixes and cleanups
Add include guards to ares_data.h
c-ares could try to exceed maximum number of iovec entries supported by system
CMake package config generation allow for absolute install paths
Intel compiler fixes
ares_strsplit bugs
The RFC6761 6.3 states localhost subdomains must be offline too.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
c-ares version 1.18.1 - Oct 27 2021
Bug fixes:
ares_getaddrinfo() would return ai_addrlen of 16 for ipv6 adddresses
rather than the sizeof(struct sockaddr_in6)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Current patch is breaking the library dependencies added by cmake
especially when you are static linking.
Applications need the ws2_32 library to be linked for mingw32
and with the existing patch this is not getting passed to the users.
Current patch seems to address this issue:
https://github.com/c-ares/c-ares/issues/373
Both issues are resolved in 1.17.2:
1.17.2-r0/git $ find . | grep c-ares-config.cmake.in
./c-ares-config.cmake.in
1.17.2-r0/git $ find . | grep libcares.pc.cmake
./libcares.pc.cmake
Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
| |
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
This is the result of automated script (0.9.1) conversion:
oe-core/scripts/contrib/convert-overrides.py .
converting the metadata to use ":" as the override character instead of "_".
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
|
|
|
|
|
| |
Forward port cmake-install-libcares.pc.patch, drop the need to install
pkgconfig files as its already being done by main Makefile
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
| |
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
add 0001-fix-configure-error-mv-libcares.pc.cmakein-to-libcar.patch
to fix error of do_configure
refresh cmake-install-libcares.pc.patch
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
* nodejs from meta-oe depends on this since:
commit 76dd3dac1f1e67a5c44ad732b8e827cc36ded641
Author: André Draszik <git@andred.net>
Date: Tue Oct 29 16:42:24 2019 +0000
nodejs: allow use of system c-ares (and make default)
Use system c-ares via PACKAGECONFIG by default. So far,
nodejs had been built using its embedded copy of c-ares,
which we generally try to avoid, for the known reasons
(independent updates, cve & license checks, etc).
Notes:
* otherwise nodejs uses its bundled version of c-ares
* the PACKAGECONFIG variable is 'ares' so as to be in
line with other uses of this (wget & curl recipes in
OE core)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|