summaryrefslogtreecommitdiffstats
path: root/usr.sbin/inetd
Commit message (Collapse)AuthorAgeFilesLines
* Use err(3).charnier1997-09-192-50/+49
|
* Remove and odd sleep found by David Holland and posted to -security.imp1997-08-291-3/+4
| | | | | Reviewed by: Theo de Raadt (who put it into OpenBSD) Submitted by: David Holland <dholland@eecs.harvard.edu>
* login_getclass() -> login_getpwclass().davidn1997-05-101-3/+2
|
* Condition SO_PRIVSTATE twiddling on the definedness of SO_PRIVSTATE.wollman1997-04-281-1/+3
| | | | (This was done as a #ifdef to keep source compatibility between 2.2 and 3.0.)
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-311-2/+2
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-223-3/+3
|
* The "-a" option for inetd specifies a specific IP address for thejulian1997-02-051-0/+1
| | | | | | | | | | | server to bind to. This works until you send it a SIGHUP with a new service defined ... the new service is bound to INADDR_ANY. This patch fixes this bug (in both RELENG_2_2 and -current). This is a 2.2 candidate..(i.e. pure bug fix) Submitted by: Archie Cobbs (archie@whistle.com)
* Sort cross references.wosch1997-01-201-2/+2
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-143-3/+3
| | | | | | | | 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.
* Implement minimal login class support (ie: does a setusercontext()).peter1997-01-132-2/+27
| | | | Enabled by defining LOGIN_CAP in Makefile, on by default.
* Reviewed by: Bill fennerjulian1996-11-103-76/+227
| | | | | | | | | | | 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.
* Reviewed by: Bill fennerjulian1996-11-101-34/+30
| | | | | | Submitted by: Archie Cobbs (archie@whistle.com) changes to make inetd compile cleaner under -Wall
* Fix incorrect length argument to memset() function. Closes PR#1937.alex1996-11-011-2/+2
| | | | Submitted by: Archie Cobbs <archie@whistle.com>
* Do not modify a malloc()ed pointer; instead, use memmove().joerg1996-10-281-2/+3
| | | | Detected by: phkmalloc - AJ :)
* Reviewed by: variousjulian1996-08-092-7/+27
| | | | | | | | | Submitted by: archie@whistle.com changes to allow inetd to bind to a single interface for more complicated options see xinetd in ports. Obtained from: whistle.com
* Increased listen() queue-depth limit to 64.dg1996-07-171-2/+2
|
* Add $Id$gpalmer1996-05-071-0/+1
|
* Call setsockopt(SO_PRIVSTATE) to renounce SS_PRIV on all the socketswollman1996-02-072-36/+69
| | | | | | | we create. (Nothing being called from inetd should use it anyway, but you can never be too careful.) Translate the man page back into -mdoc.
* Fix a bunch of spelling errors in a bunch of man pages.mpp1996-01-301-2/+2
|
* Make inetd use setproctitle from libutil instead of it's own version.peter1996-01-012-5/+35
| | | | The old code can probably still be compiled with #define OLD_SETPROCTITLE
* Workaround for the setlogin()-in-same-session-as-inetd bug.peter1995-11-031-4/+25
| | | | | | | | | | | | | | | | | | | | | | | This causes: 1: inetd to clear it's getlogin() name at startup (in case the sysadmin logged in and su'ed to root and restarted inetd) 2: inetd to start each spawned process in it's own session. 3: inetd to call setlogin() on non-root processes (eg: uucp for uucico) 4: log failures more extensively This means that root spawned processes from inetd remain responsible for setting their login name if they change their uid. (eg: rshd, login, etc). If they do not do so, it is safer for them to have no "login name" than a wrong one (like "root") because the getlogin() system call is documented as "secure" on 4.4BSD. inetd when started from /etc/rc would have no login name anyway, so this isn't really a change - it's making it consistant with the bootup state... The setsid() change *may* cause something to break that is doing a setsid() itself and checking the result - it will fail now because it's already been done. The consensis seems to be that this is unlikely. David G. thinks this is acceptable as it is cleaner from an architectural point of view.
* Implement simple quoting for command args.adam1995-10-301-3/+10
| | | | Previously "abc xyz" became 2 args split at the space.
* Record PID in /var/run/inetd.pid and document same.wollman1995-10-123-4/+34
|
* Correct the "default rate" - it's 256/minute not 1000/minute.dg1995-10-091-2/+2
|
* Merge RELENG_2_0_5 into HEADrgrimes1995-06-111-3/+6
|
* Remove trailing whitespace.rgrimes1995-05-301-28/+28
|
* Disable UDP service looping attack.wollman1994-12-212-23/+73
|
* - increase TOOMANY, in line with 1.xcsgr1994-09-112-3/+34
| | | | - add logging option from 1.x
* Bring in handling of RPC services from 1.xcsgr1994-09-112-22/+191
| | | | (Guess who forgot to replace his inetd until today ;-)
* Get rid of update. Make man page installation work with our schemewollman1994-08-051-2/+2
| | | | (and rename a few in the process).
* BSD 4.4 Lite usr.sbin Sourcesrgrimes1994-05-264-0/+1675
OpenPOWER on IntegriCloud