freebsd-nq/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
gethostbydns.c In _gethostbydnsaddr(), force RES_RECURSE into _res.options. This is 1994-12-01 22:25:38 +00:00
gethostbyht.c
gethostbyname.3
gethostbynis.c
gethostnamadr.c
getnetbyaddr.c
getnetbydns.c remove need for -DDEBUG from resolver code (conflict with db/hash) 1994-09-25 17:45:41 +00:00
getnetbyht.c
getnetbyname.c
getnetbynis.c Fixed YP networks map support. 1994-09-26 02:50:43 +00:00
getnetent.3
getnetent.c
getnetnamadr.c Use same configuration file, /etc/host.conf, for both gethost* and 1994-09-26 22:45:10 +00:00
getproto.c
getprotoent.3
getprotoent.c
getprotoname.c
getservbyname.c
getservbyport.c
getservent.3
getservent.c
herror.c
inet_addr.c
inet_lnaof.c
inet_makeaddr.c
inet_netof.c
inet_network.c
inet_ntoa.c
inet.3
iso_addr.3
iso_addr.c
linkaddr.3
linkaddr.c
Makefile.inc >Description: 1994-10-27 16:33:49 +00:00
ns_addr.c
ns_ntoa.c
ns.3
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
res_comp.c
res_debug.c
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
send.c
sethostent.c