146 Commits (04bced403dead13d20a46a1bd00ab1eb2c50b882)

Author SHA1 Message Date
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
Rich Felker 3330198060 switch standard resolver functions to use the new dns backend 12 years ago
Rich Felker a2a328bd89 fix uninitialized variable in new __res_msend dns function 12 years ago
Rich Felker 8312f7f60f implement new dns backend, res_send and other legacy resolver functions 12 years ago
Timo Teräs 1871f583f4 add ipsec and tunneling protocols to getprotoent-family functions 12 years ago
Rich Felker bb9af59bba fix off-by-one in checking hostname length in new resolver backend 12 years ago
Rich Felker af7c308ee6 improve getservbyname_r using new resolver backend 12 years ago
Rich Felker e8f39ca489 improve gethostbyname2_r using new resolver backend 12 years ago
Rich Felker 6f409bff00 refactor getaddrinfo and add support for most remaining features 12 years ago
Rich Felker dc01e2cbfb add fallback emulation for accept4 on old kernels 12 years ago
Rich Felker 3e02ce1b41 add ipv6 and icmpv6 to getprotoent-family functions 12 years ago
Rich Felker eb375ef795 fix typo in table for getprotoent that caused out-of-bound reads 12 years ago
Rich Felker dbe221ecff fix argument types for legacy function inet_makeaddr 13 years ago
Rich Felker 18144af297 implement legacy function herror 13 years ago
Szabolcs Nagy 571744447c include cleanups: remove unused headers and add feature test macros 13 years ago
Szabolcs Nagy ac45692a53 remove an unnecessary check in inet_pton 13 years ago
Rich Felker 7603c5f127 support mix of IPv4 and v6 nameservers in resolv.conf 13 years ago
Rich Felker cabe9aa974 reject invalid address families in getaddrinfo 13 years ago
Szabolcs Nagy 2b1f2f146d remove duplicate includes from dynlink.c, strfmon.c and getaddrinfo.c 13 years ago
Michael Forney 642936d6dd Fix dn_comp prototype and add stub 13 years ago
Michael Forney 4f6658b969 Fix dn_expand pointer following 13 years ago
Rich Felker ceb0ed9cf9 fix fd leak (missing close-on-exec) in getifaddrs 13 years ago
Rich Felker 7b5beabceb fix regression in inet_aton due to misinterpretation of __ipparse return 13 years ago
Szabolcs Nagy 78f8891531 fix inet_pton 13 years ago
Szabolcs Nagy 51c4e451db fix __ipparse to parse the generic numbers-and-dots IPv4 format correctly 13 years ago
Szabolcs Nagy 59b8dc08f7 fix inet_aton to accept the generic "numbers-and-dots" IPv4 address format 13 years ago
Rich Felker bb93ac3358 split inet_addr and inet_ntoa back into their own files 13 years ago
Rich Felker 38b9c02749 fix return value for inet_pton in ipv6 failure cases 13 years ago
Rich Felker 7211551e9f fix regression in dn_expand/reverse dns 13 years ago
Rich Felker 56b57f37a4 fix length computation in dn_expand 13 years ago
Rich Felker fcc522c923 de-duplicate dn_expand, fix return value and signature, clean up 13 years ago
Rich Felker f9dd79c8d1 fix undefined strcpy call in inet_ntop 13 years ago
Rich Felker 1cd417bdf1 make inet_ntop format v4-mapped ipv6 addresses properly 13 years ago
Rich Felker f5dfb45f78 make getaddrinfo with AF_UNSPEC and null host return both IPv4 and v6 13 years ago
Rich Felker 0716b10ac8 fix missing SOCK_CLOEXEC in various functions that use sockets internally 13 years ago
Rich Felker fbcd82040c add stubs for additional legacy ether.h functions 13 years ago
Rich Felker e40f48a421 implement inet_lnaof, inet_netof, and inet_makeaddr 13 years ago
Rich Felker 83966b369d add ether_aton[_r] and ether_ntoa[_r] functions 13 years ago
rofl0r 9947ed5c20 getifaddrs: implement proper ipv6 netmasks 13 years ago
rofl0r 338cc31c4b getifaddrs: remove unused label 13 years ago
rofl0r 4af3ea789a getifaddrs: use if_nameindex to enumerate interfaces 13 years ago
rofl0r 69a1983872 getifaddrs: one less indent level 13 years ago
rofl0r c82f53f67c getifaddrs: less malloc 13 years ago
rofl0r 202db37a6f add getifaddrs 13 years ago
Rich Felker b6f9941201 implement dn_skipname (legacy resolver function) 13 years ago
Rich Felker a47ad3ebce dynamically allocate storage for gethostby* buffers 13 years ago
Rich Felker c0193550a0 fix blank ai_canonname from getaddrinfo for non-CNAMEs 13 years ago
Rich Felker b0302863a3 fix memory leak due to double call to getaddrinfo in gethostbyname* 13 years ago
Rich Felker 70b584bc94 fix error returns in gethostby*_r functions 13 years ago