summaryrefslogtreecommitdiff
path: root/libexec/fingerd/fingerd.c
AgeCommit message (Collapse)Author
2006-01-17Incllude <sys/param.h> to get MAXHOSTNAMELENTodd C. Miller
2003-10-17slight update for fingerd; sort options;Jason McIntyre
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-09-06use socklen_t more; henning okTheo de Raadt
2002-07-03KNFTheo de Raadt
2002-06-02minor KNFTheo de Raadt
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-12-07kill more registers;Mike Pechkin
millert@ ok
2001-11-27When copying command line arguments to out new argument vector,Todd C. Miller
don't go past the end of the buffer. Not a security issue since root controls the fingerd arguments. Noticed by Brian Poole.
2001-08-18strlcpy invades the treeTheo de Raadt
2001-07-08-WallTheo de Raadt
2001-01-25KNFTheo de Raadt
2000-08-18check error result from getnameinfo.Jun-ichiro itojun Hagino
2000-07-07Change fingerd back to using fgets(3), not fgetln(3). Using fgetln(3)Todd C. Miller
was a mistake since it allows an attacker to trivially drive up the load on a machine. Of course, this can still be done with multiple connections but there's no reason to make it easier than it needs to be. This also simplifies the logging a bit.
1999-11-15logging getpeername() failures is a waste of timeTheo de Raadt
1999-08-02typoPaul Janzen
1999-07-20bad arguments? usage() should syslog()Theo de Raadt
1999-07-03use getnameinfo()Theo de Raadt
1999-02-24fowarding -> forwardingAaron Campbell
1997-11-21Remove LOG_CONS from openlog() call so every darned finger connect messagegene
doesn't go to console. Change discussed and checked with millert.
1997-11-171) use fgetln for arbitrary sized linesTodd C. Miller
2) do puts("foo\r") not puts("foo\r\n") as puts adds a \n itself 3) log the command given when -l is specified, replacing \r, \n, NULL with ' ' 4) with -l, log possible probes (ie: EOF) that were previously ignored
1997-08-16<string.h> not <strings.h>Todd C. Miller
1997-08-16OpenBSD tags and document assumption about finger(1) arg parsing.Todd C. Miller
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-07-23tabifykstailey
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-12-08Add -M.Jason Downs
1996-07-16Updated to 4.4BSD fingerd + Theo's @@@@ optimization and someTodd C. Miller
added options to further restrict the info given out.
1996-06-24add -s flag; if specified in inetd, does not allow forwarding @ requestsTheo de Raadt
1996-05-30optimize something like "finger @@@@@@@@@@@@@cvs@@@@@@cvs@@@@@@cvs' to hitTheo de Raadt
fewer hosts. Basically, chew @ signs when possible.
1995-10-18initial import of NetBSD treeTheo de Raadt