summaryrefslogtreecommitdiffstats
path: root/usr.bin/telnet
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Document the "skey" command in telnet(1).nik1999-07-191-1/+5
| | | | | PR: docs/12360 Submitted by: kjm@rins.ryukoku.ac.jp (KOJIMA Hajime)
* Add "-N" option to the SYNOPSIS and usage().ru1999-06-172-5/+5
|
* Add "-s src_addr" option to allow setting of the source IP address.ru1999-06-163-9/+60
|
* It was possible to circumvent telnet's security ``-E'' (no escape at all)ru1999-06-141-1/+1
| | | | | | | option by running it with ``-8 -E'' and passing it 0xff character. PR: 6317 Reviewed by: des, David Borman <dab@bsdi.com> (the author)
* Add "-N" option to supress reverse name lookup.billf1998-12-145-3/+12
| | | | | | | This comes in really handy when you're telneting the broken DNS server by IP. PR: bin/8698
* Fixed printf format errors.bde1998-07-061-1/+1
|
* #include <arpa/inet.h>peter1998-06-121-3/+1
|
* Don't assume that hp->h_lenght == 4. Be conservative in its use.imp1998-06-091-7/+10
| | | | Submitted by: J. Assange a long time ago.
* Remove unneeded crud.markm1998-03-261-207/+0
|
* Add #include <stdlib.h> to get prototype for malloc().jb1998-02-201-0/+1
|
* Add #include <string.h> to get prototypes.jb1998-02-202-0/+2
|
* Fix some minor formatting nits.steve1997-12-271-9/+9
| | | | | PR: 5373 Submitted by: Matthew Hunt <mph@pobox.com>
* Correct some anomalies in the man page.steve1997-11-111-34/+41
| | | | | PR: 3808 Parially submitted by: Takeshi MUTOH <mutoh@info.nara-k.ac.jp>
* Hardcode progname in usage string.charnier1997-08-142-48/+62
|
* This commit was generated by cvs2svn to compensate for changes in r27233,bde1997-07-062-25/+202
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import Lite2's src/usr.bin/telnet. The README is still on the vendorbde1997-07-0611-118/+368
| | | | | | | | | | branch and importing it gives some anachronisms. tn3270.c is still on the vendor branch and importing it just changes a memcpy to memmove.
* | compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | | | | | posix standard on the topic.
* | Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
| |
* | Sort cross references.wosch1997-01-151-1/+1
| |
* | Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | | | | | | | | | 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.
* | Report the reason why select unexpectedly failed..peter1997-01-131-1/+1
| |
OpenPOWER on IntegriCloud