aboutsummaryrefslogtreecommitdiff
path: root/libexec/telnetd
Commit message (Collapse)AuthorAgeFilesLines
* sprintf->snprintf paranoia. The one thing that looks like a hole inWarner Losh1997-12-241-7/+8
| | | | | | | | the diff is in an ifdef that isn't enabled for FreeBSD. Obtained from: OpenBSD(?) Notes: svn path=/head/; revision=31975
* Sync with diffs I found in kerberised versions: -Wall, no `;' in macros.Philippe Charnier1997-12-083-27/+25
| | | | Notes: svn path=/head/; revision=31625
* Use err(3). Remove progname and trailing \n in syslog strings.Philippe Charnier1997-12-038-149/+155
| | | | Notes: svn path=/head/; revision=31511
* PR: bin/771 and bin/1037 are resolved by this changeFrank Durda IV1997-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. Notes: svn path=/head/; revision=30211
* There is a clear separation of the crypto telnet and the non-crypto telnet.Mark Murray1997-09-281-4/+0
| | | | | | | | As this is the non-crypto version, remove the useless (commented out) directives and macros. Notes: svn path=/head/; revision=29918
* -p flag misdocumented in telnetd(8)Wolfram Schneider1997-09-141-3/+3
| | | | | | | | PR: 4462 Submitted by: hfir@math.rochester.edu Notes: svn path=/head/; revision=29397
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-281-2/+2
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24349
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-2210-10/+10
| | | | Notes: svn path=/head/; revision=22989
* Added support for %s (sysname) %m (machine) %r (release) and %v (version)David Nugent1997-02-021-0/+25
| | | | | | | prompt macros to agree with getty(8). Notes: svn path=/head/; revision=22196
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=21673
* Sort cross references.Wolfram Schneider1997-01-131-3/+3
| | | | Notes: svn path=/head/; revision=21635
* Some buffer overrun fixes and removed check for username starting with "-"Paul Traina1997-01-073-13/+16
| | | | | | | | | (replacied it with a getopt stopper (--) instead, which is more correct). Obtained from: OpenBSD Notes: svn path=/head/; revision=21403
* correct spelling of 'X Window System' (tm)Wolfram Schneider1996-10-061-2/+2
| | | | Notes: svn path=/head/; revision=18767
* delete doubled words, e.g.: "the the" -> "the"Wolfram Schneider1996-10-051-2/+2
| | | | Notes: svn path=/head/; revision=18718
* add forgotten $Id$Wolfram Schneider1996-09-2210-0/+16
| | | | Notes: svn path=/head/; revision=18471
* Fixed DPADD.Bruce Evans1996-09-051-2/+2
| | | | Notes: svn path=/head/; revision=18050
* Add a ``-P altlogin'' option which allows the sysadmin to specify anPeter Wemm1996-08-133-4/+21
| | | | | | | alternate login(1) type program to run. Notes: svn path=/head/; revision=17568
* Localize timeAndrey A. Chernov1996-05-071-0/+10
| | | | Notes: svn path=/head/; revision=15662
* This commit was generated by cvs2svn to compensate for changes in r13122,Peter Wemm1995-12-301-91/+0
| | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=13123
* Remove LD_NOSTD_PATH unsetenv, isn't exist anymoreAndrey A. Chernov1995-10-241-1/+0
| | | | Notes: svn path=/head/; revision=11767
* Fix original patch error with ! before strncmpAndrey A. Chernov1995-10-201-4/+10
| | | | | | | Zap only needed LD_* variables Notes: svn path=/head/; revision=11597
* Don't allow LD_* env. variables to be trickedAndrey A. Chernov1995-10-201-0/+22
| | | | | | | Submitted by: Sam Hartman <hartmans@mit.edu> Notes: svn path=/head/; revision=11591
* Fixed bug introduced with the change of startslave()...two argumentsDavid Greenman1995-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. Notes: svn path=/head/; revision=10678
* Move erase cleanup outside linemode conditionalPaul Traina1995-09-061-1/+1
| | | | Notes: svn path=/head/; revision=10571
* Properly set the erase character for the login prompt.Paul Traina1995-09-051-1/+5
| | | | | | | Submitted by: John Capo <jc@irbs.com> & Peter Wemm Notes: svn path=/head/; revision=10561
* Delay starting login process until option negotiation is complete toPaul Traina1995-09-051-22/+7
| | | | | | | | | avoid race condition on connections with larger round-trip-times. Submitted by: John Capo & Peter Wemm Notes: svn path=/head/; revision=10560
* Fix some typos in a comment BUAD -> BAUD.Andreas Schulz1995-08-051-3/+3
| | | | Notes: svn path=/head/; revision=9931
* Change default banner fro 4.4 BSD to FreeBSD.Paul Richards1995-08-021-1/+1
| | | | | | | | | Reviewed by: Submitted by: Obtained from: Notes: svn path=/head/; revision=9860
* Use the same DECODE_BAUD trick like in new telnetd to obtainAndrey A. Chernov1995-08-021-0/+17
| | | | | | | | termios speed. Obtained from: Pre-Lite2 telnet Notes: svn path=/head/; revision=9857
* The final negotiation of DO_BINARY in the LINEMODE portion of the telnetd codeDavid Greenman1995-06-171-19/+28
| | | | | | | | | | | | | causes some clients that do not support linemode to mis-interpret the return key (i.e. double returns). The fix is to only do the state check for binary options if linemode will be used. Closes PR#505. Submitted by: Charles Henrich Notes: svn path=/head/; revision=9253
* Remove trailing whitespace.Rodney W. Grimes1995-05-307-29/+29
| | | | Notes: svn path=/head/; revision=8870
* Fix bug:Andrey A. Chernov1995-04-261-2/+9
| | | | | | | | | When hostname len > 8, name replaced with dot notation when -u flag not specified (default case). Use _PATH_* for utmp/wtmp. Notes: svn path=/head/; revision=8093
* Support for >32 PTYs.Jordan K. Hubbard1995-02-091-3/+3
| | | | | | | Submitted by: Heikki Suonsivu <hsu@cs.hut.fi> Notes: svn path=/head/; revision=6264
* Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcapRodney W. Grimes1994-09-111-1/+1
| | | | Notes: svn path=/head/; revision=2678
* Don't define KLUDGELINEMODE.Geoff Rehmet1994-09-051-1/+2
| | | | | | | | | (If you do, you will have problems trying to telnet into a FreeBSD-2.0 box from a Sun, and I WANT TO DO THAT.) Submitted by: Geoff Notes: svn path=/head/; revision=2517
* Plug already known security hole. (Brought over from 1.1.5):Guido van Rooij1994-08-151-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 Notes: svn path=/head/; revision=2077
* Remove the scary bits from telnetd - no more encryption left here.Geoff Rehmet1994-08-126-274/+3
| | | | | | | | Only crypt.c in libc remains. Reviewed by: Geoff Rehmet Notes: svn path=/head/; revision=2054
* Change bogus --I to -I to make compilation happen again.Jordan K. Hubbard1994-08-101-1/+1
| | | | | | | Submitted by: jkh Notes: svn path=/head/; revision=2002
* Update to new make macros and disable Kerberos because we haven't got itGarrett Wollman1994-08-051-3/+4
| | | | | | | set up right yet. Notes: svn path=/head/; revision=1875
* BSD 4.4 Lite Libexec SourcesRodney W. Grimes1994-05-2714-0/+9102
Notes: svn path=/vendor/CSRG/dist/; revision=1592