freebsd-skq/lib/libc/net
Bill Paul 8538335f21 At last! Modified __ivaliduser() to do the same kind of user/host validation
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. :)
1995-03-20 07:29:55 +00:00
..
byteorder.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
gethostbydns.c In _gethostbydnsaddr(), force RES_RECURSE into _res.options. This is 1994-12-01 22:25:38 +00:00
gethostbyht.c get* rework and new bind code 1994-09-25 02:12:49 +00:00
gethostbyname.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
gethostbynis.c get* rework and new bind code 1994-09-25 02:12:49 +00:00
gethostnamadr.c get* rework and new bind code 1994-09-25 02:12:49 +00:00
getnetbyaddr.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
getnetbydns.c remove need for -DDEBUG from resolver code (conflict with db/hash) 1994-09-25 17:45:41 +00:00
getnetbyht.c get* rework and new bind code 1994-09-25 02:12:49 +00:00
getnetbyname.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
getnetbynis.c Fixed YP networks map support. 1994-09-26 02:50:43 +00:00
getnetent.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
getnetent.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
getnetnamadr.c Use same configuration file, /etc/host.conf, for both gethost* and 1994-09-26 22:45:10 +00:00
getproto.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
getprotoent.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
getprotoent.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
getprotoname.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
getservbyname.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
getservbyport.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
getservent.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
getservent.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
herror.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
inet_addr.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
inet_lnaof.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
inet_makeaddr.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
inet_netof.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
inet_network.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
inet_ntoa.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
inet.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
iso_addr.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
iso_addr.c Make iso_addr's output conform to modern conventions for NSAP 1994-09-22 19:31:29 +00:00
linkaddr.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
linkaddr.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
Makefile.inc >Description: 1994-10-27 16:33:49 +00:00
ns_addr.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
ns_ntoa.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
ns.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
rcmd.3 >Description: 1994-10-27 16:33:49 +00:00
rcmd.c At last! Modified __ivaliduser() to do the same kind of user/host validation 1995-03-20 07:29:55 +00:00
recv.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
res_comp.c get* rework and new bind code 1994-09-25 02:12:49 +00:00
res_debug.c get* rework and new bind code 1994-09-25 02:12:49 +00:00
res_init.c remove need for -DDEBUG from resolver code (conflict with db/hash) 1994-09-25 17:45:41 +00:00
res_mkquery.c remove need for -DDEBUG from resolver code (conflict with db/hash) 1994-09-25 17:45:41 +00:00
res_query.c remove need for -DDEBUG from resolver code (conflict with db/hash) 1994-09-25 17:45:41 +00:00
res_send.c remove need for -DDEBUG from resolver code (conflict with db/hash) 1994-09-25 17:45:41 +00:00
resolver.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
send.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
sethostent.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00