From 15d7c4682254b0dd2522a0685684ac032bb77553 Mon Sep 17 00:00:00 2001 From: Wouter Verhelst Date: Tue, 31 May 2011 09:35:07 +0200 Subject: [PATCH] Update proto.txt Minor difference: we now allow new-style handshakes on nonstandard ports, so hrm. That's not part of the standard, really, but oh well. Also, unignore the doc directory, ignore doc/doxygen-output instead. --- doc/proto.txt | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/doc/proto.txt b/doc/proto.txt index b5eeb88..4869e02 100644 --- a/doc/proto.txt +++ b/doc/proto.txt @@ -95,10 +95,13 @@ only still supported for backwards compatibility. 'new' style handshake --------------------- -A client who wants to use the new style negotiation MUST connect on the -IANA-reserved port for NBD, 10809. The server may listen on other ports -as well, but it will use the old style handshake on those. The server -will refuse to allow old-style negotiations on the new-style port. +A client who wants to use the new style negotiation should connect on +the IANA-reserved port for NBD, 10809. The server may listen on other +ports as well, but it will use the old style handshake on those. The +server will refuse to allow old-style negotiations on the new-style +port. For debugging purposes, the server may change the port on which to +listen for new-style negotiation, but this should not happen for +production purposes. S: "NBDMAGIC" (as in the old style handshake) S: 0x49484156454F5054 (note different magic number) -- 1.7.10.4