summaryrefslogtreecommitdiffstats
path: root/lib/libc/net
Commit message (Collapse)AuthorAgeFilesLines
* mdoc(7) police: removed history info from the .Os FreeBSD call.ru2000-12-141-1/+1
|
* mdoc(7) police: use canonical form of .Dd macro.ru2000-12-111-1/+2
|
* - __ivaliduser_sa() was introduced for forthcoming IPv6 support to lpdume2000-12-041-102/+170
| | | | | | | | | | | | | - iruserok_sa() and __ivaliduser_af() were re-organized to use __ivaliduser_sa() - __icheckhost() was re-written to use getaddrinfo() instead of getipnodebyname() - better handling of multiple destination addresses in rcmd() These changes were basically taken from KAME and changed to fit our rcmd.c. Obtained from: KAME
* mdoc(7) police: Er macro usage cleanup.ru2000-11-221-1/+1
|
* mdoc(7) police: Nm -> Fn where appropriate.ru2000-11-202-5/+5
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-101-1/+0
|
* Fix memory leak.sumikawa2000-10-291-0/+2
| | | | Obtained from: KAME
* defined HAVE_IFM_DATA for (free|net|open)bsdume2000-10-281-0/+5
| | | | | Submitted by: JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp> Obtained from: KAME Project
* Make RES_OPTIONS=inet6 work.ume2000-10-271-0/+4
| | | | | | Basically PR22196, but slightly modified. PR: bin/22196
* Fix pthread cancellation point propagation.jasone2000-10-121-5/+5
|
* Use issetugid instead of comparing get[ug]id and gete[ug]id.nectar2000-09-301-5/+2
| | | | Suggested by: Don Lewis <Don.Lewis@tsc.tdk.com>
* Ignore HESIOD_CONFIG and HES_DOMAIN environmental variables fornectar2000-09-291-2/+12
| | | | | | set-user-ID and set-group-ID programs. Suggested by: Danny Braniss <danny@cs.huji.ac.il>
* off-by-1 error in string length validationitojun2000-09-251-7/+6
| | | | From: Pavel Kankovsky <peak@argo.troja.mff.cuni.cz>
* Change from using poll(2) to kqueue/kevent when waiting for a DNSps2000-09-121-32/+30
| | | | | | | | | response to return. This will stop processes waiting on DNS requests from being woken up when a select collision occurs. This was tested on mx1.FreeBSD.org (outgoing mail for the FreeBSD.org mailing lists.) Reviewed by: jlemon, peter
* Set h_errno when an error is encountered.nectar2000-09-101-2/+9
| | | | | PR: bin/21092 Submitted by: Alexander Kabaev <ak03@gte.com>
* Fix getipnodebyname(3) bug.nectar2000-09-071-3/+4
| | | | Submitted by: ume
* Add nsswitch support. By creating an /etc/nsswitch.conf file, you cannectar2000-09-0622-725/+2217
| | | | | | | | | | | | | | | | | | | | | | | | | | configure FreeBSD so that various databases such as passwd and group can be looked up using flat files, NIS, or Hesiod. = Hesiod has been added to libc (see hesiod(3)). = A library routine for parsing nsswitch.conf and invoking callback functions as specified has been added to libc (see nsdispatch(3)). = The following C library functions have been modified to use nsdispatch: . getgrent, getgrnam, getgrgid . getpwent, getpwnam, getpwuid . getusershell . getaddrinfo . gethostbyname, gethostbyname2, gethostbyaddr . getnetbyname, getnetbyaddr . getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr = host.conf has been removed from src/etc. rc.network has been modified to warn that host.conf is no longer used at boot time. In addition, if there is a host.conf but no nsswitch.conf, the latter is created at boot time from the former. Obtained from: NetBSD
* Yank out the NOPOLL conditionals. libc_r no longer needs it, and thispeter2000-09-041-106/+28
| | | | | library depends on other things that come *way* later than poll() now (sigset size changes in particular)
* The API change mentioned in the previous revision has been backed out, sojhb2000-08-221-5/+0
| | | | | | back out the corresponding documentation. Noticed by: brian, ume
* Don't retry connecting via the same medium.ume2000-08-101-16/+8
| | | | | | | | 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
* mention getipnodeby* and get{addr,name}info are not thread-safe. (sync with ↵itojun2000-08-096-21/+110
| | | | | | | kame) s/.Os KAME/.Os/ comment From: Greg Thompson
* Use _close() instead of close() in addrconfig() to keep it from becoming ajasone2000-07-211-3/+3
| | | | potential cancellation point in libc_r.
* Copy canonname for *ahost, into static buffer.ume2000-07-201-10/+10
| | | | Obtained from: KAME Project
* Alocate rcmd{,_af}()'s *ahost argument using malloc() (wellbrian2000-07-202-3/+14
| | | | | | | | | | | 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
* To define A RR to root (.) is valid in DNS. So, h_name = "" shouldn'tume2000-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>
* Const'ify parameters to ethers(3) routines as appropriate.archie2000-07-182-10/+10
|
* Try and fix the worst of some highly bogus malloc/free resourcepeter2000-07-111-1/+1
| | | | | | | | | | | 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.
* reject empty scopeid. use strtoul() for checking all-numericness ofitojun2000-07-091-8/+15
| | | | | portname. explicitly reject empty numeric portname. sync with kame. based on comments from itohy@netbsd.org
* sync with more recent kame tree.itojun2000-07-052-45/+254
| | | | | - correct scoped notation separator (s/@/%/) - include example and more references
* sync with latest kame.itojun2000-07-051-70/+208
| | | | | | | | - 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)
* sync with kame.itojun2000-07-051-29/+50
| | | | | - better return code. from enami@netbsd - do not use "class" as variable name. C++ guy had trouble with it.
* add getifaddrs(3) from bsdi. this is a magic function which lets you grabitojun2000-07-053-2/+545
| | | | | | 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).
* Previous commit broke the case of chained CNAME entries. Instead handlekris2000-07-031-6/+18
| | | | | | | the bogus case by being stricter about errors. Submitted by: itojun Obtained from: KAME
* Fix a nasty bug which would leave the struct hostent incompletely filled outkris2000-07-031-1/+1
| | | | | | | | 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
* Don't call _getipnodebyname_multi(). It fixes the problem thatume2000-06-201-190/+1216
| | | | | | | | | 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.
* Re-commit DNS IPv6 transport support with fixes for IPv4 onlyume2000-06-192-59/+153
| | | | | | kernel and compatibility issue. Obtained from: KAME Project
* Backout my previous commit.ume2000-06-142-110/+56
| | | | | | Cannot resolve any host on IPv4 only kernel. Reported by: ache
* DNS IPv6 transport support.ume2000-06-112-56/+110
| | | | | | It is nessesary for IPv6 only life. Obtained from: KAME
* Fix an mdoc-o, and english.hoek2000-05-311-6/+6
|
* Back out the previous change to the queue(3) interface.jake2000-05-261-1/+1
| | | | | | It was not discussed and should probably not happen. Requested by: msmith and others
* Change the way that the queue(3) structures are declared; don't assume thatjake2000-05-231-1/+1
| | | | | | | | the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd
* . fix .Dt macro argumentphantom2000-05-121-2/+2
| | | | . spell inet6_rthdr_reverse correctly
* Supply only one author name per instance of %A, as per mdoc.samples(7).sheldonh2000-05-101-2/+5
| | | | | PR: 18465 Submitted by: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
* correct possible security issue(s) in name resolution, due to use ofitojun2000-05-101-177/+391
| | | | | | | pre-4.9.7 BIND resolver code. ftp://ftp.kame.net/pub/mail-list/snap-users/2348 for details. Reviewed by: ume
* Use `Er' variable to define first column width in ERRORS section.phantom2000-05-061-1/+1
|
* Introduce ".Lb" macro to libc manpages.phantom2000-04-2119-0/+38
| | | | More libraries manpages updates following.
* Change getaddrinfo() resolve ordershin2000-04-202-75/+317
| | | | | | | | | | | 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
* Decrement the timeout being passed to poll() if poll was interrupted forjlemon2000-03-261-5/+22
| | | | | | | 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
* Fixed missing #include of <sys/types.h> in synopsis.bde2000-03-231-2/+3
| | | | | Fixed spelling error in prototype for inet_option_space(). Fixed syntax error in prototype for inet6_option_alloc().
OpenPOWER on IntegriCloud