summaryrefslogtreecommitdiffstats
path: root/usr.bin/telnet
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Make 'skey' command visible through 'help'ache1997-01-101-1/+4
| |
* | Use -DSKEY instead of wrong -DPATH_SKEYache1997-01-101-1/+1
| |
* | Import a few relatively minor fixes from current Borman telnet.pst1997-01-076-16/+67
| | | | | | | | | | | | | | | | | | | | Add some buffer overrun fixes from OpenBSD and myself. Add skey calculator kludge from OpenBSD. TODO: do a real merge of dab's sources... probably just make telnet and telnetd contrib software. Obtained from: OpenBSD, dab@bsdi.com
* | delete doubled words, e.g.: "the the" -> "the"wosch1996-10-051-1/+2
| |
* | Make telnet a synonym for openphk1996-09-191-0/+1
| |
* | Fixed DPADD.bde1996-09-051-1/+2
| |
* | Remove obsolete SOCKSv4 supportpst1996-05-302-12/+1
| |
* | Add support for sockspst1996-04-232-1/+12
| |
* | Section SEE ALSO completewosch1996-01-291-0/+7
| |
* | Oh foo. I should a) learn to read. b) learn to think. :-)jkh1995-08-281-1/+1
| | | | | | | | | | | | Telnet has nothing to do with this, it's telnetd and telnetd doesn't use KLUDGELINEMODE so that theory is washed up. Anyway, back out previous commit and slink away with red face.
OpenPOWER on IntegriCloud