summaryrefslogtreecommitdiffstats
path: root/usr.sbin/inetd/inetd.h
Commit message (Collapse)AuthorAgeFilesLines
* Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived softwareimp2004-08-071-4/+0
| | | | (with permission of addtional copyright holders where appropriate)
* Add capability for limiting the maximum number of simultaneousume2002-08-071-0/+18
| | | | | | | | | invocations of each service from a single IP address. Requested by: matusita Reviewed by: dwmalone Tested by: matusita on snapshots.jp.FreeBSD.org MFC after: 2 weeks
* Kill __P, yuck.jmallett2002-06-211-9/+9
|
* Fix most of the warnings given by WARNS=2.dwmalone2001-06-241-42/+11
|
* Give inetd the ability to manage unix domain sockets. Details ofdwmalone2001-06-161-0/+6
| | | | | | | | | | | how to use this feature are in the man page. This is based on work by Lyndon Nerenberg. (The only difficult part about this patch is the fact that you can't fchown a unix domain socket, which means the sockets must be put in a secure directory). Reviewed by: dillon
* Get rid of se_ctladdrinitok, which doesn't do anything and seemesdwmalone2001-06-061-2/+0
| | | | | | | to have been accidently imported when ipv6 support was added to inetd. Approved by: ume
* This patch cleans up the ident stuff in inetd. The code which hasdwmalone2001-06-041-1/+1
| | | | | | | | | | | | | | | | | | | been patched so many times it was a bit of a mess. There are style, code and man page cleanups. The following are the functional changes: The RFC only permits the returning of 4 possible error codes, make sure we only return these (PR 27636). Use MAXLOGNAME to determine the longest usernames. Add a -i flag, which returns the uid instead of the username (this is from a PR 25787, which also contained alot of the cleanups in this patch). PR: 25787, 27636 Partially Submitted by: Arne.Dag.Fidjestol@idi.ntnu.no Reviewed by: Arne.Dag.Fidjestol@idi.ntnu.no, green MFC after: 3 weeks
* Various cleanups of inetd: Avoid shadowing variables, use socklen_tdwmalone2001-01-221-1/+1
| | | | | | | instead of ints, don't cast to char *, clear up some remote name handling code which had become a little odd. Should result in no functional changes.
* Tidy up some prototypes:dwmalone2000-12-031-1/+2
| | | | | | | make sure there is exactly one prototype for each function, use K&R style definitions everywhere to match dominant style, make flag_signal take an int to avoid problems if we have ANSI prototypes and K&R definitions.
* Fix two typos in comments.dwmalone2000-10-241-1/+1
| | | | | PR: 22268 Submitted by: Daniel S. Lewart <d-lewart@uiuc.edu>
* several tcp apps IPv6 updateshin2000-01-251-1/+26
| | | | | | | | | | | | -inetd -rshd -rlogind -telnetd -rsh -rlogin Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* This commit encompasses the following changes to inetd:green1999-07-221-2/+2
| | | | | | | | | | 1. Cleanups of ident_stream. "Evil" stdio is less used. 2. The BSD Copyright was added to the top of builtins.c. 3. As suggested, a timeout is now implemented in the ident service. It defaults to 10 seconds. If enough people want it, I'll make it configurable. Suggested by: msmith
* Move code for all builtin services from inetd.c to builtins.c, includingsheldonh1999-07-221-0/+134
the Green Piece. :-) In future, new builtin services are less likely to need to touch the already tangled inetd.c .
OpenPOWER on IntegriCloud