summaryrefslogtreecommitdiff
path: root/src/network
AgeCommit message (Expand)Author
2025-05-05dns resolver: reorder sockaddr union to make initialization safeRich Felker
2024-06-22inet_ntop: fix the IPv6 leading zero sequence compressionJakub Stasiak
2024-02-29getnameinfo: fix calling __dns_parse with potentially too large rlenAlexey Izbyshev
2023-11-06remove arbitrary limit from dns result parsingQuentin Rameau
2023-07-17fix rejection of dns responses with pointers past 512 byte offsetRich Felker
2023-07-04dns stub resolver: increase buffer size to handle chained CNAMEsRich Felker
2023-04-07dns: check length field in tcp response messageAlexey Kodanev
2023-02-28getservbyport_r: fix wrong result if getnameinfo fails with EAI_OVERFLOWAlexey Izbyshev
2023-02-28getservbyport_r: fix out-of-bounds buffer readAlexey Izbyshev
2023-02-28getifaddrs: fix UB via taking address of null pointer union dereferenceAlexey Izbyshev
2023-02-28accept4: don't fall back to accept if we got unknown flagsAlexey Izbyshev
2023-02-27fix potential read past end of buffer in getnameinfo host name lookupAlexey Izbyshev
2023-02-27dns: fix workaround for systems defaulting to ipv6-only socketsAlexey Izbyshev
2023-02-27dns: handle early eof in tcp fallbackAlexey Izbyshev
2023-02-27prevent CNAME/PTR parsing from reading data past the response endAlexey Izbyshev
2023-02-27fix out-of-bounds reads in __dns_parseAlexey Izbyshev
2023-02-12dns: prefer monotonic clock for timeoutsA. Wilcox
2023-02-12inet_pton: fix uninitialized memory use for IPv4-mapped IPv6 addressesAlexey Izbyshev
2023-02-12increase sendmsg internal buffer to support SCM_MAX_FDColin Cross
2022-10-20fix return value of gethostby{name[2],addr} with no result but no errorRich Felker
2022-10-19clean up dns_parse_callbackRich Felker
2022-10-19dns response handling: don't treat too many addresses as an errorRich Felker
2022-10-19dns response handling: ignore presence of wrong-type RRsRich Felker
2022-10-19dns query core: detect udp truncation at recv timeRich Felker
2022-10-19getaddrinfo dns lookup: use larger answer buffer to handle long CNAMEsRich Felker
2022-09-22dns: implement tcp fallback in __res_msend query coreRich Felker
2022-09-22res_send: use a temp buffer if caller's buffer is under 512 bytesRich Felker
2022-09-21adapt res_msend DNS query core for working with multiple socketsRich Felker
2022-09-20getaddrinfo: add EAI_NODATA error code to distinguish NODATA vs NxDomainRich Felker
2022-09-19fix error cases in gethostbyaddr_rRich Felker
2022-09-19remove impossible error case from gethostbyname2_rRich Felker
2022-09-19fix return value of gethostnbyname[2]_r on result not foundRich Felker
2022-09-19dns: treat names rejected by res_mkquery as nonexistent rather than errorRich Felker
2022-09-19res_mkquery: error out on consecutive final dots in nameRich Felker
2022-08-26dns: fail if ipv6 is disabled and resolv.conf has only v6 nameservesRich Felker
2022-08-24fix fallback when ipv6 is disabled but resolv.conf has v6 nameservesRich Felker
2022-08-01fix mishandling of errno in getaddrinfo AI_ADDRCONFIG logicRich Felker
2022-06-03ensure distinct query id for parallel A and AAAA queries in resolverRich Felker
2022-04-10fix incorrect parameter name in internal netlink.h RTA_OK macroOndrej Jirman
2020-09-03fix missing newline in herror outputRich Felker
2020-08-30restore h_errno ABI compatibility with ancient binariesRich Felker
2020-08-24report res_query failures, including nxdomain/nodata, via h_errnoRich Felker
2020-08-24make h_errno thread-localRich Felker
2020-08-05in hosts file lookups, honor first canonical name regardless of familyRich Felker
2020-08-04in hosts file lookups, use only first match for canonical nameRich Felker
2020-05-19fix return value of res_send, res_query on errors from nameserverRich Felker
2020-05-19fix handling of errors resolving one of paired A+AAAA queryRich Felker
2020-05-18set AD bit in dns queries, suppress for internal useRich Felker
2020-02-22use __socketcall to simplify socket()Rich Felker
2019-12-17hook recvmmsg up to SO_TIMESTAMP[NS] fallback for pre-time64 kernelsRich Felker