[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WG Last Call: draft-ietf-sasl-gs2-02.txt



On Wed, Sep 06, 2006 at 02:41:45PM +0100, Alexey Melnikov wrote:
> Nicolas Williams wrote:
> >I see no value in the server verifying that client_maxbuf == 0 when the
> >client doesn't ask for any security layers.
> >
> >Also, even with no security layers the application may benefit from the
> >SASL mechanism maxbuf negotiation (again, think of small devices).
> > 
> >
> No, when there is no SASL security layer there is no SASL framing. And 
> SASL maxbuf has no effect on TCP.

I was hoping that the maxbuf value would be of use to applications that
want no security layers.  That if an application does the equivalent of,
in Cyrus SASL terms,

	unsigned int len = 4096;
	...
	/*
	 * Note: Cyrus SASL doesn't allow setting this property, only
	 * getting it
	 */
	sasl_setprop(..., SASL_MAXOUTBUF, &len);

then its peers might want to know, even when using no security layers.

But I see now that this is really not quite a good thing, that the
application ought to negotiate this on its own.

So I withdraw that comment, but I still see no value to the client or
server verifying that server_maxbuff == 0 or client_maxbuf == 0 when no
security layers are offered/requested.

Nico
--