144 Commits (a0bb50a14216e7be7453abee2e7b5830e2a7c4c1)

Author SHA1 Message Date
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
Szabolcs Nagy abce315639 implement dn_comp RFC 1035 domain name compression 12 years ago
Szabolcs Nagy 07355f503a accept trailing . and empty domain names 12 years ago
Szabolcs Nagy 2abb70c302 fix the domain name length limit checks 12 years ago
Szabolcs Nagy b3d9e0b94e fix multiple validation issues in dns response label parsing 12 years ago
Rich Felker 7e222f46a8 fix missing function declarations in refactored ip literal parsing code 12 years ago
Rich Felker fde3c29de4 add support for reverse port lookups from services file to getnameinfo 12 years ago
Rich Felker 01dc3f4fea add support for reverse name lookups from hosts file to getnameinfo 12 years ago
Rich Felker 934aa1350b remove some dummy "ent" function aliases that duplicated real ones 12 years ago
Rich Felker bdad2fefb2 add support for ipv6 scope_id to getaddrinfo and getnameinfo 12 years ago
Rich Felker 8041af5988 fix if_nametoindex return value when interface does not exist 12 years ago
Rich Felker d85d261ee6 fix negative response and non-response handling for dns queries 12 years ago
Rich Felker ac2a789342 fix some validation checks in dns response parsing code 12 years ago
Rich Felker 76f440cff7 remove cruft from old resolver and numeric ip parsing 12 years ago