There doesn't seem to be much consistency here. The only consistent
value is in GSSAPI and RFC 2831bis, where the upper limit is 2^24.
That limit is not imposed by the core SASL specification, though,
which has 2^32.
For interoperability, I believe this problem should be noted, because
it may make it impossible to use a negotiated security layer.
Can we use the following and move on?
<t>The "client_maxbuf" field indicate the maximum protected
buffer size the client can receive. It MUST be 0 if the
client doesn't advertise support for any security layer, the
server MUST verify this. Small values can make it impossible
for the server to send any protected message to the client,
due to the overhead added by GSS_Wrap, and the server MAY
reject the authentication if it detects this situation.</t>
<t>The "server_maxbuf" field indicate the maximum protected data
buffer size the server can receive. It MUST be 0 if the
server doesn't advertise support for any security layer, the
client MUST verify this. Small values can make it impossible
for the client to send any protected message to the server,
due to the overhead added by GSS_Wrap, and the client MAY
reject the authentication if it detects this situation.</t>