Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | strlen(3) returns size_t. | ray | 2007-02-18 | 1 | -4/+6 |
| | | | | OK itojun@. | ||||
* | Remove duplicate code. No functional change. | ray | 2007-02-17 | 1 | -39/+22 |
| | | | | OK itojun@, moritz@, and millert@. | ||||
* | Remove two mutexes by replacing getservbyname() and getservbyport() | ray | 2007-02-15 | 1 | -9/+8 |
| | | | | | | calls with their reentrant versions. OK millert@. | ||||
* | Remove int pretending to be a size_t. | ray | 2007-02-14 | 1 | -5/+2 |
| | | | | OK millert@. | ||||
* | change semantics of ff01::/16 to interface local multicast | itojun | 2006-11-17 | 1 | -2/+3 |
| | | | | | | (to sync up with more recent IPv6 spec) ok from: deraadt mcbride | ||||
* | Clarify strlcpy code by explicitly naming variable `len' and | ray | 2006-04-18 | 1 | -5/+6 |
| | | | | | | | separating out each step. Inspired during miscommunication with tedu@. OK deraadt@ | ||||
* | Remove str2number(), use strtonum(3) instead. | ray | 2006-04-14 | 1 | -44/+20 |
| | | | | | | | | Fix some type mismatches. Replace magic numbers. Remove superfluous strlen(3) calls. Earlier diff OK kjell@, OK deraadt@ | ||||
* | Pass size of correct variable to memset(). | ray | 2006-03-22 | 1 | -2/+2 |
| | | | | | | From Alexey Dobriyan. OK otto@ | ||||
* | fix spelling mistake (in comment); | jmc | 2005-07-18 | 1 | -2/+2 |
| | | | | from ray lai; | ||||
* | make the resolver stat resolv.conf and update if it changes. | tedu | 2005-03-30 | 1 | -5/+5 |
| | | | | useful feedback and ok deraadt@ | ||||
* | ansify. ok deraadt@ moritz@ | otto | 2005-03-25 | 1 | -80/+31 |
| | |||||
* | major bump to libc and libpthread to break the dependency of a | marc | 2004-06-07 | 1 | -2/+2 |
| | | | | | | particular implementation of libpthread for libc. libc no longer needs pthread.h to compile. OK millert@, brad@, tedu@ | ||||
* | implement RFC3493 AI_NUMERICSERV. tedu ok | itojun | 2004-04-14 | 1 | -46/+14 |
| | |||||
* | 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) |