[Libguestfs] [PATCH libnbd] api: Allow NBD URIs to be restricted.

Richard W.M. Jones rjones at redhat.com
Mon Nov 4 21:12:03 UTC 2019


On Mon, Nov 04, 2019 at 01:26:20PM -0600, Eric Blake wrote:
> Worth L<nbd_get_uri_allow_tls(3)> to query the current permitted
> transports? Similar for other new set_ APIs.

Yes, although the generator cannot return Enums at the moment so it
would need to be extended first.

> >+=item Connect to Unix domain socket in the local filesystem
> >+
> >+Default: allowed
> >+
> >+To prevent this you must disable the C<+unix> transport
> 
> Is the + in C<+unix> intentional?

By this I meant transports like "nbd+unix" and "nbds+unix".
Maybe there's a better way to put it.  (We also have +vsock now)

Thanks,

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v




More information about the Libguestfs mailing list