Cole Robinson wrote:
> This ugly thing is a shell script to detect availability of
> the -q option for 'nc': debian and suse based distros need this
> flag to ensure the remote nc will exit on EOF, so it will go away
> when we close the tunnel. If it doesn't go away, a useless 'nc'
> process is left sitting on the remote host.
>   

I've spent time trying to make this code more flexible with other types
of relays, e.g. socat which can be invoked with

socat - GOPEN:sockname LIBVIRTD_PRIV_UNIX_SOCKET

but haven't come up with anything I would consider upstreamable.  Jonas
Eriksson also made a brave attempt [1] :-).  Any suggestions for
improving this code to handle other relays at runtime?

Regards,
Jim


[1] http://www.redhat.com/archives/libvir-list/2009-August/msg00068.html

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to