| add .github .gitee | 6 个月前 |
| chore: add openvela-reviewer team to CODEOWNERS Append @open-vela/openvela-reviewer so the team can review PRs. | 28 天前 |
| reuse compliance | 6 个月前 |
| Apple: reimplement DNS configuration reading (#750) The DNS configuration for apple is stored in the system configuration database. Apple does provide an emulated /etc/resolv.conf on MacOS (but not iOS), it cannot, however, represent the entirety of the DNS configuration. Alternatively, libresolv could be used to also retrieve some system configuration, but it too is not capable of retrieving the entirety of the DNS configuration. Attempts to use the preferred public API of SCDynamicStoreCreate() and friends yielded incomplete DNS information. Instead, that leaves some apple "internal" symbols from configd that we need to access in order to get the entire configuration. We can see that we're not the only ones to do this as Google Chrome also does: https://chromium.googlesource.com/chromium/src/+/HEAD/net/dns/dns_config_watcher_mac.cc These internal functions are what whatlibresolv and scutil use to retrieve the dns configuration. Since these symbols are not publicly available, we will dynamically load the symbols from libSystem and import the dnsinfo.h private header extracted from: https://opensource.apple.com/source/configd/configd-1109.140.1/dnsinfo/dnsinfo.h Fix By: Brad House (@bradh352) | 6 个月前 |
| CI: Make Msys2 builds act more like unix builds (#830) Fix By: Brad House (@bradh352) | 6 个月前 |
| remove unneeded warning disablement | 6 个月前 |
| Add DNS cookie support (RFC7873 + RFC9018) (#833) DNS cookies are a simple form of learned mutual authentication supported by most DNS server implementations these days and can help prevent DNS Cache Poisoning attacks for clients and DNS amplification attacks for servers. Fixes #620 Fix By: Brad House (@bradh352) | 6 个月前 |
| ares_build.h: add ares_build.h in include Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 6 个月前 |
| Autotools: rework to simplify and fix recent issues (#674) Completely rework the autotools build system, issues have cropped up due to the complexity and could cause issues on even semi-modern Linux systems (Ubuntu 20.04 for example). Changes include: Remove all curl/xc/cares m4 helper files, they go overboard on detections of functions and datatypes. Go back to more plain autoconf macros as they've come a long way over the years. Use known systems and heuristics to determine datatypes for functions like send() and recv(), rather than the error prone detection which required thousands of permutations and might still get it wrong. Remove unneeded configure arguments like --enable-debug or --enable-optimize, its more common for people to simply pass their own CFLAGS on the command line. Only require CARES_STATICLIB definition on Windows static builds, its not necessary ever for other systems, even when hiding non-public symbols. Remove some function and definition detections that were never used in c-ares The test framework is now embedded into the toplevel configure system, there was no need to chain build the test system as it is never built externally to c-ares. As a side-effect of the changes, a configure run completes in about 25% of the original time. This has been tested on various Linux distributions (of varying age), FreeBSD, MacOS, Windows (via MSYS2 with Mingw), and Solaris10/11 (by @dfandrich), AIX 7.3 (by @dfandrich). It is not unlikely that this may have broken more esoteric or legacy systems, and we'll likely need to be ready to accept bug reports and patches, but it has removed over 10k lines of build system code. It is very likely any issues that crop up will add far fewer lines of code to fix such systems. Fixes Bug: #670 Fix By: Brad House (@bradh352) | 6 个月前 |
| ares_sysconfig_files.c: resolve the dns server only from resolv.conf Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 6 个月前 |
| Tests: add test case for searching with cache enabled (#853) Issue #852 says that searching with cache may be broken. Add a test case to verify. Authored-By: Brad House (@bradh352) | 6 个月前 |
| CI: Move more to GitHub actions including Containers (#842) GitHub actions supports running tests on various docker containers, move Ubuntu 20.04 and Alpine tests to containers. Also move iOS testing to GitHub actions since that runs on MacOS which is supported. This should take additional load off of Cirrus-CI which consumes credits like crazy. This leaves only FreeBSD and Linux ARM testing on Cirrus-CI. Authored-By: Brad House (@bradh352) | 6 个月前 |
| clang-format: fix structure alignment It appears the structure alignment chosen just doesn't work right. Switch to 'left', it appears to be mostly correct. Fix By: Brad House (@bradh352) | 6 个月前 |
| recursive git attributes | 6 个月前 |
| Watcom Portability Improvements (#509) - Modify the Watcom Makefile for the source code reorganization (#352) - Add *.map files into .gitignore - Fix build errors with Watcom's builtin Windows SDK (which is rather outdated). It's smart enough to understand Windows Vista, but doesn't have PMIB_UNICASTIPADDRESS_TABLE or MIB_IPFORWARD_ROW2. It may be possible to use a different Windows SDK with the Watcom compiler, such as the most recent Windows 10 SDK. Alternatively the SDK in OpenWatcom 2.0 (which is in development) should fix this. I have no problems testing this Makefile prior to releases, just give me a ping. Tested with Windows Vista, Windows 7, and Windows 10 using 'adig', 'acountry', and 'ahost'. This also seems to work on Windows XP, though this is likely due to the compiler in use. Fix By: Douglas R. Reno (@renodr) Fixes Bug: #352 | 6 个月前 |
| Android JNI code leaks local references in some cases (#175) * Add Google LLC to AUTHORS. * android: Explicitly delete all JNI local references, and cache JNI method IDs at initialization. * android: Only return ARES_ENOTINITIALIZED on failures in initialization code. | 8 年前 |
| | 6 个月前 |
| update base README | 6 个月前 |
| update base README | 6 个月前 |
| docs: convert INSTALL to MarkDown & tweak (#83) | 9 年前 |
| update some build instructions | 6 个月前 |
| don't put a heading on the license | 6 个月前 |
| Reorganize more files into subdirectories (#834) More on the reorg effort for easier hacking on the source. Fix By: Brad House (@bradh352) | 6 个月前 |
| msvc Makefiles: Remove support for MSVC 6 and 7 since we can't target legacy Windows versions supported by those compilers anymore | 6 个月前 |
| Reorganize more files into subdirectories (#834) More on the reorg effort for easier hacking on the source. Fix By: Brad House (@bradh352) | 6 个月前 |
| don't try to install removed header ares_rules.h | 6 个月前 |
| Reorganize more files into subdirectories (#834) More on the reorg effort for easier hacking on the source. Fix By: Brad House (@bradh352) | 6 个月前 |
| remove unused SEND_QUAL_ARG2 | 6 个月前 |
| README.md Document TCP FastOpen is supported | 6 个月前 |
| remove acountry from built tools as nerd.dk is gone (#554) The acountry utility required a third party DNSBL service from nerd.dk in order to operate. That service has been offline for about a year and there is no other comparable service offering. We are keeping the code in the repository as an example, but no longer building it. Fixes: #537 Fix By: Brad House (@bradh352) | 6 个月前 |
| | 6 个月前 |
| release procedure: make commands cut and paste-able as a whole | 6 个月前 |
| Use gender-neutral language in SECURITY.md (#746) This PR updates the SECURITY.md file to use more gender-inclusive language. Fix By: Aviv Keller (@RedYetiDev) | 6 个月前 |
| Reorganize source tree (#822) c-ares is getting larger these days and we keep adding source files to the same directory so it can be hard to differentiate core c-ares implementation from library/utility functions. Lets make some subdirectories to help with that and shuffle files around. Fix By: Brad House (@bradh352) | 6 个月前 |
| provide SPDX identifiers and a REUSE CI job to verify All files have their licence and copyright information clearly identifiable. If not in the file header, they are set separately in .reuse/dep5. All used license texts are provided in LICENSES/ | 6 个月前 |
| provide SPDX identifiers and a REUSE CI job to verify All files have their licence and copyright information clearly identifiable. If not in the file header, they are set separately in .reuse/dep5. All used license texts are provided in LICENSES/ | 6 个月前 |
| provide SPDX identifiers and a REUSE CI job to verify All files have their licence and copyright information clearly identifiable. If not in the file header, they are set separately in .reuse/dep5. All used license texts are provided in LICENSES/ | 6 个月前 |
| | 6 个月前 |
| Autotools: rework to simplify and fix recent issues (#674) Completely rework the autotools build system, issues have cropped up due to the complexity and could cause issues on even semi-modern Linux systems (Ubuntu 20.04 for example). Changes include: Remove all curl/xc/cares m4 helper files, they go overboard on detections of functions and datatypes. Go back to more plain autoconf macros as they've come a long way over the years. Use known systems and heuristics to determine datatypes for functions like send() and recv(), rather than the error prone detection which required thousands of permutations and might still get it wrong. Remove unneeded configure arguments like --enable-debug or --enable-optimize, its more common for people to simply pass their own CFLAGS on the command line. Only require CARES_STATICLIB definition on Windows static builds, its not necessary ever for other systems, even when hiding non-public symbols. Remove some function and definition detections that were never used in c-ares The test framework is now embedded into the toplevel configure system, there was no need to chain build the test system as it is never built externally to c-ares. As a side-effect of the changes, a configure run completes in about 25% of the original time. This has been tested on various Linux distributions (of varying age), FreeBSD, MacOS, Windows (via MSYS2 with Mingw), and Solaris10/11 (by @dfandrich), AIX 7.3 (by @dfandrich). It is not unlikely that this may have broken more esoteric or legacy systems, and we'll likely need to be ready to accept bug reports and patches, but it has removed over 10k lines of build system code. It is very likely any issues that crop up will add far fewer lines of code to fix such systems. Fixes Bug: #670 Fix By: Brad House (@bradh352) | 6 个月前 |
| attempt to fix pkgconfig on windows for static builds | 6 个月前 |
| SonarCloud: Fix additional code smells Fix By: Brad House (@bradh352) | 6 个月前 |