search for: process_read

Displaying 5 results from an estimated 5 matches for "process_read".

Did you mean: process_load
2006 May 15
1
[PATCH 8/12] openssh-4.3p2 return code check bugs
..._close(void) id = get_int(); handle = get_handle(); + if (handle < 0) + goto out; TRACE("close id %u handle %d", id, handle); ret = handle_close(handle); status = (ret == -1) ? errno_to_portable(errno) : SSH2_FX_OK; +out: send_status(id, status); } @@ -424,6 +427,8 @@ process_read(void) id = get_int(); handle = get_handle(); + if (handle < 0) + goto out; off = get_int64(); len = get_int(); @@ -450,6 +455,7 @@ process_read(void) } } } +out: if (status != SSH2_FX_OK) send_status(id, status); } @@ -461,10 +467,12 @@ process_write(void) u_int64_t...
2005 Jul 13
0
sftp/scp mysql logging
...am basing a patch off of the sftplogging project on sourceforge to add support for mysql logging for both sftp/scp. I have mysql compiled in successfully and logging fine on connects/quits but my issue is sending a file.. it does the reading from the sockets in this function i take it static void process_read(void) { Now it does that for each chunk that it gets over the socket from what i can tell.. for the life of me i cannot find a place to put my mysql log command when the file is completely done.. if anyone has any pointers i'd love to hear from you Thanks Mike -- http://www.zcentric.com/wik...
2018 Dec 29
13
[Bug 2949] New: "limits@openssh.com" extension to SFTP to query various transfer limits
...eel free to highlight it. `sftp` has a -B option to set the transfer buffer size. this applies to both read & write SFTP packets. when doing a read of a really large size, OpenSSH will respond with short reads. e.g. if you request 1MiB, the server will just respond with 64KiB (sftp-server.c:process_read hardcodes buf[64*1024]). this leaves the client with expecting to chunk things up at one size, but ends up having to backfill things dynamically. the client is able to recover though, so that's good. when doing a write of a really large size, OpenSSH will just close the connection as soon as...
2018 Dec 28
19
[Bug 2948] New: implement "copy-data" sftp extension
https://bugzilla.mindrot.org/show_bug.cgi?id=2948 Bug ID: 2948 Summary: implement "copy-data" sftp extension Product: Portable OpenSSH Version: -current Hardware: All URL: https://tools.ietf.org/html/draft-ietf-secsh-filexfer- extensions-00#section-7 OS: All Status: NEW
2001 Apr 24
10
Call for testing for coming 2.9 release.
If we can get people to test their platforms against the last snapshot/cvs tree I'd be greatful. (http://www.openssh.com/portable.html) I know NeXT platform has problems. I'm going to spend tonight looking at it. Also, take a moment to see what manpage type ./configure decided for your system and if it's 'cat' please let us know. Thanks. - Ben