Update proto.txt
authorWouter Verhelst <w@uter.be>
Tue, 31 May 2011 07:35:07 +0000 (09:35 +0200)
committerWouter Verhelst <w@uter.be>
Tue, 31 May 2011 07:38:45 +0000 (09:38 +0200)
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

index b5eeb88..4869e02 100644 (file)
@@ -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)