summaryrefslogtreecommitdiffstats
path: root/crypto/telnet
Commit message (Collapse)AuthorAgeFilesLines
* Fix buffer size of ALIGNed buffer.ume2000-07-201-2/+2
| | | | | PR: bin/20053 Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
* Add missing $FreeBSD$ to files that are NOT still on vendor a branch.peter2000-07-1619-0/+72
|
* Fix 'telnet -X sra' coredumpnsayer2000-07-111-1/+3
| | | | PR# 19835
* Don't call printf with no format string.kris2000-07-101-1/+5
|
* Make telnet -s work. It is corresponding to EAI_NONAME -> EAI_NODATAume2000-07-081-2/+2
| | | | change (getaddrinfo.c rev 1.12).
* sync with usr.bin/telnet/commands.c 1.21 -> 1.22. pierre.dampure@alveley.orgitojun2000-07-071-18/+16
|
* CMSG_XXX macros alignment fixes to follow RFC2292.shin2000-03-031-14/+12
| | | | Approved by: jkh
* Get crypto from libcrypto, not libdes.markm2000-02-245-5/+13
|
* Freefall/Internat diff reducer.markm2000-02-241-1/+1
|
* 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/+95
| | | | | | | | | | | | | | -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-276-194/+396
| | | | | | | ftp, telnet, ftpd, faithd also telnet related sync with crypto, secure, kerberosIV Obtained from: KAME project
* Termcap header no longer needed.markm1999-09-011-1/+0
|
* $Id$ -> $FreeBSD$peter1999-08-288-8/+8
|
* According to Mark Murray, Makefiles do not belong here. I guess we'rensayer1999-08-164-99/+0
| | | | going to have to figure something else out.
* Add SRA authentication to src/crypto/telnet.nsayer1999-08-1613-6/+923
| | | | | | | | | | | | | | | | | | | | SRA does a Diffie-Hellmen exchange and then DES-encrypts the authentication data. If the authentication is successful, it also sets up a session key for DES encryption. SRA was originally developed at Texas A&M University. This code is probably export restricted (despite the fact that I originally found it at a University in Germany). SRA is not perfect. It is vulnerable to monkey-in-the-middle attacks and does not use tremendously large DH constants (and thus an individual exchange probably could be factored in a few days on modern CPU horsepower). It does not, however, require any changes in user or administrative behavior and foils session hijacking and sniffing. The goal of this commit is that telnet and telnetd end up in the DES distribution and that therefore an encrypted session telnet becomes standard issue for FreeBSD.
* Fix int function without return (make consistent with neighbors)nsayer1999-08-161-0/+1
|
* Document the "skey" command in telnet(1).nik1999-07-301-0/+4
| | | | | | PR: docs/12360 Submitted by: kjm@rins.ryukoku.ac.jp (KOJIMA Hajime) Nagged by: markm :-)
* Merge from non-crypto version:ru1999-06-175-15/+75
| | | | | | | | - "-N" option - "-E" security fix - "-s src_addr" option Requested by: markm
* MF libexec/telnetd: Determine the host name using an array size ofbrian1999-04-081-2/+3
| | | | | MAXHOSTNAMELEN and call trimdomain() before implementing the -u option.
* MF libexec/telnetd: MAXHOSTNAMELEN & -u fixes.brian1999-04-072-8/+16
|
* Use realhostname().brian1999-04-061-39/+9
|
* MF src/libexec/telnetd: Verify the reverse DNS lookupbrian1999-04-061-2/+18
| | | | | ala rlogind. Suggested by: markm
* Old stuff laying around: Don't use getstr which can conflict with somepeter1998-12-162-6/+6
| | | | curses/termcap/terminfo implementations and causes recursion.
* Old stuff from a source tree: copy (verbatum) the code to expand thepeter1998-12-161-2/+31
| | | | %s/%m in the default /etc/gettytab.
* Remove redundant decl. of time(). Causes problems on alphagpalmer1998-09-011-2/+1
|
* MFC: sprintf paranoiaimp1998-01-221-7/+8
|
* MFC: no \n in syslog strings. Change -P to -p in flags. EOF -> -1. Use err(3).charnier1997-12-089-139/+165
|
* PR: bin/771 and bin/1037 are resolved by this changeuhclem1997-10-081-0/+16
| | | | | | | | | | | | | | | | This change changes the default handling of linemode so that older and/or stupider telnet clients can still get wakeup characters like <ESC> and <CTRL>D to work correctly multiple times on the same line, as in csh "set filec" operations. It also causes CR and LF characters to be read by apps in certain terminal modes consistently, as opposed to returning CR sometimes and LF sometimes, which broke existing apps. The change was shown to fix the problem demonstrated in the FreeBSD telnet client, along with the telnet client in Solaris, SCO, Windows '95 & NT, DEC OSF, NCSA, and others. A similar change was incorporated in the non-crypto version of telnetd. This resolves bin/771 and bin/1037.
* Bring the FreeBSD changes to the virgin sources.markm1997-09-0733-267/+472
|
* Initial import of BSD telnet. This will be used to build the kerberisedmarkm1997-09-0450-0/+27374
telnet, and after userland diffs have been merged in, will be used to build the non-kerberised sources as well. (See unifdef(1) for details)
OpenPOWER on IntegriCloud