aboutsummaryrefslogtreecommitdiff
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* MFC revs. 1.29, 1.30, a part of 1.36: the .Nm utility,Maxim Konovalov2006-05-151-5/+9
| | | | | | | | | | filesystem -> file system, move rcs id tag. PR: docs/66264 Submitted by: Michel Lavondes Notes: svn path=/stable/4/; revision=158589
* MFC revision 1.105: If dangerous environment variables are used, checkColin Percival2005-03-311-1/+24
| | | | | | | that libraries being loaded aren't on a noexec-mounted filesystem. Notes: svn path=/stable/4/; revision=144356
* MFC 1.201: Use syslog(3) instead of err(3) when a daemon.Yaroslav Tykhiy2005-01-181-4/+8
| | | | | | | A daemon has no stderr to send its complains to. Notes: svn path=/stable/4/; revision=140459
* MFC 1.198:Yaroslav Tykhiy2004-12-211-9/+15
| | | | | | | | | | | Never emit a message to stderr: use syslog instead. When in inetd mode, this prevents bogus messages from appearing on the control channel. When running as a daemon, we shouldn't write to the terminal we used to have at all. Notes: svn path=/stable/4/; revision=139124
* - MFC:Marius Strobl2004-12-131-2/+1
| | | | | | | | | | | | | | | | | | | | | | | lib/Makefile 1.155 libexec/Makefile 1.57 usr.bin/Makefile 1.234 (partly), 1.235 Build non-crypto telnet(1) and telnetd(8) if NO_OPENSSL is defined. - Replace the check for the non-existence of src/secure and src/kerberosIV with a check for the non-existence of src/crypto only. This is to bring these checks in line with the demise of the NOSECURE knob and because if src/crypto doesn't exist we won't build any crypto stuff including not Kerberos IV (and also not Kerberos 5 for that matter). Note: On HEAD all these checks for the existence of crypto sources even have been completely removed. Discussed with: ru (some months ago) Reviewed by: ru (some months ago) Approved by: markm (telnet and secure bits, some months ago) Notes: svn path=/stable/4/; revision=138807
* MFC:Marius Strobl2004-12-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Makefile.inc1 1.361 bin/ed/Makefile 1.22 lib/Makefile 1.157 lib/libcrypt/Makefile 1.31 lib/libfetch/Makefile 1.41 lib/libpam/modules/modules.inc 1.17 libexec/Makefile 1.61 share/examples/etc/make.conf 1.215 share/man/man5/make.conf.5 1.73 usr.bin/Makefile 1.239 usr.bin/fetch/Makefile 1.14 usr.sbin/pkg_install/Makefile 1.14 usr.sbin/pkg_install/add/Makefile 1.17 usr.sbin/pkg_install/info/Makefile 1.17 usr.sbin/pkg_install/version/Makefile 1.12 usr.sbin/ppp/Makefile 1.95, 1.96 usr.sbin/pppd/Makefile 1.25 usr.sbin/sendmail/Makefile 1.40 usr.sbin/tcpdump/tcpdump/Makefile 1.36 Retire the useless NOSECURE knob. The motivation for this MFC is that MAKE_KERBEROS4 and MAKE_KERBEROS5 are meant to be buildable by various makefiles when NOSECURE is set but this was broken because Kerberos depends on e.g. des(3) from OpenSSL which wasn't built when NOSECURE was defined. Fixing the NOSECURE knob however would have meant to make it do the same as the NOCRYPT knob. If you had been using the NOSECURE build knob please now use the NOCRYPT knob instead. Discussed with: ru (some months ago) Reviewed by: ru (some months ago) Approved by: markm (telnet and secure bits, some months ago), kensmith (re) Notes: svn path=/stable/4/; revision=138803
* MFC:Yaroslav Tykhiy2004-11-252-6/+6
| | | | | | | | | | ftpd.c 1.185 '\n' needs not to appear in reply() strings. ftpd.c 1.186 Fix perror_reply() vs. reply() usage. ftpcmd.y 1.62 ---"--- Notes: svn path=/stable/4/; revision=138086
* MFC rev. 1.169, 1.175: Fixes related to logxfer().Yaroslav Tykhiy2004-11-131-6/+10
| | | | Notes: svn path=/stable/4/; revision=137652
* MFC rev. 1.166-1.168: Assorted fixes around the call to sendfile(2).Yaroslav Tykhiy2004-11-131-4/+15
| | | | Notes: svn path=/stable/4/; revision=137650
* MFC rev. 1.160: kill an unused variable.Maxim Konovalov2004-11-101-8/+9
| | | | | | | MFC rev. 1.164, 1.165: do not unconditionally fork() after accept(). Notes: svn path=/stable/4/; revision=137530
* MFC 1.156:Yaroslav Tykhiy2004-08-281-1/+1
| | | | | | | | | Open a socket for a data transfer in active mode using euid of the current user, not root, to allow matching the user's FTP data traffic with an ipfw(8) rule. Notes: svn path=/stable/4/; revision=134436
* MFC r1.27: refuse connections in per-ip chroot if the directory does not existBill Fumerola2004-06-241-5/+6
| | | | Notes: svn path=/stable/4/; revision=131074
* MFC of revision 1.96:Oliver Eikemeier2004-06-111-1/+6
| | | | | | | give out a little more information in case of a missing dependency Notes: svn path=/stable/4/; revision=130341
* MFC: add missing setusershell() call.Philippe Charnier2004-02-221-0/+1
| | | | | | | PR: bin/2442 Notes: svn path=/stable/4/; revision=126119
* MFC rev. 1.148, 1.150-1.153:Yaroslav Tykhiy2004-02-161-2/+17
| | | | | | | | | | | | | | | - deny attempts to delete or rename a file if a guest user isn't allowed to modify files on the server; - disallow downloading raw directory contents by real users in order to work around buggy GUI clients which think that trying to download a directory is a fair way to tell it from a regular file; - "(char *)0" --> "NULL" where possible. Notes: svn path=/stable/4/; revision=125872
* MFC bootpd.c 1.22 and bootpd.8 1.18: document the '-h hostname' option,Peter Pentchev2004-02-162-8/+17
| | | | | | | sort the options in the manpage synopsis, bring usage() up to date. Notes: svn path=/stable/4/; revision=125863
* MFC: rev. 1.10 (forgotten in previous commit).Max Khon2004-02-031-1/+1
| | | | Notes: svn path=/stable/4/; revision=125404
* MFC:Max Khon2004-02-034-7/+26
| | | | | | | | | Dynamic object dependency mapping: libmap. PR: 58133 Notes: svn path=/stable/4/; revision=125402
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2004-02-031-0/+255
| | | | Notes: svn path=/stable/4/; revision=125398
* MFC part of 1.75; specifically, call pam_acct_mgmt().Dag-Erling Smørgrav2004-01-261-0/+14
| | | | | | | PR: bin/28311 Notes: svn path=/stable/4/; revision=125056
* MFC rev. 1.147: Avoid adding excessive CRs when in ASCII mode.Yaroslav Tykhiy2003-12-061-2/+4
| | | | Notes: svn path=/stable/4/; revision=123170
* MFC rev. 1.90:Anton Berezin2003-11-251-1/+1
| | | | | | | Sync comment with code's reality. Notes: svn path=/stable/4/; revision=122985
* MFC: Don't depend on IPv4-mapped IPv6 address to bind to both IPv4Hajimu UMEMOTO2003-10-292-75/+115
| | | | | | | | | | and IPv6. libexec/ftpd/ftpd.8: 1.66 libexec/ftpd/ftpd.c: 1.146 Notes: svn path=/stable/4/; revision=121695
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2003-10-011-0/+7
| | | | Notes: svn path=/stable/4/; revision=120634
* MFC revision 1.65:Ceri Davies2003-09-041-0/+2
| | | | | | | | | | Add a note that the -u option can be overridden by settings in login.conf(5). Approved by: re (murray) Notes: svn path=/stable/4/; revision=119745
* MFC 1.15, build named-xfer static to aid in chroot'ingDoug Barton2003-08-251-0/+2
| | | | Notes: svn path=/stable/4/; revision=119472
* MFC: LukeM's ftpd taken from the NetBSD CVS repo on 5-Jan-2003.David E. O'Brien2003-08-243-20/+18
| | | | Notes: svn path=/stable/4/; revision=119417
* MFC: Assorted getty(8) bugfixes.Yaroslav Tykhiy2003-07-183-64/+102
| | | | | | | | | gettytab.h: 1.14 init.c: 1.15 main.c: 1.39-1.45 Notes: svn path=/stable/4/; revision=117741
* MFC rev. 1.53, 1.54: getline() improvements:Yaroslav Tykhiy2003-07-171-4/+13
| | | | | | | | | - do better error handling; - block signals while reading from the control channel in order to prevent interruption by a SIGURG. Notes: svn path=/stable/4/; revision=117689
* MFC rev. 1.145: Make a malloced copy of "chrootdir" even if itYaroslav Tykhiy2003-07-171-3/+5
| | | | | | | | points to an absolute pathname inside "residue" so "chrootdir" can be simply freed later. Notes: svn path=/stable/4/; revision=117688
* MFC rev. 1.51: Don't reveal host-specific info in the reply to SYSTYaroslav Tykhiy2003-06-231-8/+8
| | | | | | | when running with a `-h' (hide host info) option. Notes: svn path=/stable/4/; revision=116718
* MFC rev. 1.37-1.40: Assorted manpage fixes.Yaroslav Tykhiy2003-06-171-68/+87
| | | | Notes: svn path=/stable/4/; revision=116484
* Sync with current.David Malone2003-04-062-63/+176
| | | | | | | | | | 1) Favour "utility" in man page. 2) ANSIify, warns and other minor cleanup. 3) Support transfer size and timeout options. 4) Set group aswell as user. Notes: svn path=/stable/4/; revision=113177
* MFC: Properly remove unloaded objects from all lists.Alexander Kabaev2003-02-203-58/+307
| | | | | | | | | Implement dlinfo function. Aproved by: re (murray) Notes: svn path=/stable/4/; revision=111193
* MFC: Format string fixesKris Kennaway2003-02-155-5/+5
| | | | Notes: svn path=/stable/4/; revision=110904
* MFC 1.143: Use LOG_AUTHPRIV to hide the username attemptedYaroslav Tykhiy2003-02-141-1/+5
| | | | | | | during an invalid login from everyone but sysadmins. Notes: svn path=/stable/4/; revision=110857
* MFC: Rework the code around chroot(2)/chdir(2). This gives us:Yaroslav Tykhiy2003-02-114-44/+134
| | | | | | | | | | | | | | | - an extended format (and manpage as a consequence) for /etc/ftpchroot, - ability to access NFS mounted home directories with mode 700, - more protection from setting a wrong home directory in passwd(5), - the "/./" feature. ftpd.c 1.135-1.138 ftpcmd.y 1.47 ftpd.8 1.58-1.59 ftpchroot.5 1.2 (added) Notes: svn path=/stable/4/; revision=110709
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2003-02-101-0/+153
| | | | Notes: svn path=/stable/4/; revision=110637
* MFC 1.141: Let real users access special files through FTPYaroslav Tykhiy2003-02-071-3/+13
| | | | | | | if allowed by their filesystem permissions. Notes: svn path=/stable/4/; revision=110490
* MFC: fix a bug in RTLD_TRACE when object being traced is already dlopen'ed.Maxim Sobolev2003-02-061-6/+8
| | | | Notes: svn path=/stable/4/; revision=110450
* MFC: new `pl' option.Maxim Sobolev2003-02-064-4/+7
| | | | Notes: svn path=/stable/4/; revision=110445
* MFC: Add a new option to ftpd(8), "-h", to disable printingYaroslav Tykhiy2003-02-053-6/+25
| | | | | | | | | | | any host-specific information in FTP server messages. ftpcmd.y 1.48 ftpd.8 1.60 ftpd.c 1.139 Notes: svn path=/stable/4/; revision=110393
* MFC 1.140, 1.142: When searching for a unique file name,Yaroslav Tykhiy2003-02-051-0/+4
| | | | | | | | distinguish between the cases of an existing file and a real system error, such as I/O failure, no access etc. Notes: svn path=/stable/4/; revision=110382
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2003-01-301-0/+121
| | | | Notes: svn path=/stable/4/; revision=110121
* MFC: Add an option, "-P", to specify the port to listen at in daemon mode.Yaroslav Tykhiy2003-01-302-5/+23
| | | | | | | | | | | Make the default data port correspond the control connection port as per RFC 959. ftpd.8 1.57 ftpd.c 1.134 Notes: svn path=/stable/4/; revision=110099
* MFC: Address the issues concerning filenames with '\n' in themYaroslav Tykhiy2003-01-302-4/+28
| | | | | | | | | | | that affected the "STAT file" command and the server-side glob(3) expansion. ftpcmd.y 1.45 ftpd.c 1.132 Notes: svn path=/stable/4/; revision=110095
* MFC rev 1.44, 1.46: C language style and usage:Yaroslav Tykhiy2003-01-301-3/+4
| | | | | | | | o Use _PATH_LS consistently. o GLOB_MAXPATH has been superseded by GLOB_LIMIT, so use the latter. Notes: svn path=/stable/4/; revision=110090
* MFC 1.133: Fix DoS vulnerability by releasing the bind() to port 20Crist J. Clark2003-01-221-19/+26
| | | | | | | while we wait to see if a EADDRINUSE condition goes away. Notes: svn path=/stable/4/; revision=109699
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2003-01-062-0/+20
| | | | Notes: svn path=/stable/4/; revision=108769
* MFC: english(4) fixes, aka typos found by ispell.Jens Schweikhardt2002-12-293-3/+3
| | | | Notes: svn path=/stable/4/; revision=108396