summaryrefslogtreecommitdiffstats
path: root/usr.bin/telnet
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Mention about -4 and -6 options.ume2000-06-121-1/+9
|
* Fixed misspelling of DPADD as DPADDA.bde2000-03-271-3/+2
| | | | Fixed some misformattings.
* CMSG_XXX macros alignment fixes to follow RFC2292.shin2000-03-031-14/+12
| | | | | | | Approved by: jkh Submitted by: Partly from tech@openbsd Reviewed by: itojun
* Use libcrypto in place of libdes.markm2000-02-241-4/+0
|
* Use static buffer to save source route hostnames.shin2000-02-191-1/+1
| | | | Approved by: jkh
* Print "Trying ..." for each host. Also cleanups for error printing.shin2000-02-191-8/+3
| | | | | | Approved by: jkh Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
* Fix bugs in telnet.shin2000-02-151-8/+16
| | | | | | | | | Sorry there were still several bugs. -error retry at af missmatch was incomplete. -af matching for source addr option was wrong -socket was not freed at retry. Approved by: jkh
* Add more dual stack consideration.shin2000-02-101-27/+96
| | | | | | | | | | | | | | -Should retry as much as possible when some of source routing intermediate hosts' address families missmatch happened. (such as when a host has only A record, and another host has each of A and AAAA record.) -Should retry as much as possible when dest addr and source addr(specified with -s option) address family missmatch happend Approved by: jkh
* Fix telnet core dump at invalid service name specified.shin2000-02-071-0/+6
| | | | | | | | Added an error check to avoid it. Approved by: jkh Submitted by: Robert Muir <rmuir@gibralter.net>
* Add NI_NAMEREQD flag to getnameinfo() call. Without this flag,shin2000-01-291-1/+1
| | | | | | | | getnameinfo() don't return error at name resolving failure. But it is used at doaddrlookup(-N) case in telnet, error need to be returned to correctly initialize hostname buffer. Discovered at checking recent KAME repository change, noticed by itojun.
* fix breakage of make release.shin2000-01-291-3/+10
| | | | Confirmed by: German Tischler <tanis@gaspode.franken.de>
* another tcp apps IPv6 updates.(should be make world safe)shin2000-01-275-162/+339
| | | | | | | ftp, telnet, ftpd, faithd also telnet related sync with crypto, secure, kerberosIV Obtained from: KAME project
* Nearly missed this one. Turn off -DTERMCAP otherwise it defines a bunchpeter1999-08-301-1/+1
| | | | of conflicting symbols with ncurses.
OpenPOWER on IntegriCloud