Re: [libvirt PATCH 9/9] rpc: use new virt-nc binary for remote tunnelling

2020-07-21 Thread Andrea Bolognani
On Mon, 2020-07-20 at 19:36 +0100, Daniel P. Berrangé wrote: > On Mon, Jul 20, 2020 at 08:20:12PM +0200, Andrea Bolognani wrote: > > We could special-case binaries called 'virt-nc' and use our internal > > syntax for those. Having two separate URI parameters to control the > > same knob sounds

Re: [libvirt PATCH 9/9] rpc: use new virt-nc binary for remote tunnelling

2020-07-20 Thread Daniel P . Berrangé
On Mon, Jul 20, 2020 at 08:20:12PM +0200, Andrea Bolognani wrote: > On Mon, 2020-07-20 at 18:21 +0100, Daniel P. Berrangé wrote: > > On Mon, Jul 20, 2020 at 07:18:55PM +0200, Andrea Bolognani wrote: > > > The other day I randomly realized the ssh-based transports already > > > accept a 'netcat'

Re: [libvirt PATCH 9/9] rpc: use new virt-nc binary for remote tunnelling

2020-07-20 Thread Andrea Bolognani
On Mon, 2020-07-20 at 18:21 +0100, Daniel P. Berrangé wrote: > On Mon, Jul 20, 2020 at 07:18:55PM +0200, Andrea Bolognani wrote: > > The other day I randomly realized the ssh-based transports already > > accept a 'netcat' URI parameter which can be used to point libvirt > > to a non-standard nc

Re: [libvirt PATCH 9/9] rpc: use new virt-nc binary for remote tunnelling

2020-07-20 Thread Daniel P . Berrangé
On Mon, Jul 20, 2020 at 07:18:55PM +0200, Andrea Bolognani wrote: > On Wed, 2020-07-15 at 16:11 +0200, Andrea Bolognani wrote: > > On Wed, 2020-07-15 at 14:25 +0100, Daniel P. Berrangé wrote: > > > On Wed, Jul 15, 2020 at 02:25:14PM +0200, Andrea Bolognani wrote: > > > > Mh, that makes sense but

Re: [libvirt PATCH 9/9] rpc: use new virt-nc binary for remote tunnelling

2020-07-20 Thread Andrea Bolognani
On Wed, 2020-07-15 at 16:11 +0200, Andrea Bolognani wrote: > On Wed, 2020-07-15 at 14:25 +0100, Daniel P. Berrangé wrote: > > On Wed, Jul 15, 2020 at 02:25:14PM +0200, Andrea Bolognani wrote: > > > Mh, that makes sense but I'm still wary of using "proxy" due to the > > > potential for confusion,

Re: [libvirt PATCH 9/9] rpc: use new virt-nc binary for remote tunnelling

2020-07-15 Thread Andrea Bolognani
On Wed, 2020-07-15 at 14:25 +0100, Daniel P. Berrangé wrote: > On Wed, Jul 15, 2020 at 02:25:14PM +0200, Andrea Bolognani wrote: > > Mh, that makes sense but I'm still wary of using "proxy" due to the > > potential for confusion, since in this case the proxy is on the > > opposite side of the

Re: [libvirt PATCH 9/9] rpc: use new virt-nc binary for remote tunnelling

2020-07-15 Thread Daniel P . Berrangé
On Wed, Jul 15, 2020 at 02:25:14PM +0200, Andrea Bolognani wrote: > On Wed, 2020-07-15 at 11:00 +0100, Daniel P. Berrangé wrote: > > On Fri, Jul 10, 2020 at 07:21:47PM +0200, Andrea Bolognani wrote: > > > Just a couple of comments about the UI: would it make sense to use > > > something like > > >

Re: [libvirt PATCH 9/9] rpc: use new virt-nc binary for remote tunnelling

2020-07-15 Thread Andrea Bolognani
On Wed, 2020-07-15 at 11:00 +0100, Daniel P. Berrangé wrote: > On Fri, Jul 10, 2020 at 07:21:47PM +0200, Andrea Bolognani wrote: > > Just a couple of comments about the UI: would it make sense to use > > something like > > > > qemu+ssh://host/system?tunnelcmd=virt-tunnel > > > > instead?

Re: [libvirt PATCH 9/9] rpc: use new virt-nc binary for remote tunnelling

2020-07-15 Thread Daniel P . Berrangé
On Fri, Jul 10, 2020 at 07:21:47PM +0200, Andrea Bolognani wrote: > On Thu, 2020-07-09 at 19:36 +0100, Daniel P. Berrangé wrote: > > This wires up support for using the new virt-nc binary with the ssh, > > libssh and libssh2 protocols. > > > > The new binary will be used preferentially if it is

Re: [libvirt PATCH 9/9] rpc: use new virt-nc binary for remote tunnelling

2020-07-10 Thread Andrea Bolognani
On Thu, 2020-07-09 at 19:36 +0100, Daniel P. Berrangé wrote: > This wires up support for using the new virt-nc binary with the ssh, > libssh and libssh2 protocols. > > The new binary will be used preferentially if it is available in $PATH, > otherwise we fall back to traditional netcat. > > The

Re: [libvirt PATCH 9/9] rpc: use new virt-nc binary for remote tunnelling

2020-07-10 Thread Michal Privoznik
On 7/9/20 8:36 PM, Daniel P. Berrangé wrote: This wires up support for using the new virt-nc binary with the ssh, libssh and libssh2 protocols. The new binary will be used preferentially if it is available in $PATH, otherwise we fall back to traditional netcat. The "proxy" URI parameter can be

[libvirt PATCH 9/9] rpc: use new virt-nc binary for remote tunnelling

2020-07-09 Thread Daniel P . Berrangé
This wires up support for using the new virt-nc binary with the ssh, libssh and libssh2 protocols. The new binary will be used preferentially if it is available in $PATH, otherwise we fall back to traditional netcat. The "proxy" URI parameter can be used to force use of netcat e.g.