Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-05-03 | telnet should not verify if hostname is a fully qualified domain | Adam Wolk | |
telnet would perform a gethostbyname on close/quit commands when the machine hostname is not a fully qualified domain. This behavior added on 12-March-98 breaks the current pledge that "dns" operations are not needed after establishing a connection leading to a coredump from telnet when quiting or closing an existing connection. OK chris@ | |||
2016-03-16 | More "(<blah> *)0" -> NULL, avoiding any stdarg functions. | Kenneth R Westerback | |
Feedback millert@ kettenis@ | |||
2016-01-26 | typos | mmcc | |
2015-12-23 | Add rpath to telnet's more restrictive pledge; otherwise if the server requests | Stuart Henderson | |
the client to send the next terminal-type (RFC-1091), the client tries to read terminfo files and is killed by pledge. Noticed when connecting to 4.3 BSD. ok semarie@ tb@ | |||
2015-12-09 | Remove NULL-checks before free(). ok tb@ | mmcc | |
2015-12-06 | Use __progname instead of manually handling argv[0]. | Tobias Stoeckmann | |
ok deraadt, mmcc, tedu | |||
2015-11-29 | telnet: check if fd is a tty before calling tcsetattr(fd, TCSADRAIN) | Sebastien Marie | |
ok deraadt@ | |||
2015-11-24 | Don't support repeated connections - avoids pledge problems | Bob Beck | |
ok deraadt@, "god please commit before I see any more" tedu@ | |||
2015-11-20 | Replace hardcoded "2" with SHUT_RDWR; from Ricardo Mestre | Jeremie Courreges-Anglas | |
2015-11-19 | how did the pledge "dns" get forgotten?!?! wow.. | Theo de Raadt | |
2015-11-13 | Ev SHELL no longer relevant; | Jason McIntyre | |
2015-11-13 | remove -d from SYNOPSIS; | Jason McIntyre | |
2015-11-13 | move pledge(2) after setrtable(2), like in nc(1); | Ingo Schwarze | |
OK deraadt@ | |||
2015-11-13 | pledge "stdio rpath wpath getpw inet tty" at startup. After opening | Theo de Raadt | |
the socket and entering the main loop, pledge "stdio tty". For my next trick, I will be adding chacha20-poly1305 support. | |||
2015-11-13 | Use setrtable() for the entire process, rather than doing it for the | Theo de Raadt | |
socket later. Same idea as in nc(1). | |||
2015-11-13 | Remove support for the debug command; noone needs setsockopt SO_DEBUG | Theo de Raadt | |
2015-11-13 | Delete tracefile command. Tracefiles can now only be specified at | Theo de Raadt | |
program startup. Who uses that? Noone... ok millert | |||
2015-11-13 | remove support for !shell | Theo de Raadt | |
ok millert | |||
2015-11-13 | remove skey support | Theo de Raadt | |
ok millert | |||
2015-10-26 | Set low-delay traffic class for IPv6 connections as well | Jeremie Courreges-Anglas | |
While here, there is no option to pass a different tos, and no other use of the "tos" variable out of tn(), so move the "tos" variable in tn() and assign it the right value from the start. ok millert@ | |||
2015-10-25 | Kill unused local var, and reorder while here. | Jeremie Courreges-Anglas | |
2015-10-25 | We don't care about lack of source route support for IPv6. | Jeremie Courreges-Anglas | |
ok sthen@ guenther@ mpi@ millert@ | |||
2015-10-25 | Kill IP Source Route support, unusable since 1998. | Jeremie Courreges-Anglas | |
ok sthen@ guenther@ mpi@ millert@ | |||
2015-03-29 | Revert r1.29 "Don't clear ICRNL when editing mode is off, so that character | Stuart Henderson | |
local echo mode don't echo ^M locally" as this causes problems sending CR to some Cisco equipment reported by Ryan Freeman and Fred Crowson. kettenis@ agrees with reverting to fix the regression; we can consider a better diff afterwards but clearly this is a sensitive area. | |||
2015-03-13 | remove the first comma from constructs like ", and," and ", or,": you can use | Jason McIntyre | |
"and" and "or" to join sentence clauses, and you can use commas, but both hinders reading; | |||
2015-02-12 | Don't clear ICRNL when editing mode is off, so that character local echo | Philip Guenther | |
mode don't echo ^M locally analysis and patch from Stanislav Brabec (sbrabec (at) suse.cz) | |||
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||
2014-11-15 | Reduce instances of `` '' in manuals. | Anthony J. Bentley | |
troff displays these as typographic quotes, but nroff implementations almost always print them literally, which rarely has the intended effect with modern fonts, even in stock xterm. These uses of `` '' can be replaced either with more semantic alternatives or with Dq, which prints typographic quotes in a UTF-8 locale (but will automatically fall back to `` '' in an ASCII locale). improvements and ok schwarze@ | |||
2014-09-09 | Eliminate a pile of casts that were superfluous or wrong, or that were | Philip Guenther | |
the result of bad type choices, particularly (unsigned char *) vs (const char *). Also, use reallocarray(). | |||
2014-08-10 | Add Xr to skey and stty | Philip Guenther | |
2014-07-22 | use ansi style function declarations | Jonathan Gray | |
with suggestions from and ok guenther@ | |||
2014-07-20 | Eliminate silly call() routine that fakes up internal calls as if | Philip Guenther | |
the user typed in undocumented arguments by splitting two functions and doing normal (shock!) C calls. Move extern declarations to externs.h Eliminate another function cast | |||
2014-07-20 | Fix array overflow in command line handling | Philip Guenther | |
2014-07-20 | Mark a slurry of functions as static | Philip Guenther | |
Eliminate two more trivial wrappers | |||
2014-07-20 | use NULL instead of 0 when dealing with pointers | Jonathan Gray | |
ok guenther@ | |||
2014-07-20 | Kill lint comments; mark ExitString() as __dead | Philip Guenther | |
2014-07-20 | Switch from memmove() to memcpy() where appropriate; simplify address | Philip Guenther | |
parsing logic; eliminate an inefficient use of MIN() macro | |||
2014-07-20 | VSUSP and SIGTSTP are required by POSIX | Philip Guenther | |
2014-07-20 | Delete an insane chunk of code for handling broken poll() emulation. | Philip Guenther | |
Pass poll() INFTIM instead of -1 | |||
2014-07-20 | Add prototypes to some function callbacks and fix the type errors that | Philip Guenther | |
this reveals. Make NetTrace static to utilities.c | |||
2014-07-20 | More encryption tentacles: intr_happened and intr_waiting vanish | Philip Guenther | |
Push more includes into .c files Make ring.c only need ring.h | |||
2014-07-20 | Eliminate trivial wrappers TerminalWrite() and TerminalRead() | Philip Guenther | |
Replace TerminalFlushOutput() with tcflush(). Replace TerminalAutoFlush() with check of tty's NOFLSH flag as documented in the manpage. Push <netdb.h> into .c files | |||
2014-07-20 | Don't depend on <sys/param.h> for MAXPATHLEN | Philip Guenther | |
2014-07-20 | Correctly cast to unsigned char for ctype functions/macros | Philip Guenther | |
Push <ctype.h> and <unistd.h> into the .c files | |||
2014-07-20 | ring_init() can't fail | Philip Guenther | |
KNF ring.h | |||
2014-07-20 | -8 is the default | Philip Guenther | |
2014-07-20 | Don't need -I${.CURDIR} | Philip Guenther | |
2014-07-20 | Simplify #includes, start pushing them into the .c files, eliminate | Philip Guenther | |
extern declarations from .c files that duplicate those in .h files, start marking functions with __dead | |||
2014-07-20 | tweak -W options | Philip Guenther | |
2014-07-20 | Ooops, verbose_encrypt option is gone too. | Philip Guenther | |
Also stop assuming that csh is the only shell with job control |