summaryrefslogtreecommitdiffstats
path: root/usr.bin/telnet/commands.c
Commit message (Collapse)AuthorAgeFilesLines
* Usage style sweep: spell "usage" with a small 'u'.des2002-04-221-1/+1
| | | | | Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/.
* 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-301-14/+14
|
* After running "make unifdef", commit the result. This code is nowmarkm2001-11-301-577/+359
| | | | a complete subset of the crypto (master) code.
* Manually unifdef(1) CRAY, UNICOS, hpux and sun uselsess code.markm2001-08-291-37/+0
|
* Code merge and diff reduction between this and crypto telnet.markm2001-08-201-169/+71
| | | | | Also remove useless AUTHENTICATION code. We have never compiled this here, and it is doubtful that it even works without crypto.
* Fix the type of the NULL arg to execl()brian2001-07-091-2/+2
| | | | Idea from: Theo de Raadt <deraadt@openbsd.org>
* A feature to allow one to telnet to a unix domain socket.dillon2001-05-231-1/+29
| | | | Obtained from: Lyndon Nerenberg <lyndon@orthanc.ab.ca>
* Correct definition of MAXHOSTNAMELEN in ifdef'ed code.kris2000-11-261-1/+1
| | | | | Submitted by: Edwin Groothuis <mavetju@chello.nl> PR: bin/22787
* Fix a buffer overflow from a long local hostname.kris2000-11-191-2/+2
| | | | Obtained from: OpenBSD
* 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
* 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 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.
* another tcp apps IPv6 updates.(should be make world safe)shin2000-01-271-153/+275
| | | | | | | ftp, telnet, ftpd, faithd also telnet related sync with crypto, secure, kerberosIV Obtained from: KAME project
* Add "-s src_addr" option to allow setting of the source IP address.ru1999-06-161-2/+36
|
* Add "-N" option to supress reverse name lookup.billf1998-12-141-1/+2
| | | | | | | This comes in really handy when you're telneting the broken DNS server by IP. PR: bin/8698
* #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.
* Add #include <string.h> to get prototypes.jb1998-02-201-0/+1
|
* Hardcode progname in usage string.charnier1997-08-141-2/+2
|
* Make 'skey' command visible through 'help'ache1997-01-101-1/+4
|
* Import a few relatively minor fixes from current Borman telnet.pst1997-01-071-6/+45
| | | | | | | | | | 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
* Make telnet a synonym for openphk1996-09-191-0/+1
|
* Remove trailing whitespace.rgrimes1995-05-301-4/+4
|
* Use symbolic "IPTOS_LOWDELAY" instead of octal bit value for this socketdg1995-05-151-1/+1
| | | | option. The bit value was wrong.
* Fix big f*ckup by doing "make nocrypt"csgr1994-08-271-158/+4
| | | | | (Don't think I don't realize what a big f*ckup this was.) Submitted by: geoff.
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+2933
OpenPOWER on IntegriCloud