search for: parse_dispatch_command

Displaying 9 results from an estimated 9 matches for "parse_dispatch_command".

2008 Nov 24
5
[Bug 1541] New: sftp: the do_stat() failure is ignored for chown, chgrp ops. in parse_dispatch_command()
https://bugzilla.mindrot.org/show_bug.cgi?id=1541 Summary: sftp: the do_stat() failure is ignored for chown, chgrp ops. in parse_dispatch_command() Product: Portable OpenSSH Version: -current Platform: All OS/Version: All Status: NEW Severity: trivial Priority: P5 Component: sftp AssignedTo: unassigned-bugs at mindrot.org ReportedBy: anedvedicky...
2007 Dec 12
0
Revisiting sftp tab completion patch
...NULL) { dir = xstrdup(file1); - dir = make_absolute(dir, pwd); + dir = make_absolute(dir, remote_path); if (remote_is_dir(conn, dir) && file2 == NULL) { printf("Changing to: %s\n", dir); snprintf(cmd, sizeof cmd, "cd \"%s\"", dir); - if (parse_dispatch_command(conn, cmd, &pwd, 1) != 0) { + if (parse_dispatch_command(conn, cmd, &remote_path, 1) != 0) { xfree(dir); - xfree(pwd); + xfree(remote_path); xfree(conn); return (-1); } @@ -1400,9 +1642,9 @@ snprintf(cmd, sizeof cmd, "get %s %s", dir,...
2008 Jul 21
2
sftp needs a long time for sending a filelist
Hello all Im using sftp 1:4.7p1-8ubuntu1.2 in a batchjob Ive noticed that sftp needs a long time for sending a filelist. The timespan increases exponential if many files are on the remoteserver. for example "ls -la *.txt" needs 10 seconds for 2000 files but needs 50 seconds for 4000 files. For 150.000 Files i have to wait 15 minutes for example but the
2006 Jun 30
0
Ret: Problems with SFTP
....3p2 happen Segfaults. Segfaults happens when SFTP works as a client. You embed the SNPRINTF statement in the openssh as a tracer. Could you modify the program and run it on your development environment? The program moves the control to the statement "case I_LS:" at the function "parse_dispatch_command" in the source file "sftp.c" when the user enters the command "ls". I suggest you embed the SNPRINTF statement here at the first. Regards, Tomo rogier at tw.reverze.net wrote: >Guys, > >Once again I need some help I hope you can give me. When I try to SFTP to &...
2011 Dec 07
3
[Bug 1956] New: sftp segfaults in parse_args() when argv[0] is NULL
...nnected to alex. sftp> ^L Segmentation fault (core dumped) The backtrace from gdb shows: #0 0x0000003af267c100 in strcasecmp () from /lib64/libc.so.6 #1 0x0000000000404dd2 in parse_args (conn=0x13fbc0c0, cmd=<value optimized out>, pwd=0x7fff330ac518, err_abort=0) at sftp.c:1145 #2 parse_dispatch_command (conn=0x13fbc0c0, cmd=<value optimized out>, pwd=0x7fff330ac518, err_abort=0) at sftp.c:1300 #3 0x0000000000406327 in interactive_loop (conn=0x13fbc0c0, file1=<value optimized out>, file2=<value optimized out>) at sftp.c:1990 #4 0x0000000000406913 in main (argc=<valu...
2006 Jun 26
1
Problems with SFTP
Guys, Once again I need some help I hope you can give me. When I try to SFTP to any of my PCs (also running openssh) from my Xscale (ARM, big-endian) system sftp segfaults on me. Sftp to the xscale system works without any problems. I'm using openssl-0.9.8b (with ocf support), linux-2.6.16 and openssh 4.3p2 on the Xscale system. One of the systems I try to sftp to runs Openssh 3.7.1p2, with
2009 Feb 12
2
[patch] hard link protocol extension for sftp
...path newpath Symlink remote file\n" @@ -1111,6 +1114,7 @@ parse_args(const char **cpp, int *pflag, } break; case I_RENAME: + case I_LINK: case I_SYMLINK: if (argc - optidx < 2) { error("You must specify two paths after a %s " @@ -1250,6 +1254,11 @@ parse_dispatch_command(struct sftp_conn path2 = make_absolute(path2, *pwd); err = do_rename(conn, path1, path2); break; + case I_LINK: + path1 = make_absolute(path1, *pwd); + path2 = make_absolute(path2, *pwd); + err = do_link(conn, path1, path2); + break; case I_SYMLINK: path2 = make_absolute(path2, *p...
2007 Aug 15
9
OpenSSH 4.7: call for testing.
Hi All. OpenSSH 4.7 is preparing for release so we are asking for any interested folks to please test a snapshot. The main changes are: * sshd(8) in new installations defaults to SSH Protocol 2 only. Existing installations are unchanged. * The SSH channel window size has been increased, which improves performance on high-BDP networks. * ssh(1) and sshd(8) now preserve MAC
2006 Aug 30
30
Testing for the 4.4p1 release
Hi, The 4.4p1 release is approaching now, so we are now asking people to actively test snapshots or CVS and report back to the mailing list. Snapshots are available from http://www.mindrot.org/openssh_snap or from any of the mirrors listed on http://www.openssh.org/portable.html The latter page also includes instructions for checking out portable OpenSSH via anonymous CVS. This release