summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2008-05-25Fix breakage introduced in rev 1.8 wrt rdisting symlinks. Push theTodd C. Miller
mkstemp() down into recvfile() and use mktemp() for recvlink(). OK okan@
2008-05-25give argument to LIST_END(), don't use variable lenght arrays as lastAlexandre Ratchov
field of structures. from deraadt@
2008-05-24typo.Igor Sobrado
2008-05-24Enclose an informational message in a verbose check.Pierre-Yves Ritschard
From Alexander Hall <alexander@beard.se> ok henning@, ``I suppose so'' deraadt@
2008-05-23various fixes for aucat.1, and sync usage(); ok ratchovJason McIntyre
2008-05-23Properly pass the directory tag of parent directory into new subdirectories.Tobias Stoeckmann
Spotted by and ok joris.
2008-05-23add support for:Alexandre Ratchov
- recording, full-duplex operation - format conversions and resampling on the fly - mixing on the fly of multiple inputs of different formats - up to 16 channels, simplistic "routing" of channel ranges - more linear encodings (in raw and wav files) the old behaviour is fully preserved if none of the new -i and -o options are used. code and fixes from jakemsr@ and eric@, suggestions by others. ok "go ahead" deraadt@
2008-05-22I really hate commiting here, but this was far too good not to.Bob Beck
ok "commit but don't you dare putting my name there" from an anonymous french developer.
2008-05-22Wrong function names in fatal messages fixed.Tobias Stoeckmann
2008-05-22expension -> expansionTobias Stoeckmann
ok joris, xsa (quite some time ago)
2008-05-22fix updating to tags pointing at branch revisions;Joris Vink
from Neels Janosch Hofmeyr and Stefan Sperling
2008-05-22correctly deal with non-zero depths specified in rcsnum_cmp();Joris Vink
from Stefan Sperling
2008-05-22Spacing; Stefan Sperling.Xavier Santolaria
2008-05-22Error messages fixes; Stefan Sperling.Xavier Santolaria
2008-05-21Remove elf2aout and elf2ecoff. They are no longer built since they were onlyMiod Vallat
used by the long defunct OpenBSD/arc and OpenBSD/pmax ports, and nowadays using objcopy or a linker script will perform such conversions if necessary. ok deraadt@ kettenis@
2008-05-19unbreak tree by committing this bit that I missed from:Damien Miller
Fix sending tty modes when stdin is not a tty (bz#1199). Previously we would send the modes corresponding to a zeroed struct termios, whereas we should have been sending an empty list of modes. Based on patch from daniel.ritz AT alcatel.ch; ok dtucker@ markus@
2008-05-19support -l (print fingerprint) in combination with -F (find host) toDamien Miller
search for a host in ~/.ssh/known_hosts and display its fingerprint; ok markus@
2008-05-19Fix sending tty modes when stdin is not a tty (bz#1199). PreviouslyDamien Miller
we would send the modes corresponding to a zeroed struct termios, whereas we should have been sending an empty list of modes. Based on patch from daniel.ritz AT alcatel.ch; ok dtucker@ markus@
2008-05-19unbreak protocol keepalive timeouts bz#1465; ok dtucker@Damien Miller
2008-05-18comment extension announcementDamien Miller
2008-05-17documentation tweaks.Igor Sobrado
ok (some time ago) jmc@
2008-05-17Full support of branches added. We lacked proper support of multipleTobias Stoeckmann
branch entry points in one revision as well as branches which started from other branches. ok joris
2008-05-17grammar and correctness fixes from stevesk@Damien Miller
2008-05-16document our protocol extensions and deviations; ok markus@Damien Miller
2008-05-15document eow message in ssh protocol 2 channel state machine;Damien Miller
feedback and ok markus@
2008-05-15fix uninitialised variable; from ray@Damien Miller
2008-05-14add missing $OpenBSD$ tagsCharles Longeau
ok ian@
2008-05-13Change a mktemp(3) to mkstemp(3), preventing a race condition.Ray Lai
Improve error checking. OK okan@
2008-05-13Remove #if 0 code that has been unused for nearly a decade (andRay Lai
probably doesn't compile, since the types for some variables have changed from long to char *). OK millert@
2008-05-12Ensure nh_result lies on a 64-bit boundary (fixes warnings observedPeter Valchev
on Itanium on Linux); from Dale Talcott (bug #1462); ok djm@
2008-05-11If "cvs admin" encountered an entry in CVS/Entries for a file which has noTobias Stoeckmann
(longer an) RCS file in CVSROOT, both -- GNU cvs and OpenCVS -- segfaulted. ok joris
2008-05-11Memory leak in rcs_delta_stats plugged.Tobias Stoeckmann
ok joris
2008-05-10properly free suffixes.Joris Vink
OK tobias@
2008-05-10OpenRCS only handled a max of 128 arguments on command line + RCSINIT,Tobias Stoeckmann
which was a bogus limit. Spotted by naddy. horribly prodded by and ok joris
2008-05-09unbreakMarkus Friedl
ssh -2 localhost od /bin/ls | true ignoring SIGPIPE by adding a new channel message (EOW) that signals the peer that we're not interested in any data it might send. fixes bz #85; discussion, debugging and ok djm@
2008-05-09error-fd race: don't enable the error fd in the select bitmaskMarkus Friedl
for channels with both in- and output closed, since the channel will go away before we call select(); report, lots of debugging help and ok djm@
2008-05-09re-add the USE_PIPES code and enable it.Markus Friedl
without pipes shutdown-read from the sshd does not trigger a SIGPIPE when the forked program does a write. ok djm@
2008-05-09dingo stole my diff hunkDamien Miller
2008-05-09tidy up session multiplexing code, moving it into its own file andDamien Miller
making the function names more consistent - making ssh.c and clientloop.c a fair bit more readable. ok markus@
2008-05-09some Xr for tcpbench(1) and tcpdrop(8);Jason McIntyre
2008-05-09tweak previous; ok djmJason McIntyre
2008-05-09try SO_BINDANY for -s, but do not insist; ok bob, reykMarkus Friedl
2008-05-09add tcpbench to buildTheo de Raadt
2008-05-09s/bench/tcpbench/ in usage(); spotted by schellekens.dries AT gmail.comDamien Miller
2008-05-09Try additional addresses when connecting to a port forward destinationDamien Miller
whose DNS name resolves to more than one address. The previous behaviour was to try the first address and give up. Reported by stig AT venaas.com in bz#343 great feedback and ok markus@
2008-05-09import tcpbench, a small TCP benchmarking tool that can also sampleDamien Miller
relevant kernel variables via kvm(3) ok dlg@ deraadt@
2008-05-08Use new channel status confirmation callback system to properly dealDamien Miller
with "important" channel requests that fail, in particular command exec, shell and subsystem requests. Previously we would optimistically assume that the requests would always succeed, which could cause hangs if they did not (e.g. when the server runs out of fds) or were unimplemented by the server (bz #1384) Also, properly report failing multiplex channel requests via the mux client stderr (subject to LogLevel in the mux master) - better than silently failing. most bits ok markus@ (as part of a larger diff)
2008-05-08Make the maximum number of sessions run-time controllable viaDamien Miller
a sshd_config MaxSessions knob. This is useful for disabling login/shell/subsystem access while leaving port-forwarding working (MaxSessions 0), disabling connection multiplexing (MaxSessions 1) or simply increasing the number of allows multiplexed sessions. Because some bozos are sure to configure MaxSessions in excess of the number of available file descriptors in sshd (which, at peak, might be as many as 9*MaxSessions), audit sshd to ensure that it doesn't leak fds on error paths, and make it fail gracefully on out-of-fd conditions - sending channel errors instead of than exiting with fatal(). bz#1090; MaxSessions config bits and manpage from junyer AT gmail.com ok markus@
2008-05-08Implement a channel success/failure status confirmation callbackDamien Miller
mechanism. Each channel maintains a queue of callbacks, which will be drained in order (RFC4253 guarantees confirm messages are not reordered within an channel). Also includes a abandonment callback to clean up if a channel is closed without sending confirmation messages. This probably shouldn't happen in compliant implementations, but it could be abused to leak memory. ok markus@ (as part of a larger diff)
2008-05-08Sync netstat show.c with route show.c to gain mpls support and to show theClaudio Jeker
routing priority. hai norby@