summaryrefslogtreecommitdiffstats
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bug that caused the relocs for linker set members in sharedjdp1997-04-301-1/+3
| | | | | | | libraries to come out as 1-byte relocations instead of 4-byte relocations. Submitted by: Doug Rabson <dfr@nlsystems.com>
* Adds anon ftp virtual host capability to ftpd, using /etc/ftphosts fordavidn1997-04-294-17/+271
| | | | definition of a system's virtual hosts.
* YAMF2.2: Allow @group entries in /etc/ftpusers & /etc/ftpchroot to denydavidn1997-04-272-10/+35
| | | | and allow chroot access to entire groups.
* Document internal ls, how to compile it in and what it changes wrtdavidn1997-04-261-1/+20
| | | | anon ftp and chrooted users.
* Adds optional "internal ls" support for ftpd, by collectingdavidn1997-04-265-8/+41
| | | | | | | | | | | modules from src/bin/ls, and handling exec(_PATH_LS,..) as a special case, very useful in an environment where many users are given chroot access. "~/etc/{s}pwd.db" files are still needed if uid/gid->user/group translation is desired. To enable this it must be compiled with the make variable FTP_INTERNAL_LS defined, either in /etc/make.conf or the environment.
* Add basic login.conf (sans authentication) support.davidn1997-04-233-7/+58
|
* Added login.conf support.davidn1997-04-233-8/+71
|
* Fixed `make depend' and related bogons. LDFLAGS was used forbde1997-04-161-10/+2
| | | | | | | | | | | ld-specific flags. LDFLAGS is really for ld-related flags for cc, not for ld, and some flags, e.g., -Bshareable, mean completely different things to cc and ld. Having the wrong things in LDFLAGS also broke the standard ${PROG} target. This was kludged around by using a special rule that depended on LDFLAGS being bogus. Fixing `make depend' broke the special rule but fixed the standard rule (except in the DESTDIR case, which was handled more strictly here than elsewhere).
* Remove text about unsupported flags 'mdmbuf', 'local', 'crtscts' etcdavidn1997-04-131-16/+9
| | | | | | that are in reality handled in gettytab. Document the new 'dialin' and 'network' tty flags.
* Submitted by: Philippe Charnier <charnier@xp11.frmug.org>davidn1997-04-121-7/+14
| | | | | Fixes name size limitation (was hardcoded to 8). Closes PR#3258
* Ensure that the remote host name is Nul terminated.mpp1997-04-081-1/+2
| | | | Closes PR# 2589.
* Fix for expiration date test. Closes PR#3224.davidn1997-04-081-2/+2
|
* Use MAXHOSTNAMELEN, as opposed to an arbitrary number, and ensurejoerg1997-04-011-3/+6
| | | | | | | | correct termination if it overflows. Closes PR # misc/2982. Submitted by: Drew Derbyshire <ahd@kew.com>
* Be a bit more careful about what port number we are using for thepeter1997-03-291-3/+7
| | | | | second socket. If we're going to check for reserved ports, we should do it properly.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-2814-31/+31
| | | | posix standard on the topic.
* Don't trucate username to 8 characters.davidn1997-03-251-24/+29
|
* Remove some incorrect text on how passwords are validated.mpp1997-03-251-3/+2
| | | | | | Closes PR# 3050. Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
* Fix non explloitable buffer overflows (since the largest packet processedimp1997-03-241-3/+4
| | | | | precludes it) to keep people from whining about it in the newsgroups and mailing lists.
* Fix various buffer overflows that may or may not be exploitable.imp1997-03-241-5/+7
| | | | | | | Fixes PR 2588 Reviewed by: Dan Cross? Submitted by: Julian Assange
* Julian A's fix. Do chdir as user rather than as root. Fixes a minor NFSimp1997-03-241-8/+8
| | | | | | | | | compatibility problem at the same time. Some buffer made large enough for worst case hostname. fixes PR 2593. Reviewed by: Dan Cross and maybe others
* Change a reference to NetBSD to FreeBSD.mpp1997-03-141-2/+5
|
* Revert $FreeBSD$ to $Id$peter1997-02-2214-14/+14
|
* Revert $FreeBSD$ to $Id$peter1997-02-22161-172/+172
|
* #include <string.h> to help silence -Wall.mpp1997-02-201-0/+1
|
* Actually allow the -R flag.guido1997-02-131-1/+1
|
* Tidy-up modem-chat handling: ensure tty modes are restored todavidn1997-02-092-49/+45
| | | | | | | | | 'sane' standard (not raw) settings before abort/exiting; move responsibility of setting raw mode for chat-handling out of chat.c to avoid doing redundant tc{s,g}etattr()s; move DE pause prior setting standard mode before issue/login prompt to avoid echoing modem connect strings. Fixed up comment styles in a couple of places.
* Buffer Overflow from OpenBSDimp1997-02-091-1/+1
| | | | | | rev 1.7 deraadt: buf oflow Obtained from: OpenBSD
* Some patches for source routed packets from OpenBSD.imp1997-02-091-14/+14
| | | | | | | | | | | | | | | Rev 1.16 deraadt: do not warn about valid options; invalid options correctly quit Rev 1.15 deraadt: need not clear options since bad ones cause exit; provos@ws1.physnet.uni-hamburg.de Rev 1.14 deraadt: IPOPT_LSRR/IPOPT_SSRR must exit() due to tcp sequencing; pointed out by provos@wserver.physnet.uni-hamburg.de. also another 1-char buffer overflow. Reviewed by: Peter Wemm Obtained from: OpenSBD
* Some patches for source routed packets from OpenBSD.imp1997-02-091-13/+16
| | | | | | | | | | | | | | | Rev 1.13 deraadt: do not warn about valid options; invalid options correctly quit Rev 1.12 deraadt: need not clear options since bad ones cause exit; provos@ws1.physnet.uni-hamburg.de Rev 1.11 deraadt: IPOPT_LSRR/IPOPT_SSRR must exit() due to tcp sequencing; pointed out by provos@wserver.physnet.uni-hamburg.de. also another 1-char buffer overflow. Reviewed by: Peter Wemm Obtained from: OpenSBD
* Fix a hop count datatype bogon pointed out in PR#2642 (though my fixjkh1997-02-071-5/+6
| | | | | was slightly different than the one submitted). Submitted by: Elmar Bartel <bartel@informatik.tu-muenchen.de>
* Increased username size to allow passing username:auth_method todavidn1997-02-071-1/+1
| | | | login.
* Make username size dependant on MAXLOGNAME in sys/param.h. Wasdavidn1997-02-021-2/+2
| | | | | | previously hard-coded at 16 characters (and possibly overflowing the field when NUL terminating a username of exactly 16 characters in length).
* Added:davidn1997-02-028-54/+852
| | | | | | | | | | | | ic=expect/send script modem init script ac=expect/send script modem answer script ct#val chat script timeout (seconds) rt#val recycle timeout (seconds) if 'ac' set dc#val debug bitmask for debugging chat scripts hw (boolean) enable crtscts handshaking if=path 'issue' file sent prior login prompt chat.c is a simplistic expect/send chat module.
* Fix bug in %s, %m, %r and %v macros not displaying data.davidn1997-02-021-1/+5
|
* Added support for %s (sysname) %m (machine) %r (release) and %v (version)davidn1997-02-021-0/+25
| | | | prompt macros to agree with getty(8).
* Oops, fix white space in last commit.dg1997-01-281-1/+1
|
* Fix signal handler race condition.dg1997-01-281-0/+5
|
* Make even more copies of hostnames obtained by inet_ntoa(). iruserok()joerg1997-01-271-5/+18
| | | | | could still clobber the static storage, yielding an error message with a wrong hostname.
* Use xmalloc instead of malloc in two places, so that out-of-memoryjdp1997-01-241-1/+1
| | | | | | conditions will be detected. Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
* Fix buffer overrun problem.pst1997-01-182-15/+24
| | | | | | Cannidate for: 2.2 [must] Obtained from: Lite/2 and BSDI's published patch
* Pay attention to the environment variable "LD_IGNORE_MISSING_OBJECTS".jdp1997-01-174-3/+86
| | | | | | | | | If it is set to a nonempty string, then simply skip any missing shared libraries. This came up in a discussion long ago as a potentially useful feature at sysinstall time. For example, an X11 utility could be used without the X libraries being present, provided the utility had a mode in which no X functions were actually called.
* Sweep through the tree fixing mmap() usage:alex1997-01-162-5/+5
| | | | | | | | | | | | - Use MAP_FAILED instead of the constant -1 to indicate failure (required by POSIX). - Removed flag arguments of '0' (required by POSIX). - Fixed code which expected an error return of 0. - Fixed code which thought any address with the high bit set was an error. - Check for failure where no checks were present. Discussed with: bde
* If a library is found in the hints file, but the library doesn't exist,jdp1997-01-141-0/+4
| | | | | | | | | ignore the hint. This is a straightforward fix, and it should go into 2.2 after a burn-in period of a few days. Noticed by: bde
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-14174-185/+185
| | | | | | | | 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.
* Sort cross references.wosch1997-01-1312-37/+35
|
* Use the RTLD_NOW symbol, now that it is defined in <dlfcn.h>.jdp1997-01-121-4/+3
|
* Correct typos and spelling errors.jdp1997-01-123-15/+15
|
* Add support for the LD_BIND_NOW environment variable. If it is set to ajdp1997-01-124-37/+88
| | | | | | | | | | | | | | | | | | | | | nonempty string, then function calls are relocated at program start-up rather than lazily. This variable is standard on Sun and SVR4 systems. The dlopen() function now supports both lazy and immediate binding, as determined by its "mode" argument, which can be either 1 (RTLD_LAZY) or 2 (RTLD_NOW). I will add defines of these symbols to <dlfcn.h> as soon as I've done a little more checking to make sure they won't cause collisions or bootstrapping problems that would break "make world". The "LD_*" environment variables which alter dynamic linker behavior are now treated as unset if they are set to the empty string. This agrees with the standard SVR4 conventions for the dynamic linker. Add a work-around for programs compiled with certain buggy versions of crt0.o. The buggy versions failed to set the "crt_ldso" member of the interface structure. This caused certain error messages from the dynamic linker to begin with "(null)" instead of the pathname of the dynamic linker.
* Add support for the LD_BIND_NOW environment variable. If it is set to ajdp1997-01-122-2/+21
| | | | | | | | | | | nonempty string, then function calls are relocated at program start-up rather than lazily. This variable is standard on Sun and SVR4 systems. The dlopen() function now supports both lazy and immediate binding, as determined by its "mode" argument, which can be either 1 (RTLD_LAZY) or 2 (RTLD_NOW). I will add defines of these symbols to <dlfcn.h> as soon as I've done a little more checking to make sure they won't cause collisions or bootstrapping problems that would break "make world".
* Document the fact that the administrator may havempp1997-01-111-2/+7
| | | | | | | to change syslog's config file in order for all of ftpd's log messages to be displayed by syslogd. Closes PR# 1559.
OpenPOWER on IntegriCloud