summaryrefslogtreecommitdiffstats
path: root/contrib/telnet
Commit message (Collapse)AuthorAgeFilesLines
* Make the PAM user-override actually override the correect thing.nsayer2001-05-171-3/+3
|
* Back out last commit. This was already fixed. This should never havepeter2001-05-171-2/+0
| | | | | happened, this is why we have commit mail expressly delivered to committers.
* Fix the latest telnet breakage. Obviously this was never compiled.peter2001-05-171-4/+4
|
* Since the root-on-insecure-tty code was added to telnetd, a dependencynsayer2001-05-161-0/+2
| | | | | on char *line was added to libtelnet. Put a dummy one in to keep the linker happy.
* Make sure the protocol actively rejects bad data rather thannsayer2001-05-161-8/+8
| | | | (potentially) not responding to an invalid SRA 'auth is' message.
* srandomdev() affords us the opportunity to radically improve, and at thensayer2001-05-161-0/+7
| | | | same time simplify, the random number selection code.
* Catch any attempted buffer overflows. The magic numbers in this codensayer2001-05-161-2/+6
| | | | | | | (512) are a little distressing, but the method really needs to be extended to allow server-supplied DH parameters anyway. Submitted by: kris
* Catch malloc return failures. This should help avoid dereferencing NULL onnsayer2001-05-161-0/+8
| | | | | | low-memory situations. Submitted by: kris
* Hack to work around braindeath in libtelnet:sra.c. The sra.o filepeter2001-05-151-0/+1
| | | | | | | references global variables from telnetd, but is also linked into telnet as well. I was tempted to back out the last sra.c change as it is 100% bogus and should be taken out and shot, but for now this bandaid should get world working again. :-(
* If the uid of the attempted authentication is 0 and if the pty isnsayer2001-05-151-1/+34
| | | | | insecure, do not succeed. Copied from login.c. This functionality really should be a PAM module.
* Pointy hat fix -- reapply the SRA PAM patch. To -current this time.nsayer2001-05-071-0/+133
|
* mdoc(7) police: removed hard sentence breaks introduced in rev.1.10.ru2001-04-131-4/+5
|
* Clean up telnet's argument processing a bit. autologin and encryption isnsayer2001-04-062-34/+23
| | | | | | | now the default, so ignore the arguments that turn it on. Add a new -y argument to turn off encryption in case someone wants to do that. Sync these changes with the man page (including removing the now obsolete statement about availability only in the US and Canada).
* Reactivate SRA.nsayer2001-04-051-0/+18
| | | | | Make handling of SIGINT and SIGQUIT follow SIGTSTP in TerminalNewMode(). This allows people to break out of SRA authentication if they wish to.
* Fix core noted in -stable with 'auth disable SRA'.nsayer2001-03-181-2/+2
| | | | | I just mistakenly commited this to RELENG_4. I have contacted Jordan to see about how to fix this. Pass the pointy hat.
* enable auto-negotiation of encrypt and decryptassar2001-03-121-0/+13
|
* Synch: Add $FreeBSD$.asmodai2001-02-071-0/+1
|
* Fix typo: compatability -> compatibility.asmodai2001-02-061-1/+1
| | | | Compatability is not an existing english word.
* Fix typo: seperate -> separate.asmodai2001-02-062-2/+2
| | | | | | Seperate does not exist in the english language. Submitted to look at by: kris
* Fix typo: wierd -> weird.asmodai2001-02-062-2/+2
| | | | There is no such thing as wierd in the english language.
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-012-36/+38
|
* Prepare for mdoc(7)NG.ru2001-01-102-5/+11
|
* (scrub_env): change to only accept a listed set of variables,assar2000-12-101-23/+37
| | | | including only non-filename contents for TERMCAP
* Add more environment variables to be filtered through scrub_env().asmodai2000-11-301-0/+7
| | | | Synched from normal telnet.
* String paranoia fix. Synched from normal telnet.asmodai2000-11-301-2/+2
|
* String paranoia. Merged from regular telnet.asmodai2000-11-301-2/+2
|
* Correct definition of MAXHOSTNAMELEN in ifdef'ed code.kris2000-11-262-2/+2
| | | | | Submitted by: Edwin Groothuis <mavetju@chello.nl> PR: bin/22787
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-202-42/+42
|
* Fix a buffer overflow from a long local hostname.kris2000-11-191-2/+2
| | | | Obtained from: OpenBSD
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-102-9/+1
|
* Sync with usr.bin/telnet/telnet.c r1.9 - fix buffer overflow in DISPLAYkris2000-10-291-4/+7
|
* 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.
OpenPOWER on IntegriCloud