search for: filexfer

Displaying 20 results from an estimated 58 matches for "filexfer".

2004 Apr 28
1
FW: filexfer draft and uid / gid resolution ...
...I will get out of your hair. Thanks again for your help. I really appreciate it. -Matthew >________________________________ > >From: Damien Miller [mailto:djm at mindrot.org] >Sent: Tue 4/27/2004 6:39 PM >To: Grooms, Matthew >Cc: openssh-unix-dev at mindrot.org >Subject: Re: filexfer draft and uid / gid resolution ... > > >The version of the filexfer draft that OpenSSH supports doesn't support >user/group name resolution. We have access to numeric user and group IDs >only. > >Later versions of the filexfer draft do support this, but I have some >misg...
2004 Apr 28
1
filexfer draft and uid / gid resolution ...
Sorry if this is not the best place to post this question but I'm not sure who else to ask. After reading through the filexfer draft I am having trouble understanding how a sftp client goes about resolving uid / gid to its text representation. Without handling this translation for the user, how do they know the difference between one uid / gid to the next without opening up a terminal to the remote host and resolving them...
2007 Feb 18
2
SFTP: a new command to get filesystem size/free space
...d be useful. My idea is to simply return the total size and free space of the current working directory. Would you accept patches implementing this? Please CC me, I am not on this list. Regards, Thue PS: does the openssh sftp implementation conform to http://www.openssh.org/txt/draft-ietf-secsh-filexfer-02.txt ? If not, is the protocol described elsewhere?
2008 Feb 23
3
sftp-server failing to rename a file
What to try: $ cd /tmp $ touch a b $ sftp localhost sftp> cd /tmp sftp> rename a b Couldn't rename file "/tmp/a" to "/tmp/b": Failure sftp> rm b Removing /var/tmp/b sftp> rename a b sftp> So, the sftp "rename" command refuses to rename a file to an existing one. Instead of using the rename(2) system call, which is present at least on
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 n...
2007 Apr 24
2
chmod sftp command and setgid/setuid bit
Hi OpenSSH developers, I'm using OpenSSH on a daily basis and I'm very pleased with the work you've done. I am contributing to some Open Source software hosted at Savannah https://savannah.nongnu.org/projects/tsp and we recently hit some sftp unexpected behavior: https://savannah.gnu.org/support/?105838 when using chmod sftp client command it appears that setuid / setgid bits are
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 Type: text/x-diff Si...
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 Severity: enhancement Priority: P5 Component: sftp Assignee: unassigned-bugs at mindrot.org Reporter: vapier at gentoo.org i posted some patches [1] to impl...
2016 Jun 02
2
[PATCH] Link count attribute extension
...etrieving revision 1.28 diff -u -r1.28 sftp-common.c --- sftp-common.c 20 Jan 2015 23:14:00 -0000 1.28 +++ sftp-common.c 2 Jun 2016 01:32:02 -0000 @@ -56,6 +56,8 @@ a->perm = 0; a->atime = 0; a->mtime = 0; + a->has_nlink = 0; + a->nlink = 0; } /* Convert from struct stat to filexfer attribs */ @@ -74,6 +76,9 @@ a->flags |= SSH2_FILEXFER_ATTR_ACMODTIME; a->atime = st->st_atime; a->mtime = st->st_mtime; + a->flags |= SSH2_FILEXFER_ATTR_EXTENDED; + a->has_nlink = 1; + a->nlink = st->st_nlink; } /* Convert from filexfer attribs to struct stat *...
2001 May 25
1
sftp transfer status feedback?
>Is there a simple way to achieve this behavior? Is there a document on >the sftp protocol somewhere? http://search.ietf.org/internet-drafts/draft-ietf-secsh-filexfer-00.txt -- Darren J Moffat
2007 Apr 25
2
SFTP and outstanding requests
I've been looking at the SFTP code and the filexfer RFC (and ended up answering my prior questions). I was wondering if anyone had any thoughts as to what might happen if the maximum number of outstanding requests was increased. Currently its set in sftp.c at /* Number of concurrent outstanding requests */ size_t num_requests = 16;
2014 Apr 14
2
[Bug 2227] New: Support version 6
...ware: 68k OS: Mac OS X Status: NEW Severity: enhancement Priority: P5 Component: sftp-server Assignee: unassigned-bugs at mindrot.org Reporter: dkocher at cyberduck.io As in http://tools.ietf.org/wg/secsh/draft-ietf-secsh-filexfer/draft-ietf-secsh-filexfer-13.txt. -- You are receiving this mail because: You are watching the assignee of the bug.
2004 Mar 30
9
[Bug 823] Rename fails on fat32 partitions
http://bugzilla.mindrot.org/show_bug.cgi?id=823 Summary: Rename fails on fat32 partitions Product: Portable OpenSSH Version: 3.8p1 Platform: All OS/Version: All Status: NEW Severity: major Priority: P2 Component: sftp-server AssignedTo: openssh-bugs at mindrot.org ReportedBy: iwish at
2011 Jun 29
5
Enhance sftp protocol: get SHA hash of file
Hi, it would be great, if the sftp protocol could be enhanced: get sha (or other hash value) from a file or part of a file. This would make it possible to run a rsync like file transfer on sftp. I would suggest a protocol like this Client sends to Server: get-supported hash-methods returns whitespace seperated list like md5 sha1 sha256 .... get-hash HASH-METHOD FILENAME STARTOFFSET
2009 Feb 26
1
sftp SSH2_FXP_SYMLINK argument order
Reading 6.10 Dealing with Symbolic links in http://www.openssh.org/txt/draft-ietf-secsh-filexfer-02.txt it seems to say that the first argument ('linkpath') specifies the name of the symlink file to create. ("linkpath' specifies the path name of the symlink to be created"). However, sftp-server.c:process_symlink() seems to reverse this. I.E. the first argument ('oldp...
2001 Jan 10
1
sftp
there is now a draft: http://www.ietf.org/internet-drafts/draft-ietf-secsh-filexfer-00.txt if someone could please check whether sftp-server.c comlies :)
2006 Dec 18
0
Wait command
...}, ${CAUSECODE}) exten => s,5,hangup exten => s,104,AGI(logerror.py,${ARG1},${CALLERIDNUM},${CHANNEL},${DIALSTATUS},${DATETIME}, ${CAUSECODE}) exten => h,1,stopmonitor exten => h,2,SetVar(CALLFILEDIR=/var/www/recordings/${TIMESTAMP:0:8:7}) exten => h,3,System(/etc/asterisk/agi-bin/filexfer ${CALLFILENAME} ${CALLFILEDIR}) It causes me some problems occausionsly and I want to pause the scipt by wait in 5 s. exten => s,1,SetVar(CALLFILENAME=/var/www/recordings/${TIMESTAMP:0:8:7}/${UNIQUEID}) exten => s,2,AGI(recordstart.py,${ARG1},${CALLERIDNUM},${CALLFILENAME},Ind) exten =&g...
2011 Dec 09
0
Proposal for SFTP extension to include user name and group name in file attributes
...could be useful to clients such as sshfs[5], allowing file systems to be mounted from other servers with different uid/gid mappings. [1] https://bugzilla.mindrot.org/show_bug.cgi?id=1953#c1 [2] https://bugzilla.mindrot.org/show_bug.cgi?id=1632#c10 [3] http://tools.ietf.org/html/draft-ietf-secsh-filexfer-04#section-5.4 [4] http://tools.ietf.org/html/draft-ietf-secsh-filexfer-02#section-5 [5] http://fuse.sourceforge.net/sshfs.html -- Mike Kelly
2014 Oct 18
0
[Bug 1953] Implementation of xattr in sftp-server for sshfs
...t.org/show_bug.cgi?id=1953 --- Comment #3 from Christoph Anton Mitterer <calestyo at scientia.net> --- Does anyone know whether anything is going on with SFTP (especially also with repsect to ACLs and XATTRs)? More than a year ago we saw this http://tools.ietf.org/html/draft-moonesamy-secsh-filexfer-00 which apparently tried to restart the draft-ietf-secsh-filexfer series... Not having ACLs/XATTRs in SSH/SFTP continues to be a pain in the arse, especially since basically all the bigger UNIX/Linus filesystems support them and there is a slowly but constantly growing number of users. -- You a...
2017 Aug 06
3
[SFTP] Read from write-only file not returning error
Hello, I am investigating a data-loss bug in SSHFS (https://github.com/libfuse/sshfs/issues/72). While the root cause is in SSHFS and has already been fixed, there seems to be some unfortunate interaction with what I believe is an OpenSSH bug: As far as I can tell, when sending a SSH_FXP_OPEN request with SSH_FXF_WRITE (i.e., opening the file write only), and then following up with a