Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't risk catching a signal while handling a signal for a dying child, as we | jmallett | 2002-05-27 | 1 | -0/+8 |
| | | | | | | | | | can then end up not properly clearing wtmp/utmp entries. PR: bin/37934 Submitted by: Sandeep Kumar <skumar@juniper.net> Reviewed by: markm MFC after: 2 weeks | ||||
* | Don't use non-signal-safe functions (exit(3) in this case) in | sheldonh | 2002-02-05 | 1 | -1/+1 |
| | | | | | | | | | | | signal handlers. In this case, use _exit(2) instead, following the call to shutdown(2). This fixes rare telnetd hangs. PR: misc/33672 Submitted by: Umesh Krishnaswamy <umesh@juniper.net> MFC after: 1 month | ||||
* | Merge from master (crypto) telnet. WARNS fixes for alpha. | markm | 2001-12-03 | 1 | -4/+4 |
| | |||||
* | Merge the (in)complete ANSIfication work from src/crypto/telnet. | markm | 2001-11-30 | 1 | -3/+3 |
| | |||||
* | After running a "make unifdef", commit the resultant diffs. | markm | 2001-11-30 | 1 | -656/+116 |
| | | | | This code is now a complete sunset of the crypto (master) code. | ||||
* | Manually unifdef(1) CRAY, UNICOS, hpux and sun uselsess code. | markm | 2001-08-29 | 1 | -501/+4 |
| | |||||
* | Feature merging and diff reduction between this code and crypto telnet. | markm | 2001-08-20 | 1 | -173/+169 |
| | | | | | Also remove conditional (AUTHENTICATION) code as we have never compiled it here, and it is doubtful that it even works in this scenario. | ||||
* | Fix the type of the NULL arg to execl() | brian | 2001-07-09 | 1 | -1/+1 |
| | | | | Idea from: Theo de Raadt <deraadt@openbsd.org> | ||||
* | Fix the number of bytes allocated by realloc when more space is needed | ghelmer | 2001-06-07 | 1 | -1/+1 |
| | | | | | | for the vector of arguments. MFC after: 1 week | ||||
* | Synch: Properly constify sccsid[]. | asmodai | 2001-02-07 | 1 | -2/+2 |
| | | | | Replace bcopy() with memmove(). | ||||
* | (scrub_env): change to only accept a listed set of variables, | assar | 2000-12-10 | 1 | -23/+37 |
| | | | | including only non-filename contents for TERMCAP | ||||
* | Add `_PATH_DEVZERO'. | obrien | 2000-12-09 | 1 | -8/+10 |
| | | | | Use _PATH_* where where possible. | ||||
* | Don't use sizeof() on a pointer when we really wanted to measure | kris | 2000-11-19 | 1 | -7/+3 |
| | | | | | | | the length of the array. Noticed by: Christos Zoulas <christos@ZOULAS.COM> Obtained from: OpenBSD | ||||
* | Filter out some more magic environment variables used by libraries linked | kris | 2000-10-31 | 1 | -0/+7 |
| | | | | | | | | with telnetd. This should really be done with a positive filter - i.e. only allow through a configured list of variables. Also do some buffer-safety cleanups while I'm here - I don't think these are exploitable. | ||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-28 | 1 | -1/+1 |
| | |||||
* | Back out previous commit - it's not necessary now that tty.h properly includes | jkh | 1999-08-09 | 1 | -2/+1 |
| | | | | the queue macros. | ||||
* | Add a missing include (sys/queue.h for sys/tty.h SLIST usage.) | green | 1999-08-09 | 1 | -1/+2 |
| | |||||
* | Ensure that things returned by gethostname() and | brian | 1999-04-07 | 1 | -2/+1 |
| | | | | | | | | | | friends are terminated and allow for a maximum host name length of MAXHOSTNAMELEN - 1. Put parenthesis around sizeof args. Make some variables static. Fix telnetd -u (broken by my last commit) Prompted by: bde | ||||
* | Remove a bogus prototype for time() and let time.h do that. | jb | 1998-05-14 | 1 | -6/+5 |
| | | | | | Change pointer casts from int to long. The code that looks to index -1 of argv is still broken on alpha. | ||||
* | sprintf->snprintf paranoia. The one thing that looks like a hole in | imp | 1997-12-24 | 1 | -7/+8 |
| | | | | | the diff is in an ifdef that isn't enabled for FreeBSD. Obtained from: OpenBSD(?) | ||||
* | Use err(3). Remove progname and trailing \n in syslog strings. | charnier | 1997-12-03 | 1 | -13/+19 |
| | |||||
* | Revert $FreeBSD$ to $Id$ | peter | 1997-02-22 | 1 | -1/+1 |
| | |||||
* | Make the long-awaited change from $Id$ to $FreeBSD$ | jkh | 1997-01-14 | 1 | -1/+1 |
| | | | | | | | | 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. | ||||
* | Some buffer overrun fixes and removed check for username starting with "-" | pst | 1997-01-07 | 1 | -7/+5 |
| | | | | | | (replacied it with a getopt stopper (--) instead, which is more correct). Obtained from: OpenBSD | ||||
* | add forgotten $Id$ | wosch | 1996-09-22 | 1 | -0/+2 |
| | |||||
* | Add a ``-P altlogin'' option which allows the sysadmin to specify an | peter | 1996-08-13 | 1 | -3/+9 |
| | | | | alternate login(1) type program to run. | ||||
* | Remove LD_NOSTD_PATH unsetenv, isn't exist anymore | ache | 1995-10-24 | 1 | -1/+0 |
| | |||||
* | Fix original patch error with ! before strncmp | ache | 1995-10-20 | 1 | -4/+10 |
| | | | | Zap only needed LD_* variables | ||||
* | Don't allow LD_* env. variables to be tricked | ache | 1995-10-20 | 1 | -0/+22 |
| | | | | Submitted by: Sam Hartman <hartmans@mit.edu> | ||||
* | Move erase cleanup outside linemode conditional | pst | 1995-09-06 | 1 | -1/+1 |
| | |||||
* | Properly set the erase character for the login prompt. | pst | 1995-09-05 | 1 | -1/+5 |
| | | | | Submitted by: John Capo <jc@irbs.com> & Peter Wemm | ||||
* | Fix some typos in a comment BUAD -> BAUD. | ats | 1995-08-05 | 1 | -3/+3 |
| | |||||
* | Use the same DECODE_BAUD trick like in new telnetd to obtain | ache | 1995-08-02 | 1 | -0/+17 |
| | | | | | termios speed. Obtained from: Pre-Lite2 telnet | ||||
* | Remove trailing whitespace. | rgrimes | 1995-05-30 | 1 | -4/+4 |
| | |||||
* | Fix bug: | ache | 1995-04-26 | 1 | -2/+9 |
| | | | | | | When hostname len > 8, name replaced with dot notation when -u flag not specified (default case). Use _PATH_* for utmp/wtmp. | ||||
* | Support for >32 PTYs. | jkh | 1995-02-09 | 1 | -3/+3 |
| | | | | Submitted by: Heikki Suonsivu <hsu@cs.hut.fi> | ||||
* | Plug already known security hole. (Brought over from 1.1.5): | guido | 1994-08-15 | 1 | -2/+7 |
| | | | | | | | | | | | Fixed security problem with telnetd, which allowed telnet -l -hcert.org localhost to change the user's host in utmp. Thanks to Matthew Green <mrgreen@@mame.mu.oz.au> for showing me this one. Reviewed by: karl, guido Submitted by: mrgreen@@mame.mu.oz.au | ||||
* | BSD 4.4 Lite Libexec Sources | rgrimes | 1994-05-27 | 1 | -0/+2135 |