summaryrefslogtreecommitdiffstats
path: root/secure/libexec/telnetd
Commit message (Collapse)AuthorAgeFilesLines
* Very big makeover in the way telnet, telnetd and libtelnet are built.markm2003-07-161-26/+0
| | | | | | | | | | | | | | | | | | | | | | | Previously, there were two copies of telnet; a non-crypto version that lived in the usual places, and a crypto version that lived in crypto/telnet/. The latter was built in a broken manner somewhat akin to other "contribified" sources. This meant that there were 4 telnets competing with each other at build time - KerberosIV, Kerberos5, plain-old-secure and base. KerberosIV is no longer in the running, but the other three took it in turns to jump all over each other during a "make buildworld". As the crypto issue has been clarified, and crypto _calls_ are not a problem, crypto/telnet has been repo-copied to contrib/telnet, and with this commit, all telnets are now "contribified". The contrib path was chosen to not destroy history in the repository, and differs from other contrib/ entries in that it may be worked on as "normal" BSD code. There is no dangerous crypto in these sources, only a very weak system less strong than enigma(1). Kerberos5 telnet and Secure telnet are now selected by using the usual macros in /etc/make.conf, and the build process is unsurprising and less treacherous.
* Set WFORMAT=0, overlooked in previous commits to libexec/.kris2002-02-061-0/+1
| | | | Reported by: jhay
* Clean up makefiles, and turn on WARNS=2. Take into account the telnetmarkm2001-11-301-2/+4
| | | | #if cleanup.
* Fixed world breakage when NOSHARED=yes. libmp now depends on libcrypto,bde2001-07-301-4/+4
| | | | so it must be linked before libcrypto to work right.
* Fixed world breakage in previous commit. -lpam must never be usedbde2001-05-091-3/+4
| | | | | | | | | directly (except in the definition of MINUSLPAM in bsd.libnames.mk) since it doesn't give all the lbraries necessary for static linkage. Fixed new and old bugs in DPADD. ${LIBPAM} was missing, and the library order was different from that in LDADD so `make checkdpadd' reported a non-bug.
* Add PAM support to SRA authentication. Cribbed mostly from ftpd. Thisnsayer2001-05-071-1/+1
| | | | | doesn't solve the problem of root being allowed to log in, but that sort of thing is something PAM should be doing anyway.
* Bye-bye /usr/lib/libtelnet.a. This should fix ``make release'' brokeness.ru2001-03-281-1/+1
| | | | Approved by: markm
* secure/ build fixes:ru2001-03-261-2/+2
| | | | | | | | | | | | | | | | | | | | - TELNETOBJDIR is gone. `buildworld' already installs libtelnet.a in ${WORLDTMP}/usr/lib, and we have LIBRARY_PATH pointing there. - SSHDIR (formerly SSHSRC) is now shared between all SSH modules. New LIBSSH is introduced for libssh.a (an internal static lib). Previously, build without prior `obj' was broken; SSH modules always looked for libssh.a in ${.OBJDIR}. Also, the dependancies on the libssh.a were missing. - libtelnet/ did not install the crypto version of telnet.h into /usr/include/arpa. - Removed BINOWN, BINMODE, BINDIR and SRCS with default values. Reviewed by: markm - MAN[1-9] -> MAN.
* Build everything properly. This means:markm2000-02-241-3/+3
| | | | | | | | | | | o Don't b uild libdes. o Crypto is now housed in libcrypto (with a compatability symlink to libdes) o RSA may depend on RSAREF at your locale. o OpenSSH is now a part of the base system.
* another tcp apps IPv6 updates.(should be make world safe)shin2000-01-271-1/+1
| | | | | | | ftp, telnet, ftpd, faithd also telnet related sync with crypto, secure, kerberosIV Obtained from: KAME project
* Revert -lmd changes now that libcrypt doesn't expose this binutils/ldpeter1999-12-181-3/+2
| | | | bug any more.
* Add libmd to DPADD and LDADD.marcel1999-12-171-2/+3
|
* Make telnet with SRA work.markm1999-10-071-0/+22
| | | | Submitted by: Nick Sayer
* Secure telnet is now in eBones.markm1996-11-0714-9318/+0
|
* Same as non-secure telnetd, add support for ``-P altlogin'' to specifypeter1996-08-133-4/+21
| | | | an alternate /usr/bin/login type program to be run.
* Localize timeache1996-05-071-0/+10
|
* Big clean-up job. Remove ancient and never-to-be used stuff.markm1996-03-111-39/+4
| | | | The look much more like BSD Makefiles now.
* Sense MAKE_EBONES, DESTDIRache1996-03-091-5/+11
| | | | SRCS, DPADD cleanup
* Remove LD_NOSTD_PATH unsetenv, it 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-3/+25
| | | | Submitted by: Sam Hartman <hartmans@mit.edu>
* Remove MAKE_EBONES conditionals. They were originally placed here becausegibbs1995-10-111-2/+0
| | | | of missing functionality in our libkrb which is no longer a problem.
* Add TELNETOBJDIR and CRYPTOBJDIR for use in LDADD entries. This makesgibbs1995-09-161-2/+2
| | | | secure reference the libraries that were just build instead of in /usr/lib.
* Enable kerberosIV authentication/encryption conditionalized on MAKE_EBONES.gibbs1995-09-141-5/+1
|
* sys_term.c: killed sleep(1) as this should no longer be a problem withdg1995-09-112-9/+3
| | | | | | the move of startslave(). telnetd.c: fix bug introduced with the move of startslave()...the number of arguments was wrong and "level" and "user_name" had to be made globals.
* Move erase cleanup outside linemode conditionalpst1995-09-061-1/+1
|
* Avoid race condition with telnet options processing (login: prompt lost).pst1995-09-051-22/+7
| | | | Submitted by: John Capo & Peter Wemm
* Set erase character for login: prompt.pst1995-09-051-1/+5
| | | | Submitted by: Peter Wemm & John Capo
* Do NOT compile with -DKLUDGELINEMODE...hoses many telnet clientspst1995-08-282-6/+8
|
* Comment out LDADD+=-ldescrypt, it is not yet active due toache1995-08-051-1/+2
| | | | missng defines for krb4encpwd and rsaencpwd and missing rsa library too.
* Change default banner to FreeBSD, properly ifdefed by __FreeBSD__ache1995-08-041-1/+5
| | | | | | Reviewed by: Submitted by: Obtained from:
* Final cleanup pass through Makefiles, now this stuffache1995-07-241-2/+7
| | | | | | autodetect kerberos/eBones and work even with eBones, but with reduced functionality (don't pick up des/krb stuff in this case)
* Add -ldescrypt, or wrong crypt version can be picked from libcache1995-07-241-0/+1
| | | | | | Reviewed by: Submitted by: Obtained from:
* Since this stuff not works with eBones, ifdef kerberos stuffache1995-07-241-0/+6
| | | | | | | with MAKE_KERBEROS to allow other things to live Reviewed by: Submitted by: Obtained from:
* When hostname len > 8, name replaced with dot notation when -u flagpst1995-07-201-7/+19
| | | | | | | | | | | | | | | | | | | not specified (default case). Use _PATH_* for utmp/wtmp. Support for >32 PTYs. >Submitted by: Heikki Suonsivu <hsu@cs.hut.fi> Plug already known security hole. (Brought over from 1.1.5): 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 Obtained from: FreeBSD insecure telnetd
* The final negotiation of DO_BINARY in the LINEMODE portion of the telnetd codepst1995-07-201-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 Obtained from: FreeBSD insecure telnetd
* Update telnet to the 95.05.31 release.pst1995-07-209-79/+252
| | | | Obtained from: Dave Borman <dab@cray.com>
* Remove trailing whitespace.rgrimes1995-05-307-28/+28
|
* Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcaprgrimes1994-09-111-1/+1
|
* Move the telnetd with encryption to src/securecsgr1994-08-1214-0/+9103
This needs tidying up and having makefiles sorted out later. Reviewed by: Geoff Rehmet
OpenPOWER on IntegriCloud