#
01cfcf25 |
| 27-Dec-2018 |
djm <djm@openbsd.org> |
move client/server SSH-* banners to buffers under ssh->kex and factor out the banner exchange. This eliminates some common code from the client and server.
Also be more strict about handling \r char
move client/server SSH-* banners to buffers under ssh->kex and factor out the banner exchange. This eliminates some common code from the client and server.
Also be more strict about handling \r characters - these should only be accepted immediately before \n (pointed out by Jann Horn).
Inspired by a patch from Markus Schmidt. (lots of) feedback and ok markus@
show more ...
|
#
492be409 |
| 22-Sep-2010 |
djm <djm@openbsd.org> |
add an option per-read/write callback to atomicio
factor out bandwidth limiting code from scp(1) into a generic bandwidth limiter that can be attached using the atomicio callback mechanism
add a ba
add an option per-read/write callback to atomicio
factor out bandwidth limiting code from scp(1) into a generic bandwidth limiter that can be attached using the atomicio callback mechanism
add a bandwidth limit option to sftp(1) using the above
"very nice" markus@
show more ...
|
#
bd9502d5 |
| 03-Aug-2006 |
deraadt <deraadt@openbsd.org> |
almost entirely get rid of the culture of ".h files that include .h files" ok djm, sort of ok stevesk makes the pain stop in one easy step
|
#
b177e5b3 |
| 30-Jul-2006 |
stevesk <stevesk@openbsd.org> |
order includes to KNF
|
#
0588ed32 |
| 16-Apr-2006 |
djm <djm@openbsd.org> |
introduce atomiciov() function that wraps readv/writev to retry interrupted transfers like atomicio() does for read/write; feedback deraadt@ dtucker@ stevesk@ ok deraadt@
|
#
84cabb10 |
| 25-Mar-2006 |
djm <djm@openbsd.org> |
standardise spacing in $OpenBSD$ tags; requested by deraadt@
|
#
c8b6d577 |
| 24-May-2005 |
avsm <avsm@openbsd.org> |
Switch atomicio to use a simpler interface; it now returns a size_t (containing number of bytes read/written), and indicates error by returning 0. EOF is signalled by errno==EPIPE. Typical use now b
Switch atomicio to use a simpler interface; it now returns a size_t (containing number of bytes read/written), and indicates error by returning 0. EOF is signalled by errno==EPIPE. Typical use now becomes:
if (atomicio(read, ..., len) != len) err(1,"read");
ok deraadt@, cloder@, djm@
show more ...
|
#
4a391f71 |
| 28-Jun-2003 |
deraadt <deraadt@openbsd.org> |
deal with typing of write vs read in atomicio
|
#
08d1172d |
| 26-Jun-2001 |
itojun <itojun@openbsd.org> |
prototype pedant. not very creative... - () -> (void) - no variable names
|
#
24330a15 |
| 02-Mar-2001 |
deraadt <deraadt@openbsd.org> |
make copyright lines the same format
|
#
d4e7c603 |
| 29-Jan-2001 |
niklas <niklas@openbsd.org> |
$OpenBSD$
|
#
94dd3409 |
| 21-Jan-2001 |
markus <markus@openbsd.org> |
split ssh.h and try to cleanup the #include mess. remove unnecessary #includes. rename util.[ch] -> misc.[ch]
|