summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* massive indent passderaadt2000-01-311-262/+195
|
* visit next addrinfo structure when rresvport_af() fails.itojun2000-01-301-4/+9
| | | | | this should fix situation like: - try to rcmd() to dual stack node from IPv4-only node/kernel
* don't permit freeaddrinfo(NULL). now the behavior is consistentitojun2000-01-281-2/+2
| | | | | | | | | | | | across {free,net,open}bsd. both rfc2553 and X/Open spec are silent about the behavior, and there's no strong consensus either. i think library should NOT be forgiving in this case, to promote development of more robust 3rd-party codebase (code works on "freeaddrinfo(NULL) = SEGV" will work on "freeaddrinfo(NULL) is okay" environment, but not the other way around). only issue i have now is NRL freeaddrinfo() compatibility, which permits freeaddrinfo(NULL).
* avoid memory leakage on freeaddrinfo().itojun2000-01-271-0/+2
| | | | (this bug was introduced since we mix KAME getaddrinfo and NRL freeaddrinfo).
* add IPv6-ready rcmd() friends.itojun2000-01-273-80/+264
| | | | | | | | rcmd(): IPv4 only rcmd_af(): af independent ruserok(): af independent iruserok(): IPv4 only iruserok_sa(): af independent
* fix RFC2553 conformance. AI_CANONNAME does not mean reverse query.itojun2000-01-261-126/+10
|
* man page updates from itojunderaadt2000-01-261-2/+2
|
* new bindresvport() semantics that itojun, shin, jean-luc and i have agreed ↵deraadt2000-01-261-2/+3
| | | | on, which will be happy for the future. bindresvport_sa() for sockaddr *, too. docs later..
* repairderaadt2000-01-251-2/+2
|
* first cut at indent.. more to comederaadt2000-01-241-1126/+1175
|
* Use .Er macro when referring to errno error names.aaron2000-01-221-3/+3
|
* ie. -> i.e.,aaron2000-01-221-2/+2
|
* Clarify and mention that errno is set to ENOMEM on failure of malloc(),pjanzen2000-01-191-5/+11
| | | | calloc(), and realloc(). Idea from NetBSD.
* Max value returned is 2^31 - 1, regardless of the arch-dependent LONG_MAX.pjanzen2000-01-191-7/+1
|
* Repair duplicate word occurences; (as found by a Perl script sent to us fromaaron2000-01-182-4/+4
| | | | Tom Christiansen <tchrist@perl.com>).
* sync comment with code. remove #if 0'ed portion (AF filtering on nameitojun2000-01-181-15/+5
| | | | resolution) and add comment there.
* do not filter address families that are not supported by kernel.itojun2000-01-171-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.
* indentderaadt2000-01-172-6/+6
|
* sync with latest KAME version. now includes description on scoped addritojun2000-01-172-7/+234
| | | | extension. add examples (good enough? >deraadt)
* remove #if 0'ed part.itojun2000-01-172-79/+2
|
* fix includes; bdederaadt2000-01-062-3/+5
|
* oopsd2000-01-061-2/+2
|
* include thread_private.hd2000-01-061-1/+2
|
* _THREAD_PRIVATE_* macros changedd2000-01-062-5/+5
|
* rewrite to use the helpers in the thread/ directory and to define weak alias ↵d2000-01-061-135/+91
| | | | macros
* allow reverse lookup for v4 loopbacknet (127.0.0.0/8).itojun2000-01-051-1/+5
|
* Xr getnameinfo and friendsderaadt2000-01-051-1/+3
|
* Grammar; deraadt@aaron2000-01-031-2/+2
|
* always enable IPv6 address in /etc/hosts (via _gethtent()).itojun2000-01-032-5/+8
| | | | | clarify RES_USE_INET6. the use of this bit is not meaningful on openbsd (as we don't have mapped addr support in kernel).
* add the _af versions to the NAME chunkderaadt1999-12-301-1/+2
|
* replace NRL get{addr,name}info with KAME get{addr,name}info.itojun1999-12-303-672/+1214
| | | | | | | | 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
* speed up blowfish by > 20%.provos1999-12-281-28/+32
|
* more fixes from markusderaadt1999-12-171-4/+4
|
* nice error return; markusderaadt1999-12-171-1/+2
|
* oopsderaadt1999-12-171-1/+3
|
* rresvport_af() and bindresvport_af()deraadt1999-12-164-44/+138
|
* incorrect bounds on strlcpy()deraadt1999-12-161-2/+2
|
* sync KAME rcsid.itojun1999-12-121-2/+2
|
* inet6_rthdr_reverse() is not available yet.itojun1999-12-121-1/+4
|
* prevent bogus reverse query for 1.0.0.0.in-addr.arpa.itojun1999-12-111-7/+5
| | | | this occurs by mixing up ::1 as IPv6 auto-tunnel address like ::10.1.1.1.
* fix gethostbyname2(foo, AF_INET6).itojun1999-12-111-1/+9
| | | | | on /etc/hosts lookup, file static variable "hosts" was damaged and prevented lookup of IPv6 hostnames.
* add inet6_option_* and inet6_rthdr_*.itojun1999-12-116-2/+1520
| | | | increase shlib minor.
* fix BIND820 bug in inet_pton(). it should bark if there's ambiguousitojun1999-12-081-2/+4
| | | | text after IPv6 address string, like "0:1:2:3:4:5:6:7:8".
* fix DNS; all this is due for squishing in a few days anyways, i suspect; ↵deraadt1999-12-071-0/+1
| | | | fujiwara@rcac.tdi.co.jp
* do not assume shell scripts are +x; dderaadt1999-11-2379-85/+85
|
* Add missing MLINKsmillert1999-11-173-4/+8
|
* Clean up memchr slightly to better match coming memrchrespie1999-11-141-4/+4
| | | | (K&R-style type promotions are evil),
* Tweaks; millert@aaron1999-11-101-8/+9
|
* calloc.c is backmillert1999-11-101-1/+1
|
* calloc() needs to be separate from malloc in case a user wants to havemillert1999-11-102-25/+54
| | | | their own malloc() implementation.