History log of /freebsd-current/libexec/fingerd/fingerd.c
Revision Date Author Comments
# 0b8224d1 24-Nov-2023 Warner Losh <imp@FreeBSD.org>

Remove copyright strings ifdef'd out

We've ifdef'd out the copyright strings for some time now. Go ahead and
remove the ifdefs. Plus whatever other detritis was left over from other
recent removals. These copyright strings are present in the comments and
are largely from CSRG's attempt at adding their copyright to every
binary file (which modern interpretations of the license doesn't
require).

Sponsored by: Netflix


# 43581d7b 23-Nov-2023 Warner Losh <imp@FreeBSD.org>

libexec: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by: Netflix


# eba230af 25-Sep-2023 John Baldwin <jhb@FreeBSD.org>

Purge more stray embedded $FreeBSD$ strings

These do not use __FBSDID but instead use bare char arrays.

Reviewed by: imp, emaste
Differential Revision: https://reviews.freebsd.org/D41957


# 8a16b7a1 20-Nov-2017 Pedro F. Giffuni <pfg@FreeBSD.org>

General further adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 3-Clause license.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.


# 2ec2c641 03-Jun-2016 Kurt Lidl <lidl@FreeBSD.org>

Add blacklist support to fingerd

Reviewed by: rpaulo
Approved by: rpaulo
Relnotes: YES
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D5916


# 5efaea4c 17-Feb-2014 Christian Brueffer <brueffer@FreeBSD.org>

Remove the 3rd clause ("advertising clause") of the BSD license as
permitted by the University of Berkeley on July 22, 1999.

Reviewed by: imp
MFC after: 1 week


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# b5914683 01-Apr-2010 Dag-Erling Smørgrav <des@FreeBSD.org>

Forgot to initialize the debug variable.

MFC after: 2 weeks


# 9481b542 01-Apr-2010 Dag-Erling Smørgrav <des@FreeBSD.org>

Add a debugging option (-d)
Add a -k option which fingerd(8) passes through to finger(1).

MFC after: 2 weeks


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# f9bcf9ca 03-Aug-2008 Colin Percival <cperciva@FreeBSD.org>

Mark functions as __dead2 in order to help the LLVM static checker
understand which code paths aren't possible.

This commit eliminates 117 false positive bug reports of the form
"allocate memory; error out if pointer is NULL; use pointer".


# 78e3eed0 14-Feb-2005 Stefan Farfeleder <stefanf@FreeBSD.org>

Fix most cases where the address of an int is passed to a function expecting a
socklen_t * argument.


# ece20938 29-Mar-2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Make fingerd(8) WARNS2 clean.


# 85fe8d41 13-Oct-2002 Kris Kennaway <kris@FreeBSD.org>

Mark the logerr() function __printflike().

MFC after: 3 days


# 80536ead 26-Jun-2002 Garrett Wollman <wollman@FreeBSD.org>

When the -p flag is specified, set an environment variable to the name
of the remote host (or rather, the name as mangled by realhostname_sa())
so that the process can use it to behave differently depending on the
origin on the request. We use this to implement rudimentary visibility
control on our user information.

Make sure that the child process's standard error goes through the same
NVT-ASCII filter as is applied to the standard output.

Don't attempt to call logerr() from the child since stdio is not safe in
a vforked process. Just write a message to fd 2 instead. (Ideally, the
parent would open two pipes, and siphon off our stderr to some place less
public, but I have not attempted to do so in this implementation.)


# f24b4798 30-May-2002 Garrett Wollman <wollman@FreeBSD.org>

Add used include of <string.h>.
Delete unused include of <strings.h>.


# c4eda42c 24-Feb-2002 Mike Barcroft <mike@FreeBSD.org>

Revert revision 1.11. FreeBSD/alpha has suppport for T/TCP.

MFC after: 1 week


# e4bc453c 03-Feb-2002 Warner Losh <imp@FreeBSD.org>

o Eliminate __P
o Use new-style function definitions
o remove some !__STDC__ code
o eliminate register


# 9f619f79 04-Oct-2001 Ruslan Ermilov <ru@FreeBSD.org>

Terminate the array of execv(3) pointers by a NULL pointer in the edge case.

PR: bin/30913
Submitted by: Dimitri Lommers <dimitri@hinttech.com>


# b27e228c 19-Jan-2001 Chris D. Faulhaber <jedgar@FreeBSD.org>

Check malloc() and strdup() return values

Reviewed by: kris


# 7395b85a 18-Feb-2000 Yoshinobu Inoue <shin@FreeBSD.org>

Support logging for IPv6 remote host.

Approved by: jkh

PR: bin/16789
Submitted by: Ben Smithurst <ben@scientia.demon.co.uk


# 7f3dea24 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# d050fd42 17-May-1999 Peter Wemm <peter@FreeBSD.org>

Identify illegal switches, don't print them as '?' in the error..


# d9dc7d5c 07-Apr-1999 Brian Somers <brian@FreeBSD.org>

Fix the size of rhost, don't forget to NUL terminate
it and use brackets for sizeof.
Requested by: bde


# 32af26a5 06-Apr-1999 Brian Somers <brian@FreeBSD.org>

Use realhostname() rather than various combinations of
gethostbyaddr() & gethostbyname().

Remove brokeness in ftpd for hosts of MAXHOSTNAMELEN length.


# 63e7e54a 14-May-1998 John Birrell <jb@FreeBSD.org>

NetBSD kernels don't support TCP_NOPUSH, so on alpha don't try setting
this socket option. This is temporary code while the alpha still uses
NetBSD socket code in the kernel.


# 74b634ac 20-Nov-1997 Philippe Charnier <charnier@FreeBSD.org>

Add const to copyright string. Put sccsid under #if 0/#endif control.


# c6633e1b 13-Nov-1997 Sean Eric Fagan <sef@FreeBSD.org>

Log the request from the remote side, in addition to it having happened.

Reviewed by: julian


# 91477cc4 28-Mar-1997 Warner Losh <imp@FreeBSD.org>

compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.


# 9e522f7a 22-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$


# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# dd07a867 17-Dec-1995 Garrett Wollman <wollman@FreeBSD.org>

Implement server-side transaction TCP. (Has no effect on non-TTCP clients.)


# 27988418 10-Dec-1995 Peter Wemm <peter@FreeBSD.org>

Fix the bug which allowed people to avoid the "-s" (secure) bug.
Now, "finger" is invoked with "--" before the first network supplied
argument, so the "--" and "-l" hacks will be stopped.


# 6c06b4e2 29-May-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

Remove trailing whitespace.


# 1adb7b0d 04-Feb-1995 Poul-Henning Kamp <phk@FreeBSD.org>

fixed spelling error.


# ea022d16 26-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite Libexec Sources