Commit Graph

  • ba361ec27c More help for alpha WARNS=2. This code is, erm, unusual. Anyone who feels like rewriting it will meet no objection from me. markm 2001-12-03 12:16:40 +0000
  • 0efd3a3530 help the alphas out with the WARNS=2 stuff. markm 2001-12-03 12:13:18 +0000
  • a88d48b9df Damn. The previous mega-commit was incomplete WRT ANSIfication. This fixes that. markm 2001-11-30 22:28:07 +0000
  • a033672a04 Forced commit. markm 2001-11-30 21:09:11 +0000
  • 820d180830 Very large style makeover. markm 2001-11-30 21:06:38 +0000
  • 3352bb6256 Sheldon asked me to make a note of the Message-ID of the e-mail from Dave approving the copyright statement. nsayer 2001-10-31 02:04:33 +0000
  • 55a105f79b Fix world by trimming an extra comment terminator. jhb 2001-10-29 19:22:38 +0000
  • c28778abe6 Add Berkeley copyright to SRA. nsayer 2001-10-29 16:12:16 +0000
  • 5d43639f75 Diff-reduce these two. markm 2001-10-27 12:49:19 +0000
  • 1f6fc161a6 Add __FBSDID() to diff-reduce with "base" telnet. markm 2001-10-01 16:04:55 +0000
  • 3efb267b2d Manually unifdef(1) CRAY, UNICOS, hpux and sun uselsess code. markm 2001-08-29 14:16:17 +0000
  • ee8be0d9e9 Remove description of an option that only applies to UNICOS < 7.0. That define may still be present in the source, but I don't think anyone has plans to try to use it. dd 2001-08-25 21:29:12 +0000
  • 0fd2377dcc Code merge and diff reduce with "base" telnet. This is the "later" telnet, so it was treated as the reference code, except where later commits were made to "base" telnet. markm 2001-08-20 12:28:40 +0000
  • 65d4fa535a Removal of following export controll related sentences: o Because of export controls, TELNET ENCRYPT option is not supported outside of the United States and Canada. o Because of export controls, data encryption is not supported outside of the United States and Canada. horikawa 2001-08-15 01:30:25 +0000
  • 02129244b2 mdoc(7) police: s/BSD/.Bx/ where appropriate. ru 2001-08-14 10:01:54 +0000
  • 9de6e7ba10 output_data(), output_datalen() and netflush() didn't actually guarantee to do what they are supposed to: under some circumstances output data would be truncated, or the buffer would not actually be flushed (possibly leading to overflows when the caller assumes the operation succeeded). Change the semantics so that these functions ensure they complete the operation before returning. kris 2001-07-23 21:52:26 +0000
  • 2c684cfa07 More potential buffer overflow fixes. ru 2001-07-20 12:02:30 +0000
  • 819182e3f6 vsnprintf() can return a value larger than the buffer size. ru 2001-07-19 18:58:31 +0000
  • b3fb8c9630 Fixed the exploitable remote buffer overflow. ru 2001-07-19 17:48:57 +0000
  • bcdf745b83 mdoc(7) police: removed HISTORY info from the .Os call. ru 2001-07-10 10:42:19 +0000
  • af631c25e4 mdoc(7) police: merge all fixes from non-crypto version. ru 2001-07-05 14:08:12 +0000
  • 6024787790 MF non-crypto: 1.13: document -u in usage. ru 2001-07-05 14:06:27 +0000
  • 508568b464 Oops, forgot the 'u' in the getopt for the previous commit. dillon 2001-05-24 00:14:19 +0000
  • c5ebb16d3c A feature to allow one to telnet to a unix domain socket. (MFC from non-crypto version) dillon 2001-05-23 22:54:07 +0000
  • 9c526f75a3 Make the PAM user-override actually override the correect thing. nsayer 2001-05-17 16:28:11 +0000
  • b33b21628e Back out last commit. This was already fixed. This should never have happened, this is why we have commit mail expressly delivered to committers. peter 2001-05-17 03:14:42 +0000
  • 595c1bb3ca Fix the latest telnet breakage. Obviously this was never compiled. peter 2001-05-17 03:13:00 +0000
  • 7005445e10 Since the root-on-insecure-tty code was added to telnetd, a dependency on char *line was added to libtelnet. Put a dummy one in to keep the linker happy. nsayer 2001-05-16 20:34:42 +0000
  • 74034d9846 Make sure the protocol actively rejects bad data rather than (potentially) not responding to an invalid SRA 'auth is' message. nsayer 2001-05-16 20:24:58 +0000
  • e7c0163dfe srandomdev() affords us the opportunity to radically improve, and at the same time simplify, the random number selection code. nsayer 2001-05-16 18:32:46 +0000
  • 0a0c02d634 Catch any attempted buffer overflows. The magic numbers in this code (512) are a little distressing, but the method really needs to be extended to allow server-supplied DH parameters anyway. nsayer 2001-05-16 18:27:09 +0000
  • ebece97cb0 Catch malloc return failures. This should help avoid dereferencing NULL on low-memory situations. nsayer 2001-05-16 18:17:55 +0000
  • 8e7393fb93 Hack to work around braindeath in libtelnet:sra.c. The sra.o file 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. :-( peter 2001-05-15 09:52:03 +0000
  • b482ad5b9e If the uid of the attempted authentication is 0 and if the pty is insecure, do not succeed. Copied from login.c. This functionality really should be a PAM module. nsayer 2001-05-15 04:47:14 +0000
  • 4213319244 Pointy hat fix -- reapply the SRA PAM patch. To -current this time. nsayer 2001-05-07 20:42:02 +0000
  • ff3aa86c66 mdoc(7) police: removed hard sentence breaks introduced in rev.1.10. ru 2001-04-13 08:49:52 +0000
  • eca1a06f99 Clean up telnet's argument processing a bit. autologin and encryption is 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). nsayer 2001-04-06 15:56:10 +0000
  • 785ba71778 Reactivate SRA. nsayer 2001-04-05 14:09:15 +0000
  • 47180006ae Fix core noted in -stable with 'auth disable SRA'. nsayer 2001-03-18 09:44:25 +0000
  • cd5df88636 enable auto-negotiation of encrypt and decrypt assar 2001-03-12 03:54:48 +0000
  • ed8b315538 Synch: Add $FreeBSD$. asmodai 2001-02-07 21:58:16 +0000
  • 46713b7ae5 Fix typo: compatability -> compatibility. asmodai 2001-02-06 12:05:58 +0000
  • 47df13c3d8 Fix typo: seperate -> separate. asmodai 2001-02-06 10:39:38 +0000
  • 80f3e3bc78 Fix typo: wierd -> weird. asmodai 2001-02-06 09:32:26 +0000
  • aea25d194d mdoc(7) police: split punctuation characters + misc fixes. ru 2001-02-01 17:12:45 +0000
  • 9e4c977b52 Prepare for mdoc(7)NG. ru 2001-01-10 16:51:28 +0000
  • 40b68302ee (scrub_env): change to only accept a listed set of variables, including only non-filename contents for TERMCAP assar 2000-12-10 20:50:20 +0000
  • fe910aa69a Add more environment variables to be filtered through scrub_env(). Synched from normal telnet. asmodai 2000-11-30 13:14:54 +0000
  • e84c612e39 String paranoia fix. Synched from normal telnet. asmodai 2000-11-30 13:10:01 +0000
  • a352b628e8 String paranoia. Merged from regular telnet. asmodai 2000-11-30 10:55:25 +0000
  • 312e8003c1 Correct definition of MAXHOSTNAMELEN in ifdef'ed code. kris 2000-11-26 21:37:51 +0000
  • eec40d7c66 mdoc(7) police: use the new features of the Nm macro. ru 2000-11-20 20:10:44 +0000
  • 53049b911e Fix a buffer overflow from a long local hostname. kris 2000-11-19 10:08:26 +0000
  • 0ee5242ab6 Avoid use of direct troff requests in mdoc(7) manual pages. ru 2000-11-10 17:46:15 +0000
  • 2ffcc09501 Sync with usr.bin/telnet/telnet.c r1.9 - fix buffer overflow in DISPLAY kris 2000-10-29 00:10:14 +0000
  • a2af2980e2 Fix buffer size of ALIGNed buffer. ume 2000-07-20 14:54:04 +0000
  • 4bd1ed896a Forced commit. This is to try and help folks that used the international crypto repo and have slightly different files but with the same version. cvsup in 'checkout mode' has no trouble with this, but cvs can get really silly about it. peter 2000-07-16 05:53:14 +0000
  • 1448d0f1e3 Add missing $FreeBSD$ to files that are NOT still on vendor a branch. peter 2000-07-16 05:48:49 +0000
  • 794e8e7295 Fix 'telnet -X sra' coredump nsayer 2000-07-11 15:04:05 +0000
  • a19c3ab413 Don't call printf with no format string. kris 2000-07-10 05:16:59 +0000
  • 7b1c9dcfd4 Make telnet -s work. It is corresponding to EAI_NONAME -> EAI_NODATA change (getaddrinfo.c rev 1.12). ume 2000-07-08 05:22:00 +0000
  • 79d0212f03 sync with usr.bin/telnet/commands.c 1.21 -> 1.22. pierre.dampure@alveley.org itojun 2000-07-07 12:35:05 +0000
  • 5137153b86 CMSG_XXX macros alignment fixes to follow RFC2292. shin 2000-03-03 12:50:46 +0000
  • 2d4e3ed569 Get crypto from libcrypto, not libdes. markm 2000-02-24 19:28:31 +0000
  • 811772a718 Freefall/Internat diff reducer. markm 2000-02-24 10:37:29 +0000
  • 737e54e224 Use static buffer to save source route hostnames. shin 2000-02-19 16:33:14 +0000
  • 62286e5a31 Print "Trying ..." for each host. Also cleanups for error printing. shin 2000-02-19 16:17:41 +0000
  • c750243830 Fix bugs in telnet. shin 2000-02-15 15:59:12 +0000
  • d2ec198a69 Add more dual stack consideration. shin 2000-02-10 20:06:36 +0000
  • 92a0e6dadf Fix telnet core dump at invalid service name specified. Added an error check to avoid it. shin 2000-02-07 00:52:49 +0000
  • 845ce56d7b 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. shin 2000-01-29 18:21:05 +0000
  • 32ca7e751c another tcp apps IPv6 updates.(should be make world safe) ftp, telnet, ftpd, faithd also telnet related sync with crypto, secure, kerberosIV shin 2000-01-27 09:28:38 +0000
  • afe31edad1 Termcap header no longer needed. markm 1999-09-01 18:57:38 +0000
  • 1e75920e30 $Id$ -> $FreeBSD$ peter 1999-08-28 01:35:59 +0000
  • 95b971e484 According to Mark Murray, Makefiles do not belong here. I guess we're going to have to figure something else out. nsayer 1999-08-16 18:59:05 +0000
  • 0f2c0f75fe Add SRA authentication to src/crypto/telnet. nsayer 1999-08-16 11:24:29 +0000
  • 1549f66b7a Fix int function without return (make consistent with neighbors) nsayer 1999-08-16 02:15:29 +0000
  • f82c4699bc Document the "skey" command in telnet(1). nik 1999-07-30 21:24:03 +0000
  • 6d21a249df Merge from non-crypto version: - "-N" option - "-E" security fix - "-s src_addr" option ru 1999-06-17 09:24:37 +0000
  • ec2cbe8315 MF libexec/telnetd: Determine the host name using an array size of MAXHOSTNAMELEN and call trimdomain() before implementing the -u option. brian 1999-04-08 21:39:34 +0000
  • e115c62597 MF libexec/telnetd: MAXHOSTNAMELEN & -u fixes. brian 1999-04-07 10:17:24 +0000
  • 8229e94407 Use realhostname(). brian 1999-04-06 23:35:21 +0000
  • a483d5b52d MF src/libexec/telnetd: Verify the reverse DNS lookup ala rlogind. Suggested by: markm brian 1999-04-06 12:41:27 +0000
  • 8808a173ed Old stuff laying around: Don't use getstr which can conflict with some curses/termcap/terminfo implementations and causes recursion. peter 1998-12-16 06:06:06 +0000
  • a2726b72a6 Old stuff from a source tree: copy (verbatum) the code to expand the %s/%m in the default /etc/gettytab. peter 1998-12-16 06:01:33 +0000
  • 5abbe24d1c Remove redundant decl. of time(). Causes problems on alpha gpalmer 1998-09-01 15:17:28 +0000
  • dabfba2c01 MFC: sprintf paranoia imp 1998-01-22 00:04:57 +0000
  • 4f7c22a987 MFC: no \n in syslog strings. Change -P to -p in flags. EOF -> -1. Use err(3). charnier 1997-12-08 07:41:13 +0000
  • d16b9a5166 PR: bin/771 and bin/1037 are resolved by this change 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. uhclem 1997-10-08 03:14:34 +0000
  • 6ba4d9bbdb Bring the FreeBSD changes to the virgin sources. markm 1997-09-07 07:02:53 +0000
  • 0e15f670a1 This commit was generated by cvs2svn to compensate for changes in r29088, which included commits to RCS files with non-trunk default branches. markm 1997-09-04 06:11:16 +0000