summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2006-07-27Second try at adding binary file support to rcs_expand_keywords(),Ray Lai
using BUFs instead of C strings. Also remove initial keyword search, which is a premature optimization, slower, and apparently too hard for me to get right. OK niallo@
2006-07-27Pull in improper memory allocation from RCS:Ray Lai
> Not were we allocating memory for a pointer array, it wasn't even for > the right variable! Fixes make regress with MALLOC_OPTIONS=PR. > > Found by and fix worked on with Joris.
2006-07-27Not were we allocating memory for a pointer array, it wasn't even forRay Lai
the right variable! Fixes make regress with MALLOC_OPTIONS=PR. Found by and fix worked on with Joris. OK niallo@, tested by pedro@.
2006-07-27unused variableTheo de Raadt
2006-07-27spacingTheo de Raadt
2006-07-27unused variableTheo de Raadt
2006-07-26Make tftp atoi() free.Marcus Glocker
2006-07-26TIMEOUT* values are not part of the protocol. tftp.h is a namespaceTheo de Raadt
export of the protocol. you shall not add non-protocol stuff to such a file, period.
2006-07-26move #include <stdlib.h> out of includes.hKevin Steves
2006-07-26Mini KNF. No binary changes.Marcus Glocker
2006-07-26Fixing several timeout quirks at tftpd and tftp:Marcus Glocker
- move TIMEOUT* defines to arpa/tftp.h, as they are used several times in tftpd and tftp, and the values are part of the RFC definition. - tftpd and tftp did count the total retransmission time in retries instead in seconds. fixed. - tftpd rexmt timeout was hardcoded by a define and therefore didn't changed when the timeout option was sent. fixed. - limit total retransmission timeout in tftp to also 255 seconds. - replace obvious atoi()'s by strtonum(). ok claudio@
2006-07-26move #include <sys/param.h> out of includes.hKevin Steves
2006-07-25Add bfirstlp(), blastlp() macros, returning the first and last linesKjell Wooding
of a buffer respectively. Removes an ugly construction than necessitated "go to first line"-type comments throughout the code. No binary change
2006-07-25Rename the header line of a buffer to b_headp, from the remarkablyKjell Wooding
unintuitive b_linep. No binary change.
2006-07-25move #include <sys/time.h> out of includes.hKevin Steves
2006-07-25need #include <string.h>Kevin Steves
2006-07-24eliminate hyphen madness;Jason McIntyre
2006-07-24tweaks;Jason McIntyre
2006-07-24Adding TFTP Option Extension to the tftp client according to RFC 2347.Marcus Glocker
Implemented options are: - TFTP Blocksize Option, RFC 2348 - TFTP Timeout Interval and Transfer Size Options, RFC 2349 We have now on the tftp client side the same options supported as in our tftp server. ok claudio@
2006-07-24Use 'cp -R' instead of 'cp -r' in the example of the -J option.Bernd Ahlers
ok jmc@
2006-07-24disable tunnel forwarding when no strict host key checkingKevin Steves
and key changed; ok djm@ markus@ dtucker@
2006-07-23#include <signal.h> for sig_atomic_t; need this prior to <sys/param.h>Kevin Steves
move
2006-07-22move #include <string.h> out of includes.hKevin Steves
2006-07-22move #include <time.h> out of includes.hKevin Steves
2006-07-21ARGSUSED for signal handlerKevin Steves
2006-07-21more ARGSUSED (lint) for dispatch table-driven functions; ok djm@Kevin Steves
2006-07-21Make PermitOpen take a list of permitted ports and act more like most otherDarren Tucker
keywords (ie the first match is the effective setting). This also makes it easier to override a previously set PermitOpen. ok djm@
2006-07-21Revert; keywords did not expand.Ray Lai
2006-07-21Add binary file support to rcs_expand_keywords(), using BUFs insteadRay Lai
of C strings. OK niallo@
2006-07-20missed some needed #include <unistd.h> when KERBEROS5=no; issue fromKevin Steves
massimo@cedoc.mo.it
2006-07-20Chad Dougherty <crd@andrew.cmu.edu> teaches me how to spell 'supported' ↵Joris Vink
correctly
2006-07-20Add blksize option support for tftpd according to RFC 2348.Marcus Glocker
Note: While testing the new option, we noticed that our stable tftpd has a problem if any option is set (e.g. tsize) and you try to put a file. This has nothing todo with our new blksize option. We fix this as next. ok claudio@
2006-07-19Add ForceCommand keyword to sshd_config, equivalent to the "command="Darren Tucker
key option, man page entry and example in sshd_config. Feedback & ok djm@, man page corrections & ok jmc@
2006-07-19Add support for X11Forwaring, X11DisplayOffset and X11UseLocalhost toDarren Tucker
Match. ok djm@
2006-07-18remove unneeded includes; ok djm@Kevin Steves
2006-07-18Sync with currentIan Darwin
2006-07-18Remove obsoleteIan Darwin
2006-07-18Documentation-only change: sync with current versionIan Darwin
2006-07-18Sync copyright dateIan Darwin
2006-07-18Clarify description of Match, with minor correction from jmc@Darren Tucker
2006-07-18mark up angle brackets;Jason McIntyre
2006-07-18replace DIAGNOSTICS with .Ex;Jason McIntyre
2006-07-18tweak; ok dtuckerJason McIntyre
2006-07-17please lintTheo de Raadt
2006-07-17include prompts in examples;Jason McIntyre
2006-07-17Fix comment wrt snprintfTodd C. Miller
2006-07-17Add csplit(1) from FreeBSD; with man page tweaks from jmc@.Todd C. Miller
OK deraadt@
2006-07-17These bugs were fixed long ago.Kjell Wooding
2006-07-17Better usage() wording. Add -h to mean same. Some whitespace cleanKjell Wooding
2006-07-17Add PermitOpen directive to sshd_config which is equivalent to theDarren Tucker
"permitopen" key option. Allows server admin to allow TCP port forwarding only two specific host/port pairs. Useful when combined with Match. If permitopen is used in both sshd_config and a key option, both must allow a given connection before it will be permitted. Note that users can still use external forwarders such as netcat, so to be those must be controlled too for the limits to be effective. Feedback & ok djm@, man page corrections & ok jmc@.