ume
333f04b348
One more EAI_NONAME -> EAI_NODATA issue.
2000-07-07 21:05:55 +00:00
ume
aa62bb6f1f
Make telnet -s work. It is corresponding to EAI_NONAME -> EAI_NODATA
...
change (getaddrinfo.c rev 1.12).
2000-07-07 20:46:37 +00:00
itojun
03cf9e7dd4
simplify and correct name resolution in tn().
...
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
2000-07-05 10:15:23 +00:00
ume
6c334889c8
Mention about -4 and -6 options.
2000-06-12 18:30:16 +00:00
bde
e8821bdbec
Fixed misspelling of DPADD as DPADDA.
...
Fixed some misformattings.
2000-03-27 16:37:32 +00:00
shin
d72ee94428
CMSG_XXX macros alignment fixes to follow RFC2292.
...
Approved by: jkh
Submitted by: Partly from tech@openbsd
Reviewed by: itojun
2000-03-03 11:13:12 +00:00
markm
2c4c950699
Use libcrypto in place of libdes.
2000-02-24 21:06:22 +00:00
shin
a8893d4efd
Use static buffer to save source route hostnames.
...
Approved by: jkh
2000-02-19 16:33:14 +00:00
shin
9659fa5515
Print "Trying ..." for each host. Also cleanups for error printing.
...
Approved by: jkh
Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
2000-02-19 16:17:41 +00:00
shin
d5883cc0eb
Fix bugs in telnet.
...
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
2000-02-15 15:59:12 +00:00
shin
68cae17428
Add more dual stack consideration.
...
-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
2000-02-10 20:06:36 +00:00
shin
969f5cb6ff
Fix telnet core dump at invalid service name specified.
...
Added an error check to avoid it.
Approved by: jkh
Submitted by: Robert Muir <rmuir@gibralter.net>
2000-02-07 00:52:49 +00:00
shin
f3aa8fcf5d
Add NI_NAMEREQD flag to getnameinfo() call. Without this flag,
...
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.
2000-01-29 18:21:05 +00:00
shin
d8a1d93dbc
fix breakage of make release.
...
Confirmed by: German Tischler <tanis@gaspode.franken.de>
2000-01-29 13:45:44 +00:00
shin
d0fbbcbc0f
another tcp apps IPv6 updates.(should be make world safe)
...
ftp, telnet, ftpd, faithd
also telnet related sync with crypto, secure, kerberosIV
Obtained from: KAME project
2000-01-27 09:28:38 +00:00
peter
37f2867c8f
Nearly missed this one. Turn off -DTERMCAP otherwise it defines a bunch
...
of conflicting symbols with ncurses.
1999-08-30 10:03:27 +00:00
peter
e4b04a2b21
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
nik
71fbbf6573
Document the "skey" command in telnet(1).
...
PR: docs/12360
Submitted by: kjm@rins.ryukoku.ac.jp (KOJIMA Hajime)
1999-07-19 22:24:32 +00:00
ru
af37d43a70
Add "-N" option to the SYNOPSIS and usage().
1999-06-17 07:12:39 +00:00
ru
f4a059387b
Add "-s src_addr" option to allow setting of the source IP address.
1999-06-16 15:26:22 +00:00
ru
25e98211f9
It was possible to circumvent telnet's security ``-E'' (no escape at all)
...
option by running it with ``-8 -E'' and passing it 0xff character.
PR: 6317
Reviewed by: des, David Borman <dab@bsdi.com> (the author)
1999-06-14 18:46:15 +00:00
billf
c8691681c6
Add "-N" option to supress reverse name lookup.
...
This comes in really handy when you're telneting the broken DNS server by
IP.
PR: bin/8698
1998-12-14 22:40:39 +00:00
bde
0ea85390b1
Fixed printf format errors.
1998-07-06 21:01:54 +00:00
peter
0d27ed3004
#include <arpa/inet.h>
1998-06-12 12:55:46 +00:00
imp
895e96c0e6
Don't assume that hp->h_lenght == 4. Be conservative in its use.
...
Submitted by: J. Assange a long time ago.
1998-06-09 04:31:02 +00:00
markm
9b5925e963
Remove unneeded crud.
1998-03-26 17:55:27 +00:00
jb
0ff408de5b
Add #include <stdlib.h> to get prototype for malloc().
1998-02-20 04:34:08 +00:00
jb
ca61421aeb
Add #include <string.h> to get prototypes.
1998-02-20 04:33:03 +00:00
steve
9ae1726dd9
Fix some minor formatting nits.
...
PR: 5373
Submitted by: Matthew Hunt <mph@pobox.com>
1997-12-27 18:58:27 +00:00
steve
fb1b341630
Correct some anomalies in the man page.
...
PR: 3808
Parially submitted by: Takeshi MUTOH <mutoh@info.nara-k.ac.jp>
1997-11-11 05:00:59 +00:00
charnier
ccf4536a38
Hardcode progname in usage string.
1997-08-14 06:44:41 +00:00
bde
890a3dcd24
This commit was generated by cvs2svn to compensate for changes in r27233,
...
which included commits to RCS files with non-trunk default branches.
1997-07-06 05:14:28 +00:00
bde
05bbfe8e9f
Import Lite2's src/usr.bin/telnet. The README is still on the vendor
...
branch and importing it gives some anachronisms. tn3270.c is still on
the vendor branch and importing it just changes a memcpy to memmove.
1997-07-06 05:14:28 +00:00
imp
cd84ece5fd
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 04:34:07 +00:00
peter
aef78d145b
Revert $FreeBSD$ to $Id$
1997-02-22 19:58:13 +00:00
wosch
ab0d7e7c60
Sort cross references.
1997-01-15 23:25:55 +00:00
jkh
9c0cd3f9df
Make the long-awaited change from $Id$ to $FreeBSD$
...
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.
1997-01-14 07:20:47 +00:00
peter
d4f1bf1349
Report the reason why select unexpectedly failed..
1997-01-13 02:34:56 +00:00
ache
4f8937bf19
Make 'skey' command visible through 'help'
1997-01-10 00:29:00 +00:00
ache
dae306ab70
Use -DSKEY instead of wrong -DPATH_SKEY
1997-01-10 00:27:50 +00:00
pst
1ac616d17c
Import a few relatively minor fixes from current Borman telnet.
...
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
1997-01-07 19:47:58 +00:00
wosch
0afb8360fb
delete doubled words, e.g.: "the the" -> "the"
1996-10-05 22:27:30 +00:00
phk
b614bb2c2e
Make telnet a synonym for open
1996-09-19 08:15:56 +00:00
bde
218243765f
Fixed DPADD.
1996-09-05 17:16:10 +00:00
pst
da3173fec8
Remove obsolete SOCKSv4 support
1996-05-30 03:09:18 +00:00
pst
af9fc6d8d9
Add support for socks
1996-04-23 05:18:43 +00:00
wosch
9e7aff489f
Section SEE ALSO complete
1996-01-29 00:05:36 +00:00
jkh
4d1697558b
Oh foo. I should a) learn to read. b) learn to think. :-)
...
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.
1995-08-28 17:52:39 +00:00
jkh
a033fa995d
Remove -DKLUDGELINEMODE again; it's breaking things and Paul T. says
...
it's a bug anyway.
1995-08-28 17:47:39 +00:00
ache
c0b334ce2d
Use the same DECODE_BAUD trick like in new telnet to set
...
termios speed
Obtained from: Pre-Lite2 telnet
1995-08-02 11:13:30 +00:00