summaryrefslogtreecommitdiffstats
path: root/usr.sbin/inetd
Commit message (Collapse)AuthorAgeFilesLines
* - Remove unused union p_un.hrs2015-09-191-22/+13
| | | | | | | | | - Use NI_MAXHOST-long buffer for getnameinfo(). Although INET6_ADDRSTRLEN was designed to hold the longest IPv6 address in IPv4-mapped address format a long time ago, getnameinfo() can return scope identifier in addition to it. MFC after: 1 day
* - Fix a crash on a rpc entry when an IPv6 address is explicitly specifiedhrs2015-09-191-4/+2
| | | | | | | | | | | in -a flag. - Fix a bug that sockaddr_in was used where sockaddr_in6 should have been used. This was not actually harmful because offsetof(struct sockaddr_in, sin_port) is equal to offsetof(struct sockaddr_in6, sin6_port). MFC after: 1 day
* Add META_MODE support.sjg2015-06-131-0/+23
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-272-7/+5
| |\ | |/ |/|
| * Merge from head@274682sjg2014-11-191-14/+6
| |\
| * | Updated dependenciessjg2014-05-161-1/+0
| | |
| * | Updated dependenciessjg2014-05-101-0/+2
| | |
| * | Merge from headsjg2014-05-081-1/+1
| |\ \
| * | | Updated dependenciessjg2013-03-111-0/+1
| | | |
| * | | Updated dependenciessjg2013-02-161-2/+0
| | | |
| * | | Sync with HEAD.obrien2013-02-081-1/+1
| |\ \ \
| | \ \ \
| | \ \ \
| *-. \ \ \ Sync from headsjg2012-11-043-11/+5
| |\ \ \ \ \
| * | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | | identd: restore memcpyeadler2015-04-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I should not be committing at 2:30am.... Reported by: pluknet
* | | | | | | identd: also zero se_rpc_highverseadler2015-04-191-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Reported by: pluknet
* | | | | | | identd: remove redundant zeroingeadler2015-04-191-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | se_rpc_lowvers was set to 0 twice, so remove one of them I can not find any other variable which they may have been a typo of. Reported by: gcc5.1
* | | | | | | Convert usr.sbin to LIBADDbapt2014-11-251-4/+2
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | Reduce overlinking
* | | | | | Renove faith(4) and faithd(8) from base. It looks like industrymelifaro2014-11-091-14/+6
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | have chosen different (and more traditional) stateless/statuful NAT64 as translation mechanism. Last non-trivial commits to both faith(4) and faithd(8) happened more than 12 years ago, so I assume it is time to drop RFC3142 in FreeBSD. No objections from: net@
* | | | | Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-061-1/+1
| |_|_|/ |/| | | | | | | | | | | from the latter.
* | | | - Force inetd to have listen queue size to be set to the value ofzont2013-01-201-1/+1
| |/ / |/| | | | | | | | | | | | | | | | | kern.ipc.somaxconn instead of hardcoded value 64. Submitted by: Andrey Ignatov <rdna@rdna.ru> MFC after: 2 weeks
* | | Rework all non-contributed files that use `struct timezone'.ed2012-09-011-7/+1
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | This structure is not part of POSIX. According to POSIX, gettimeofday() has the following prototype: int gettimeofday(struct timeval *restrict tp, void *restrict tzp); Also, POSIX states that gettimeofday() shall return 0 (as long as tzp is not used). Remove dead error handling code. Also use NULL for a nul-pointer instead of integer 0. While there, change all pieces of code that only use tv_sec to use time(3), as this provides less overhead.
* | Replace the use of wall clock time with monotonically increasingdelphij2012-06-042-4/+4
|/ | | | | | | | | | | | clock. In general, gettimeofday() is not appropriate interface when accounting for elasped time because it can go backward, in which case the policy code could errornously consider the limit as exceeded. MFC after: 1 week Reported by: Mahesh Arumugam Submitted by: Dorr H. Clark via gnn Sponsored by: Citrix / NetScaler
* Replace index() and rindex() calls with strchr() and strrchr().ed2012-01-031-2/+2
| | | | | | | | | | The index() and rindex() functions were marked LEGACY in the 2001 revision of POSIX and were subsequently removed from the 2008 revision. The strchr() and strrchr() functions are part of the C standard. This makes the source code a lot more consistent, as most of these C files also call into other str*() routines. In fact, about a dozen already perform strchr() calls.
* Spelling fixes for usr.sbin/uqs2011-12-301-1/+1
|
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-1/+1
|
* ANSIfy some more tools in usr.sbin/.ed2010-01-021-2/+1
| | | | | Most of these tools build with WARNS=6, except for their use of K&R function declarations.
* Avoid sshd, cron, syslogd and inetd to be killed under high-pressure swapattilio2009-11-251-0/+4
| | | | | | | | | | | | | | environments. Please note that this can't be done while such processes run in jails. Note: in future it would be interesting to find a way to do that selectively for any desired proccess (choosen by user himself), probabilly via a ptrace interface or whatever. Obtained from: Sandvine Incorporated Reviewed by: emaste, arch@ Sponsored by: Sandvine Incorporated MFC: 1 month
* Sync comment with actual configuration format.delphij2009-02-131-2/+2
|
* o inetd(8) requires wait/nowait column in inetd.conf formaxim2008-01-121-1/+2
| | | | | | | | ONC services as well. PR: bin/119203 Submitted by: Peter Jeremy MFC atfer: 1 week
* Remove the -DFAST_IPSEC from Makefiles again.bz2007-07-051-1/+1
| | | | | | | | | 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)
* Commit IPv6 support for FAST_IPSEC to the tree.gnn2007-07-012-2/+2
| | | | | | | | This commit includes all remaining changes for the time being including user space updates. Submitted by: bz Approved by: re
* Don't try to apply connection-per-ip rate limiting to unix domaindwmalone2007-03-111-0/+1
| | | | | | | | | | sockets. Instead of rejecting all unix domain connections when the -C flag is given, allow them instead. Aragon tested an earlier version of the patch. PR: 109315 MFC after: 2 weeks Tested-by: Aragon Gouveia <aragon@phat.za.net>
* Removed T/TCP bits.ru2006-09-143-26/+3
|
* inetd and telnetd are not included in the standard releaseyar2006-07-311-0/+1
| | | | | | | 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.
* Obey MK_INET6_SUPPORT.yar2006-07-271-1/+7
|
* Update a couple of comments relating to RFCs.dwmalone2006-04-171-2/+5
|
* Back out a Makefile change that accidently snook in.dwmalone2006-04-171-1/+1
|
* Port 37 (RFC 738) style times are supposed to be a 32 bit time sincedwmalone2006-04-172-7/+7
| | | | | | | | | | | | 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
* Perform minor rewording and grammatical improvement. Add a missing Xr.ceri2006-02-041-31/+40
|
* Revert previous commit for now, which seems to have (re)introduced somedelphij2006-01-183-150/+227
| | | | | | | old bugs, as well as some unwanted side effects. I will do more investigation and fix these issues first. Pointed out by: dwmalone
* Improves and cleanups over inetd(8):delphij2006-01-183-227/+150
| | | | | | | | | | | | - 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
* inetd(8) requires that /etc/netconfig be present, and contain entriesceri2005-12-301-0/+29
| | | | | | | | | | for each of udp and tcp (and their IPv6 equivalents when INET6 is enabled). Note that dependency here. PR: docs/90435 Submitted by: Dmitry Kazarov <kazarov at mcm dot ru> Pointed out by: Daniel Gerzo <danger at rulez dot sk> MFC after: 8 days
* Pidfiles should be created with permission preventing users from openingpjd2005-09-161-1/+1
| | | | | | | them for reading. When user can open file for reading, he can also flock(2) it, which can lead to confusions. Pointed out by: green
* Use pidfile(3) in inetd(8).pjd2005-08-241-8/+16
|
* Remove rexecd(8), a server that implements a particularly insecurenectar2005-06-101-1/+0
| | | | | | | method of executing commands remotely. There are no rexec clients in the FreeBSD tree, and the client function rexec(3) is present only in libcompat. It has been documented as "obsolete" since 4.3BSD, and its use has been discouraged in the man page for over 10 years.
* NI_WITHSCOPEID cleanup. Neither RFC 2553 nor RFC 3493 definesume2005-05-131-17/+8
| | | | | NI_WITHSCOPEID, and our getaddrinfo(3) does nothing special for it, now.
* Prefer C99's __func__ over GCC's __FUNCTION__.stefanf2004-09-261-9/+9
| | | | Approved by: dwmalone
* Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived softwareimp2004-08-074-16/+0
| | | | (with permission of addtional copyright holders where appropriate)
* Mechanically kill hard sentence breaks.ru2004-07-021-14/+29
|
OpenPOWER on IntegriCloud