Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bug library/3297: lib/libc/net/get{addr,name}info should share mutex | marc | 2003-07-21 | 1 | -2/+3 |
| | | | | 'Looks right' deraadt@ | ||||
* | fill ai_canonname field for numeric hostname, by the given hostname. | itojun | 2003-05-14 | 1 | -8/+26 |
| | | | | folows new recommendation in RFC3493. markus ok | ||||
* | If hostname != NULL, hostname is not a numeric string, and AI_NUMERICHOST | jason | 2003-03-17 | 1 | -3/+3 |
| | | | | is set, return EAI_NONAME like RFC2553 specifies. millert/itojun ok. | ||||
* | strlcpy, check retval from sprintf | itojun | 2003-03-04 | 1 | -2/+2 |
| | |||||
* | thread safer libc (note: safer, not safe) | marc | 2003-01-28 | 1 | -29/+47 |
| | | | | | | | | | | Access to the global _res structure replaced by pointers to a per thread instance. If unthreaded the pointer is to the global structure. Also replaced a 64k stack array with malloc-ed memory so threaded aps (with a default 64k stack) have a chance at working. ok deraadt@ | ||||
* | allocate 64K recieve buffer for DNS responses. | itojun | 2002-08-27 | 1 | -18/+33 |
| | |||||
* | drop AAAA reply with IPv4 mapped address. sync w/kame | itojun | 2002-08-22 | 1 | -1/+9 |
| | | | | draft-itojun-v6ops-v4mapped-harmful-00.txt | ||||
* | kill more strcpy | deraadt | 2002-07-25 | 1 | -5/+4 |
| | |||||
* | have _THREAD_PRIVATE_MUTEX for DNS/YP/hosts lookup. | itojun | 2002-07-24 | 1 | -3/+16 |
| | |||||
* | more type pedant | itojun | 2002-07-01 | 1 | -2/+2 |
| | |||||
* | lint clean (and don't mixup signed/unsigned). from martin husemann | itojun | 2002-07-01 | 1 | -12/+12 |
| | |||||
* | make more pedantic check on strtoul. from deraadt, sync w/kame | itojun | 2002-07-01 | 1 | -8/+12 |
| | |||||
* | correct port range check. from deraadt. sync w/kame. bind-bugs have ↵ | itojun | 2002-06-29 | 1 | -2/+3 |
| | | | | already notified. | ||||
* | %d/%u mixup (in #ifdef DEBUG) | itojun | 2002-06-27 | 1 | -2/+2 |
| | |||||
* | correct bad practice in the code - it uses two changing variables | itojun | 2002-06-26 | 1 | -10/+7 |
| | | | | | | | to manage buffer (buf and buflen). we eliminate buflen and use fixed point (ep) as the ending pointer. this fix is NOT critical. | ||||
* | Manual cleanup of remaining userland __P use (excluding packages maintained ↵ | millert | 2002-02-17 | 1 | -23/+21 |
| | | | | outside the tree) | ||||
* | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | millert | 2002-02-16 | 1 | -16/+16 |
| | | | | hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | ||||
* | label abort() from inside library as ILLEGAL | deraadt | 2002-01-02 | 1 | -3/+3 |
| | |||||
* | use snprintf, not sprintf. sync with kame | itojun | 2001-08-20 | 1 | -2/+2 |
| | |||||
* | use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok. | lebel | 2001-06-27 | 1 | -3/+2 |
| | |||||
* | support EDNS0 (RFC2671) buffer size notification on DNS queries. | itojun | 2001-06-11 | 1 | -1/+4 |
| | | | | | | | | | "options edns0" in /etc/resolv.conf will enable the behavior. no behavior change if you don't have the line. see resolv.conf(5) for more details. EDNS0 is useful for avoiding TCP DNS queries/replies on larger DNS responses. also, draft-ietf-dnsext-message-size-* plans to mandate EDNS0 support for DNS clients that support IPv6 transport. | ||||
* | on /etc/hosts lookup, set "official host name" (the leftmost hostname) | itojun | 2000-08-31 | 1 | -4/+7 |
| | | | | | into ai_canonname. this is to synchronize with practice in gethostby*. comment from ume@mahoroba.org. sync with kame. | ||||
* | Wall | deraadt | 2000-08-22 | 1 | -2/+3 |
| | |||||
* | reject empty scopeid/numeric portname. sync with kame. | itojun | 2000-07-09 | 1 | -9/+16 |
| | |||||
* | return EAI_NODATA, instead of EAI_NONAME, on name resolution errors. | itojun | 2000-07-05 | 1 | -18/+18 |
| | | | | | EAI_NONAME does not make sense in these situations. from kame. From: enami@netbsd.org | ||||
* | translate DNS error code into getaddrinfo error code (EAI_xxx). PR 1229. | itojun | 2000-05-15 | 1 | -2/+27 |
| | |||||
* | remove unused struct def. more sanity check for NULL. | itojun | 2000-04-27 | 1 | -16/+16 |
| | |||||
* | add $KAME$ for future version tracking | itojun | 2000-04-26 | 1 | -1/+2 |
| | |||||
* | remove #if 0'ed portion which we will never revisit (no behavior change). | itojun | 2000-04-26 | 1 | -14/+1 |
| | |||||
* | sync with latest kame. | itojun | 2000-04-26 | 1 | -19/+21 |
| | | | | | | - completely disable AI_ADDRCONFIG support (post RFC2553) since it does not work for PF_UNSPEC. - remove unused variables, some delint. | ||||
* | correct boundary check. XXX should avoid code duplicate here... | itojun | 2000-04-25 | 1 | -2/+2 |
| | |||||
* | workaround against name servers which return NXDOMAIN/SERVFAIL on IPv4 only | itojun | 2000-03-16 | 1 | -2/+4 |
| | | | | | node (the srever server should return acount = 0 without error). NetBSD PR: 9621 | ||||
* | fix error handling in yp case. | itojun | 2000-03-13 | 1 | -2/+3 |
| | |||||
* | make getaddrinfo obey search order declared in resolv.conf. | itojun | 2000-02-25 | 1 | -142/+924 |
| | | | | | the code duplicate is necessary because there's no low-level resolver function that looks up database against "any address family" query. | ||||
* | remove extra #ifdef (USE_GETIPNODEBY) | itojun | 2000-02-21 | 1 | -9/+1 |
| | |||||
* | to synchronize with progress of discussion for post | itojun | 2000-02-17 | 1 | -2/+2 |
| | | | | | | | | 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..... | ||||
* | add more comments from recent kame. | itojun | 2000-02-16 | 1 | -5/+37 |
| | | | | | | | | 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) | ||||
* | make it possible to compile without -DINET6 | itojun | 2000-02-15 | 1 | -2/+2 |
| | |||||
* | revise extended scoped address format support. delimiter and the order | itojun | 2000-02-09 | 1 | -93/+162 |
| | | | | | | | | is changed, based on discussion in ipngwg scoped address cabal. past code: fe80::1@de0 now: de0%fe80::1 this will be in sync with next extended address format proposal (which should be final - I don't want to make this kind of change again). | ||||
* | fix RFC2553 conformance. AI_CANONNAME does not mean reverse query. | itojun | 2000-01-26 | 1 | -126/+10 |
| | |||||
* | sync comment with code. remove #if 0'ed portion (AF filtering on name | itojun | 2000-01-18 | 1 | -15/+5 |
| | | | | resolution) and add comment there. | ||||
* | do not filter address families that are not supported by kernel. | itojun | 2000-01-17 | 1 | -1/+5 |
| | | | | | | | | | it was not a correct behavior. even if we may be able to connect to the the returned addresses, filtering them out is not a correct thing to do. for example, even if you have partial unreachablility in IPv4, gethostbyname(3) will return IPv4 addresses in the unreachable network anyways. | ||||
* | remove #if 0'ed part. | itojun | 2000-01-17 | 1 | -55/+1 |
| | |||||
* | replace NRL get{addr,name}info with KAME get{addr,name}info. | itojun | 1999-12-30 | 1 | -459/+975 |
| | | | | | | | | removed functionality: new code will not return AF_LOCAL addrinfo struct. added funtionality: SOCK_RAW is permitted as ai_socktype (no servname allowed). draft-ietf-ipngwg-scopedaddr-format-00.txt | ||||
* | fix DNS; all this is due for squishing in a few days anyways, i suspect; ↵ | deraadt | 1999-12-07 | 1 | -0/+1 |
| | | | | fujiwara@rcac.tdi.co.jp | ||||
* | cleaned up | deraadt | 1999-07-03 | 1 | -455/+468 |
| | |||||
* | Removed portability ifdefs. | cmetz | 1999-06-23 | 1 | -575/+1 |
| | |||||
* | Added some protocol independent interfaces (supposedly IPv6 support APIs, but | cmetz | 1999-06-23 | 1 | -0/+1127 |
ones that are useful for all protocols, not just IPv6). |