summaryrefslogtreecommitdiff
path: root/usr.sbin/inetd
AgeCommit message (Collapse)Author
2003-10-21Don't assign NULL to an integer.fvdl
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22366, verified by myself.
2003-07-13use strlcpyitojun
2003-04-22"user:group=foo.bar" is weird. use colon on both sidesitojun
2003-04-22always configure IPV6_FAITH explicitly to avoid misconfiguring it on SIGHUP.itojun
sync w/kame
2003-02-25.Nm does not need a dummy argument ("") before punctuation orwiz
for correct formatting of the SYNOPSIS any longer.
2003-02-16Because signals are delivered synchronously via kqueue(2) there is notron
reason to block and release them at various places.
2003-02-16Now that signal handling is done via kqueue(2) we need to entertron
the event loop even if no sockets were created. This should fix PR bin/20369 by Martin Husemann.
2003-02-13Improve kqueue(2) utilization:tron
- Don't invoke kevent(2) for every single event change. Instead collect event changes and try to do them in the event loop. - Handle signals via kevent(2) to avoid race conditions for SIGHUP (which probably exist in the select(2) based implementation, too).
2003-02-12KNF.tron
2003-02-12Rewrite inetd(8) to use kqueue(2) for enhanced performance and scalability.tron
2003-01-02Fix typos pointed out by Igor Sobrado in PR misc/19621.jschauma
2002-09-19If we can't set FD_CLOEXEC on a listening socket, close it rather than allowingmycroft
it to be passed down to inetd's children. Note: Setting FD_CLOEXEC can't actually fail, but we did check for the error anyway...
2002-07-04correct udp-from-broadcast check. From: andre@ae-35.comitojun
2002-06-05on internal udp echoback service, reject request if source address is aitojun
broadcast address.
2002-06-01no need for inetd_dummy variable. from openbsditojun
2002-06-01minor KNFitojun
2002-06-01cleanup main() by splitting it up in two. inspired by openbsd changeitojun
2002-06-01socklen_t cleanup. make MULOG code actually compile (is there anyone usingitojun
it? otherwise, i'd like to nuke it)
2002-05-31use setproctitle(3); from itojun.christos
2002-01-21deamon -> daemonwiz
2002-01-19Drop some unnecessary .Pp, sort sections and SEE ALSO.wiz
2001-12-26Convert some 'long's to 'uint32_t's. Now rdate works against an LP64 box.abs
2001-11-19__ss_{len,family} #define hack is no longer necessaryitojun
2001-09-13CPPFLAGS, not CFLAGS, for -D.itojun
2001-04-06Negative exit code cleanup: Replace exit(-x) with exit(x).wiz
As seen on tech-userlevel.
2001-03-16Document TCPmux internal service, per additional discussion of PR 12325.fair
The text was snatched directly from the comment about it in inetd.c and modified for better clarity.
2001-03-10Add text to more clearly document that tcpd is not needed, per PR 10754.fair
Add a FILES section. Add a few more references to SEE ALSO. Clean up nroff nits (e.g. spaces at end of line).
2001-03-04Mention relevant RFCs in "SEE ALSO".bjh21
2001-02-19convert to use getprogname()cgd
2001-01-25Improve grammar slightly in the description for IPsec policy settings.jlam
2001-01-11use explicit name rather than __progname in openloglukem
2000-12-02Document that the path to the configuration file given on the commandhubertf
line must be absolute, unless the -d option is given on the command line.
2000-09-19Clean one paragraph.ad
2000-08-01be more paranoid about UDP-based echo services validation. namely,itojun
reject the following sources: 0.0.0.0/8 127.0.0.0/8 240.0.0.0/4 255.0.0.0/8 ff00::/8 ::/128 ::ffff:0.0.0.0/96 and ::0.0.0.0/96 obeys IPv4 rule. hint from deraadt.
2000-07-23Remove bogus typeof hack, and just use the type directly.mycroft
2000-07-08permit square-bracket notation (as in RFC2732) for the first elementitojun
in inetd.conf. otherwise, we'll have (minor) problem putting IPv6 address in. sync with kame. [::1]:ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -ll
2000-07-07explicitly check if the address family is supported, by using socket(2).itojun
2000-07-05more change on getaddrinfo error handling.itojun
XXX enami, I admit it is not a good thing to check the error code from getaddrinfo. it is sometimes mandatory, however. gai_strerror message can be too generic in some cases. we can't really extend getaddrinfo, as it was not invented by kame (see RFC2553)
2000-07-04add faithd(8) support. with "faith/tcp6" protocol specification,itojun
it will open a socket with setsockopt(IPV6_FAITH).
2000-07-04emit more friendly message on nonexistent service name.itojun
From: enami
2000-07-03check for mux service by ISMUX(), not by != NORM_TYPEitojun
(the assumption can bite us if we extend se_type to have more cases).
2000-07-03remove duplicated ipsec setup code. we always call setup() onitojun
socket reinitialization (like SIGHUP). sync with kame.
2000-06-14typoitojun
2000-06-14clarify tcp4/tcp6 interaction.itojun
2000-06-02Modify to support RPC over IPv6.fvdl
2000-05-13use LOG_WARNING for syslog output for address family mismatch.itojun
suggested by: thorpej
2000-05-13correct extremely unfriendly error message when the kernel does notitojun
support the address family (like including "tcp6" in inetd.conf, on non-IPv6 kernel). was: inetd[185]: ftp/tcp6: *: hostname nor servname provided, or not known now: inetd[315]: ftp/tcp6: *: the address family is not supported by the kernel
2000-03-06fix IPsec policy parser. #@ should affect multiple lines as documented.itojun
2000-01-31sync with latest libipsec.itojun
since outgoing and incoming policy is separated, inetd can take multiple policy specification, separated by ";".