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