summaryrefslogtreecommitdiffstats
path: root/libexec/telnetd
Commit message (Collapse)AuthorAgeFilesLines
...
* Correct definition of MAXHOSTNAMELEN in ifdef'ed code.kris2000-11-261-1/+1
| | | | | Submitted by: Edwin Groothuis <mavetju@chello.nl> PR: bin/22787
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-2/+2
|
* Don't use sizeof() on a pointer when we really wanted to measurekris2000-11-193-9/+4
| | | | | | | 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 linkedkris2000-10-313-4/+11
| | | | | | | | 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.
* Minor mdoc cleanup.mpp2000-05-051-2/+2
| | | | PR: docs/13218
* several tcp apps IPv6 updateshin2000-01-253-34/+57
| | | | | | | | | | | | -inetd -rshd -rlogind -telnetd -rsh -rlogin Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
* We do not support the -B option.asmodai2000-01-121-12/+1
| | | | | PR: 15925 Submitted by: Thierry Herbelot
* $Id$ -> $FreeBSD$peter1999-08-2811-11/+11
|
* Back out previous commit - it's not necessary now that tty.h properly includesjkh1999-08-091-2/+1
| | | | the queue macros.
* Add a missing include (sys/queue.h for sys/tty.h SLIST usage.)green1999-08-091-1/+2
|
* Determine the host name using an array size ofbrian1999-04-081-2/+3
| | | | | | | | | MAXHOSTNAMELEN and call trimdomain() before implementing the -u option. This allows local hosts of a lan with a long domain name to appear properly in utmp by base host name (w/o domain) rather than by IP number.
* Really fix -u....brian1999-04-071-2/+6
|
* Ensure that things returned by gethostname() andbrian1999-04-072-7/+12
| | | | | | | | | | 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
* Use realhostname() rather than various combinations ofbrian1999-04-061-39/+8
| | | | | | gethostbyaddr() & gethostbyname(). Remove brokeness in ftpd for hosts of MAXHOSTNAMELEN length.
* After receiving a connection and doing a reversebrian1999-04-061-2/+18
| | | | | | | | | | lookup on the incoming IP, do a forward lookup on the result and make sure that the IP is in the resulting list. If it's not, put the IP number in utmp/wtmp instead of the rogue name. Stolen from: rlogind Suggested by: sef
* Old stuff laying around: Don't use a function called getstr(), that haspeter1998-12-161-6/+6
| | | | | nasty consequences when the system curses is ncurses as this conflicts with a ncurses funciton and causes recursion.
* Sort cross references.wosch1998-08-311-2/+2
|
* Remove a bogus prototype for time() and let time.h do that.jb1998-05-141-6/+5
| | | | | Change pointer casts from int to long. The code that looks to index -1 of argv is still broken on alpha.
* Clarify use of 'if' capability.steve1998-05-041-1/+26
| | | | | PR: 6499 Submitted by: Doug Barton <Studded@san.rr.com>
* Avoid stairstep effect on output of 'if=...' file.steve1998-05-031-2/+6
| | | | | PR: part of 6492 Submitted by: Chip Norkus via Doug White <studded@san.rr.com>
* telnetd does not recognize the if (display file before login) gettytab flag.phk1998-04-261-1/+19
| | | | | | PR: 6365 Reviewed by: phk Submitted by: Jason Garman <init@risen.org>
* Add missing dot.charnier1998-01-071-2/+2
|
* sprintf->snprintf paranoia. The one thing that looks like a hole inimp1997-12-241-7/+8
| | | | | the diff is in an ifdef that isn't enabled for FreeBSD. Obtained from: OpenBSD(?)
* Sync with diffs I found in kerberised versions: -Wall, no `;' in macros.charnier1997-12-083-27/+25
|
* Use err(3). Remove progname and trailing \n in syslog strings.charnier1997-12-038-149/+155
|
* PR: bin/771 and bin/1037 are resolved by this changeuhclem1997-10-081-1/+17
| | | | | | | | | | | | | | | | This change changes the default handling of linemode so that older and/or stupider telnet clients can still get wakeup characters like <ESC> and <CTRL>D to work correctly multiple times on the same line, as in csh "set filec" operations. It also causes CR and LF characters to be read by apps in certain terminal modes consistently, as opposed to returning CR sometimes and LF sometimes, which broke existing apps. The change was shown to fix the problem demonstrated in the FreeBSD telnet client, along with the telnet client in Solaris, SCO, Windows '95 & NT, DEC OSF, NCSA, and others. A similar change will be incorporated in the crypto version of telnetd. This resolves bin/771 and bin/1037.
* There is a clear separation of the crypto telnet and the non-crypto telnet.markm1997-09-281-4/+0
| | | | | As this is the non-crypto version, remove the useless (commented out) directives and macros.
* -p flag misdocumented in telnetd(8)wosch1997-09-141-3/+3
| | | | | PR: 4462 Submitted by: hfir@math.rochester.edu
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-281-2/+2
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-2210-10/+10
|
* Added support for %s (sysname) %m (machine) %r (release) and %v (version)davidn1997-02-021-0/+25
| | | | prompt macros to agree with getty(8).
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-1410-10/+10
| | | | | | | | 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-131-3/+3
|
* 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
* correct spelling of 'X Window System' (tm)wosch1996-10-061-2/+2
|
* delete doubled words, e.g.: "the the" -> "the"wosch1996-10-051-2/+2
|
* add forgotten $Id$wosch1996-09-2210-0/+16
|
* Fixed DPADD.bde1996-09-051-2/+2
|
* Add a ``-P altlogin'' option which allows the sysadmin to specify anpeter1996-08-133-4/+21
| | | | alternate login(1) type program to run.
* Localize timeache1996-05-071-0/+10
|
* This commit was generated by cvs2svn to compensate for changes in r13122,peter1995-12-301-91/+0
| | | | which included commits to RCS files with non-trunk default branches.
* Remove LD_NOSTD_PATH unsetenv, isn't exist anymoreache1995-10-241-1/+0
|
* Fix original patch error with ! before strncmpache1995-10-201-4/+10
| | | | Zap only needed LD_* variables
* Don't allow LD_* env. variables to be trickedache1995-10-201-0/+22
| | | | Submitted by: Sam Hartman <hartmans@mit.edu>
* Fixed bug introduced with the change of startslave()...two argumentsdg1995-09-111-3/+3
| | | | | | were chopped off of the function call and garbage was passed instead. The solution involves making some variable globals as well as fixing the call to have all the arguments.
* Move erase cleanup outside linemode conditionalpst1995-09-061-1/+1
|
* Properly set the erase character for the login prompt.pst1995-09-051-1/+5
| | | | Submitted by: John Capo <jc@irbs.com> & Peter Wemm
* Delay starting login process until option negotiation is complete topst1995-09-051-22/+7
| | | | | | avoid race condition on connections with larger round-trip-times. Submitted by: John Capo & Peter Wemm
* Fix some typos in a comment BUAD -> BAUD.ats1995-08-051-3/+3
|
* Change default banner fro 4.4 BSD to FreeBSD.paul1995-08-021-1/+1
| | | | | | Reviewed by: Submitted by: Obtained from:
OpenPOWER on IntegriCloud