summaryrefslogtreecommitdiff
path: root/lib/libc/net
AgeCommit message (Collapse)Author
2000-08-31on /etc/hosts lookup, set "official host name" (the leftmost hostname)Jun-ichiro itojun Hagino
into ai_canonname. this is to synchronize with practice in gethostby*. comment from ume@mahoroba.org. sync with kame.
2000-08-22WallTheo de Raadt
2000-08-13strings are NUL-terminated, not NULL-terminatedTheo de Raadt
2000-08-09document that the current implementation is not thread-safe. sync with kame.Jun-ichiro itojun Hagino
From: "Greg Thompson" <johnnyteardrop@hotmail.com>
2000-07-30avoid buffer overrun on too-long reply for NIS hostname lookup.Jun-ichiro itojun Hagino
2000-07-25document pitfall cases in argument parsing. sync with kame.Jun-ichiro itojun Hagino
2000-07-09reject empty scopeid/numeric portname. sync with kame.Jun-ichiro itojun Hagino
2000-07-07use %s with fprintfTheo de Raadt
2000-07-05return EAI_NODATA, instead of EAI_NONAME, on name resolution errors.Jun-ichiro itojun Hagino
EAI_NONAME does not make sense in these situations. from kame. From: enami@netbsd.org
2000-06-30typo in RFC number. KAME PR 263Jun-ichiro itojun Hagino
2000-06-22add paper by cmetz. correct example. (sync with kame)Jun-ichiro itojun Hagino
2000-06-22ipv6 support in resolver. "nameserver" line in /etc/resolv.conf now takesJun-ichiro itojun Hagino
ipv6 address.
2000-06-18note get{addr,name}info are recommended than inet_xx.Jun-ichiro itojun Hagino
2000-06-12correct ENI_SALEN case to meet rfc2553bis.Jun-ichiro itojun Hagino
2000-06-12correct behavior against invalid sockaddr. previous code may return 0Jun-ichiro itojun Hagino
(success) on invalid sockaddr. sync with rfc2553bis regarding to getnameinfo error code. (sync with kame)
2000-05-17nroff fixes (correct Dt, linebreak).Jun-ichiro itojun Hagino
2000-05-15correct type of 2nd argument to meet RFC2553. (this should raise no ABIJun-ichiro itojun Hagino
problem due to type promotion). PR 1228.
2000-05-15translate DNS error code into getaddrinfo error code (EAI_xxx). PR 1229.Jun-ichiro itojun Hagino
2000-04-27remove unused struct def. more sanity check for NULL.Jun-ichiro itojun Hagino
2000-04-26const poisoningJun-ichiro itojun Hagino
2000-04-26add $KAME$ for future version trackingJun-ichiro itojun Hagino
2000-04-26bring in latest KAME implementation.Jun-ichiro itojun Hagino
conforms to draft-ietf-ipngwg-scopedaddr-format-01.txt. behavior change: returns numeric scopeid if we can't convert to string removed #if 0'ed portion which we will never revisit.
2000-04-26remove #if 0'ed portion which we will never revisit (no behavior change).Jun-ichiro itojun Hagino
2000-04-26sync with latest kame.Jun-ichiro itojun Hagino
- completely disable AI_ADDRCONFIG support (post RFC2553) since it does not work for PF_UNSPEC. - remove unused variables, some delint.
2000-04-25correct boundary check. XXX should avoid code duplicate here...Jun-ichiro itojun Hagino
2000-04-21Don't hyphenate the words {left|right}most.Aaron Campbell
2000-04-18Repairs, mostly removing hard sentence breaks.Aaron Campbell
2000-04-16avoid misunderstanding in history portion, okay'ed by aaron.Jun-ichiro itojun Hagino
may need english check:-) (getifaddrs.c is straight import from bsdi4)
2000-04-15- For consistency, `super-user' -> `superuser' in all cases.Aaron Campbell
- Some punctuation fixes. - Some `id' -> `ID'.
2000-04-15Mostly punctuation fixes.Aaron Campbell
2000-04-12Trailing whitespace begone!Aaron Campbell
2000-03-28typoTheo de Raadt
2000-03-16workaround against name servers which return NXDOMAIN/SERVFAIL on IPv4 onlyJun-ichiro itojun Hagino
node (the srever server should return acount = 0 without error). NetBSD PR: 9621
2000-03-13fix error handling in yp case.Jun-ichiro itojun Hagino
2000-03-13avoid unused variable by #ifdefJun-ichiro itojun Hagino
2000-03-13don't process NI_NOFQDN, since the currently coded behavior is not specwiseJun-ichiro itojun Hagino
correct.
2000-03-01$OpenBSD$Todd T. Fries
2000-02-29fix alignment constraint in IPv6 routing header manipulation (ancillary data).Jun-ichiro itojun Hagino
documented in RFC2292. from: shin@kame.net
2000-02-25make getaddrinfo obey search order declared in resolv.conf.Jun-ichiro itojun Hagino
the code duplicate is necessary because there's no low-level resolver function that looks up database against "any address family" query.
2000-02-25always pass salen as separate argument, so that it can be friendly withJun-ichiro itojun Hagino
systems with pre-4.2 sockaddrs.
2000-02-23Small bits of clean-up.Aaron Campbell
2000-02-23- Put structure field descriptions in a tagged list.Aaron Campbell
- More mdoc macros where appropriate. - Mention OpenBSD in HISTORY.
2000-02-23add freeifaddrs(3), which reclaims region allocated by getifaddrs(3).Jun-ichiro itojun Hagino
in sync with kame and bsdi.
2000-02-23add getifaddrs(3), from bsdi4.Jun-ichiro itojun Hagino
this will help future apps from complexity of SIOCGIFCONF. NOTE: getifaddrs(3) uses sysctl interface, not SIOCGIFCONF.
2000-02-21remove extra #ifdef (USE_GETIPNODEBY)Jun-ichiro itojun Hagino
2000-02-18do not perform sleep() every time we get ECONNREFUSED.Jun-ichiro itojun Hagino
try all the set of addresses before go to sleep() and retry. not sure if we still need sleep() - retry logic. why is it so persistent?
2000-02-17to synchronize with progress of discussion for postJun-ichiro itojun Hagino
draft-ietf-ipngwg-scopedaddr-format-00.txt (will be 01), use "address%interface" notation for extended scoped IPv6 address. NOTE: the change affects link-local addresses only. I hope it to be the final change on it.....
2000-02-16add more comments from recent kame.Jun-ichiro itojun Hagino
prepare to swap extended scoped address notation. fe80::1%de0 is the most promised candidate, but since it is still very draft, i'm not sure when to switch - if you have any idea please let me know. in other words, do i allowed to change it every week? :-P (NOTE it is only for "extended" scoped address notation, which is not for daily use)
2000-02-15make it possible to compile without -DINET6Jun-ichiro itojun Hagino
2000-02-14add BUGS section about getaddrinfo(3) search order.Jun-ichiro itojun Hagino
NetBSD PR: 9413 From: Thilo Manske <Thilo.Manske@HEH.Uni-Oldenburg.DE>