1.28 from 1.27 included mkinstalldirs again (oops, thanks Nico Lumma) fixed various buffer sizes (thanks to Steffen Zahn) ffingerd has gotten too large and unwieldly and will soon be replaced. 1.27 from 1.26 --enable-daemontools configure option added. Bogus malloc introduced by IPv6 patch removed Little auditing of the use of string functions Makefile: ffingerd depends on config.h Removed bogus \n when logging a try to do an indirect query Another "syslog first, then puts" by Doobee <drt@ailis.de> 1.26 from 1.25 Added ipv6 support. I have received three independent patches for this, thanks to all submitters. Applied a makefile cleanup patch from Volker Borchert <bt@teknon.de> 1.25 from 1.24 Changed my email address to felix@fefe.de (which actually works, in contrast to leitner@inf.fu-berlin.de and leitner@math.fu-berlin.de is only a forwarder). 1.24 from 1.23 A few cosmetic Makefile changes, pointed out by Frederic L. W. Meunier <linux@olympiquedemarseille.org>. 1.23 from 1.22 syslog first, then puts. Remove closelogs. Again thanks to Volker. 1.22 from 1.21 Volker Borchert <bt@teknon.de> submitted several cleanups for Makefile.in: build from a different directory, he renamed the targets to be more GNU conformant, ... Thanks, Volker! 1.21 from 1.20 Reinhold Huber <rhuber@fs.tum.de> reported that ffingerd does not create the directories before installing to them. A BUGTRAQ discussion convinced me to change ffingerd behaviour of a home directory is not executable. In this case, ffingerd will now assume that the user does not want to be fingered. 1.20 from 1.19 Thomas Habets <thomas@habets.pp.se> reported a typo in the ffingerd error messages where a missing dot would subtly give away if a user was really nonexistant or just had a .nofinger file in his home. Thanks, Thomas! 1.19 from 1.18 Fixed reverse lookup (thanks to david.lichteblau@snafu.de). "make install" now installs the man page, too. 1.18 from 1.17 Lobotomized the sources so they even compile under SunOS 4.1.3. Even with SunOS 4.1.3 cc (non-ANSI!) 1.17 from 1.16 Removed second new line after "user does not want to be fingered" when a .nofinger file is in the home of a user. Thanks to scotty@epit.netset.com for the bug report. 1.16 from 1.15 Documentation update from ingo@garion.zerberus.de: * Mention .pubkey, .plan and .project in the man page. * s/pgpkey/pubkey/g in README. 1.15 from 1.14 Added bug fixes from bert@xpilot.org: * changed syslog(LOG_FACILITY,message) to syslog(LOG_FACILITY,"%s",message) * changed LOG_AUTH to LOG_DAEMON * changed one sockaddr to sockaddr_in with type casts * some minor and cosmetic changes 1.14 from 1.13 Added bug fixes from bert@xpilot.org. 1.13 from 1.12 Removed herror(). There is no herror under Solaris and it is not very useful to echo the error message to the remote client. Look for errno.h and sys/errno.h and include them. Solaris needs this. Reported by jwright@exodus.jwu.edu (Joshua Wright) Added check for -lgen. Unixware needs this for syslog(). Reported by Hannu Laurila <Hannu.Laurila@japo.fi> 1.12 from 1.11 Some people run ffingerd as root. I recommend against this. But if you still do so, ffingerd will now setuid() to the UID of the user. This will enable reading 700 directories over NFS, for example. 1.11 from 1.1 The symbolic link detection did not work, since I used stat() instead of lstat(). Big oops! While fixing that, I added a new syslog message: Aug 26 00:51:11 xorn syslog: file "/home/leitner/.plan" is a symbolic link to "/etc/shadow"! Fixed typo in "No PGP key" message. Remove anything after the first "," in the real name. Suggested a while back by someone whose E-mail address I forgot to record. Sorry. Remove leading "[ ]/[Ww][ ]" (requesting wide output). 1.1 from 1.0 Added a manual page. Fixed two buffer overflows (oops !) Renamed fingerd.c to ffingerd.c Removed the README from ffingerd.c Use PATH_MAX Remove \t from the output Renamed .pgpkey to .pubkey cleaned up the code Changed LOG_WARNING to LOG_INFO and moved it to config.h, so it can be changed easily Changed logging format so that it can be analyzed more easily if DNS lookup fails for some host Added syslog message when an unknown user is fingered ffingerd assumed that the query came from localhost if getpeername failed. Now it only assumes that if errno==ENOTSOCK. Otherwise there strerror(errno) message is printed to syslog. Thanks to Wolfgang Ley from DFN-CERT for all of these suggestions ! Added FASCIST_LOGGING define in config.h. This one logs all finger attempts.