Age | Commit message (Collapse) | Author | |
---|---|---|---|
1996-12-07 | -d is not always needed. the magic cookie stuff works | Theo de Raadt | |
1996-12-02 | bail nice | Theo de Raadt | |
1996-11-11 | plug db descriptor leak | Niklas Hallqvist | |
1996-11-08 | Fix grammatical error | Niklas Hallqvist | |
1996-10-03 | net byte order for clear check | Theo de Raadt | |
1996-10-02 | int ch; from ws@netbsd | Theo de Raadt | |
1996-10-01 | simplify check | Theo de Raadt | |
1996-09-30 | sin_port in net order; _exit() after vfork() | Theo de Raadt | |
1996-09-30 | Don't allow certain operations if not from a reserved port. -moj | Mats O Jansson | |
1996-09-29 | Fix hostname lookups (improper use of strncpy). | dm | |
1996-08-15 | for -C check to make sure we've got the proper number of args and give up | chuck | |
if not. | |||
1996-08-15 | fix printf format (%s -> %d) in yplog debug statement | chuck | |
1996-07-04 | portmap cannot do security, do not suggest it could; pointed out by bitblt | Theo de Raadt | |
1996-06-30 | Added support for SIGHUP in ypserv for reread of /var/yp/securenet or | Mats O Jansson | |
aclfile. | |||
1996-06-27 | for DNS hosts.byname queries, supply all addresses | Theo de Raadt | |
1996-06-26 | Same copyright all over, removed my name from ypdb.[ch], small bugfix | Mats O Jansson | |
in ypserv_db.c /moj | |||
1996-05-30 | $OpenBSD$ tag and few spelling errors | Theo de Raadt | |
1996-05-30 | force gethostby{name,addr} to use bind (really ugly & trivial hack) | Theo de Raadt | |
1996-05-30 | do not use yp_prot.h | Theo de Raadt | |
1996-05-01 | no longer need yp.no directory.. install into /var/yp directly | Theo de Raadt | |
1996-04-24 | use yp.h instead of yp_prot.h | Theo de Raadt | |
1996-04-24 | slight cleanup, .Os strings, point at yp(8) | Theo de Raadt | |
1996-03-02 | Using TCP broke ypxfr -C which in turn caused yppush to fail on the | dm | |
master NIS server. I gave yp_bind_host an extra argument to select TCP/UDP transport. | |||
1996-03-02 | add_interdomain should succeed even with no YP_INTERDOMAIN record | dm | |
1996-03-02 | Added in stuff from 960121. Fixed several bugs in ypxfr. | dm | |
1996-01-20 | ypserv_xdr, as generated by rpcgen from yp.x with one major exception. | chuck | |
in xdr_ypresp_key_val() invert the order of loading the key and value (rpcgen says [1] stat, [2] key, [3] value, but the data on the wire comes in as [1] stat, [2] val, [3] key... you can't fix this in yp.x because if you invert the ordr in yp.x not only does it invert the order in ypserv_xdr.c, but it also inverts it in the structure in yp.h which cancels out the inversion in ypserv_xdr.c. i guess this means it is not possible to have a yp.x that descrives the YP protocol properly?). ***NOTE*** this file is also needed because some of the YP functions in libc are broken. For example, compare src/lib/libc/yp/xdryp.c's version of xdr_domainname() to the one in this file generated by rpcgen. Note that xdryp.c calls: if (!xdr_string(xdrs, &objp, YPMAXDOMAIN)) { /* xdryp.c */ while ypserv_xdr.c (generated by rpcgen) calls: if (!xdr_string(xdrs, objp, YPMAXDOMAIN)) { /* rpcgen */ (note the lack of "&" in the second line). Clearly libc is wrong and needs to be fixed (XXX). (Of course changing libc could break other YP stuff, which is why I haven't attemped it... :) ) When libc is fixed, it should be possible to phase out this file, I think. | |||
1996-01-20 | major revision and clean up by Chuck Cranor (i.e. me): | chuck | |
- convert to new yplog() function and clean up log message formats - remove transp args from all _svc functions since you can get it from rqstp->rq_xprt, and rpcgen seems to favor this format - delete all the calls to svc_sendreply() and svc_freeargs() as this can be done in one place in ypserv.c (except for the "all" request which forks off a child process) - avoid possible sprintf() buffer overflows by using snprintf() - use MAXPATHLEN, rather than a hardcoded 255. - eliminate un-needed static variables - avoid possible off by one buffer overflow in tid/prog/port and use snprintf() just to be sure. - random code cleanup and simplification | |||
1996-01-20 | major cleanup by Chuck Cranor | chuck | |
- use queue.h rather than do by hand - fix up logging to use new yplog - fix a few off by one errors - don't double malloc the DBM structure - avoid possible sprintf buffer overflows - random code cleanup | |||
1996-01-20 | Major reworking of ypserv.c by me: this program actually works now!! | chuck | |
highlights: - fixed yp first call (uses ypreq_nokey rather than ypreq_key, despite what yp.x says) - cleanup of looging - removed SVCXPRT args to "local" since you can get them from svc_req and this makes it look more like rpcgen's output - use new yplog() - add call to db init | |||
1996-01-20 | new yp.h, as generated by rpcgen. | chuck | |
1996-01-20 | minor clean up | chuck | |
1996-01-20 | use new yplog function | chuck | |
1996-01-20 | fixed string formatting, minor cleanup | chuck | |
1996-01-20 | main makefile | chuck | |
1996-01-20 | fixes: install Makefile.yp, Makefile.main | chuck | |
1996-01-20 | various changes (from me): | chuck | |
- don't store null in the database - use MAXPATHLEN - avoid sprintf() buffer overflows - minor cleanups | |||
1996-01-20 | Total re-write of yplog by Chuck Cranor | chuck | |
(made it more printf like) | |||
1996-01-20 | fix: adjust private keys to exclude the null in their size | chuck | |
(we don't store nulls in the db [any more]) | |||
1996-01-20 | cleanup: use snprintf() to prevent buffer overflow | chuck | |
1996-01-06 | Makefile.yp is /var/yp/Makefile | Theo de Raadt | |
1996-01-06 | resurrect Makefile.yp | Theo de Raadt | |
1995-12-24 | repair an obvious cpp syntax error | Theo de Raadt | |
1995-12-14 | Makefile.yp not here anymore | Theo de Raadt | |
1995-12-14 | install yp Makefile from here | Theo de Raadt | |
1995-11-08 | use /var/yp.no | Theo de Raadt | |
1995-11-06 | install the correct "ypmake" Makefile | Theo de Raadt | |
1995-11-01 | + full set of ypserv tools that compile | Theo de Raadt | |
1995-10-23 | add ypserv | Theo de Raadt | |