Commit Graph

  • 297d1063f1 Set theme jekyll-theme-dinky master Stephen Heumann 2017-04-20 00:03:54 -0500
  • 578c8203d8 Add README. v0.1 Stephen Heumann 2016-01-09 22:30:05 -0600
  • 1706441553 Add sample configuration files. Stephen Heumann 2016-01-09 22:15:42 -0600
  • f659286e00 Rewrite environment-cleaning code to not directly modify environ or its contents. Stephen Heumann 2016-01-09 18:04:58 -0600
  • e6c2831323 Work around a GNO kernel bug that could cause crashes in error cases. Stephen Heumann 2016-01-09 14:50:21 -0600
  • 8a3b1e25cd When forking the child process, wait until the child has exec'd before continuing in the parent. Stephen Heumann 2016-01-09 12:46:38 -0600
  • 494c69cf82 Eliminate large stack-allocated buffers, and set the stack size to 1.5k. Stephen Heumann 2016-01-08 19:31:20 -0600
  • 7f21186a25 Don't try to use pty packet mode on GNO, which doesn't support it. Stephen Heumann 2016-01-08 17:54:14 -0600
  • 3eba861bdb Remove root files in "make clean" Stephen Heumann 2016-01-07 20:43:59 -0600
  • cc929f87ce Don't generate log messages about "setsockopt (IP_TOS)" not working on GNO. Stephen Heumann 2016-01-07 20:19:25 -0600
  • e761e0fc48 Use correct path for login on GNO. Stephen Heumann 2016-01-07 20:07:53 -0600
  • 2de9b6ebc3 Turn on a few optimizations. Stephen Heumann 2016-01-07 18:54:14 -0600
  • a995ff4eb5 Environment handling on GNO Stephen Heumann 2016-01-06 20:39:54 -0600
  • 03a535e170 Change hardcoded fds to STDIN_FILENO and STDERR_FILENO. Stephen Heumann 2015-06-10 23:23:50 -0500
  • 98b485d83b vasprintf: Pass a 1-character buffer to initial vsnprintf call. Stephen Heumann 2015-06-03 20:38:31 -0500
  • 7968e76e4a telnetd: Change hardcoded 0s for stdin to STDIN_FILENO. Stephen Heumann 2015-06-02 13:44:50 -0500
  • 2b354e2b66 Replace getent and Getstr code on GNO with code taken from GNO's getty. Stephen Heumann 2015-06-01 21:55:09 -0500
  • 1d35c61146 Misc. small changes to remove uses of unavailable functions in telnetd. Stephen Heumann 2015-06-01 20:37:04 -0500
  • 1c8d72b2d1 telnet: Define signal handlers on GNO with the proper signature (taking two arguments). Stephen Heumann 2015-06-01 17:55:24 -0500
  • a1e8056a8b Remove (most) instances of casting between incompatible function pointer types in telnet/commands.c. Stephen Heumann 2015-06-01 17:33:25 -0500
  • 972e6d98ba Fix a couple link errors in telnetd related to ORCA/C's handling of externs. Stephen Heumann 2015-06-01 16:42:47 -0500
  • af6c2cbe7a Add an implementation for GNO of posix_openpt and related functions for handling ptys. Stephen Heumann 2015-06-01 16:25:56 -0500
  • aeddbd055f Divide telnet sources into two segments. Stephen Heumann 2015-05-31 23:44:46 -0500
  • 46f340c657 Update makefile to build and link in libtelnet files used exclusively by either telnet or telnetd only for the appropriate binary. Stephen Heumann 2015-05-31 23:20:21 -0500
  • 391736d065 Remove source files needed only for authentication or encryption, which we've disabled. Stephen Heumann 2015-05-31 22:55:19 -0500
  • e39285b030 Add missing inet_ntop function Stephen Heumann 2015-05-31 21:39:51 -0500
  • ff78ce7134 Add missing vasprintf function Stephen Heumann 2015-05-31 21:11:05 -0500
  • 4f442220c5 Add strlcpy, which GNO's libc doesn't have. Stephen Heumann 2015-05-31 20:23:06 -0500
  • 923ec4e425 Transform (v)fork calls to use GNO's fork2 call. Stephen Heumann 2015-05-31 19:54:10 -0500
  • de9fad8d67 More small changes for GNO and ORCA/C compatibility. Stephen Heumann 2015-05-31 17:57:31 -0500
  • 9bab5c3dec Add an implementation of getaddrinfo and getnameinfo, which are missing in GNO. Stephen Heumann 2015-05-31 16:56:05 -0500
  • cd51610a6f Add a GNO-specific makefile, and move stuff that's common between GNO and OS X makefiles to a file included by both of them. Stephen Heumann 2015-05-31 16:21:53 -0500
  • 581990e767 Misc. small changes for GNO and ORCA/C compatibility Stephen Heumann 2015-05-31 10:13:17 -0500
  • cfa9287257 Back out recently-added code that uses mmap. Stephen Heumann 2015-05-31 10:12:25 -0500
  • e8c6388223 Get rid of __FBSDID macros, which aren't defined in GNO (and thus prevent compilation). Stephen Heumann 2015-05-30 22:26:48 -0500
  • 327170235b Changes to make telnet & telnetd compile on OS X, and begin adapting them to GNO: Stephen Heumann 2015-05-30 22:12:01 -0500
  • 052bf438de Add baud rate support to telnet(1) ngie 2014-11-11 04:06:05 +0000
  • 2d43ae29e1 Improve upon previous commit: 1. Check return of mmap(2) (*) 2. Avoid FD leak when fstat fails. 3. Fix style(9). marcel 2014-03-02 03:34:06 +0000
  • 2c30da6c4a Revive support for /etc/issue, lost due revision 81963. marcel 2014-03-02 00:47:47 +0000
  • 839f5deaca Propagate ancient fix from Junos. Use of -h is not supposed to depend on AUTHENTICATION being defined. sjg 2013-11-07 00:36:39 +0000
  • d37ea43702 Fix "automatic" login, broken by revision 69825 (12 years, 5 months ago). The "automatic" login feature is described as follows: The USER environment variable holds the name of the person telnetting in. This is the username of the person on the client machine. The traditional behaviour is to execute login(1) with this username first, meaning that login(1) will prompt for the password only. If login fails, login(1) will retry, but now prompt for the username before prompting for the password. marcel 2013-05-31 17:30:12 +0000
  • 6b099757e8 Make sure that each va_start has one and only one matching va_end, especially in error cases. kevlo 2012-09-28 07:51:30 +0000
  • 2e1696417c Remove superfluous paragraph macro. joel 2012-06-17 11:04:38 +0000
  • d97058c8ec - Do not use deprecated krb5 error message reporting functions in libtelnet. stas 2012-04-06 00:03:45 +0000
  • a02488779d Fix a problem whereby a corrupt DNS record can cause named to crash. [11:06] cperciva 2011-12-23 15:00:37 +0000
  • 24a5c1e093 In contrib/telnet/telnet/utilities.c, fix a few warnings about format strings not being literals. dim 2011-12-17 18:18:36 +0000
  • bd32956cba In contrib/telnet/telnetd/utility.c, fix a few warnings about format strings not being literals. dim 2011-12-16 16:53:54 +0000
  • d107e99829 In contrib/telnet/libtelnet/sra.c, use the correct number of bytes to zero the password buffer. dim 2011-12-16 00:48:53 +0000
  • 0fddcbcf1c telnet: Fix infinite loop if local output generates SIGPIPE. jilles 2010-04-30 19:52:35 +0000
  • b3741997b0 Forgot a part that was missing in the previous commit. ed 2010-01-13 18:46:50 +0000
  • 22cdf6fd37 Let telnetd build without utmp and logwtmp(3). ed 2010-01-13 18:37:42 +0000
  • 29b3953035 Remove unneeded inclusion of <utmp.h> and dead variables. ed 2009-12-27 11:56:32 +0000
  • 67287bcb77 Use <termios.h> instead of <sys/termios.h>. ed 2009-11-28 11:57:25 +0000
  • 7541522753 Rename all symbols in libmp(3) to mp_*, just like Solaris. ed 2009-02-26 21:43:15 +0000
  • 1d2eb11519 Correctly scrub telnetd's environment. cperciva 2009-02-16 21:56:17 +0000
  • 8d9786e342 Use strlcpy() instead of strcpy(). ed 2008-11-13 20:40:38 +0000
  • 7aa7324a8f Convert telnetd(8) to use posix_openpt(2). ed 2008-11-13 19:05:27 +0000
  • 2846fec647 Fix TELOPT(opt) when opt > TELOPT_TN3270E. antoine 2008-09-13 17:46:50 +0000
  • 180a45c5fb List authentication types supported with "-X" taken from the libtelnet code. trhodes 2008-08-29 00:04:37 +0000
  • d76e719277 Don't attempt authentication at all if it has been disabled via '-a off'. This works around a bug in HP-UX's telnet client and also gives a much saner user experience when using FreeBSD's telnet client. jhb 2008-07-28 18:58:16 +0000
  • dea97c6292 Commit IPv6 support for FAST_IPSEC to the tree. This commit includes all remaining changes for the time being including user space updates. gnn 2007-07-01 12:08:08 +0000
  • 461fc455ee Markup nits. ru 2006-09-29 22:51:29 +0000
  • 7fe816d452 Remove bogus casts of valid integer ioctl() arguments. ru 2006-09-26 21:46:12 +0000
  • 2a1a3f355d o Mention .telnetrc DEFAULT keyword. maxim 2006-09-18 15:03:18 +0000
  • b88638bb41 NI_WITHSCOPEID cleanup ume 2005-05-21 15:28:42 +0000
  • e1492a80cd Correct a pair of buffer overflows in the telnet(1) command: nectar 2005-03-28 14:45:12 +0000
  • 0f4e951657 Increase usefulness of telnet(1) as a protocol tester. By prepending "+" to the port number, disable option negotiation and allow transferring of data with high bit set. tobez 2005-02-28 12:46:53 +0000
  • 26fb67c648 - Soften sentence breaks. - Remove double whitespace. - Sort sections. ru 2005-01-21 21:57:05 +0000
  • 82ff960df9 o Make telnet[d] -S (IP TOS) flag really work. We do not have /etc/iptos implementation so only numeric values supported. maxim 2005-01-09 10:24:46 +0000
  • 10faff8b17 o Add -4 and -6 flags to a man page and usage(). Bump the man page date. maxim 2005-01-05 09:59:38 +0000
  • e5dfcfd096 o Remove -t flag from getopt(3), it was killed in rev. 1.15 three years ago. maxim 2005-01-05 09:47:10 +0000
  • cff120dc74 o Print a correct status for unix domain sockets. o Restore input mode when return from the command one. maxim 2005-01-04 21:22:32 +0000
  • 5adbfa7aec Add missing () to function invocation. kan 2004-07-28 05:37:18 +0000
  • 97005ca0b5 Switch Advanced Sockets API for IPv6 from RFC2292 to RFC3542 (aka RFC2292bis). Though I believe this commit doesn't break backward compatibility againt existing binaries, it breaks backward compatibility of API. Now, the applications which use Advanced Sockets API such as telnet, ping6, mld6query and traceroute6 use RFC3542 API. ume 2003-10-24 18:26:30 +0000
  • 425407c55a EAI_ADDRFAMILY and EAI_NODATA was deprecated in RFC3493 (aka RFC2553bis). Now, getaddrinfo(3) returns EAI_NONAME instead of EAI_NODATA. Our getaddrinfo(3) nor getnameinfo(3) didn't use EAI_ADDRFAMILY. ume 2003-10-23 13:55:36 +0000
  • 594b8db219 Forced commit to record the PR for the previous commit. harti 2003-08-13 11:02:37 +0000
  • 6a39aef766 Implement what has been documented for a long time: make -debug switch on socket debugging. harti 2003-08-13 10:56:40 +0000
  • 4369ac2a7f Fix up external variables named "debug" that have a horrible habit of conflicting with other, similarly named functions in static libraries. This is done mostly by renaming the var if it is shared amongst modules, or making it static otherwise. markm 2003-05-11 18:17:00 +0000
  • 90a2e082b9 Use __FBSDID vs. rcsid[]. Also protect sccs[] and copyright[] from GCC 3.3. obrien 2003-05-04 02:54:49 +0000
  • a948d8a850 Unbreak Kerberos 5 authentication in telnet. (Credential forwarding is still broken.) nectar 2003-03-06 13:41:53 +0000
  • a6a592c797 Background: When libdes was replaced with OpenSSL's libcrypto, there were a few interfaces that the former implemented but the latter did not. Because some software in the base system still depended upon these interfaces, we simply included them in our libcrypto (rnd_keys.c). nectar 2003-01-29 18:14:29 +0000
  • ea4f5f77e7 add more RFC defined telnet options billf 2003-01-18 06:10:21 +0000
  • 9e0282c9ca Merge argument parsing changes into this copy of telnet. eric 2002-11-27 06:34:24 +0000
  • a2b2e46019 Permit the argument to the -s option to be a hostname. I see no reason to restrict this to a numeric address. dd 2002-10-02 00:27:14 +0000
  • 5a5138f8df Catch up with "base" telnet. s/FALL THROUGH/FALLTHROUGH/ for lint(1). markm 2002-09-25 07:28:04 +0000
  • 112a50cd56 Catch up with "base" telnet. markm 2002-09-25 07:26:25 +0000
  • b4c79417a1 From the requestor: markm 2002-09-25 07:24:01 +0000
  • 60fe3b5542 Encrypted strings (after hex decoding) aren't null terminated, because 0 might simply be part of the ciphertext. nsayer 2002-08-22 06:19:07 +0000
  • e537a06c59 Warnings fixes. Sort out some variable types. markm 2002-06-26 17:06:14 +0000
  • 22ff929ecd Help fix warnings by marking an argument as unused. markm 2002-06-26 17:05:08 +0000
  • e151b0ff25 Don't risk catching a signal while handling a signal for a dying child, as we can then end up not properly clearing wtmp/utmp entries. jmallett 2002-05-27 08:10:24 +0000
  • 0a0dabb57b unbreak build: alfred 2002-05-11 03:19:44 +0000
  • 9ae08b0024 Previous commit was... markm 2002-05-06 09:48:02 +0000
  • 356920ba37 Fix an external declaration that was causing telnetd to core dump. markm 2002-05-06 09:46:29 +0000
  • 8fe168e641 Update build after import of Heimdal Kerberos 2002/02/17. nectar 2002-02-19 15:53:33 +0000
  • 48a0b67941 Don't use non-signal-safe functions (exit(3) in this case) in signal handlers. In this case, use _exit(2) instead, following the call to shutdown(2). sheldonh 2002-02-05 15:20:02 +0000
  • 415314d0f6 mdoc(7) police: remove -r from SYNOPSIS, sort -p in DESCRIPTION. ru 2001-12-14 14:41:07 +0000
  • 0dcd34090c 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. There are also too many versions of telnet in the tree. jkh 2001-12-09 09:53:27 +0000
  • c166211dae Fixed bugs from previous revision. ru 2001-12-04 16:02:36 +0000
  • 0b3113dc49 Protect variables and function prototypes that are only used in the INET6 case with an ifdef INET6. jhay 2001-12-03 17:42:02 +0000