| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2019-06-28 | When system calls indicate an error they return -1, not some arbitrary | 1 | -3/+3 | ||
| value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future. | |||||
| 2018-08-03 | Move pledge to after getopt, when the finger program becomes known | 1 | -4/+6 | ||
| (defaults to /usr/bin/finger, but can be redefined with -P option). Then unveil that program for "x" (execution), and pledge as before. No other filesystem accesses occur after that point. | |||||
| 2015-11-13 | 4-step pledge in a program noone really uses anymore. | 1 | -1/+14 | ||
| pledge "stdio inet dns proc exec" at startup. In the logging codepath, "stdio dns proc exec" after getpeername() drop to stdio proc exec(), before fork / execve Parent moving data out of the pipe only needs "stdio" | |||||
| 2015-11-13 | _exit() in the child; as a result, must use syslog() directly. | 1 | -2/+3 | ||
| 2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | 1 | -2/+3 | ||
| possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||||
| 2015-01-15 | remove .Tn; from Jan Stary <hans at stare dot cz> | 1 | -9/+7 | ||
| 2014-11-20 | user error is not a bug. fingerd is not responsible for filtering out | 1 | -18/+3 | ||
| incorrect client garbage. ok deraadt sthen | |||||
| 2013-11-14 | Add STANDARDS section to finger(1)/fingerd(8). | 1 | -3/+10 | ||
| tweaks/ok jmc@ | |||||
| 2012-12-04 | remove some unnecessary sys/param.h inclusions | 1 | -2/+1 | ||
| 2009-10-27 | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | 1 | -15/+1 | ||
| unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | |||||
| 2008-08-11 | Prevent a buffer underrun if a line is received which only contains | 1 | -3/+3 | ||
| (multiple) @. ok millert, otto | |||||
| 2007-09-25 | better wording; from Tamas TEVESZ | 1 | -4/+4 | ||
| 2007-05-31 | convert to new .Dd format; | 1 | -3/+3 | ||
| 2006-08-19 | Don't shadow err(3). | 1 | -18/+17 | ||
| Store strlen() results in a size_t. Add __dead to both usage() and logerr(). Get rid of /* NOTREACHED */. Get rid of extraneous _exit(). Calls err(3) on getpeername failure. ``reads well to me!'' avsm@ | |||||
| 2006-01-17 | Incllude <sys/param.h> to get MAXHOSTNAMELEN | 1 | -3/+3 | ||
| 2003-11-02 | some corrections from wiz@netbsd; | 1 | -5/+5 | ||
| 2003-10-17 | slight update for fingerd; sort options; | 2 | -34/+37 | ||
| 2003-08-08 | refer to RFCs consistently (RFC XXXX); | 1 | -4/+3 | ||
| 2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | 3 | -20/+8 | ||
| rescinded 22 July 1999. Proofed by myself and Theo. | |||||
| 2002-09-06 | use socklen_t more; henning ok | 1 | -3/+3 | ||
| 2002-07-03 | KNF | 1 | -6/+4 | ||
| 2002-06-02 | minor KNF | 1 | -3/+3 | ||
| 2002-02-19 | We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft. | 1 | -18/+4 | ||
| 2002-02-16 | Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | 1 | -4/+4 | ||
| 2001-12-07 | kill more registers; | 1 | -4/+4 | ||
| millert@ ok | |||||
| 2001-11-27 | When copying command line arguments to out new argument vector, | 1 | -8/+12 | ||
| don't go past the end of the buffer. Not a security issue since root controls the fingerd arguments. Noticed by Brian Poole. | |||||
| 2001-11-13 | o) fix bogus .Xr usage; | 1 | -3/+3 | ||
| o) start new sentence on a new line; o) don't use .Xr instead of .Pa tag; o) minimal -mdoc design fixes; millert@ ok; | |||||
| 2001-08-18 | strlcpy invades the tree | 1 | -3/+3 | ||
| 2001-07-08 | -Wall | 1 | -4/+6 | ||
| 2001-01-28 | $OpenBSD$ | 2 | -3/+3 | ||
| 2001-01-25 | KNF | 1 | -3/+3 | ||
| 2000-09-08 | Some miscellaneous man page repairs. | 1 | -15/+16 | ||
| 2000-08-18 | check error result from getnameinfo. | 1 | -4/+8 | ||
| 2000-08-02 | update other obsoleted rfcs | 1 | -3/+3 | ||
| 2000-07-07 | Change fingerd back to using fgets(3), not fgetln(3). Using fgetln(3) | 1 | -25/+7 | ||
| 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. | |||||
| 2000-03-14 | Suffix "i.e." and "e.g." with a comma. Just another really picky man page | 1 | -4/+4 | ||
| commit, as we want our documentation to be as consistently formatted as possible (it's getting there :-)). | |||||
| 1999-11-15 | logging getpeername() failures is a waste of time | 1 | -4/+6 | ||
| 1999-08-02 | typo | 1 | -3/+3 | ||
| 1999-07-21 | use .Ar on later .It Fl lines | 1 | -3/+3 | ||
| 1999-07-20 | bad arguments? usage() should syslog() | 1 | -3/+13 | ||
| 1999-07-09 | - remove all trailing whitespace | 1 | -4/+4 | ||
| * except when it is escaped with a `\' at the end of the line - fix remaining .Nm usage as well - this is from a patch I received from kwesterback@home.com, who has been working on some scripts for fixing formatting errors in mdoc'd man pages Ok, so there could be a cost/benefit debate with this commit, but since I have the patch we might as well commit it... | |||||
| 1999-07-03 | use getnameinfo() | 1 | -13/+9 | ||
| 1999-05-23 | remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-common | 1 | -3/+3 | ||
| is used instead; kwesterback@home.com | |||||
| 1999-02-24 | fowarding -> forwarding | 1 | -3/+3 | ||
| 1997-11-21 | Remove LOG_CONS from openlog() call so every darned finger connect message | 1 | -3/+3 | ||
| doesn't go to console. Change discussed and checked with millert. | |||||
| 1997-11-17 | 1) use fgetln for arbitrary sized lines | 1 | -14/+42 | ||
| 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> | 1 | -3/+3 | ||
| 1997-08-16 | OpenBSD tags and document assumption about finger(1) arg parsing. | 1 | -2/+11 | ||
| 1997-07-25 | #if __STDC__ --> #ifdef __STDC__ | 1 | -4/+4 | ||
| 1997-07-23 | tabify | 1 | -2/+2 | ||
