summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
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@.
2006-07-17Use '\0' rather than 0 to terminates strings; ok djm@Darren Tucker
2006-07-17move #include <unistd.h> out of includes.hKevin Steves
2006-07-15- .Sq for single lettersJason McIntyre
- use .Ex
2006-07-15- update posix spec referenceJason McIntyre
- note that -f is an extension (to said..); from andracs ok millert
2006-07-14don't need incompletely-typed 'struct passwd' now withKevin Steves
#include <pwd.h>; ok markus@
2006-07-12move #include <stddef.h> out of includes.hKevin Steves
2006-07-12move #include <netdb.h> out of includes.h; ok djm@Kevin Steves
2006-07-12knf. no binary change.Marcus Glocker
ok beck@ claudio@
2006-07-12 - new sentence, new lineJason McIntyre
- s/The the/The/ - kill a bad comma
2006-07-12Add support for conditional directives to sshd_config via a "Match" keyword,Darren Tucker
which works similarly to the "Host" directive in ssh_config. Lines after a Match line override the default set in the main section if the condition on the Match line is true, eg AllowTcpForwarding yes Match User anoncvs AllowTcpForwarding no will allow port forwarding by all users except "anoncvs". Currently only a very small subset of directives are supported. ok djm@
2006-07-11need <errno.h> here also (it's also included in <openssl/err.h>)Kevin Steves
2006-07-11cast asterisk field precision argument to int to remove warning;Kevin Steves
ok markus@
2006-07-11move #include <errno.h> out of includes.h; ok markus@Kevin Steves
2006-07-11add ExitOnForwardFailure: terminate the connection if ssh(1)Markus Friedl
cannot set up all requested dynamic, local, and remote port forwardings. ok djm, dtucker, stevesk, jmc
2006-07-11fix out of bound read in rcs_expand_keywords(); ok nialloMarkus Friedl
2006-07-11Only copy the part of environment variable that we actually use. PreventsDarren Tucker
ssh bailing when SendEnv is used and an environment variable with a really long value exists. ok djm@
2006-07-10move #include <stdarg.h> out of includes.h; ok markus@Kevin Steves
2006-07-10s/and and/and/Jason McIntyre
2006-07-10buffer.h only needed in sftp-common.h and remove some unneededKevin Steves
user includes; ok djm@
2006-07-10if you add birth -- you add death too; also add dostoyevski dudeMichael Shalayeff
2006-07-10Nikola TeslaMartin Reindl
2006-07-10Add port identifier to known_hosts for non-default ports, based originallyDarren Tucker
on a patch from Devin Nate in bz#910. For any connection using the default port or using a HostKeyAlias the format is unchanged, otherwise the host name or address is enclosed within square brackets in the same format as sshd's ListenAddress. Tested by many, ok markus@.
2006-07-10fix misparsing of SOCKS 5 packets that could result in a crash;Damien Miller
reported by mk@ ok markus@
2006-07-10duplicate argv at the start of main() because it gets modified later;Damien Miller
pointed out by deraadt@ ok markus@
2006-07-10don't log variables that aren't yet setDamien Miller
2006-07-10remove optind - it isn't used hereDamien Miller
2006-07-10handle 0 sized files correctly, tested by brad@ thanksJoris Vink
2006-07-09Two fixes:Michael Knudsen
o Prevent a config reload from always happening after the first round of command execution. o Make sure config reload works when daemonised by requiring an absolute path to the config file. From NetBSD. Ok brad.
2006-07-09*enty->*ently where applicableMiod Vallat
2006-07-09use O_RDONLY vs. 0 in open(); no binary changeKevin Steves
2006-07-09move #include <fcntl.h> out of includes.hKevin Steves
2006-07-09put the sticky tag if any in the correct place in the entries line when ↵Joris Vink
sending it to the server
2006-07-09handle SIGPIPE correctly.Joris Vink
2006-07-09more straightforward trace (-t) output, too much is just too noisy.Joris Vink
2006-07-08move user includes after /usr/include filesKevin Steves
2006-07-08missed these from last commit:Kevin Steves
move #include <sys/socket.h> out of includes.h
2006-07-08move #include <sys/socket.h> out of includes.hKevin Steves
2006-07-08Introduce a 'MODIFIED' boundary type for undo records.Kjell Wooding
This allows undo to clear the modified flag when undo-ing all the way from a loaded buffer. Originally whipped up at c2k6 after proddings from beck. jason@ ok.
2006-07-08Fix a trio of bugs in line numbering: adjusting linenos after undo,Kjell Wooding
cutting a block, and off-by-one linecount. Initial bug discovered by jason
2006-07-08XBOCTMichael Shalayeff
2006-07-08Remove file mode argument from {cvs|rcs}_buf_write_stmp(). WeRay Lai
always set the temporary file to mode 600, which is already done by mkstemp(). OK joris@ and xsa@ over a month ago.
2006-07-08rcs_splitlines() can never return NULL, so don't check for it.Ray Lai
OK joris@
2006-07-08- plug an old memory leak in patching code.Niall O'Higgins
ok joris@
2006-07-08handle "." special in client_check_directory();Joris Vink
2006-07-08allow update in remote mode to work a bit better andJoris Vink
create any missing directories or new directories with -d
2006-07-07first part of opencvs remote, fairly useable on existing treesJoris Vink
although i advise against using it on real development trees for now. only a few commands work right so far: - commit - diff - status - log - update (partially working) if you feel like testing remote and run into bugs feel free to contact me, and please include a full trace (-t).
2006-07-07fix segfault for newly added files.Joris Vink
found while test driving the new remote code.
2006-07-07Don't add space for line numbers twice.Ray Lai
OK otto@
2006-07-07Remove extraneous code:Ray Lai
- Instead of generating the same string twice using printf, generate once and reuse. - Use err instead of errx with strerror. OK otto@