| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
correct behavior against invalid sockaddr. previous code may return 0
(success) on invalid sockaddr.
sync with rfc2553bis regarding to getnameinfo error code. (sync with kame)
|
|
|
|
| |
translate DNS error code into getaddrinfo error code (EAI_xxx). PR 1229.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
- completely disable AI_ADDRCONFIG support (post RFC2553) since it does
not work for PF_UNSPEC.
- remove unused variables, some delint.
|
| |
|
| |
|
| |
|
|
|
|
| |
may need english check:-) (getifaddrs.c is straight import from bsdi4)
|
|
|
|
|
| |
- Some punctuation fixes.
- Some `id' -> `ID'.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
node (the srever server should return acount = 0 without error).
NetBSD PR: 9621
|
| |
|
| |
|
|
|
|
| |
correct.
|
| |
|
|
|
|
|
| |
documented in RFC2292.
from: shin@kame.net
|
|
|
|
|
| |
the code duplicate is necessary because there's no low-level resolver
function that looks up database against "any address family" query.
|
|
|
|
| |
systems with pre-4.2 sockaddrs.
|
| |
|
|
|
|
|
| |
- More mdoc macros where appropriate.
- Mention OpenBSD in HISTORY.
|
|
|
|
| |
in sync with kame and bsdi.
|
|
|
|
|
| |
this will help future apps from complexity of SIOCGIFCONF.
NOTE: getifaddrs(3) uses sysctl interface, not SIOCGIFCONF.
|
| |
|
|
|
|
|
|
| |
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?
|
|
|
|
|
|
|
|
| |
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.....
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
| |
NetBSD PR: 9413
From: Thilo Manske <Thilo.Manske@HEH.Uni-Oldenburg.DE>
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
| |
this should fix situation like:
- try to rcmd() to dual stack node from IPv4-only node/kernel
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
(this bug was introduced since we mix KAME getaddrinfo and NRL freeaddrinfo).
|
|
|
|
|
|
|
|
| |
rcmd(): IPv4 only
rcmd_af(): af independent
ruserok(): af independent
iruserok(): IPv4 only
iruserok_sa(): af independent
|
| |
|
| |
|
|
|
|
| |
on, which will be happy for the future. bindresvport_sa() for sockaddr *, too. docs later..
|
|
|
|
| |
Tom Christiansen <tchrist@perl.com>).
|
|
|
|
| |
resolution) and add comment there.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
extension. add examples (good enough? >deraadt)
|
| |
|
| |
|
| |
|