Displaying 5 results from an estimated 5 matches for "ssh2_filexfer_version".
2007 May 07
2
[PATCH] Adds support for SSH_FXP_LINK request to sftp-server and sftp client
Dear list,
Attached is a patch that adds support for the SSH_FXP_LINK request, as
described in draft-ietf-secsh-filexfer-07 onwards, to the sftp server
and client. It is for and has been tested on the current portable
snapshot but also applies to openbsd CVS.
Thanks,
--
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openssh-sftp-hardlink-pcvs-v2.patch
2011 Sep 22
0
which sftp protocol is openssh or sftp-server using or support?
Hi,
After reading the source code of openssh and man page of sftp.
In sftp.h it define
27 /*
28 * draft-ietf-secsh-filexfer-01.txt
29 */
30
31 /* version */
32 #define SSH2_FILEXFER_VERSION 3
and In the end of the man page,
T. Ylonen and S. Lehtinen, SSH File Transfer Protocol,
draft-ietf-secsh-filexfer-00.txt, January 2001, work in progress
material.
In wikipedia of "SSH File Transfer Protocal", I notice
draft-ietf-secsh-filexfer-00.txt and draft-ietf-secsh-filexfe...
2007 May 14
0
[PATCH] Adds support for Append command (SSH_FXF_APPEND) to sftp_client
...return(-1);
And maybe remove also the "do_fstat" function in "sftp-client.c"
(it is never used)
We can also patch the "sftp-server.c" to honor the APPEND flag, but there
is no way for the client to know if the server is patched or not...
* Suggestions:
1) Change the SSH2_FILEXFER_VERSION to something new.
2) Implement a VENDOR specific future to retrive the presence of the new
SSH2_FXF_APPEND future. We can do this using the SSH2_FXP_EXTENDED
command.
(This will be useful also for other patches; like the SSH_FXP_LINK patch)
If you want I can make a patch also for the server...
2001 Jun 20
1
SFTP Logging Redux.
...b(void)
{
@@ -370,6 +398,7 @@
version = buffer_get_int(&iqueue);
TRACE("client version %d", version);
+ log("(%d/%d/%s) Client version %d", ppid, cuid, CUNAME, version);
buffer_init(&msg);
buffer_put_char(&msg, SSH2_FXP_VERSION);
buffer_put_int(&msg, SSH2_FILEXFER_VERSION);
@@ -382,7 +411,7 @@
{
u_int32_t id, pflags;
Attrib *a;
- char *name;
+ char *name, sflags[7] = "------";
int handle, fd, flags, mode, status = SSH2_FX_FAILURE;
id = get_int();
@@ -390,8 +419,10 @@
pflags = get_int(); /* portable flags */
a = get_attrib();
flags = flags...
2002 Mar 15
4
PATCH: sftp-server logging.
...rsion = buffer_get_int(&iqueue);
TRACE("client version %d", version);
+ #ifdef SFTP_LOGGING
+ log("(%d/%d/%s) Client version %d.", ppid, cuid, CUNAME, version);
+ #endif
buffer_init(&msg);
buffer_put_char(&msg, SSH2_FXP_VERSION);
buffer_put_int(&msg, SSH2_FILEXFER_VERSION);
***************
*** 383,388 ****
--- 439,447 ----
u_int32_t id, pflags;
Attrib *a;
char *name;
+ #ifdef SFTP_LOGGING
+ char sflags[7] = "------";
+ #endif
int handle, fd, flags, mode, status = SSH2_FX_FAILURE;
id = get_int();
***************
*** 390,407 ****
--- 449,4...