summaryrefslogtreecommitdiff
path: root/src/lib/libc/net (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* revise extended scoped address format support. delimiter and the orderitojun2000-02-092-111/+221
| | | | | | | | 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).
* 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..
* 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
|
* _THREAD_PRIVATE_* macros changedd2000-01-062-5/+5
|
* allow reverse lookup for v4 loopbacknet (127.0.0.0/8).itojun2000-01-051-1/+5
|
* Xr getnameinfo and friendsderaadt2000-01-051-1/+3
|
* 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
* 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
* Add missing MLINKsmillert1999-11-171-1/+2
|
* Correct buffer size.alex1999-09-271-3/+3
|
* typoderaadt1999-09-031-3/+3
|
* sizeof("string") includes 0 byte; aazubel@tatu.cnba.uba.arderaadt1999-09-031-2/+2
|
* Use strtol() and strtoul() instead of atoi(). This allows us to catchmillert1999-09-033-16/+29
| | | | errors reasonably and deal correctly with unsigned quantities.
* add an inner xor to make prediction attacks against the ids harder, dueprovos1999-08-261-3/+5
| | | | to an attack pointed out by David Wagner.
* use SIOCGIFCONF much more carefullyderaadt1999-07-083-42/+102
|
* use .Li to refer to data typesaaron1999-07-051-2/+3
|
* repairs; better English, formatting, etc.aaron1999-07-0518-266/+299
|
* trash some old leftover macros and replace them with -mdoc macrosaaron1999-07-041-2/+1
|
* cleaned upderaadt1999-07-032-633/+678
|
* if_freenameindex() APIderaadt1999-07-032-11/+19
|
* cleanerderaadt1999-07-033-9/+208
|
* man pages from WIDEderaadt1999-07-033-2/+498
|
* install man pagederaadt1999-07-031-2/+2
|
* man page for net_addrcmp(3)aaron1999-07-031-0/+64
|
* Ignore SIGs in the answer section for now as we don't use them (yet).jakob1999-07-031-1/+6
| | | | OK'd by deraadt.