summaryrefslogtreecommitdiffstats
path: root/usr.bin/telnet
Commit message (Collapse)AuthorAgeFilesLines
* Make sure that a "make release" (more accurately the bit that makesmarkm2003-07-241-0/+2
| | | | | the crunched binary) get a non-cryptographic telnet. This is overkill in that it covers stuff that is not normally used in a crunched binary.
* Ensure that for the cryptographic instances of *telnet*, the "crypto"markm2003-07-241-0/+1
| | | | distribution is used. This only affects release-building.
* Test correct macro for "without crypto" option(s).markm2003-07-201-1/+1
|
* Very big makeover in the way telnet, telnetd and libtelnet are built.markm2003-07-1617-10792/+16
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Mrege from crypto telnet with "make unifdef". This gets a bunch ofmarkm2003-05-119-41/+41
| | | | $FreeBSD$ tags and some debug variable safety belts.
* Diff-reduction WRT crypto telnet; replace "#if 0" code removed by anmarkm2002-12-291-0/+41
| | | | earlier invocation of unifdef(1).
* english(4) police.schweikh2002-12-271-1/+1
|
* Be more careful when parsing arguments.eric2002-11-201-2/+6
| | | | | PR: 45476 MFC after: 5 days
* Remove some #if 0'd code. After this, a "make unifdef" here producesdd2002-10-021-41/+0
| | | | | | no changes (against crypto telnet). Reviewed by: MD5
* Merge from crypto telnet: permit the argument to -s to be a hostname.dd2002-10-021-1/+0
|
* Unifdef(1) the crypto telnet sources.markm2002-09-256-8/+8
|
* Replace various spelling with FALLTHROUGH which is lint()ablecharnier2002-08-251-6/+6
|
* Typo fixo: imbedded => embeddedjmallett2002-07-131-1/+1
|
* Usage style sweep: spell "usage" with a small 'u'.des2002-04-222-2/+2
| | | | | Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/.
* Use `The .Nm utility'charnier2002-04-201-1/+2
|
* Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default.markm2001-12-121-2/+0
|
* Don't assume that the number of fds to select on is known quantity (injkh2001-12-081-32/+56
| | | | | | | this case 16). Use dynamic FD_SETs and calculated high-water marks throughout. Obtained from: OpenBSD and Apple's Radar database MFC after: 2 days
* Merge from crypto/telnet/telnet/commands.c. Add the necessary paths tojhay2001-12-031-1/+7
| | | | the kerberos libraries and includes.
* Merge from master (crypto) telnet. WARNS fixes for alpha.markm2001-12-031-1/+1
|
* Merge the (in)complete ANSIfication work from src/crypto/telnet.markm2001-11-303-116/+116
|
* After running "make unifdef", commit the result. This code is nowmarkm2001-11-3012-1979/+782
| | | | a complete subset of the crypto (master) code.
* Diff-reduce WRT src/secure/*telnet*/Makefile.markm2001-11-301-3/+14
| | | | | Also, add an "unifdef:" target, so that the telnet sources can be remade from the crypto sources in src/crypto/telnet.
* Use strlcpy(3) instead of strcpy(3) to copy optarg into a fixed-size buffer.sobomax2001-10-161-1/+1
| | | | MFC after: 2 weeks
* Manually unifdef(1) CRAY, UNICOS, hpux and sun uselsess code.markm2001-08-295-51/+4
|
* Code merge and diff reduction between this and crypto telnet.markm2001-08-2014-567/+252
| | | | | Also remove useless AUTHENTICATION code. We have never compiled this here, and it is doubtful that it even works without crypto.
* Removal of following export controll related sentences:horikawa2001-08-151-13/+1
| | | | | | | | | | | | | | o This option is not available outside of the United States and Canada. o Because of export controls, TELNET ENCRYPT option is not supported outside of the United States and Canada. src/crypto/README revision 1.5 commit log says: > Crypto sources are no longer export controlled: > Explain, why crypto sources are still in crypto/. and actually telnet encryption is used outside of US and Canada now. Pointed out by: OHSAWA Chitoshi <ohsawa@catv1.ccn-net.ne.jp> Reviewed by:no objection on doc
* Remove whitespace at EOL.dd2001-07-151-47/+47
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.dd2001-07-091-1/+0
|
* Fix the type of the NULL arg to execl()brian2001-07-091-2/+2
| | | | Idea from: Theo de Raadt <deraadt@openbsd.org>
* mdoc(7) police: moved -u down, fixed markup, removed hard sentence break.ru2001-07-051-8/+13
|
* Document -u in the usage().ru2001-07-051-9/+9
| | | | Make usage fit on a standard 80-column display.
* A feature to allow one to telnet to a unix domain socket.dillon2001-05-233-4/+44
| | | | Obtained from: Lyndon Nerenberg <lyndon@orthanc.ab.ca>
* libtelnet.a is gone; add a special hack for `make release' fixit floppy.ru2001-03-311-3/+8
|
* Bye-bye /usr/lib/libtelnet.a. This should fix ``make release'' brokeness.ru2001-03-281-1/+7
| | | | Approved by: markm
* Do not compile INET6 support if RELEASE_CRUNCH is definedluigi2001-02-181-1/+1
| | | | (used by install floppy/picobsd)
* Fix typo: compatability -> compatibility.asmodai2001-02-061-1/+1
| | | | Compatability is not an existing english word.
* Fix typo: seperate -> separate.asmodai2001-02-062-4/+5
| | | | | | Seperate does not exist in the english language. Also add $FreeBSD$ to README.
* Fix typo: wierd -> weird.asmodai2001-02-061-1/+1
| | | | There is no such thing as wierd in the english language.
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-25/+28
|
* Prepare for mdoc(7)NG.ru2000-12-271-2/+4
|
* 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-4/+4
|
* Fix a buffer overflow from a long local hostname.kris2000-11-191-2/+2
| | | | Obtained from: OpenBSD
* Fix buffer overflow when DISPLAY is longer than 43 characters. Thisimp2000-09-201-4/+7
| | | | | | | | | | is not exploitable because telnet doesn't run with elevated privs. Didn't fix all the other potential buffer overflows. Would be a good task for someone who has lots of time to carefully study each case because cut and paste solutions are dangerous for this code base. Added $FreeBSD$ in the same way that command.c did it.
* getopt and friends are declared in <unistd.h>imp2000-09-041-3/+3
| | | | getopt returns -1 not EOF.
* Fix buffer size of ALIGNed buffer.ume2000-07-201-2/+2
| | | | | PR: bin/20053 Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
* One more EAI_NONAME -> EAI_NODATA issue.ume2000-07-071-1/+1
|
* Make telnet -s work. It is corresponding to EAI_NONAME -> EAI_NODATAume2000-07-071-1/+1
| | | | change (getaddrinfo.c rev 1.12).
* simplify and correct name resolution in tn().itojun2000-07-051-18/+16
| | | | | | XXX what is the goal of af_switch()? it seems to me it is not necessary any more with getaddrinfo(3) fix for correct name-resolution ordering. comments? >shin
OpenPOWER on IntegriCloud