157 Commits (18f02c42a2b5397e8541f4663eb6ca00c1a806dd)

Author SHA1 Message Date
A. Wilcox 30fdda6c99 fix getaddrinfo error code for non-numeric service with AI_NUMERICSERV 9 years ago
Rich Felker 45ca5d3fcb in dns parsing callback, enforce MAXADDRS to preclude overflow 9 years ago
Rich Felker 565dbee24d don't treat numeric port strings as servent records in getservby*() 9 years ago
Rich Felker 1a7fa5e521 fix regression in support for resolv.conf attempts option 9 years ago
Rich Felker 1ca597551b fix read past end of buffer in getaddrinfo backend 9 years ago
Rich Felker 6a209f14ff fix possible fd leak, unrestored cancellation state on dns socket fail 9 years ago
Daniel Sabogal 8d7a3f40c8 fix getservby*_r result pointer value on error 10 years ago
Daniel Sabogal d917ef0b84 remove dead case in gethostbyname2_r 10 years ago
Daniel Sabogal 32055d52ca fix if_indextoname error case 10 years ago
Rich Felker 7c82870d45 remove obsolete and unused gethostbyaddr implementation 10 years ago
Natanael Copa 4adc6c33e7 refactor name_from_dns in hostname lookup backend 10 years ago
Natanael Copa 04bced403d in performing dns lookups, check result from res_mkquery 10 years ago
Rich Felker 4da0bc5ef8 fix misaligned address buffers in gethostbyname[2][_r] results 10 years ago
Andrew Kelley 4b619e5c61 fix incorrect protocol name and number for egp 10 years ago
Petr Vaněk e7d05c7894 remove dead store in res_msend 10 years ago
Timo Teräs 5978eb703c fix gethostbyaddr_r to fill struct hostent.h_length as appropriate 10 years ago
Rich Felker 6d70c08a2c handle non-matching address family entries in hosts file 10 years ago
Rich Felker 1563587b45 reuse parsed resolv.conf in dns core to avoid re-reading/re-parsing 10 years ago
Rich Felker dcad020c9c fix uninitialized variable in new resolv.conf parser 10 years ago
Rich Felker 3d6e2e477c add support for search domains to dns resolver 10 years ago
Rich Felker 0fef7ffac1 fix handling of dns response codes 10 years ago
Rich Felker fe8453d2ee fix logic for matching search/domain keywords in resolv.conf 10 years ago
Rich Felker d6cb08bcac factor resolv.conf parsing out of res_msend to its own file 10 years ago
Ron Yorston 3cdbfb99c3 fix if_nametoindex return value when socket open fails 10 years ago
Timo Teräs d5f8394f6e add missing protocols to protoent lookup functions 11 years ago
Jo-Philipp Wich 7b712844e3 properly handle point-to-point interfaces in getifaddrs() 11 years ago
Hauke Mehrtens 6eada2edb3 getnameinfo: make size check not fail for bigger sizes 11 years ago
Rich Felker 2683e267fa safely handle failure to open hosts, services, resolv.conf files 11 years ago
Rich Felker 2a6e1f0f5a avoid attempting to lookup IP literals as hostnames 11 years ago
Rich Felker 06bcf9bc94 make getaddrinfo return error if both host and service name are null 11 years ago
Timo Teräs cb1c88d42b fix uninitialized scopeid in lookups from hosts file and ip literals 11 years ago
Rich Felker e8cbe0bad4 fix negated return value of ns_skiprr, breakage in related functions 11 years ago
Rich Felker fc13acc3dc fix internal buffer overrun in inet_pton 11 years ago
Timo Teräs 6a5242e4cb make protocol table zero byte separated and add ipv6 protocols 11 years ago
Rich Felker c63c98a606 make getaddrinfo support SOCK_RAW and other socket types 11 years ago
Rich Felker aac59c1164 add basic dns record parsing functions 12 years ago
Rich Felker 633183b5d1 fix potential read past end of buffer in getnameinfo service name lookup 12 years ago
Rich Felker 4ec2d25a6a remove incorrect and useless check in network service name lookup code 12 years ago
Rich Felker 80e6485455 remove an extra layer of buffer copying in getnameinfo reverse dns 12 years ago
Szabolcs Nagy 49d2c8c6bc fix dn_expand empty name handling and offsets to 0 12 years ago
Timo Teräs 08e4052c43 reimplement if_nameindex and getifaddrs using netlink 12 years ago
Rich Felker c5b8f19305 add support for LC_TIME and LC_MESSAGES translations 12 years ago
Timo Teräs 5abfd55d6e add routing protocols to getprotoent-family functions 12 years ago
Rich Felker 3c42605a60 implement result address sorting in the resolver (getaddrinfo, etc.) 12 years ago
Timo Teräs fe82bb9b92 fix gethostby*_r result pointer value on error 12 years ago
Rich Felker 2e5d256984 fix sendmmsg emulation return value for zero-length vector 12 years ago
Rich Felker acb7e049b8 implement sendmmsg and recvmmsg 12 years ago
Rich Felker 246e752d9e avoid spurious lookup failures from badly-behaved nameservers 12 years ago
Rich Felker 1cacc01dc0 optimize SOCK_CLOEXEC fallback for socket function 12 years ago
Rich Felker 1d348566e6 add SOCK_CLOEXEC fallback for socketpair on old kernels 12 years ago