summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
1999-12-16Allocate buffers as static data structures.Marc Espie
This cuts down quite a lot of malloc, since in actual use, buffer usage is mostly static.
1999-12-16Fix those two bugs in cond.c.Marc Espie
- CondGetArg needs to differentiate between empty strings and problems. Returning problems as a separate boolean is cleaner anyway. - Fix error in conditional parser which would overstep the ending 0, so that a second zero would be needed.
1999-12-16Remove unneeded extraneous zeros at the end of buffers.Marc Espie
Actually, one of these needs to be there, because of two bugs in cond.c
1999-12-16Remove redundant fields from struct Buffer.Marc Espie
1999-12-16Split Buf_GetAll into Buf_Retrieve/Buf_Size.Marc Espie
(idiotic to retrieve size every time when it's used half the time)
1999-12-16Start cleaning up buf.c in earnest.Marc Espie
- Buf_Discard is only used to remove all the bytes in a buffer, replace with Buf_Reset, - buffer values are not read unless accessed first through Buf_GetAll, no need to null-terminate it at every point. - Buf_Expand need not check if the expansion is needed. That's Buf_AddChar and Buf_AddChars responsability (otherwise, Buf_AddChar checks twice) - Buf_Overflow only handles overflow. Adding the character is done in every case anyway.
1999-12-15these strcpy are fineTheo de Raadt
1999-12-15"Connection closed by x.x.x.x": fatal() -> log()Markus Friedl
1999-12-15keysize warnings talk about identity filesMarkus Friedl
1999-12-15Be more verbose about when system immutable flags may be set/cleared.Aaron Campbell
1999-12-15usage cleanupTheo de Raadt
1999-12-15safe strcpyTheo de Raadt
1999-12-15overflow safeTheo de Raadt
1999-12-15does not overflowTheo de Raadt
1999-12-12type conflict for 'extern Type *options' in channels.c; dot@dotat.atMarkus Friedl
1999-12-12install infotocap.1Todd C. Miller
1999-12-12Update to ncurses-19991211:Todd C. Miller
o treat as untranslatable to termcap those terminfo strings which contain non-decimal formatting, e.g., hexadecimal or octal. o correct commented-out capabilities that cannot be translated to termcap, which did not check if a colon must be escaped. o correct termcap translation for "%>" and "%+", which did not check if a colon must be escaped, for instance. o use save_string/save_char for _nc_captoinfo() to eliminate fixed buffer (originally for _nc_infotocap() in 960301 -TD). o correct expression used for terminfo equivalent of termcap %B, adjust regent100 entry which uses this. o some cleanup and commenting of ad hoc cases in _nc_infotocap(). o eliminate a fixed-buffer in tic, used for translating comments. o add manpage for infotocap.
1999-12-12widen output formatting a bitHugh Graham
1999-12-11Add a perror() in reporting failure to connect.Angelos D. Keromytis
1999-12-11IPv6 support for finger client.Jun-ichiro itojun Hagino
1999-12-11namebuflen not sizeof namebuflen; bnd@ep-ag.com via djm@mindrot.orgMarkus Friedl
1999-12-11IPv6/IPv4 dual stack support. uses getaddrinfo() and getnameinfo()Jun-ichiro itojun Hagino
throughout the code so please look at it with care (for auditing). XXX source routing is not available for IPv6 (even before I modify, it was not available for IPv4 anyways)
1999-12-10sudo 1.6.1Todd C. Miller
1999-12-10typo; mark.baushke@solipsa.comNiels Provos
1999-12-09Split some allocation/error handling functions out of main.cMarc Espie
1999-12-09Introduce `common usage' buf patterns and use them.Marc Espie
1999-12-09Add "unspecified tunnel endpoint" statistic.Angelos D. Keromytis
1999-12-09Protocol family mismatch counter for IP-IP.Angelos D. Keromytis
1999-12-09Remove unnecessary statistic.Angelos D. Keromytis
1999-12-09Avoid divide by zero, spotted by aaron@Todd C. Miller
1999-12-09Note that the ``sappnd'' and ``schg'' system flags may only be unset whenAaron Campbell
non-secure (i.e., single-user mode).
1999-12-09fix proto; markusTheo de Raadt
1999-12-09OpenSSH-1.2.1Markus Friedl
1999-12-09fix get_remote_port() and friends for sshd -i; ↵Markus Friedl
Holger.Trapp@Informatik.TU-Chemnitz.DE
1999-12-08repair fake-skey for AUTH_TISMarkus Friedl
1999-12-08June 6, 1999 version of the "one true awk"Todd C. Miller
Most of the changes are to avoid using a static buffer for error messages.
1999-12-08move checking of hostkey into own function.Markus Friedl
1999-12-08make code simpler. no need for memcpy. niels@ okMarkus Friedl
1999-12-08avoid stdio; based on work by markus, millert, and ITheo de Raadt
1999-12-08ftp(1) from KAME, should be good for testing.Jun-ichiro itojun Hagino
1999-12-08add IPv6 support from KAME. cleanup type matches with printf() format.Jun-ichiro itojun Hagino
KAME_SCOPEID should be enabled after KAME get{addr,name}info(3) merge.
1999-12-08Fix compile conflict with the new IPv6 code (namespace pollution).Angelos D. Keromytis
1999-12-08careless nielsTheo de Raadt
1999-12-08make that a fatalNiels Provos
1999-12-07fix sighup handling. accept would just restart and daemon handled sighupNiels Provos
only after the next connection was accepted. use poll on listen sock now.
1999-12-07make sure the client selects a supported cipherMarkus Friedl
1999-12-07extra setuid calls go awayTheo de Raadt
1999-12-06main prototype properly in main.c, remove dup.Marc Espie
1999-12-06Extra parameter no longer needed, ditch.Marc Espie
1999-12-06Instead of retrieving var values from the environment again and again,Marc Espie
it is much better to keep them in the global context, marked read-only. This also makes the next simplification possible, since var values need no longer be free'd by client code. (reviewed by ho@, like other patches)