summaryrefslogtreecommitdiffstats
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Build ebones/telnetd only if MAKE_EBONES definedache1997-01-081-2/+2
|
* Correct some misleading text.mpp1997-01-081-2/+5
| | | | | Submitted by: Klaus Klein <kleink@layla.inka.de> Obtained from: NetBSD-bugs PR#3089
* Some buffer overrun fixes and removed check for username starting with "-"pst1997-01-073-13/+16
| | | | | | (replacied it with a getopt stopper (--) instead, which is more correct). Obtained from: OpenBSD
* Update to match changes in <net/if.h>.wollman1997-01-033-5/+5
|
* Added group= facility to /etc/ttys for tty grouping for moredavidn1997-01-021-10/+26
| | | | | | | | more manageable and convenient referencing by login.conf (login class database) and (e.g.) login.access. This is the first of a group of commits which implements the login class capabilities database.
* Remove dmalloc.c reference from here too. :)jkh1997-01-011-2/+2
|
* Add a new 'de' capability, specifying a number of seconds to sleep beforemsmith1996-12-314-5/+15
| | | | | | | | | | | | | emitting the initial prompt. This is useful in a number of circumstances : - you have (a) stupid modem(s) that assert(s) DCD too soon. - you have dialin users with stupid diallers and poorly written chatscripts. (esp. some Winsock diallers) BSD/OS also has this capability. Submitted by: damian@cablenet.net (Damian Hamill)
* Fix spelling error in manpage.swallace1996-12-263-6/+6
|
* Change declaration of yp_errno from int to enum ypstat so that itwpaul1996-12-231-2/+3
| | | | | | | matches what's in ypserv/yp_extern.h (which I changed when I added the async DNS stuff). The conflict broke the build of rpc.yppasswdd. Pointed out by: bde
OpenPOWER on IntegriCloud