search for: isoprog

Displaying 7 results from an estimated 7 matches for "isoprog".

Did you mean: ioprot
2019 Jun 26
3
[nbdkit PATCH] iso: Shell-quote an alternative isoprog
Otherwise, a user can do things like "nbdkit iso . prog='date;prog'" to run unintended commands in addition to their alternative isoprog. This is not a CVE (since nbdkit isn't running with any more privileges than the user running those commands themselves), but shows the frailty of relying on the shell to parse subsidiary commands rather than exec()ing them directly. This patch also doesn't resolve the fact that we are als...
2019 Jun 26
0
Re: [nbdkit PATCH] iso: Shell-quote an alternative isoprog
On 6/26/19 11:53 AM, Eric Blake wrote: > Otherwise, a user can do things like "nbdkit iso . prog='date;prog'" > to run unintended commands in addition to their alternative isoprog. On the other hand, allowing: prog='isoprog --parameter' may be intentional, and I just broke that. Maybe I need to revert this? > This is not a CVE (since nbdkit isn't running with any more privileges > than the user running those commands themselves), but shows the > frail...
2020 Apr 09
0
[PATCH nbdkit v2 2/3] iso: Implement this plugin using fileops (read-only).
.../types.h> #include <sys/stat.h> +#define NBDKIT_API_VERSION 2 #include <nbdkit-plugin.h> #include "cleanup.h" +#include "fileops.h" #include "utils.h" /* List of directories parsed from the command line. */ @@ -57,7 +59,7 @@ static const char *isoprog = ISOPROG; static const char *params = NULL; /* The temporary ISO. */ -static int fd = -1; +static int iso_fd = -1; /* Construct the temporary ISO. */ static int @@ -80,8 +82,8 @@ make_iso (void) return -1; } - fd = mkstemp (template); - if (fd == -1) { + iso_fd = mkstemp (temp...
2019 Mar 06
0
[PATCH nbdkit] Add ssh plugin using libssh.
...C_SUBST([SSH_CFLAGS]) + AC_SUBST([SSH_LIBS]) + ], + [AC_MSG_WARN([libssh not found, ssh plugin will be disabled])]) +]) +AM_CONDITIONAL([HAVE_SSH],[test "x$SSH_LIBS" != "x"]) + dnl Check for genisoimage or mkisofs dnl (only if you want to compile the iso plugin). ISOPROG="no" @@ -800,6 +815,7 @@ non_lang_plugins="\ partitioning \ pattern \ random \ + ssh \ split \ streaming \ tar \ @@ -872,6 +888,7 @@ AC_CONFIG_FILES([Makefile plugins/rust/Cargo.toml plug...
2020 Apr 09
6
[PATCH nbdkit v2 0/3] Implement fileops.
Needs some work still, see in particular the commit message for patch 3. Rich.
2019 Mar 06
2
[PATCH nbdkit] Add ssh plugin using libssh.
This adds a simple plugin using libssh (not libssh2). The intended use for this is with virt-v2v when sourcing guests from VMware over SSH. We've had several years of problems getting our libssh-based driver into qemu. By putting it into nbdkit instead we can bypass that. However this also lets us combine ssh access with filters, in particular the recently written ‘rate’ filter. Rich.
2020 Feb 25
6
[PATCH nbdkit 0/5] server: Add .get_ready callback.
I like this change. I think we were overloading the config_complete method before to do two different things (complete configuration; do any allocation/housekeeping necessary before we can start serving). The only questions in my mind are whether we want this before 1.18, and whether the name ("get_ready") is a good one. Rich.