aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libc/net/name6.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC: fix buffer overflows described in FreeBSD-SA-02:28.resolv.Trevor Johnson2002-07-101-1/+3
| | | | | | | Reviewed by: imp Notes: svn path=/releng/4.3/; revision=99716
* To define A RR to root (.) is valid in DNS. So, h_name = "" shouldn'tHajimu UMEMOTO2000-07-191-2/+2
| | | | | | | | | | | 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=/stable/4/; revision=63490
* MFC: (rev 1.13) fix a null-dereference problem.Ruslan Ermilov2000-07-031-5/+17
| | | | | | | PR: 19069 Notes: svn path=/stable/4/; revision=62443
* correct possible security issue(s) in name resolution, due to use ofJun-ichiro itojun Hagino2000-05-131-177/+391
| | | | | | | | | | | pre-4.9.7 BIND resolver code. ftp://ftp.kame.net/pub/mail-list/snap-users/2348 for details. (MFC 1.8 -> 1.9) reviewed by: ume Notes: svn path=/stable/4/; revision=60527
* Change getaddrinfo() resolve orderYoshinobu Inoue2000-04-201-31/+294
| | | | | | | | | | | | | | 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=/stable/4/; revision=59411
* Merge rev 1.7, uninitialized variable fix.Jonathan Lemon2000-03-151-1/+1
| | | | Notes: svn path=/stable/4/; revision=58097
* Add in IPV4 NIS support.Jonathan Lemon2000-03-091-0/+39
| | | | | | | | PR: 17290 (but not the same patch) Approved by: jkh Notes: svn path=/head/; revision=57878
* Let getaddrinfo() and related functions supports traditional IPv4 formatYoshinobu Inoue2000-02-101-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | (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
* Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(),Jason Evans2000-01-271-5/+5
| | | | | | | | | | | | | | | | | | | | 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
* added IPv6 unspecified addr check for getipnodebyaddr.Yoshinobu Inoue2000-01-131-0/+2
| | | | Notes: svn path=/head/; revision=55877
* Add three-tier symbol naming in support of POSIX thread cancellationJason Evans2000-01-121-5/+5
| | | | | | | | | 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
* Getaddrinfo(), getnameinfo(), and etc support in libc/net.Yoshinobu Inoue1999-12-281-0/+1260
Several udp and raw apps IPv6 support. Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project Notes: svn path=/head/; revision=55163