| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
just use _foo() <-- foo(). In the case of a libpthread that doesn't do
call conversion (such as linuxthreads and our upcoming libpthread), this
is adequate. In the case of libc_r, we still need three names, which are
now _thread_sys_foo() <-- _foo() <-- foo().
Convert all internal libc usage of: aio_suspend(), close(), fsync(), msync(),
nanosleep(), open(), fcntl(), read(), and write() to _foo() instead of foo().
Remove all internal libc usage of: creat(), pause(), sleep(), system(),
tcdrain(), wait(), and waitpid().
Make thread cancellation fully POSIX-compliant.
Suggested by: deischen
Notes:
svn path=/head/; revision=56698
|
| |
|
|
|
|
|
|
|
| |
This is merge from recent KAME fix to be more compliant with RFC2553.
Obtained from: KAME project
Notes:
svn path=/head/; revision=56671
|
| |
|
|
|
|
|
|
|
| |
already removed.
Specified by: Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>
Notes:
svn path=/head/; revision=56636
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
-changed bindresvport2 to bindresvport_sa
-merged the man into bindresvport.3
All discussion between Jean-Luc Richier <Jean-Luc.Richier@imag.fr>,
Theo de Raadt <deraadt@cvs.openbsd.org>, itojun, is reflected to
this code. (Actually Theo de Raadt write the code simultaneously as the
discussion change.)
Notes:
svn path=/head/; revision=56629
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
obtained from itojun.
-don't filter address families which are not supported by system at
FQDN resolving.
-don't do reverse lookup
I think I checked all lib and tools which use getaddrinfo() if
this change affect them.
Obtained from: KAME project
Notes:
svn path=/head/; revision=56627
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-inetd
-rshd
-rlogind
-telnetd
-rsh
-rlogin
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
Notes:
svn path=/head/; revision=56590
|
| |
|
|
|
|
|
|
|
|
|
| |
A new function bindresvport2(), AF independent version of bindresvport()
is also added.
Reviewed by: sumikawa
Obtained from: KAME project
Notes:
svn path=/head/; revision=55918
|
| |
|
|
| |
Notes:
svn path=/head/; revision=55877
|
| |
|
|
| |
Notes:
svn path=/head/; revision=55876
|
| |
|
|
|
|
|
|
|
| |
points. For library functions, the pattern is __sleep() <--
_libc_sleep() <-- sleep(). The arrows represent weak aliases. For
system calls, the pattern is _read() <-- _libc_read() <-- read().
Notes:
svn path=/head/; revision=55837
|
| |
|
|
|
|
|
|
| |
Use long lines instead of lines split with backslash-newline in synopsis.
My synopsis checker doesn't understand backslash-newline.
Notes:
svn path=/head/; revision=55474
|
| |
|
|
| |
Notes:
svn path=/head/; revision=55473
|
| |
|
|
|
|
|
|
|
|
| |
on encountering a real-world SIG record during a lookup of another type.
PR: bin/7352
Reviewed by: peter, eivind
Notes:
svn path=/head/; revision=55174
|
| |
|
|
|
|
|
|
|
|
|
| |
(1)added error check of if_nameindex() return value at getaddrinfo().
(2)print out more detailed information when getaddrinfo() error value
is EAI_SYSTEM.(in this case system error num is kept in errno)
(1) is Discovered by: jinmei@kame.net in KAME environment.
Notes:
svn path=/head/; revision=55167
|