History log of /freebsd-current/usr.sbin/inetd/Makefile
Revision Date Author Comments
# 8a7b6120 23-Nov-2023 Warner Losh <imp@FreeBSD.org>

usr.sbin: 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


# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# 751ded1d 27-Jan-2023 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Create a FreeBSD-inetd package

And put inetd and its config file in it.
This unbloat a bit FreeBSD-utilities and some people might not
want inetd always installed.

Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D38229


# c8863d05 31-Dec-2019 Kyle Evans <kevans@FreeBSD.org>

inetd: convert remaining bzero(3) to memset(3), NFC

This change is purely in the name of noise reduction from static analyzers
that want to complain that bzero(3) is obsolete in favor of memset(3).

With this, clang-analyze at least is now noise free. WARNS= 6 also appears
to have been OK for some time now, so drop the current setting and opt for
the default.


# 01b01229 15-Jul-2019 Warner Losh <imp@FreeBSD.org>

Remove all the RELEASE_CRUNCH instances that partially disable IPSEC

We remove IPSEC only in parts of the tree, and not others. RELEASE_CRUNCH to
disable it has not kept up with all its uses. Remove it. Should there be a real
need to disable IPSEC, one that hasn't shown up in the base system to date,
it can be re-added behind a WITHOUT_IPSEC build option.


# eecd0985 12-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move inetd.conf to usr.sbin/inetd/

This is pkgbase related as it uses CONFS to tag the file as a config file

Approved by: AllanJude (mentor)
Sponsored by: Essen Hackathon
Differential Revision: https://reviews.freebsd.org/D16693


# 63eca8f1 13-Jan-2017 Enji Cooper <ngie@FreeBSD.org>

Conditionalize libwrap support into inetd based on MK_TCP_WRAPPERS

This will allow inetd to stand by itself without libwrap.

MFC after: 2 weeks
Relnotes: yes
Reviewed by: hrs (earlier version)
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D9056


# c6db8143 25-Nov-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Convert usr.sbin to LIBADD
Reduce overlinking


# c6063d0d 05-May-2014 Warner Losh <imp@FreeBSD.org>

Use src.opts.mk in preference to bsd.own.mk except where we need stuff
from the latter.


# 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.


# 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.


# 71ccf092 02-Jan-2010 Ed Schouten <ed@FreeBSD.org>

The last big commit: let usr.sbin/ use WARNS=6 by default.


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

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


# 53bf725a 05-Jul-2007 Bjoern A. Zeeb <bz@FreeBSD.org>

Remove the -DFAST_IPSEC from Makefiles again.

This was needed during the IPSEC->FAST_IPSEC->IPSEC transition
period to not break the build after picking up netipsec header
files. Now that the FAST_IPSEC kernel option is gone and the
default is IPSEC again those defines are superfluous.

Approved by: re (rwatson)


# 8409aedf 30-Jun-2007 George V. Neville-Neil <gnn@FreeBSD.org>

Commit IPv6 support for FAST_IPSEC to the tree.
This commit includes all remaining changes for the time being including
user space updates.

Submitted by: bz
Approved by: re


# af73d4e6 31-Jul-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

inetd and telnetd are not included in the standard release
crunched floppies, but they can be included as options in
src/release/picobsd (omitted by default though.) Therefore
preserve the RELEASE_CRUNCH knob in their Makefiles, but
tell its real purpose in a comment.


# 68848109 27-Jul-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Obey MK_INET6_SUPPORT.


# f3c6fec0 17-Apr-2006 David Malone <dwmalone@FreeBSD.org>

Back out a Makefile change that accidently snook in.


# e90fa6a9 17-Apr-2006 David Malone <dwmalone@FreeBSD.org>

Port 37 (RFC 738) style times are supposed to be a 32 bit time since
1900 in network byte order. Use a uint32_t to calculate and send
the time, so that we don't need to know how big ints or longs are.

I used uint32_t instead of int in the patch, on the off chance
someone uses our inetd source on a system that doesnt 32 bit ints.

PR: 95290
Submitted by: Bruce Becker <hostmaster@whois.gts.net>
MFC after: 2 weeks


# b512f010 18-Jan-2006 Xin LI <delphij@FreeBSD.org>

Revert previous commit for now, which seems to have (re)introduced some
old bugs, as well as some unwanted side effects. I will do more
investigation and fix these issues first.

Pointed out by: dwmalone


# 4d115fef 18-Jan-2006 Xin LI <delphij@FreeBSD.org>

Improves and cleanups over inetd(8):

- Teach inetd(8) about kqueue, originally implemented by jmg@[1].
- Use new C99 style function prototypes instead of K&Rs.
- Raise WARNS from 2 to 6

Glanced at by: ru
MFC After: 2 weeks

[1] http://people.freebsd.org/~jmg/inetd.kq.patch,
http://people.freebsd.org/~jmg/inetd.kq.html


# e2c61774 30-Oct-2003 Peter Wemm <peter@FreeBSD.org>

Rather than use the gcc -fno-builtin-log flag, just rename the 'int log'
variable.


# 3bda2f43 25-Oct-2003 Peter Wemm <peter@FreeBSD.org>

Use -fno-builtin-log so gcc doesn't get ideas about using a math function
to log data. Clean up an unused variable that was hidden by the WARNS?=2
being commented out. Uncomment it now that it compiles cleanly again.


# 936664b1 15-Jul-2003 David Malone <dwmalone@FreeBSD.org>

Move my inetd maintainer note to src/MAINTAINERS.


# f328d583 05-Sep-2001 Dima Dorfman <dd@FreeBSD.org>

Use CFLAGS, not COPTS, in the Makefile. bsd.prog.mk conveniently adds
COPTS towards the end of final CFLAGS so that it can be used to
override Makefile and other defaults. Using it in Makefiles risks
having options set using it clobbered when somebody uses it on the
command line.

Approved by: bde


# 90e655ea 20-Jul-2001 David E. O'Brien <obrien@FreeBSD.org>

Perform a major cleanup of the usr.sbin Makefiles.
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.


# b14326ea 17-Jul-2001 David Malone <dwmalone@FreeBSD.org>

Turn off WARNS stuff. When combined with -nostdinc and system header
files that aren't WARNS clean it causes trouble.


# 20e1eb21 17-Jul-2001 David Malone <dwmalone@FreeBSD.org>

o Remove old setproctitle.
o Mark unused variables.
o Set WARNS?=2
o Results in no code changes.

Submitted by: Mike Barcroft <mike@q9media.com>


# a933327c 24-Jun-2001 David Malone <dwmalone@FreeBSD.org>

Don't add -Wall, as it's a compiler specific flag.


# 345e52e7 26-Mar-2001 Ruslan Ermilov <ru@FreeBSD.org>

- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.


# c73e22c3 20-Mar-2001 Ruslan Ermilov <ru@FreeBSD.org>

Set the default manual section for usr.sbin/ to 8.


# 1051d92c 21-Oct-2000 David Malone <dwmalone@FreeBSD.org>

Claim maintainership of inetd.


# 8f9196f4 09-Feb-2000 Luigi Rizzo <luigi@FreeBSD.org>

Make inetd picobsd friendly, dont use ipsec when RELEASE_CRUNCH
is defined

Approved-by: jordan


# e1bbe717 01-Feb-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Drop maintainership of inetd, since nobody respects it anyway.


# 0cac72f4 25-Jan-2000 Yoshinobu Inoue <shin@FreeBSD.org>

several tcp apps IPv6 update
-inetd
-rshd
-rlogind
-telnetd
-rsh
-rlogin

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project


# 97d92980 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 5dcb6878 26-Jul-1999 Dag-Erling Smørgrav <des@FreeBSD.org>

Pull on my asbestos undies and claim ownership of inetd to prevent further
flamage between our beloved messrs Hearn and Feldman. Further commits go
through me. I urge the contestants to direct their energies at cleaning
up main() in inetd.c, which has over time become a crawling horror.


# 5ff3afce 22-Jul-1999 Sheldon Hearn <sheldonh@FreeBSD.org>

Move code for all builtin services from inetd.c to builtins.c, including
the Green Piece. :-)

In future, new builtin services are less likely to need to touch the
already tangled inetd.c .


# b81a43e2 15-Jul-1999 Brian Feldman <green@FreeBSD.org>

By popular demand, ident_stream now takes arguments. Ex:
# This enables the old, fake ident service.
auth stream tcp nowait root internal
# This enables the new, real ident service.
auth stream tcp nowait root internal auth -r
# This enables ~/.fakeid support, too.
auth stream tcp nowait root internal auth -r -f


# d33eb4c8 14-Jul-1999 Brian Feldman <green@FreeBSD.org>

This is the working internal ident service. Turn it on by setting
the make variable REAL_IDENT, and ~/.fakeid support can be added
with FAKEID set. Note that the default behavior is the same as
the old behavior.


# 54f5ebed 27-Jun-1999 Sheldon Hearn <sheldonh@FreeBSD.org>

Add command-line option (-w), specified once to enable wrapping and
twice to enable wrapping for internal wrapping as well. If the option is
not specified wrapping is turned off so that inetd will behave exactly
as it used to before TCP Wrappers was imported.

Change etc/defaults/rc.conf so as to encourage wrapping on new systems.

Clarify the use of TCP Wrappers in the IMPLEMENTATION NOTES of the
manual page.

Approved by: jkh


# 1181cf3c 17-Jun-1999 Sheldon Hearn <sheldonh@FreeBSD.org>

Various fixes for inetd's TCP Wrappers support:

1) Handle forking and non-forking internal services correctly.
Turn on wrapping for internal services because it works now.
2) Preserve server names for each service on HUP.
3) Honour hosts_options(5) severity option.
4) Add IMPLEMENTATION NOTES section to clarify TCP Wrappers
usage and limitations.

This change may cause previously allowed builtin services (e.g. daytime)
to be denied in existing configurations.

PR: 12097
Reviewed by: markm
1)
Reported by: Pierre Beyssac <pb@fasterix.freenix.org>
2)
Submitted by: Masachika ISHIZUKA <ishizuka@ish.org>
3)
Submitted by: David Malone <dwmalone@maths.tcd.ie>


# 4e69f928 07-May-1999 Mark Murray <markm@FreeBSD.org>

There seems to be a problem (most likely when there is no hosts.allow)
with wrapping the internal services, so do not wrap them for now.


# d06590a5 11-Apr-1999 Mark Murray <markm@FreeBSD.org>

Fix the "internal" wrapping as well as a nasty bug involving
the daemon name vs the path. Also fix some warnings and improve
the wrapper section of the man page.

Nice debugging work by: Sheldon Hearn


# 9980037e 28-Mar-1999 Mark Murray <markm@FreeBSD.org>

Now inetd(8) has direct support for tcp_wrappers! Not working at the
moment is support for the internal serfvices, so these are not
enabled. Volunteers welcome!


# fbc2342c 12-Jan-1997 Peter Wemm <peter@FreeBSD.org>

Implement minimal login class support (ie: does a setusercontext()).
Enabled by defining LOGIN_CAP in Makefile, on by default.


# 0661be0b 10-Nov-1996 Julian Elischer <julian@FreeBSD.org>

Reviewed by: Bill fenner
Submitted by: Archie Cobbs (Archie@whistle.com)

Changes to allow inted to control the number of servers to
start on each service. This is a defence against a denial of service attack
in which the system is made unusable by
an external party. It also allows the behaviour of
small memory systems to be more accuratly predicted, by
bounding the extent to which processes can multiply.


# c1283020 01-Jan-1996 Peter Wemm <peter@FreeBSD.org>

Make inetd use setproctitle from libutil instead of it's own version.

The old code can probably still be compiled with #define OLD_SETPROCTITLE


# 84e59eb5 05-Aug-1994 Garrett Wollman <wollman@FreeBSD.org>

Get rid of update. Make man page installation work with our scheme
(and rename a few in the process).


# dea673e9 25-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite usr.sbin Sources