| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
back out the corresponding documentation.
Noticed by: brian, ume
Notes:
svn path=/head/; revision=64958
|
| |
|
|
|
|
|
|
|
|
|
| |
I changed to close to original code before merging IPv6 support.
It seems having delay before another try is useless. However, I'm
not sure that delay means. So, I leave it as-is.
PR: bin/20515
Notes:
svn path=/head/; revision=64493
|
| |
|
|
|
|
|
|
|
|
| |
kame)
s/.Os KAME/.Os/
comment From: Greg Thompson
Notes:
svn path=/head/; revision=64469
|
| |
|
|
|
|
|
| |
potential cancellation point in libc_r.
Notes:
svn path=/head/; revision=63704
|
| |
|
|
|
|
|
| |
Obtained from: KAME Project
Notes:
svn path=/head/; revision=63682
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
strdup()) rather than pointing it at something that's free()d
(via freeaddrinfo(res)) before the function returns.
I appreciate that this is an API change, but it's the only way
(AFAIK) of doing this without breaking existing code that uses
rcmd{,_af}().
Pointed out by: phkmalloc
Notes:
svn path=/head/; revision=63622
|
| |
|
|
|
|
|
|
|
|
|
| |
be treated as NULL.
PR: bin/19816
Submitted by: Bill Fenner <fenner@research.att.com>
Reviewed by: Atsushi Onoe <onoe@sm.sony.co.jp>
Notes:
svn path=/head/; revision=63490
|
| |
|
|
| |
Notes:
svn path=/head/; revision=63474
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
management involving rcmd_af(), getaddrinfo(), freeaddrinfo(), etc.
We set *ahost to point to ai->canonname; and later free the ai-> stuff
and still leave the old pointers in *ahost to the freed data.
Perhaps the best way to deal with this is a static buffer or a static
strdup() that is freed on the next iteration or something. This gives
me headaches just thinking about this.
The new 'AJ' default for malloc() tripped this up.
Notes:
svn path=/head/; revision=62939
|
| |
|
|
|
|
|
|
| |
portname. explicitly reject empty numeric portname.
sync with kame. based on comments from itohy@netbsd.org
Notes:
svn path=/head/; revision=62836
|
| |
|
|
|
|
|
|
| |
- correct scoped notation separator (s/@/%/)
- include example and more references
Notes:
svn path=/head/; revision=62625
|
| |
|
|
|
|
|
|
|
|
|
| |
- permit numeric scopeid, be more careful about buffer size
TODO: 2nd arg type should be socklen_t for RFC2553 conformance,
but due to include file dependency it is not a easy thing to do
(netdb.h does not have socklen_t)
Notes:
svn path=/head/; revision=62615
|
| |
|
|
|
|
|
|
| |
- better return code. from enami@netbsd
- do not use "class" as variable name. C++ guy had trouble with it.
Notes:
svn path=/head/; revision=62614
|
| |
|
|
|
|
|
|
|
| |
interface addresses in a portable manner, without headache of SIOCGIFCONF
or sysctl. it is in bsdi/openbsd/netbsd already.
from kame tree (actually, mandatory for latest kame tree).
Notes:
svn path=/head/; revision=62606
|
| |
|
|
|
|
|
|
|
|
| |
the bogus case by being stricter about errors.
Submitted by: itojun
Obtained from: KAME
Notes:
svn path=/head/; revision=62428
|
| |
|
|
|
|
|
|
|
|
|
| |
when parsing certain DNS records during a reverse address resolution. Thus
when code tries to examine the returned host name, it dereferences a null
pointer :-(
Problem noticed by: ps
Notes:
svn path=/head/; revision=62427
|
| |
|
|
|
|
|
|
|
|
|
|
| |
getaddrinfo() accidentally returns IPv4 mapped IPv6 address instead
of native IPv4 address.
Now, getaddinfo() is scoped address ready. You can put scoped
address within /etc/hosts.
Obtained from: KAME Project.
Notes:
svn path=/head/; revision=61877
|
| |
|
|
|
|
|
|
|
| |
kernel and compatibility issue.
Obtained from: KAME Project
Notes:
svn path=/head/; revision=61824
|
| |
|
|
|
|
|
|
|
| |
Cannot resolve any host on IPv4 only kernel.
Reported by: ache
Notes:
svn path=/head/; revision=61697
|
| |
|
|
|
|
|
|
|
| |
It is nessesary for IPv6 only life.
Obtained from: KAME
Notes:
svn path=/head/; revision=61556
|
| |
|
|
| |
Notes:
svn path=/head/; revision=61109
|
| |
|
|
|
|
|
|
|
| |
It was not discussed and should probably not happen.
Requested by: msmith and others
Notes:
svn path=/head/; revision=60938
|
| |
|
|
|
|
|
|
|
|
|
| |
the type argument to *_HEAD and *_ENTRY is a struct.
Suggested by: phk
Reviewed by: phk
Approved by: mdodd
Notes:
svn path=/head/; revision=60833
|
| |
|
|
|
|
|
| |
. spell inet6_rthdr_reverse correctly
Notes:
svn path=/head/; revision=60465
|
| |
|
|
|
|
|
|
| |
PR: 18465
Submitted by: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
Notes:
svn path=/head/; revision=60311
|
| |
|
|
|
|
|
|
|
|
| |
pre-4.9.7 BIND resolver code.
ftp://ftp.kame.net/pub/mail-list/snap-users/2348 for details.
Reviewed by: ume
Notes:
svn path=/head/; revision=60296
|
| |
|
|
| |
Notes:
svn path=/head/; revision=60078
|
| |
|
|
|
|
|
| |
More libraries manpages updates following.
Notes:
svn path=/head/; revision=59460
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
from
all AAAA trial, then all A trial
to
try AAAA and A for each trial
TODO: more fix for the case where IPv4 mapped IPv6 addr is disabled
Reviewed by: ume
Notes:
svn path=/head/; revision=59411
|
| |
|
|
|
|
|
|
|
|
| |
some reason. This will prevent an infinite loop if (say) a sigalarm is
being scheduled at a more frequent interval than the poll timeout.
PR: 2191, 8847, 10553
Notes:
svn path=/head/; revision=58637
|
| |
|
|
|
|
|
|
| |
Fixed spelling error in prototype for inet_option_space().
Fixed syntax error in prototype for inet6_option_alloc().
Notes:
svn path=/head/; revision=58490
|
| |
|
|
| |
Notes:
svn path=/head/; revision=58488
|
| |
|
|
|
|
|
| |
Losh).
Notes:
svn path=/head/; revision=58154
|
| |
|
|
|
|
|
| |
the .rhosts file just because there is no ending linefeed.
Notes:
svn path=/head/; revision=58152
|
| |
|
|
|
|
|
| |
Submitted by: tanimura
Notes:
svn path=/head/; revision=58096
|
| |
|
|
|
|
|
|
|
| |
Specified by: Robert Muir <rmuir@looksharp.net>
Obtained from: NetBSD
Notes:
svn path=/head/; revision=57940
|
| |
|
|
|
|
|
| |
order.
Notes:
svn path=/head/; revision=57939
|
| |
|
|
|
|
|
|
|
|
| |
recent changes to rcmd.3.
links to iruserok_af.3, ruserok_af.3 are removed.
link to iruserok_sa.3 is added.
Notes:
svn path=/head/; revision=57937
|
| |
|
|
|
|
|
| |
Obtained from: KAME project
Notes:
svn path=/head/; revision=57936
|
| |
|
|
|
|
|
|
| |
PR: 17290 (but not the same patch)
Approved by: jkh
Notes:
svn path=/head/; revision=57878
|
| |
|
|
|
|
|
|
| |
Submitted by: bde
Reviewed by: sheldonh
Notes:
svn path=/head/; revision=57866
|
| |
|
|
|
|
|
|
|
|
| |
Approved by: jkh
Submitted by: Partly from tech@openbsd
Reviewed by: itojun
Notes:
svn path=/head/; revision=57719
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-Added more description.
-Many grammer fix.
-Fix hard sentence break.
-Many other man style fix.
Thanks for bde finding out the problem.
Thanks for sheldon for the patient and thorough review.
:-)
Submitted by: bde
Reviewed by: sheldonh
Notes:
svn path=/head/; revision=57699
|
| |
|
|
|
|
|
|
| |
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
Notes:
svn path=/head/; revision=57686
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Sorry for the flapping, but no change will be done for 4.0 anymore.
Official standard will be published around April or later.
If different format would be adopted at that time, then support for
the new format will be added to the succeeding FreeBSD 4.x.
Approved by: jkh
Notes:
svn path=/head/; revision=57340
|
| |
|
|
|
|
|
|
|
|
|
|
| |
fit in the static buffer. This fix causes it to look like there is no
data available, which is also wrong but is better than dumping core.
PR: bin/10344
Reviewed by: billf
Approved by: jkh
Notes:
svn path=/head/; revision=57252
|
| |
|
|
|
|
|
|
|
|
|
| |
-Should not error return when rresvport_af() failed for one of dest
addrs resolved by getaddrinfo().
Should retry until all dest addr fail.
Approved by: jkh
Notes:
svn path=/head/; revision=57123
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(shortend format, etc)
Current KAME getaddrinfo() supports only d.d.d.d format IPv4
addr. But traditionally inet_aton() and etc support other formats.
(shortend format and octal/deciaml/hex format)
Aboud this,
-As far as the discussion on freebsd-current, many people
think traditional format should also be supported by getaddrinfo().
-X/Open spec requires getaddrinfo() also support those
traditional IPv4 format.
-RFC2553 say nothing about it.
-As the result of confirmation in ietf/ipng list, there is
no clear concensus yet, and the reply was, "RFC2553 update
and X/Open spec will be in sync"
So takeing these conditions into account, I think
getaddrinfo() should also support traditional IPv4 format.
Specified by: Marc Schneiders <marc@oldserver.demon.nl>
Approved by: jkh
Notes:
svn path=/head/; revision=57107
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
KAME scoped addr format is changed recently.
before: addr@scope
now: scope%addr
Because the end of IPv6 numeric addr is tend to be truncated in
`netstat -rn ` output, so placing scope part at starting of addr
will be convenient.
Approved by: jkh
Obtained from: KAME project
Notes:
svn path=/head/; revision=57069
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some of rcmd related function is need to be updated to
support IPv6. Some of them are already updated as standard
document. But there is also several de-facto functions and
they are not listed in standard documents.
They are,
iruserok() (used by rlogind, rshd)
ruserok() (used by kerberos, etc)
KAME package updated those functions in original way.
iruserok_af()
ruserok_af()
But recently there was discussion on IETF IPng mailing
list about how to sync those API, and it is decided,
-Those function is not standard and not documented.
-But let BSDs sync their API as de-facto.
And after some discussion, it is announced that
-add update to iruserok() as iruserok_sa()
-no ruserok() API change(it is only updated internaly)
So I sync those API before 4.0 is released.
The changes are,
-prototype changes
-ruserok() internal update (use iruserok_sa() inside)
-removal of ruserok_af()
-change iruserok_af() as static functioin, and also prefix the name with __.
-add iruserok_sa() (Just call __iruserok_af() inside)
-adding flag AI_ALL to getipnodebyaddr() called from __icheckhost().
This is necessary to support IPv4 communication via AF_INET6 socket
could be correctly authenticated via iruserok_sa()
-irusreok_af() call is replaced to iruserok_sa() call
in rlogind, and rshd.
Approved by: jkh
Notes:
svn path=/head/; revision=56939
|