des
4d6b787d2d
Usage style sweep: spell "usage" with a small 'u'.
...
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
2002-04-22 13:44:47 +00:00
charnier
ad8a79e6a5
Use `The .Nm utility'
2002-04-20 12:18:28 +00:00
markm
a5ca913bde
Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default.
2001-12-12 00:06:52 +00:00
jkh
8496a60c31
Don't assume that the number of fds to select on is known quantity (in
...
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
2001-12-08 21:51:34 +00:00
jhay
8694133670
Merge from crypto/telnet/telnet/commands.c. Add the necessary paths to
...
the kerberos libraries and includes.
2001-12-03 17:53:09 +00:00
markm
2149facaa0
Merge from master (crypto) telnet. WARNS fixes for alpha.
2001-12-03 12:41:19 +00:00
markm
9d10280c0b
Merge the (in)complete ANSIfication work from src/crypto/telnet.
2001-11-30 22:37:28 +00:00
markm
57acab063b
After running "make unifdef", commit the result. This code is now
...
a complete subset of the crypto (master) code.
2001-11-30 22:09:10 +00:00
markm
3962485896
Diff-reduce WRT src/secure/*telnet*/Makefile.
...
Also, add an "unifdef:" target, so that the telnet sources can
be remade from the crypto sources in src/crypto/telnet.
2001-11-30 21:34:51 +00:00
sobomax
142817d167
Use strlcpy(3) instead of strcpy(3) to copy optarg into a fixed-size buffer.
...
MFC after: 2 weeks
2001-10-16 09:21:09 +00:00
markm
5987cca2b8
Manually unifdef(1) CRAY, UNICOS, hpux and sun uselsess code.
2001-08-29 14:16:17 +00:00
markm
83e59be2f6
Code merge and diff reduction between this and crypto telnet.
...
Also remove useless AUTHENTICATION code. We have never compiled this
here, and it is doubtful that it even works without crypto.
2001-08-20 12:21:31 +00:00
horikawa
07824065f3
Removal of following export controll related sentences:
...
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
2001-08-15 01:23:30 +00:00
dd
911ca14c87
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
ru
36f138439b
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 14:16:33 +00:00
dd
eaa6ee03b8
mdoc(7) police: remove extraneous .Pp before and/or after .Sh.
2001-07-09 09:54:33 +00:00
brian
8636b161b3
Fix the type of the NULL arg to execl()
...
Idea from: Theo de Raadt <deraadt@openbsd.org>
2001-07-09 09:24:06 +00:00
ru
554102f1dd
mdoc(7) police: moved -u down, fixed markup, removed hard sentence break.
2001-07-05 13:27:33 +00:00
ru
9fe354114f
Document -u in the usage().
...
Make usage fit on a standard 80-column display.
2001-07-05 13:21:20 +00:00
dillon
a2bd71dbaf
A feature to allow one to telnet to a unix domain socket.
...
Obtained from: Lyndon Nerenberg <lyndon@orthanc.ab.ca>
2001-05-23 22:47:16 +00:00
ru
9f322d84b5
libtelnet.a is gone; add a special hack for `make release' fixit floppy.
2001-03-31 17:04:49 +00:00
ru
98c6ecb383
Bye-bye /usr/lib/libtelnet.a. This should fix ``make release'' brokeness.
...
Approved by: markm
2001-03-28 12:08:22 +00:00
luigi
58f7bc6968
Do not compile INET6 support if RELEASE_CRUNCH is defined
...
(used by install floppy/picobsd)
2001-02-18 07:28:31 +00:00
asmodai
7d76aced28
Fix typo: compatability -> compatibility.
...
Compatability is not an existing english word.
2001-02-06 12:05:58 +00:00
asmodai
3ade7f7578
Fix typo: seperate -> separate.
...
Seperate does not exist in the english language.
Also add $FreeBSD$ to README.
2001-02-06 11:21:40 +00:00
asmodai
e69fe706f1
Fix typo: wierd -> weird.
...
There is no such thing as wierd in the english language.
2001-02-06 09:25:10 +00:00
ru
8a6f8b5fe4
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
ru
6ab0b23323
Prepare for mdoc(7)NG.
2000-12-27 16:52:31 +00:00
kris
35eec2074d
Correct definition of MAXHOSTNAMELEN in ifdef'ed code.
...
Submitted by: Edwin Groothuis <mavetju@chello.nl>
PR: bin/22787
2000-11-26 21:37:51 +00:00
ru
0d1334ca0c
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 19:21:22 +00:00
kris
1a1517afe4
Fix a buffer overflow from a long local hostname.
...
Obtained from: OpenBSD
2000-11-19 10:08:26 +00:00
imp
47651a84a1
Fix buffer overflow when DISPLAY is longer than 43 characters. This
...
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.
2000-09-20 23:07:04 +00:00
imp
3c95f9ccde
getopt and friends are declared in <unistd.h>
...
getopt returns -1 not EOF.
2000-09-04 06:09:54 +00:00
ume
0abc0cfcd6
Fix buffer size of ALIGNed buffer.
...
PR: bin/20053
Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
2000-07-20 14:54:04 +00:00
ume
e1b6a23cbc
One more EAI_NONAME -> EAI_NODATA issue.
2000-07-07 21:05:55 +00:00
ume
4dac326800
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
a1d6ff0136
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
4310f54cc9
Mention about -4 and -6 options.
2000-06-12 18:30:16 +00:00
bde
e636950b3e
Fixed misspelling of DPADD as DPADDA.
...
Fixed some misformattings.
2000-03-27 16:37:32 +00:00
shin
73d476cc64
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
7926f9a427
Use libcrypto in place of libdes.
2000-02-24 21:06:22 +00:00
shin
981d4a6e4b
Use static buffer to save source route hostnames.
...
Approved by: jkh
2000-02-19 16:33:14 +00:00
shin
e1b335a34c
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
77f276d5ac
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
bca215974d
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
67ff6efc68
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
3859c2231c
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
5d39ea311b
fix breakage of make release.
...
Confirmed by: German Tischler <tanis@gaspode.franken.de>
2000-01-29 13:45:44 +00:00
shin
ce15efb7c0
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
04d539c0b6
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