summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2008-06-12make bcachestats visible in systat io - from mickey.Bob Beck
ok thib@
2008-06-12we should be able to handle symbol names that are also RCS tokens,Joris Vink
gnu cvs supports this and we should too really. allows opencvs to properly checkout netbsd trees. spotted & tested by rivo nurges ok tobias@
2008-06-12Fixed a memory leak in export noticed by joris.Tobias Stoeckmann
ok joris
2008-06-12properly deal with CVS_USE_WDIR.Joris Vink
ok tobias@
2008-06-12cmdp can be NULL while still in cvs_getopt(), so deal with thisJoris Vink
inside of cvs_vlog() since cvs_getopt() might be calling it. spotted by Jonathan Armani
2008-06-12keyword expansion for localcommand. ok djm@Darren Tucker
2008-06-12You successfully cast 'remove dead cruft'Joris Vink
2008-06-12The multiplexing escape char handler commit last night introduced aDamien Miller
small memory leak per session; plug it.
2008-06-12fix logicJoris Vink
2008-06-12completely kill the need for TMP_DIR when running checkout,Joris Vink
which gives us better performance among other things. this is however disabled in a few cases: 1) whenever you run checkout over an existing tree (which acts as update) 2) whenever you specify -d or a module alias we're planning on enabling this behaviour for case 2 in the future. anoncvs sysadmins now love us even more. ok tobias@
2008-06-12We already mark the start of the worm, now also mark the end of the wormAlexander von Gernler
in our random art drawings. ok djm@
2008-06-12supply the key type (rsa1, rsa, dsa) as a caption in the frame of theAlexander von Gernler
random art. while there, stress the fact that the field base should at least be 8 characters for the pictures to make sense. comment and ok djm@
2008-06-12some more TODO for meDamien Miller
2008-06-12document tun@openssh.com forwarding methodDamien Miller
2008-06-12thal shalt not code past the eightieth columnDamien Miller
2008-06-12thall shalt not code past the eightieth columnDamien Miller
2008-06-12maintain an ordered queue of outstanding global requests that weDamien Miller
expect replies to, similar to the per-channel confirmation queue. Use this queue to verify success or failure for remote forward establishment in a race free way. ok dtucker@
2008-06-12show any signal we might have received that killed our cvs process.Joris Vink
ok tobias@
2008-06-12Enable ~ escapes for multiplex slave sessions; give each channelDamien Miller
its own escape state and hook the escape filters up to muxed channels. bz #1331 Mux slaves do not currently support the ~^Z and ~& escapes. NB. this change cranks the mux protocol version, so a new ssh mux client will not be able to connect to a running old ssh mux master. ok dtucker@
2008-06-12Introduce a basic c-mode to mg.Kjell Wooding
The intent of this mode is NOT to copy emacs's monster cc-mode. It is intended to handle basic KNF-format C, assisting with indentation (to catch obvious typos), and strip trailing whitespace. It is NOT enabled unless you ask for it (c-mode). Basically, tab on start-of-line whitespace acts like tab. Otherwise, tab indents. Please try it out and let me know where it falls down. Feedback Reyk, phessler. "hack in tree" from henning, theo
2008-06-12Make ssh print the random art also when ssh'ing to a host using IP only.Alexander von Gernler
spotted by naddy@, ok and help djm@ dtucker@
2008-06-12use an odd number of rows and columns and a separate start marker, looksOtto Moerbeek
better; ok grunk@
2008-06-12Do not pass "0" strings as ports to getaddrinfo because the lookupsDarren Tucker
can slow things down and we never use the service info anyway. bz #859, patch from YOSHIFUJI Hideaki and John Devitofranceschi. ok deraadt@ djm@ djm belives that the reason for the "0" strings is to ensure that it's not possible to call getaddrinfo with both host and port being NULL. In the case of canohost.c host is a local array. In the case of sshconnect.c, it's checked for null immediately before use. In dns.c it ultimately comes from ssh.c:main() and is guaranteed to be non-null but it's not obvious, so I added a warning message in case it is ever passed a null.
2008-06-11#define statements that are not atoms need braces around them, else theyAlexander von Gernler
will cause trouble in some cases. Also do a computation of -1 once, and not in a loop several times. spotted by otto@
2008-06-11Expose changemode for use by "self-contained" modesKjell Wooding
2008-06-11Add delete-leading-space, delete-trailing-space,Kjell Wooding
indent-current-line utility functions for stripping leading/trailing whitespace, and setting a fixed indent respectively.
2008-06-11CheckHostIP set to ``fingerprint'' will display both hex and random artAlexander von Gernler
spotted by naddy@
2008-06-11simpler way of computing the augmentations; ok grunk@Otto Moerbeek
2008-06-11ssh-keygen would write fingerprints to STDOUT, and random art to STDERR,Alexander von Gernler
that is not how it was envisioned. Also correct manpage saying that -v is needed along with -l for it to work. spotted by naddy@
2008-06-11move tao code from main() into its own function before adding features.av
requested and ok fgsch
2008-06-11ssh-keygen -lv -f /etc/ssh/ssh_host_rsa_key.pubAlexander von Gernler
would not display you the random art as intended, spotted by canacar@
2008-06-11always enter cvs_update_leavedir()Joris Vink
2008-06-11Introduce SSH Fingerprint ASCII Visualization, a technique inspired by theAlexander von Gernler
graphical hash visualization schemes known as "random art", and by Dan Kaminsky's musings on the subject during a BlackOp talk at the 23C3 in Berlin. Scientific publication (original paper): "Hash Visualization: a New Technique to improve Real-World Security", Perrig A. and Song D., 1999, International Workshop on Cryptographic Techniques and E-Commerce (CrypTEC '99) http://sparrow.ece.cmu.edu/~adrian/projects/validation/validation.pdf The algorithm used here is a worm crawling over a discrete plane, leaving a trace (augmenting the field) everywhere it goes. Movement is taken from dgst_raw 2bit-wise. Bumping into walls makes the respective movement vector be ignored for this turn, thus switching to the other color of the chessboard. Graphs are not unambiguous for now, because circles in graphs can be walked in either direction. discussions with several people, help, corrections and ok markus@ djm@
2008-06-11do not count on files that are uptodate to be on disk in a remote setup.Joris Vink
2008-06-11Use getcolpos to compute column. doto does not account for tabsKjell Wooding
2008-06-11cleanup our junk when in server mode and running as checkout everyJoris Vink
time we descend into another directory, leaves even less crap in /tmp while running.
2008-06-11With Vincent's permission, the last remaining chunk of mg has beenKjell Wooding
placed in the public domain. This means mg (minus theo.c) is once again a public domain piece of code. Please try to keep it that way.
2008-06-11kill trailing whitespace;Jason McIntyre
2008-06-11Removed bogus var definition.Tobias Stoeckmann
ok joris
2008-06-11Avoid possible NULL pointer dereferences by using reentrant versionsTobias Stoeckmann
of time functions. ok joris
2008-06-11spacingJoris Vink
2008-06-11style ferry comes aroundJoris Vink
2008-06-11ofd is being closed in cvs_file_free(), no need to close it ourselfsJoris Vink
2008-06-11GNU cvs "compresses" CVSROOT/history by shrinking entry for working dirTobias Stoeckmann
and repositry by replacing home directory with ~ and adding things like "*4" at the end of working directory if the last part of a path is the same for working directory and repository. ok joris
2008-06-11Let curses handle the setup of terminal instead of doing it on our ownTobias Stoeckmann
and leaving terminal in an inusable state if setupterm failed. ok kjell
2008-06-10make opencvs behave exactly like GNU cvs does when it comes toJoris Vink
verbosity, it's verbose by default and you can shut it up using -Q. ok tobias@
2008-06-10Add a clear-mark function.Kjell Wooding
Use it to clear the region it is copied (M-w), or yanked (C-w). This matches xemacs behavior, is not horribly different from gnu emacs, and way less wrong than the current behavior. Noticed by Han Boetes. ok otto@
2008-06-10Use '\0' for a nul byte rather than unadorned 0. ok djm@Darren Tucker
2008-06-10support CIDR address matching in .ssh/authorized_keys from="..." stanzasDamien Miller
ok and extensive testing dtucker@
2008-06-10Add a no-more-sessions@openssh.com global request extension that theDamien Miller
client sends when it knows that it will never request another session (i.e. when session multiplexing is disabled). This allows a server to disallow further session requests and terminate the session. Why would a non-multiplexing client ever issue additional session requests? It could have been attacked with something like SSH'jack: http://www.storm.net.nz/projects/7 feedback & ok markus