174 Commits (c8798ef974d21c338a7d8d874a402978ffc6168e)

Author SHA1 Message Date
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
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