Home
last modified time | relevance | path

Searched +full:c +full:- +full:ares (Results 1 – 25 of 452) sorted by relevance

12345678910>>...19

/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/cares/cares/
DREADME.md1 c-ares chapter
4 [![Build Status](https://api.cirrus-ci.com/github/c-ares/c-ares.svg)](https://cirrus-ci.com/github/
5 …gc5914tm72pvs/branch/master?svg=true)](https://ci.appveyor.com/project/c-ares/c-ares/branch/master)
6 … Status](https://coveralls.io/repos/github/c-ares/c-ares/badge.svg)](https://coveralls.io/github/c…
8 …://oss-fuzz-build-logs.storage.googleapis.com/badges/c-ares.svg)](https://bugs.chromium.org/p/oss-
9 …![Releases](https://coderelease.io/badge/c-ares/c-ares)](https://coderelease.io/github/repository/
11 This is c-ares, an asynchronous resolver library. It is intended for
17 The full source code is available in the ['c-ares' release archives](https://c-ares.org/download/),
18 and in a git repository: https://github.com/c-ares/c-ares. See the
22 regard to c-ares (or by all means the original ares too), get in touch with us
[all …]
DRELEASE-NOTES1 c-ares version 1.19.1
6 (https://ostif.org) for sponsoring a security audit of c-ares performed by X41
7 (https://x41-dsec.de).
10 o CVE-2023-32067. High. 0-byte UDP payload causes Denial of Service [12]
11 o CVE-2023-31147. Moderate. Insufficient randomness in generation of DNS
13 o CVE-2023-31130. Moderate. Buffer Underwrite in ares_inet_net_pton() [14]
14 o CVE-2023-31124. Low. AutoTools does not set CARES_RANDOM_FILE during cross
19 o Turn off IPV6_V6ONLY on Windows to allow IPv4-mapped IPv6 addresses [2]
25 o Re-add support for Watcom compiler [8]
43 [1] = https://github.com/c-ares/c-ares/pull/515
[all …]
DCHANGES.01 Changelog for the c-ares project
8 o avoid using system's inet_net_pton affected by the WLB-2008080064 advisory
9 o replacement ares_inet_net_pton affected by the WLB-2008080064 advisory
15 o IPv6-on-windows: find DNS servers correctly
16 o man pages: docs for the c-ares utility programs
27 o local-bind: Support binding to local interface/IPs, see
65 - Use the last instance of domain/search, not the first one
68 - We switched from CVS to git. See http://github.com/bagder/c-ares
71 - Daniel Johnson provided fixes for building with the clang compiler.
74 - Added IPv6 name servers support. Implementation has been based on code,
[all …]
DREADME.msvc9 How to build c-ares using MSVC or Visual Studio
15 ---------------------------------------------
20 Change to c-ares source folder where Makefile.msvc file is located and run:
22 > nmake -f Makefile.msvc
24 This will build all c-ares libraries as well as three sample programs.
28 depends on the MSVC compiler version being used to build c-ares.
32 holds the c-ares libraries you have just generated, the other three
35 The above command builds four versions of the c-ares library, dynamic
37 of these is found in folders named dll-release, dll-debug, lib-release,
38 and lib-debug, which hang from the 'cares' folder mentioned above. Each
[all …]
DINSTALL.md1 ** This file is adapted from libcurl and not yet fully rewritten for c-ares! **
15 Lots of people download binary distributions of c-ares. This document
16 does not describe how to install c-ares using such a binary package.
17 This document describes how to compile, build and install c-ares from
24 release tarball, see the [GIT-INFO](GIT-INFO) file in the root directory
47 [GIT-INFO](GIT_INFO) on how to proceed.
51 ./configure --help
53 If you want to install c-ares in a different file hierarchy than /usr/local,
56 ./configure --prefix=/path/to/c-ares/tree
62 ./configure --prefix=$HOME
[all …]
Dc-ares-config.cmake.in3 set_and_check(c-ares_INCLUDE_DIR "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@")
5 include("${CMAKE_CURRENT_LIST_DIR}/c-ares-config-version.cmake")
6 include("${CMAKE_CURRENT_LIST_DIR}/c-ares-targets.cmake")
8 set(c-ares_LIBRARY c-ares::cares)
11 if(NOT TARGET c-ares::cares_shared)
12 add_library(c-ares::cares_shared INTERFACE IMPORTED)
13 set_target_properties(c-ares::cares_shared PROPERTIES INTERFACE_LINK_LIBRARIES "c-ares::cares")
15 set(c-ares_SHARED_LIBRARY c-ares::cares_shared)
19 if(NOT TARGET c-ares::cares_static)
20 add_library(c-ares::cares_static INTERFACE IMPORTED)
[all …]
DMakefile.msvc2 # Copyright (C) 2009-2013 by Daniel Stenberg
16 # ------------------------------------------------------------------------------
18 # Makefile for building c-ares libraries and sample programs with MSVC.
22 # <config> must be one of: [ lib-release | lib-debug | dll-release | dll-debug }
23 # <target> must be one of: [ ALL | c-ares | acountry | adig | ahost | clean }
28 # all targets being built for all <config> c-ares library types.
34 # ------------------------------------------------------------------------------
38 # ------------------------------------------------
39 # c-ares static and dynamic libraries common base
41 # ------------------------------------------------
[all …]
DREADME.cares1 c-ares
4 This package is based on ares 1.1.1 (written by Greg Hudson). Daniel Stenberg
5 decided to fork and release a separate project since the original ares author
8 This package is dubbed 'c-ares' since Daniel wanted this for use within the
9 curl project (hence the letter C) and it makes a nice pun. c-ares is not API
10 compatible with ares: a new name makes that more obvious to the public.
13 ftp://athena-dist.mit.edu:pub/ATHENA/ares (which seems to not be alive
14 anymore). A local copy of the original ares package is kept here:
15 https://c-ares.org/download/ares-1.1.1.tar.gz
DSECURITY.md1 c-ares security
5 should be handled in the c-ares project.
8 ----------------------
10 All known and public c-ares vulnerabilities will be listed on [the c-ares web
11 site](https://c-ares.org/vulns.html).
18 ----------------------
30 - The person discovering the issue, the reporter, reports the vulnerability
31 privately to `c-ares-[email protected]`. That's an email alias that reaches a
34 - Messages that do not relate to the reporting or managing of an undisclosed
35 security vulnerability in c-ares are ignored and no further action is
[all …]
/aosp_15_r20/external/curl/lib/
H A Dasyn-ares.c8 * Copyright (C) Daniel Stenberg, <[email protected]>, et al.
21 * SPDX-License-Identifier: curl
28 * Only for ares-enabled builds
67 #include <ares.h>
68 #include <ares_version.h> /* really old c-ares did not include this by
72 /* c-ares 1.5.0 or later, the callback proto is modified */
102 int num_pending; /* number of outstanding c-ares requests */
103 struct Curl_addrinfo *temp_ai; /* intermediary result while fetching c-ares
113 obtaining a "definitive" one. For old c-ares without getaddrinfo.
115 This is intended to equal the c-ares default timeout. cURL always uses that
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/cares/cares/test/
DMakefile.inc1 TESTSOURCES = ares-test-main.cc \
2 ares-test-init.cc \
3 ares-test.cc \
4 ares-test-ns.cc \
5 ares-test-parse.cc \
6 ares-test-parse-a.cc \
7 ares-test-parse-aaaa.cc \
8 ares-test-parse-caa.cc \
9 ares-test-parse-mx.cc \
10 ares-test-parse-naptr.cc \
[all …]
DREADME.md1 c-ares Unit Test Suite
5 This directory holds unit tests for the c-ares library. To build the tests:
7 - Build the main c-ares library first, in the directory above this. To
9 hidden symbols with `./configure --disable-symbol-hiding`.
10 - Generate a `configure` file by running `autoreconf -iv` (which requires
12 [autotools](https://www.gnu.org/software/automake/manual/html_node/Autotools-Introduction.html)).
13 - `./configure`
14 - `make`
15 - Run the tests with `./arestest`, or `./arestest -v` for extra debug info.
19 - The tests are written in C++11, and so need a C++ compiler that supports
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/cares/cares/docs/
Dares_library_init.33 .\" Copyright (C) 2004-2009 by Daniel Stenberg
19 ares_library_init \- c-ares library initialization
22 #include <ares.h>
35 function performs initializations internally required by the c-ares
37 c-ares can be used in a program.
40 before the program actually executes any other c-ares library function.
46 call done when c-ares is in an uninitialized state is actually
51 parameter is a bit pattern that tells c-ares exactly which features
55 familiar with it and trying to control some internal c-ares feature.
60 c-ares library will be use instead of \fImalloc(3)\fP, \fIfree(3)\fP and
[all …]
Dares_library_cleanup.33 .\" Copyright (C) 2004-2009 by Daniel Stenberg
19 ares_library_cleanup \- c-ares library deinitialization
22 #include <ares.h>
30 function uninitializes the c-ares library, freeing all resources
34 \fIares_library_init(3)\fP, this function uninitializes the c-ares
41 This function must be called when the program using c-ares will
42 no longer need any c-ares function. Once the program has called
45 c-ares function.
47 This function does not cancel any pending c-ares lookups or requests
61 This function was first introduced in c-ares version 1.7.0 along with the
[all …]
/aosp_15_r20/external/curl/m4/
H A Dcurl-confopts.m48 # Copyright (C) Daniel Stenberg, <[email protected]>, et al.
21 # SPDX-License-Identifier: curl
29 dnl -------------------------------------------------
31 dnl --enable-threaded-resolver or --disable-threaded-resolver, and
38 AS_HELP_STRING([--enable-threaded-resolver],[Enable threaded resolver])
39 AS_HELP_STRING([--disable-threaded-resolver],[Disable threaded resolver]),
43 dnl --disable-threaded-resolver option used
55 dnl -------------------------------------------------
57 dnl --enable-ares or --disable-ares, and
63 AC_MSG_CHECKING([whether to enable c-ares for DNS lookups])
[all …]
/aosp_15_r20/external/grpc-grpc/src/core/lib/event_engine/posix_engine/
H A Dgrpc_polled_fd_posix.h7 // http://www.apache.org/licenses/LICENSE-2.0
40 #include <ares.h>
57 : name_(absl::StrCat("c-ares fd: ", static_cast<int>(as))), in GrpcPolledFdPosix()
62 // c-ares library will close the fd. This fd may be picked up immediately by in ~GrpcPolledFdPosix()
65 handle_->OrphanHandle(/*on_done=*/nullptr, &phony_release_fd, in ~GrpcPolledFdPosix()
66 "c-ares query finished"); in ~GrpcPolledFdPosix()
71 handle_->NotifyOnRead(new PosixEngineClosure(std::move(read_closure), in RegisterForOnReadableLocked()
77 handle_->NotifyOnWrite(new PosixEngineClosure(std::move(write_closure), in RegisterForOnWriteableLocked()
83 return ioctl(handle_->WrappedFd(), FIONREAD, &bytes_available) == 0 && in IsFdStillReadableLocked()
88 handle_->ShutdownHandle(error); in ShutdownLocked()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_ev_driver_windows.cc9 // http://www.apache.org/licenses/LICENSE-2.0
25 #include <ares.h>
49 // Our grpc/c-ares code on Windows uses the ares_set_socket_functions API,
51 // a c-ares header that is not public.
52 // See https://github.com/c-ares/c-ares/issues/206.
60 // c-ares reads and takes action on the error codes of the
63 // c-ares should read, it must do so by calling SetWSAError() on the
86 // c-ares creates its own sockets and is meant to read them when readable and
92 // from c-ares and are used with the grpc windows poller, and it, e.g.,
93 // manufactures virtual socket error codes when it e.g. needs to tell the c-ares
[all …]
Dgrpc_ares_wrapper.cc9 // http://www.apache.org/licenses/LICENSE-2.0
49 #include <ares.h>
144 // TODO(apolcyn): make grpc_ares_hostbyname_request a sub-class
149 /// the top-level request instance
162 ABSL_EXCLUSIVE_LOCKS_REQUIRED(r->mu);
164 ABSL_EXCLUSIVE_LOCKS_REQUIRED(r->mu);
166 // TODO(apolcyn): as a part of C++-ification, find a way to
167 // organize per-query and per-resolution information in such a way
193 GRPC_CARES_TRACE_LOG("request:%p Ref ev_driver %p", ev_driver->request, in grpc_ares_ev_driver_ref()
195 gpr_ref(&ev_driver->refs); in grpc_ares_ev_driver_ref()
[all …]
/aosp_15_r20/external/grpc-grpc/test/cpp/naming/
H A Dcancel_ares_query_test.cc9 // http://www.apache.org/licenses/LICENSE-2.0
69 #define BAD_SOCKET_RETURN_VAL (-1)
106 args->pollset = static_cast<grpc_pollset*>(gpr_zalloc(grpc_pollset_size())); in ArgsInit()
107 grpc_pollset_init(args->pollset, &args->mu); in ArgsInit()
108 args->pollset_set = grpc_pollset_set_create(); in ArgsInit()
109 grpc_pollset_set_add_pollset(args->pollset_set, args->pollset); in ArgsInit()
110 args->lock = std::make_shared<grpc_core::WorkSerializer>( in ArgsInit()
112 gpr_atm_rel_store(&args->done_atm, 0); in ArgsInit()
113 args->channel_args = nullptr; in ArgsInit()
119 grpc_pollset_set_del_pollset(args->pollset_set, args->pollset); in ArgsFinish()
[all …]
/aosp_15_r20/external/grpc-grpc/src/core/resolver/dns/c_ares/
H A Dgrpc_ares_ev_driver_posix.cc9 // http://www.apache.org/licenses/LICENSE-2.0
36 #include <ares.h>
57 : name_(absl::StrCat("c-ares fd: ", static_cast<int>(as))), as_(as) { in GrpcPolledFdPosix()
65 // c-ares library will close the fd inside grpc_fd. This fd may be picked up in ~GrpcPolledFdPosix()
69 grpc_fd_orphan(fd_, nullptr, &phony_release_fd, "c-ares query finished"); in ~GrpcPolledFdPosix()
130 /// Overridden socket API for c-ares
136 /// Overridden connect API for c-ares
142 /// Overridden writev API for c-ares
148 /// Overridden recvfrom API for c-ares
155 /// Overridden close API for c-ares
[all …]
H A Dgrpc_ares_ev_driver_windows.cc9 // http://www.apache.org/licenses/LICENSE-2.0
29 #include <ares.h>
54 // Our grpc/c-ares code on Windows uses the ares_set_socket_functions API,
56 // a c-ares header that is not public.
57 // See https://github.com/c-ares/c-ares/issues/206.
67 // c-ares reads and takes action on the error codes of the
70 // c-ares should read, it must do so by calling SetWSAError() on the
93 // c-ares creates its own sockets and is meant to read them when readable and
99 // from c-ares and are used with the grpc windows poller, and it, e.g.,
100 // manufactures virtual socket error codes when it e.g. needs to tell the c-ares
[all …]
H A Dgrpc_ares_wrapper.cc9 // http://www.apache.org/licenses/LICENSE-2.0
48 #include <ares.h>
143 // TODO(apolcyn): make grpc_ares_hostbyname_request a sub-class
148 /// the top-level request instance
161 ABSL_EXCLUSIVE_LOCKS_REQUIRED(r->mu);
163 ABSL_EXCLUSIVE_LOCKS_REQUIRED(r->mu);
165 // TODO(apolcyn): as a part of C++-ification, find a way to
166 // organize per-query and per-resolution information in such a way
192 GRPC_CARES_TRACE_LOG("request:%p Ref ev_driver %p", ev_driver->request, in grpc_ares_ev_driver_ref()
194 gpr_ref(&ev_driver->refs); in grpc_ares_ev_driver_ref()
[all …]
/aosp_15_r20/external/grpc-grpc/src/core/lib/event_engine/windows/
H A Dgrpc_polled_fd_windows.cc7 // http://www.apache.org/licenses/LICENSE-2.0
23 #include <ares.h>
42 // Our grpc/c-ares code on Windows uses the ares_set_socket_functions API,
44 // a c-ares header that is not public.
45 // See https://github.com/c-ares/c-ares/issues/206.
76 // c-ares reads and takes action on the error codes of the
79 // c-ares should read, it must do so by calling SetWSAError() on the
102 // c-ares creates its own sockets and is meant to read them when readable and
108 // to and read from c-ares and are used with the grpc windows poller, and it,
110 // the c-ares library to wait for an async read.
[all …]
/aosp_15_r20/external/curl/tests/
H A Dtestcurl.pl9 # Copyright (C) Daniel Stenberg, <[email protected]>, et al.
22 # SPDX-License-Identifier: curl
34 # curl-[email protected] to be dealt with automatically (make sure the
40 # testcurl.pl [options] [curl-daily-name] > output
44 # --configure=[options] Configure options
45 # --crosscompile This is a crosscompile
46 # --desc=[desc] Description of your test system
47 # --email=[email] Set email address to report as
48 # --extvercmd=[command] Command to use for displaying version with cross compiles.
49 # --mktarball=[command] Command to run after completed test
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/cares/cares/src/lib/
Dcares.rc2 /* Copyright (C) 2009-2021 by Daniel Stenberg
42 VALUE "CompanyName", "The c-ares library, https://c-ares.org/\0"
44 VALUE "FileDescription", "c-ares Debug Shared Library\0"
46 VALUE "InternalName", "c-ares\0"
49 VALUE "FileDescription", "c-ares Shared Library\0"
51 VALUE "InternalName", "c-ares\0"
54 VALUE "ProductName", "The c-ares library\0"
57 VALUE "License", "https://c-ares.org/license.html\0"

12345678910>>...19