Re: [Qemu-devel] [PATCH for-2.6] nbd: Don't kill server on client that doesn't request TLS

2016-04-14 Thread Eric Blake
On 04/14/2016 03:08 PM, Max Reitz wrote: > On 07.04.2016 22:29, Eric Blake wrote: >> Upstream NBD is documenting that servers MAY choose to operate >> in a conditional mode, where it is up to the client whether to >> use TLS. For qemu's case, we want to always be in FORCEDTLS >> mode, because of t

Re: [Qemu-devel] [PATCH for-2.6] nbd: Don't kill server on client that doesn't request TLS

2016-04-14 Thread Max Reitz
On 07.04.2016 22:29, Eric Blake wrote: > Upstream NBD is documenting that servers MAY choose to operate > in a conditional mode, where it is up to the client whether to > use TLS. For qemu's case, we want to always be in FORCEDTLS > mode, because of the risk of man-in-the-middle attacks, and since

Re: [Qemu-devel] [PATCH for-2.6] nbd: Don't kill server on client that doesn't request TLS

2016-04-14 Thread Alex Bligh
On 14 Apr 2016, at 16:25, Eric Blake wrote: > [adding qemu-block in cc, since Paolo can't send pull request] > > On 04/07/2016 02:29 PM, Eric Blake wrote: >> Upstream NBD is documenting that servers MAY choose to operate >> in a conditional mode, where it is up to the client whether to >> use T

Re: [Qemu-devel] [PATCH for-2.6] nbd: Don't kill server on client that doesn't request TLS

2016-04-14 Thread Eric Blake
[adding qemu-block in cc, since Paolo can't send pull request] On 04/07/2016 02:29 PM, Eric Blake wrote: > Upstream NBD is documenting that servers MAY choose to operate > in a conditional mode, where it is up to the client whether to > use TLS. For qemu's case, we want to always be in FORCEDTLS

Re: [Qemu-devel] [PATCH for-2.6] nbd: Don't kill server on client that doesn't request TLS

2016-04-07 Thread Alex Bligh
On 7 Apr 2016, at 21:29, Eric Blake wrote: > Upstream NBD is documenting that servers MAY choose to operate > in a conditional mode, where it is up to the client whether to > use TLS. For qemu's case, we want to always be in FORCEDTLS > mode, because of the risk of man-in-the-middle attacks, an

[Qemu-devel] [PATCH for-2.6] nbd: Don't kill server on client that doesn't request TLS

2016-04-07 Thread Eric Blake
Upstream NBD is documenting that servers MAY choose to operate in a conditional mode, where it is up to the client whether to use TLS. For qemu's case, we want to always be in FORCEDTLS mode, because of the risk of man-in-the-middle attacks, and since we never export more than one device; likewise