Home | History | Annotate | Download | only in ypserv
History log of /src/usr.sbin/ypserv/ypserv/ypserv.h
RevisionDateAuthorComments
 1.6  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.5  06-Jul-2002  wiz branches: 1.5.30;
De-__P(), ANSIfy the one function that wasn't, and unifdef __STDC__.
 1.4  22-Jan-1999  thorpej Throw out the old ypserv access control list code. Instead, use libwrap
for access control. Add a -l option, to enable logging of all requests.
Also, just use syslog(3) for all logging, not home-grown logging code.
 1.3  15-Oct-1997  lukem database routines:
- rename OPTDB to OPTIMIZE_DB
- if OPTIMIZE_DB, in ypdb_open(), close a database if the open failed
with ENFILE or EMFILE [from openbsd].
- because of the above, don't bother checking first if any FDs are
available (with open("/", RDONLY) - it's a superfluous check.
- ensure that *map_info is set if a database was a cached open -
without this fix OPTIMIZE_DB didn't work too well...
- enable OPTIMIZE_DB by default - should speed up lookups

secure map support:
- add ypdb_secure(), which returns non-zero if the map has the YP_SECURE
private key set (which makedbm(8) -s adds) [from openbsd]
- modify various functions to check if a map is secure, and if so,
refuse to serve information to clients not requesting from an
IPPORT_RESERVED port [from openbsd]
- ensure that domainnames and map names are valid (don't contain
"/"'s, aren't too long, etc) [idea from openbsd, but using our
_yp_invalid_domain() et al, which does more checking.]

misc:
- add rcsid's
- implement _yp_invalid_map() (complements _yp_invalid_domain() in
libc - eventually _yp_invalid_map() may move to libc...)
- use %#x instead of 0x%x in debug log messages
 1.2  30-Jul-1997  jtc Fix files using old TNF copyright notice
 1.1  09-Aug-1996  thorpej branches: 1.1.1;
Initial revision
 1.1.1.1  09-Aug-1996  thorpej A ypserv implementation, originally written by Mats O Jansson, with
some changes by me, including misc. cleanup, minor bug fixes, and
brand-new access control list code.
 1.5.30.1  18-May-2008  yamt sync with head.

RSS XML Feed