summaryrefslogtreecommitdiff
path: root/lib/libc/net
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'.cvs2svn1995-08-301-0/+7
| | | | Notes: svn path=/stable/2.1/; revision=10481
* Brought in changes from main branch: update to BIND 4.9.3-beta24David Greenman1995-08-308-217/+412
| | | | Notes: svn path=/stable/2.1/; revision=10432
* Fix an 'oops' in a previous commit - part of a patch got applied twice.David Greenman1995-08-281-4/+0
| | | | Notes: svn path=/stable/2.1/; revision=10356
* Brought in changes from revs 1.4-1.7: various bug fixes.David Greenman1995-08-251-5/+23
| | | | Notes: svn path=/stable/2.1/; revision=10267
* Brought in changes from rev 1.2: make NIS ethers data appear inserted atDavid Greenman1995-08-251-23/+8
| | | | | | | "+". Notes: svn path=/stable/2.1/; revision=10266
* Brought in changes from rev 1.4 and 1.5: deal with comment characters.David Greenman1995-08-061-0/+4
| | | | Notes: svn path=/stable/2.1/; revision=9955
* This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'.cvs2svn1995-06-133-239/+0
| | | | Notes: svn path=/stable/2.1/; revision=9211
* Remove trailing whitespace.Rodney W. Grimes1995-05-3018-62/+62
| | | | Notes: svn path=/head/; revision=8870
* Add an ethers(3) man page.Bill Paul1995-04-122-3/+190
| | | | Notes: svn path=/head/; revision=7786
* Add ether_addr functions to libc. This seems to be the logical placeBill Paul1995-04-022-1/+235
| | | | | | | to put them. A man page is in the works. Notes: svn path=/head/; revision=7576
* Sicnce this code shares the same fragment as gethostnamaddr:Andrey A. Chernov1995-03-241-10/+16
| | | | | | | | | | | Change strtok() to strsep(), cause memory corruption for all programs which use strtok() too in the same time. Fix potential NULL reference, depends of /etc/hosts.conf format Fix the bug when service name fetched always from beginning of the line, not from parsed token. Notes: svn path=/head/; revision=7325
* Change strtok() to strsep(), cause memory corruption for allAndrey A. Chernov1995-03-241-10/+16
| | | | | | | | | | programs which use strtok() too in the same time. Fix potential NULL reference, depends of /etc/hosts.conf format Fix the bug when service name fetched always from beginning of the line, not from parsed token. Notes: svn path=/head/; revision=7324
* At last! Modified __ivaliduser() to do the same kind of user/host validationBill Paul1995-03-201-3/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that everyone else does: you can now use +host/-host, +user,-user and +@netgroup/-@netgroup in /etc/hosts.equiv, /.rhosts, /etc/hosts.lpd and ~/.rhosts. Previously, __ivaliduser would only do host/user matches, which was lame. This affects all the r-commands, lpd, and any other program/service that uses ruserok(). An example of the usefullness of this feature would be a hosts.equiv file that looks like this: +@equiv-hosts Since the netgroup database can now be accessed via NIS, this lets you set up client machines once and then never have to worry about them again: all hosts.equiv changes can now be done through NIS. Once I finish with getpwent.c, we'll be able to do similar wacky things with login authentication too. (Our password field substitution will finally be on par with everyone else's, and I'll finally be able to fully integrate my FreeBSD machine into my network without having to worry about the grad students sneaking into it when I'm not looking. :) Danger Will Robinson! I tested this thing every which way I could, but Murphy's Law applies! If anybody spots a potential security problem with the way my matching algorithm works, tell me immediately! I don't want crackers snickering and calling me names behind my back. :) Notes: svn path=/head/; revision=7183
* In _gethostbydnsaddr(), force RES_RECURSE into _res.options. This isGarrett Wollman1994-12-011-1/+4
| | | | | | | | | incredibly obnoxious, but also makes inverse mappings work when the local resolver is in a cache-only configuration. (Maybe this is actually a bug in BIND?) Notes: svn path=/head/; revision=4892
* >Description:Rodney W. Grimes1994-10-272-1/+2
| | | | | | | | | | | | | | | | | While trying to figure out why rlogind wasn't working right for root, I noticed that man wouldn't come back with a man page for iruserok, but it would for ruserok. Checking the lib/net directory's Makefile.inc file shows that the link to the rcmd man page just isn't getting created. >How-To-Repeat: Do a 'man iruserok' and notihing will come back, where a 'man ruserok' will. Submitted by: Brian Moore <ziff@houdini.eecs.umich.edu> Obtained from: NetBSD-bugs mailing list Notes: svn path=/head/; revision=3932
* Use same configuration file, /etc/host.conf, for both gethost* andGarrett Wollman1994-09-261-7/+9
| | | | | | | | | getnet* configuration. (It's highly unlikely that you'd want to do something different, and network lookups aren't common enough to justify their own configuration file.) Notes: svn path=/head/; revision=3136
* Fixed YP networks map support.Garrett Wollman1994-09-261-7/+24
| | | | Notes: svn path=/head/; revision=3108
* remove need for -DDEBUG from resolver code (conflict with db/hash)Paul Traina1994-09-257-77/+38
| | | | Notes: svn path=/head/; revision=3094
* get* rework and new bind codePaul Traina1994-09-2515-1090/+2785
| | | | Notes: svn path=/head/; revision=3070
* Make iso_addr's output conform to modern conventions for NSAPPaul Traina1994-09-221-18/+16
| | | | | | | | representation. Original code by pst but ported in as part of enhancements to BIND 4.9.2 and returned to Vixie. Notes: svn path=/head/; revision=2978
* Based on fix from 1.1.5.1:Geoff Rehmet1994-09-081-1/+10
| | | | | | | | | | | | | | >From: jtk@atria.com (John T. Kohl) in rcmd: It calls select() with a hardcoded "number of file descriptors" argument of 32, rather than computing it based on the sockets about which it cares. - Now we work out the nfds arg, and do some error checking Submitted by: Geoff. Notes: svn path=/head/; revision=2592
* Fix gethostbyaddr():Geoff Rehmet1994-08-281-2/+2
| | | | | | | | call _getdnsbyaddr() instead of _getdnsbyname() ;-) Submitted by: Geoff Notes: svn path=/head/; revision=2330
* Fixed typo.Garrett Wollman1994-08-091-2/+2
| | | | Notes: svn path=/head/; revision=1992
* Add (substantially re-written) support for /etc/host.conf, and reintegratedGarrett Wollman1994-08-091-11/+196
| | | | | | | | | | | | 1.1.5 support for YP, fixing a bug in 1.1.5 that prevented YP from ever working reliably. (I'm amazed that there were no bug reports.) IWBRNI someone could write a host.conf(5) manual page. Please look at the code before doing so; this version is somewhat more flexible in the format of its input. Notes: svn path=/head/; revision=1991
* First crack at making libc work with the new make macros. It compiles onGarrett Wollman1994-08-051-2/+3
| | | | | | | | my machine, and a simple static (genassym) and shared (sysctl) executable both work. Still to be done: RPCand YP merge. Notes: svn path=/head/; revision=1849
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-2743-0/+7156
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573