aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/telnet
Commit message (Collapse)AuthorAgeFilesLines
* Make sure that a "make release" (more accurately the bit that makesMark Murray2003-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. Notes: svn path=/head/; revision=117973
* Ensure that for the cryptographic instances of *telnet*, the "crypto"Mark Murray2003-07-241-0/+1
| | | | | | | distribution is used. This only affects release-building. Notes: svn path=/head/; revision=117953
* Test correct macro for "without crypto" option(s).Mark Murray2003-07-201-1/+1
| | | | Notes: svn path=/head/; revision=117813
* Very big makeover in the way telnet, telnetd and libtelnet are built.Mark Murray2003-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. Notes: svn path=/head/; revision=117675
* Mrege from crypto telnet with "make unifdef". This gets a bunch ofMark Murray2003-05-119-41/+41
| | | | | | | $FreeBSD$ tags and some debug variable safety belts. Notes: svn path=/head/; revision=114912
* Diff-reduction WRT crypto telnet; replace "#if 0" code removed by anMark Murray2002-12-291-0/+41
| | | | | | | earlier invocation of unifdef(1). Notes: svn path=/head/; revision=108385
* english(4) police.Jens Schweikhardt2002-12-271-1/+1
| | | | Notes: svn path=/head/; revision=108317
* Be more careful when parsing arguments.Eric Melville2002-11-201-2/+6
| | | | | | | | PR: 45476 MFC after: 5 days Notes: svn path=/head/; revision=107110
* Remove some #if 0'd code. After this, a "make unifdef" here producesDima Dorfman2002-10-021-41/+0
| | | | | | | | | no changes (against crypto telnet). Reviewed by: MD5 Notes: svn path=/head/; revision=104333
* Merge from crypto telnet: permit the argument to -s to be a hostname.Dima Dorfman2002-10-021-1/+0
| | | | Notes: svn path=/head/; revision=104332
* Unifdef(1) the crypto telnet sources.Mark Murray2002-09-256-8/+8
| | | | Notes: svn path=/head/; revision=103957
* Replace various spelling with FALLTHROUGH which is lint()ablePhilippe Charnier2002-08-251-6/+6
| | | | Notes: svn path=/head/; revision=102412
* Typo fixo: imbedded => embeddedJuli Mallett2002-07-131-1/+1
| | | | Notes: svn path=/head/; revision=99933
* Usage style sweep: spell "usage" with a small 'u'.Dag-Erling Smørgrav2002-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}/. Notes: svn path=/head/; revision=95258
* Use `The .Nm utility'Philippe Charnier2002-04-201-1/+2
| | | | Notes: svn path=/head/; revision=95124
* Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default.Mark Murray2001-12-121-2/+0
| | | | Notes: svn path=/head/; revision=87714
* Don't assume that the number of fds to select on is known quantity (inJordan K. Hubbard2001-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 Notes: svn path=/head/; revision=87537
* Merge from crypto/telnet/telnet/commands.c. Add the necessary paths toJohn Hay2001-12-031-1/+7
| | | | | | | the kerberos libraries and includes. Notes: svn path=/head/; revision=87279
* Merge from master (crypto) telnet. WARNS fixes for alpha.Mark Murray2001-12-031-1/+1
| | | | Notes: svn path=/head/; revision=87268
* Merge the (in)complete ANSIfication work from src/crypto/telnet.Mark Murray2001-11-303-116/+116
| | | | Notes: svn path=/head/; revision=87156
* After running "make unifdef", commit the result. This code is nowMark Murray2001-11-3012-1979/+782
| | | | | | | a complete subset of the crypto (master) code. Notes: svn path=/head/; revision=87154
* Diff-reduce WRT src/secure/*telnet*/Makefile.Mark Murray2001-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. Notes: svn path=/head/; revision=87147
* Use strlcpy(3) instead of strcpy(3) to copy optarg into a fixed-size buffer.Maxim Sobolev2001-10-161-1/+1
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=85026
* Manually unifdef(1) CRAY, UNICOS, hpux and sun uselsess code.Mark Murray2001-08-295-51/+4
| | | | Notes: svn path=/head/; revision=82497
* Code merge and diff reduction between this and crypto telnet.Mark Murray2001-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. Notes: svn path=/head/; revision=81964
* Removal of following export controll related sentences:Kazuo 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 Notes: svn path=/head/; revision=81663
* Remove whitespace at EOL.Dima Dorfman2001-07-151-47/+47
| | | | Notes: svn path=/head/; revision=79755
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79535
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.Dima Dorfman2001-07-091-1/+0
| | | | Notes: svn path=/head/; revision=79454
* Fix the type of the NULL arg to execl()Brian Somers2001-07-091-2/+2
| | | | | | | Idea from: Theo de Raadt <deraadt@openbsd.org> Notes: svn path=/head/; revision=79452
* mdoc(7) police: moved -u down, fixed markup, removed hard sentence break.Ruslan Ermilov2001-07-051-8/+13
| | | | Notes: svn path=/head/; revision=79321
* Document -u in the usage().Ruslan Ermilov2001-07-051-9/+9
| | | | | | | Make usage fit on a standard 80-column display. Notes: svn path=/head/; revision=79320
* A feature to allow one to telnet to a unix domain socket.Matthew Dillon2001-05-233-4/+44
| | | | | | | Obtained from: Lyndon Nerenberg <lyndon@orthanc.ab.ca> Notes: svn path=/head/; revision=77092
* libtelnet.a is gone; add a special hack for `make release' fixit floppy.Ruslan Ermilov2001-03-311-3/+8
| | | | Notes: svn path=/head/; revision=75042
* Bye-bye /usr/lib/libtelnet.a. This should fix ``make release'' brokeness.Ruslan Ermilov2001-03-281-1/+7
| | | | | | | Approved by: markm Notes: svn path=/head/; revision=74928
* Do not compile INET6 support if RELEASE_CRUNCH is definedLuigi Rizzo2001-02-181-1/+1
| | | | | | | (used by install floppy/picobsd) Notes: svn path=/head/; revision=72634
* Fix typo: compatability -> compatibility.Jeroen Ruigrok van der Werven2001-02-061-1/+1
| | | | | | | Compatability is not an existing english word. Notes: svn path=/head/; revision=72093
* Fix typo: seperate -> separate.Jeroen Ruigrok van der Werven2001-02-062-4/+5
| | | | | | | | | Seperate does not exist in the english language. Also add $FreeBSD$ to README. Notes: svn path=/head/; revision=72090
* Fix typo: wierd -> weird.Jeroen Ruigrok van der Werven2001-02-061-1/+1
| | | | | | | There is no such thing as wierd in the english language. Notes: svn path=/head/; revision=72082
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-011-25/+28
| | | | Notes: svn path=/head/; revision=71895
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-271-2/+4
| | | | Notes: svn path=/head/; revision=70410
* Correct definition of MAXHOSTNAMELEN in ifdef'ed code.Kris Kennaway2000-11-261-1/+1
| | | | | | | | Submitted by: Edwin Groothuis <mavetju@chello.nl> PR: bin/22787 Notes: svn path=/head/; revision=69223
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-4/+4
| | | | Notes: svn path=/head/; revision=68963
* Fix a buffer overflow from a long local hostname.Kris Kennaway2000-11-191-2/+2
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=68891
* Fix buffer overflow when DISPLAY is longer than 43 characters. ThisWarner Losh2000-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. Notes: svn path=/head/; revision=66151
* getopt and friends are declared in <unistd.h>Warner Losh2000-09-041-3/+3
| | | | | | | getopt returns -1 not EOF. Notes: svn path=/head/; revision=65428
* Fix buffer size of ALIGNed buffer.Hajimu UMEMOTO2000-07-201-2/+2
| | | | | | | | PR: bin/20053 Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su> Notes: svn path=/head/; revision=63662
* One more EAI_NONAME -> EAI_NODATA issue.Hajimu UMEMOTO2000-07-071-1/+1
| | | | Notes: svn path=/head/; revision=62789
* Make telnet -s work. It is corresponding to EAI_NONAME -> EAI_NODATAHajimu UMEMOTO2000-07-071-1/+1
| | | | | | | change (getaddrinfo.c rev 1.12). Notes: svn path=/head/; revision=62788
* simplify and correct name resolution in tn().Jun-ichiro itojun Hagino2000-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 Notes: svn path=/head/; revision=62633