summaryrefslogtreecommitdiff
path: root/lib/libc/net
AgeCommit message (Collapse)Author
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>
2000-02-09revise extended scoped address format support. delimiter and the orderJun-ichiro itojun Hagino
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).
2000-01-30visit next addrinfo structure when rresvport_af() fails.Jun-ichiro itojun Hagino
this should fix situation like: - try to rcmd() to dual stack node from IPv4-only node/kernel
2000-01-28don't permit freeaddrinfo(NULL). now the behavior is consistentJun-ichiro itojun Hagino
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).
2000-01-27avoid memory leakage on freeaddrinfo().Jun-ichiro itojun Hagino
(this bug was introduced since we mix KAME getaddrinfo and NRL freeaddrinfo).
2000-01-27add IPv6-ready rcmd() friends.Jun-ichiro itojun Hagino
rcmd(): IPv4 only rcmd_af(): af independent ruserok(): af independent iruserok(): IPv4 only iruserok_sa(): af independent
2000-01-26fix RFC2553 conformance. AI_CANONNAME does not mean reverse query.Jun-ichiro itojun Hagino
2000-01-26man page updates from itojunTheo de Raadt
2000-01-26new bindresvport() semantics that itojun, shin, jean-luc and i have agreed ↵Theo de Raadt
on, which will be happy for the future. bindresvport_sa() for sockaddr *, too. docs later..
2000-01-18Repair duplicate word occurences; (as found by a Perl script sent to us fromAaron Campbell
Tom Christiansen <tchrist@perl.com>).
2000-01-18sync comment with code. remove #if 0'ed portion (AF filtering on nameJun-ichiro itojun Hagino
resolution) and add comment there.
2000-01-17do not filter address families that are not supported by kernel.Jun-ichiro itojun Hagino
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.
2000-01-17indentTheo de Raadt
2000-01-17sync with latest KAME version. now includes description on scoped addrJun-ichiro itojun Hagino
extension. add examples (good enough? >deraadt)
2000-01-17remove #if 0'ed part.Jun-ichiro itojun Hagino
2000-01-06fix includes; bdeTheo de Raadt
2000-01-06_THREAD_PRIVATE_* macros changedDavid Leonard
2000-01-05allow reverse lookup for v4 loopbacknet (127.0.0.0/8).Jun-ichiro itojun Hagino
2000-01-05Xr getnameinfo and friendsTheo de Raadt
2000-01-03always enable IPv6 address in /etc/hosts (via _gethtent()).Jun-ichiro itojun Hagino
clarify RES_USE_INET6. the use of this bit is not meaningful on openbsd (as we don't have mapped addr support in kernel).
1999-12-30add the _af versions to the NAME chunkTheo de Raadt
1999-12-30replace NRL get{addr,name}info with KAME get{addr,name}info.Jun-ichiro itojun Hagino
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
1999-12-17more fixes from markusTheo de Raadt
1999-12-17nice error return; markusTheo de Raadt
1999-12-17oopsTheo de Raadt
1999-12-16rresvport_af() and bindresvport_af()Theo de Raadt
1999-12-16incorrect bounds on strlcpy()Theo de Raadt
1999-12-12sync KAME rcsid.Jun-ichiro itojun Hagino
1999-12-12inet6_rthdr_reverse() is not available yet.Jun-ichiro itojun Hagino
1999-12-11prevent bogus reverse query for 1.0.0.0.in-addr.arpa.Jun-ichiro itojun Hagino
this occurs by mixing up ::1 as IPv6 auto-tunnel address like ::10.1.1.1.
1999-12-11fix gethostbyname2(foo, AF_INET6).Jun-ichiro itojun Hagino
on /etc/hosts lookup, file static variable "hosts" was damaged and prevented lookup of IPv6 hostnames.
1999-12-11add inet6_option_* and inet6_rthdr_*.Jun-ichiro itojun Hagino
increase shlib minor.
1999-12-08fix BIND820 bug in inet_pton(). it should bark if there's ambiguousJun-ichiro itojun Hagino
text after IPv6 address string, like "0:1:2:3:4:5:6:7:8".
1999-12-07fix DNS; all this is due for squishing in a few days anyways, i suspect; ↵Theo de Raadt
fujiwara@rcac.tdi.co.jp
1999-11-17Add missing MLINKsTodd C. Miller
1999-09-27Correct buffer size.Alex Feldman