[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: DIGEST-MD5 not working with svnserve/SASL

From: Mark Phippard <markphip_at_gmail.com>
Date: Thu, 1 May 2008 14:34:59 -0400

On Thu, May 1, 2008 at 2:06 PM, Eric Gillespie <epg_at_pretzelnet.org> wrote:
> [retitling the thread; not Windows-specific]
>
> "Mark Phippard" <markphip_at_gmail.com> writes:
>
> > I was wondering if DIGEST-MD5 was not working because it is not linked
> > to OpenSSL? I noticed that the DLL you created was not either, but
> > the SVN docs, imply this plugin supports encryption, and I recall the
> > SASL docs saying it uses OpenSSL. So I wonder if the problem is that
> > we do not have this DLL built using OpenSSL?
>
> I don't think that's it, as I can now confirm that DIGEST-MD5
> does not work with Linux client/server, either. We find this in
> the log file:
>
> May 1 10:50:06 svnfe-test svnserve[1696]: encoded packet size too big (809115648 > 4096)

How did you get that? The new trunk logging?

> That looks to me like an uninitialized or otherwise corrupted len
> variable, or perhaps a char * with the wrong value, pointing to a
> block of memory that has a null byte after 809115648 bytes ;->.
>
> I don't know if it's related, but I made a change to
> ra_svn/cyrus_auth.c in r29241, to fix a gssapi issue. It's
> possible I broke something. It's also possible that more such
> changes are needed.

I have been struggling with this all day. I see the same behavior on
Linux, OSX and Windows. It seems like it does the authentication
because you can give invalid credentials and get proper error
messages. So it seems like the problem happens after it
authenticates.

I am not sure why CRAM-MD5 does not have the same problem. Possibly
because it winds up using pre-SASL code or something?

I've been trying to get a wire trace, unsuccessfully, all day.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-05-01 20:35:11 CEST

This is an archived mail posted to the Subversion Dev mailing list.