search for: tflag

Displaying 20 results from an estimated 36 matches for "tflag".

Did you mean: flag
2011 Sep 07
1
Error: in routine alloca() there is a stack overflow: thread 0, max 535822282KB, used 0KB, request 24B
...i <- "/users/me/MEGANv2.04/Output/latlong_spec2_WOCONV_2001187.ncf" # ---------------- # Open file # ---------------- nc <- open.ncdf(gcfilename) nc.ori <- open.ncdf(gcfilename.ori) print ("fininshed open file") print(nc) print("Reading TFLAG") # error occurs on any of the following "get.var.ncdf" calls: tflag<- get.var.ncdf(nc,varid="TFLAG") # So this would produce the failure isop <- get.var.ncdf(nc,varid="ISOPRENE") isop.ori <- get.var.ncdf(nc.ori,varid="ISOPRENE")...
2019 Jan 19
2
Status of SCP vulnerability
Hello, I would like to request an update of the progress regarding fixes for the recently disclosed SCP vulnerability (CVE-2018-20685, CVE-2019-6111, CVE-2019-6109, CVE-2019-6110) It has been stated that CVE-2018-20685 has been patched in november but there are currently no information available on the progress of patches regarding the other CVEs. Will there be a patched release any time soon?
2004 Aug 31
1
[PATCH] supporting a remote scp path option in scp
...cmd[CMDNEEDS]; /* must hold "rcp -r -p -d\0" */ +char *rscpcmd; /* must hold scp_remote_program + "-r -p -d\0" */ + int response(void); void rsource(char *, struct stat *); @@ -212,12 +215,13 @@ int main(int argc, char **argv) { - int ch, fflag, tflag, status; + int ch, fflag, tflag, status, rscpcmdlen; double speed; char *targ, *endp; extern char *optarg; extern int optind; + rscpcmdlen = 1; args.list = NULL; addargs(&args, "ssh"); /* overwritten with ssh_progr...
2000 Dec 18
2
scp remote path specification
...Please advise. Best regards Jan Iven PS: a small patch so that /full/path/to/scp will find the corresponding local /full/path/to/ssh is appended below. --- openssh/scp.c~ Sat Oct 28 05:19:58 2000 +++ openssh/scp.c Tue Nov 7 17:59:37 2000 @@ -245,7 +245,7 @@ char *argv[]; { int ch, fflag, tflag; - char *targ; + char *targ, *pathsep; extern char *optarg; extern int optind; @@ -253,6 +253,19 @@ addargs("ssh"); /* overwritten with ssh_program */ addargs("-x"); addargs("-oFallBackToRsh no"); + + /* check explicit path for ssh binary, default is SSH_...
2006 May 14
1
scp patch to delete source files after copy
...he source after copying. */ + int delete_source = 0; + /* This is the program to execute for the secured connection. ("ssh" or -S) */ char *ssh_program = _PATH_SSH_PROGRAM; *************** *** 278,284 **** addargs(&args, "-oClearAllForwardings yes"); fflag = tflag = 0; ! while ((ch = getopt(argc, argv, "dfl:prtvBCc:i:P:q1246S:o:F:")) != -1) switch (ch) { /* User-visible flags. */ case '1': --- 281,287 ---- addargs(&args, "-oClearAllForwardings yes"); fflag = tflag = 0; ! while ((ch = getopt(argc, argv, &...
2001 Apr 02
1
[PATCH]: scp could hang in Cygwin
...================================================ RCS file: /cvs/openssh_cvs/scp.c,v retrieving revision 1.66 diff -u -p -r1.66 scp.c --- scp.c 2001/03/29 00:43:54 1.66 +++ scp.c 2001/04/02 19:47:14 @@ -291,6 +291,9 @@ main(argc, argv) case 't': /* "to" */ iamremote = 1; tflag = 1; +#ifdef HAVE_CYGWIN + setmode (0, O_BINARY); +#endif break; default: usage(); Index: openbsd-compat/bsd-cygwin_util.c =================================================================== RCS file: /cvs/openssh_cvs/openbsd-compat/bsd-cygwin_util.c,v retrieving revision 1.3 diff -u -...
2000 Oct 11
2
scp -L option
...,175 ---- args[i++] = ssh_program; args[i++] = "-x"; args[i++] = "-oFallBackToRsh no"; + if (highport) + args[i++] = "-P"; if (IPv4) args[i++] = "-4"; if (IPv6) *************** *** 262,268 **** extern int optind; fflag = tflag = 0; ! while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46S")) != EOF) switch (ch) { /* User-visible flags. */ case '4': --- 267,273 ---- extern int optind; fflag = tflag = 0; ! while ((ch = getopt(argc, argv, "LdfprtvBCc:i:P:q46S")) != EOF) swi...
2010 Nov 19
3
File Offsets for SCP (patch)
...gv) extern char *optarg; extern int optind; + fd_inset = 0; + fd_offset = 0; + /* Ensure that fds 0, 1 and 2 are open or directed to /dev/null */ sanitise_stdfd(); @@ -344,7 +348,7 @@ main(int argc, char **argv) addargs(&args, "-oClearAllForwardings yes"); fflag = tflag = 0; - while ((ch = getopt(argc, argv, "dfl:prtvBCc:i:P:q1246S:o:F:")) != -1) + while ((ch = getopt(argc, argv, "dfl:prtvBCc:i:P:q1246S:o:F:A:Z:")) != -1) switch (ch) { /* User-visible flags. */ case '1': @@ -407,6 +411,16 @@ main(int argc, char **argv)...
2000 Aug 24
0
patch for a few things
...+] = "-oFallBackToRsh no"; + if (protocol==1) + args[i++] = "-oProtocol 1"; + else if (protocol==2) + args[i++] = "-oProtocol 2"; if (IPv4) args[i++] = "-4"; if (IPv6) *************** *** 262,270 **** extern int optind; fflag = tflag = 0; ! while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46S")) != EOF) switch (ch) { /* User-visible flags. */ case '4': IPv4 = 1; break; --- 276,302 ---- extern int optind; fflag = tflag = 0; ! while ((ch = getopt(argc, argv, "bdfprtvBCc:i:P:q...
2002 Jan 27
5
[PATCH] Add scp -1 and -2 options to OpenSSH-3.0.2p1
...15:26:34 2002 @@ -82,6 +82,7 @@ #include "pathnames.h" #include "log.h" #include "misc.h" +#include "compat.h" #ifdef HAVE___PROGNAME extern char *__progname; @@ -242,9 +243,15 @@ addargs(&args, "-oClearAllForwardings yes"); fflag = tflag = 0; - while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46S:o:F:")) != -1) + while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q1246S:o:F:")) != -1) switch (ch) { /* User-visible flags. */ + case '1': + addargs(&args, "-oProtocol=1"); + break; + cas...
1999 Dec 27
0
1.2pre17: -C option to scp
...ven on the command line. */ char *cipher = NULL; @@ -167,6 +171,8 @@ args[i++] = "-l"; args[i++] = remuser; } + if (nolowports) + args[i++] = "-P"; args[i++] = host; args[i++] = cmd; args[i++] = NULL; @@ -242,7 +248,7 @@ extern int optind; fflag = tflag = 0; - while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q")) != EOF) + while ((ch = getopt(argc, argv, "dfprtvLBCc:i:P:q")) != EOF) switch (ch) { /* User-visible flags. */ case 'p': @@ -253,6 +259,9 @@ break; case 'r': iamrecursive = 1; + brea...
2000 Apr 27
0
Patch for supporting "-L" option in scp
...gs[i++] = remuser; } + if (use_non_privileged_port) + args[i++] = "-P"; args[i++] = host; args[i++] = cmd; args[i++] = NULL; @@ -247,7 +253,7 @@ extern int optind; fflag = tflag = 0; - while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46")) != EOF) + while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:qL46")) != EOF) switch (ch) { /* User-visible flags. */ case '4': @@ -295,6 +301,9 @@...
2000 Sep 01
0
scp -S patch fix
The scp -S patch didn't seem to go in cleanly; here are some fixes against the 0830 snapshot: --- scp.c~ Wed Aug 30 01:11:30 2000 +++ scp.c Fri Sep 1 12:54:14 2000 @@ -262,7 +262,7 @@ extern int optind; fflag = tflag = 0; - while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46S")) != EOF) + while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46S:")) != EOF) switch (ch) { /* User-visible flags. */ case '4': --- scp.1~ Wed Aug 23 02:46:24 2000 +++ scp.1 Fri Sep 1 13:46:33 2000 @@ -2...
2000 Sep 02
1
[2.2.0p1] patch to get "scp -S prog" to work right + man page fix
Hi. This functionality was just added in 2.2.0p1. The patch is self-explanatory. Charles --- scp.c.orig-2.2.0p1 Tue Aug 29 19:11:30 2000 +++ scp.c Sat Sep 2 15:14:58 2000 @@ -262,7 +262,7 @@ extern int optind; fflag = tflag = 0; - while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46S")) != EOF) + while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46S:")) != EOF) switch (ch) { /* User-visible flags. */ case '4': --- scp.1.orig-2.2.0p1 Tue Aug 22 20:46:24 2000 +++ scp.1 Sat Sep 2 15:18:0...
2001 Jul 22
1
[patch] add -1 and -2 options to scp
Hi, Several people have asked that scp support the -1 and -2 options, so I wrote this patch. Cheers, Matthew -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: scp.diff Url: http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20010722/7e096fab/attachment.ksh -------------- next part -------------- -- "At least you know
2001 Sep 08
1
force SSH1 and SSH2
...--------- pozdr. Pawe? Go?aszewski --------------------------------- R.I.P. - rest in pieces ... -------------- next part -------------- --- ./scp.c.org Sat Sep 8 23:37:22 2001 +++ ./scp.c Sun Sep 9 00:07:36 2001 @@ -244,9 +244,11 @@ addargs("-oFallBackToRsh no"); fflag = tflag = 0; - while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46S:o:")) != -1) + while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q1246S:o:")) != -1) switch (ch) { /* User-visible flags. */ + case '1': + case '2': case '4': case '6': case...
2001 Sep 27
0
[PATCH] scp fixes
...ents. Secondly, I check for and ignore filenames with \n in the filename, since these break the rcp/scp protocol. Cheers, Matthew --- scp.c.orig Thu Sep 27 21:32:32 2001 +++ scp.c Thu Sep 27 21:41:06 2001 @@ -242,9 +242,11 @@ addargs(&args, "-oClearAllForwardings yes"); fflag = tflag = 0; - while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46S:o:F:")) != -1) + while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q1246S:o:F:")) != -1) switch (ch) { /* User-visible flags. */ + case '1': + case '2': case '4':...
2002 Sep 10
1
[PATCH] Let scp accept options -1 and -2
...================================================= RCS file: /cvs/openssh/scp.c,v retrieving revision 1.97 diff -u -r1.97 scp.c --- scp.c 21 Jun 2002 00:41:52 -0000 1.97 +++ scp.c 10 Sep 2002 17:37:49 -0000 @@ -233,9 +241,11 @@ addargs(&args, "-oClearAllForwardings yes"); fflag = tflag = 0; - while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46S:o:F:")) != -1) + while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46S:o:F:12")) != -1) switch (ch) { /* User-visible flags. */ + case '1': + case '2': case '4': case '6': c...
2007 Nov 24
1
undocumented scp server-side arguments -dft
...case 'f': /* "from" */ iamremote = 1; fflag = 1; break; case 't': /* "to" */ iamremote = 1; tflag = 1; ... -- Pekka Savola "You each name yourselves king, yet the Netcore Oy kingdom bleeds." Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings
2002 Nov 05
0
[PATCH] Add readonly mode to scp, sftp_server
...showprogress = 1; + /* deny client write operations */ + int readonly = 0; + /* This is the program to execute for the secured connection. ("ssh" or -S) */ char *ssh_program = _PATH_SSH_PROGRAM; *************** *** 307,312 **** --- 310,319 ---- exit(errs != 0); } if (tflag) { + if (readonly) { + run_err("permission denied"); + exit(1); + } /* Receive data. */ sink(argc, argv); exit(errs != 0); *** sftp-server.c@@\main\1 Tue Oct 1 17:27:26 2002 --- sftp-server.c Tue Nov 5 10:07:54 2002 *************** *** 52,57 ****...