summaryrefslogtreecommitdiffstats
path: root/usr.sbin/inetd
Commit message (Collapse)AuthorAgeFilesLines
* Add used #include <limits.h>.wollman2002-10-271-3/+4
|
* When printing the wait status, break it down into a signal and a exit status.dwmalone2002-09-041-4/+10
| | | | | | PR: 41912 Submitted by: Aaron Smith <aaron@mutex.org> MFC after: 2 weeks
* Swap sense of no_v[46]bind variables and rename as v[46]bind_ok -dwmalone2002-09-041-19/+19
| | | | | | | this avoids some double negatives which are a bit difficult to parse. Always tread v[46]bind{,_ok} as booleans.
* Fix parsing of unix domain entries after addition of IPv6 RPC support.dwmalone2002-09-041-38/+39
| | | | | PR: 40771 Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
* Don't initialise policy, v4bind and v6bind where the variables aredwmalone2002-09-021-3/+10
| | | | | | | | | | | declared - it was bad style and caused a bug. v[46]bind need to be reset whenever we go to the "more:" label. Jean-Luc and I came up with this patch independently, so it had better be right! PR: 40771 Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
* tpc -> tcp in an error message.dwmalone2002-09-021-2/+2
| | | | | PR: 40771 Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
* Clear up a few warnings (unused variable, rpc versions are usigned so use %u,dwmalone2002-09-021-8/+7
| | | | | | rename a parameter to avoid shadowing a global). MFC after: 1 month
* mdoc(7) police: Removed redundant .Ns calls.ru2002-08-131-1/+1
|
* Add capability for limiting the maximum number of simultaneousume2002-08-073-4/+315
| | | | | | | | | 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
* use IPV6_V6ONLY instead of non standard IPV6_BINDV6ONLY.ume2002-07-221-4/+2
| | | | MFC after: 1 week
* Fix typo: corrisponds -> correspondsfanf2002-07-221-1/+1
|
* add support for rpc IPv6 (rpc/udp/46 ...)alfred2002-07-152-33/+103
| | | | Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
* The .Nm utilitycharnier2002-07-141-9/+6
|
* Replace the SWAP(var0,var1) macro with SWAP(type,var0,var1) and use it asjmallett2002-06-221-9/+9
| | | | | | | | | is appropriate to avoid using typeof/__typeof__. It is worth noting that SWAP() is only ever used to swap pointer values so 'void *' assumptions would have been acceptable, but I'd gladly pay you tuesday for a cheeseburger^W cleaner interface today. Poked into submission by: bde
* Unused macro.jmallett2002-06-221-1/+0
|
* __FBSDID() strategic insertion.jmallett2002-06-212-5/+6
|
* Kill __P, yuck.jmallett2002-06-213-46/+46
|
* Mark unused variables __unused.jmallett2002-06-212-5/+5
| | | | Built standalone, inetd(8) is WARNS=5 clean, WARNS=6 if you ignore %m fits.
* Use __typeof__ instead of typeof.jmallett2002-06-211-1/+1
|
* Kill bad whitespace and do some style cleanups as a result of the protoize.jmallett2002-06-211-30/+20
|
* ANSI prototypes via protoize(1).jmallett2002-06-212-100/+64
|
* Log invalid config entries. Make the -d option actually log tojwd2002-05-261-4/+7
| | | | | | | the terminal(-d fix from dwmalone). Approved by: dwmalone MFC after: 2 weeks
* Make compilable without -DINET6.ume2002-05-081-2/+2
|
* Log address family of a connection.ume2002-05-081-4/+6
| | | | | Requested by: matusita Reviewed by: matusita
* Correct spacing.dd2002-04-161-1/+1
|
* Introduce a version field to `struct xucred' in place of one of thedd2002-02-271-1/+1
| | | | | | | | | | | | spares (the size of the field was changed from u_short to u_int to reflect what it really ends up being). Accordingly, change users of xucred to set and check this field as appropriate. In the kernel, this is being done inside the new cru2x() routine which takes a `struct ucred' and fills out a `struct xucred' according to the former. This also has the pleasant sideaffect of removing some duplicate code. Reviewed by: rwatson
* Fix a typo.sheldonh2001-12-111-1/+1
| | | | Reported by: Jurrien Koopmans <jjkoopmans@home.nl>
* Use CFLAGS, not COPTS, in the Makefile. bsd.prog.mk conveniently addsdd2001-09-051-2/+2
| | | | | | | | | 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
* mdoc(7) police: s/BSD/.Bx/ where appropriate.ru2001-08-141-1/+2
|
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-201-5/+7
| | | | | 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.
* Turn off WARNS stuff. When combined with -nostdinc and system headerdwmalone2001-07-171-1/+1
| | | | files that aren't WARNS clean it causes trouble.
* o Remove old setproctitle.dwmalone2001-07-173-50/+9
| | | | | | | | o Mark unused variables. o Set WARNS?=2 o Results in no code changes. Submitted by: Mike Barcroft <mike@q9media.com>
* Remove whitespace at EOL.dd2001-07-151-25/+25
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.dd2001-07-091-1/+0
|
* mdoc(7) police: fixed markup, sorted xrefs.ru2001-07-051-13/+22
|
* mdoc(7) police: fix spacing and punctuation issues.dd2001-07-031-3/+2
|
* Don't add -Wall, as it's a compiler specific flag.dwmalone2001-06-241-1/+1
|
* Fix most of the warnings given by WARNS=2.dwmalone2001-06-243-105/+114
|
* Remove duplicate words.dd2001-06-241-1/+1
|
* Give inetd the ability to manage unix domain sockets. Details ofdwmalone2001-06-163-12/+169
| | | | | | | | | | | 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
* Correct cross-reference:sobomax2001-06-071-1/+1
| | | | | | portmap.8 --> rpcbind.8 Submitted by: .Xr testing script
* Get rid of se_ctladdrinitok, which doesn't do anything and seemesdwmalone2001-06-062-16/+0
| | | | | | | to have been accidently imported when ipv6 support was added to inetd. Approved by: ume
* Correct a comment - the time service returns seconds since 1900 not 1970.dwmalone2001-06-041-1/+1
| | | | Submitted by: ru
* This patch cleans up the ident stuff in inetd. The code which hasdwmalone2001-06-043-123/+145
| | | | | | | | | | | | | | | | | | | 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
* Recently, other BSDs had faith support in inetd. Though our inetd hasume2001-05-311-1/+7
| | | | | | | | it already, their syntax is not compatible with ours. It will confuse users. So, we have compatibility with their syntex. Approved by: dwmalone Obtained from: NetBSD
* Make dg_echo return up to the first 65536 bytes of a datagram.dwmalone2001-05-261-1/+1
| | | | | | | | | The patch I used isn't quite the one Lars suggested, but the size of the largest datagram you can recv isn't #defined anywhere, and probably isn't even bounded for some protocols. PR: 25050 Submitted by: Lars Eggert <larse@isi.edu>
* Don't spell requester as requestor.dwmalone2001-05-261-1/+1
|
* Allow ident requests with trailing junk following the terminating "\n".dwmalone2001-03-281-1/+3
| | | | | Reviewed by: ben Approved by: green
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
OpenPOWER on IntegriCloud