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

Re: Is there a way to dump the checksums from a svn repo?

From: olli hauer <ohauer_at_gmx.de>
Date: Wed, 28 Nov 2012 22:45:37 +0100

On 2012-11-25 21:49, Thorsten Schöning wrote:
> Guten Tag olli hauer,
> am Sonntag, 25. November 2012 um 20:18 schrieben Sie:
>
>> Thanks for every answer and code snippet ...
>
> I'm interested in which problem you try to solve with your approach?
> What's the reason behind it? Maybe there are other ways to accomplish
> what you want.
>
> Mit freundlichen Grüßen,
>
> Thorsten Schöning
>

Sorry for the delay ...

I will try to explain some of my thoughts.

Given you have one svn master from where dedicated slaves are syncing
Both master and first slaves are under your control so far so good.

Now some additional mirrors which are not under you full control are syncing
from the slaves to help offload traffic.

Someone hacks one of the additional mirrors, modifies a revision and adjust the
checksum (as described on many places how-to fix a corrupt repo) so it looks OK
even with svnadmin verify.

Now if you have a million of revisions it will be hard to detect such an issue.

Wouldn't it be nice to have the ability to calculate the checksums regularly so
they can be compared with the upstream checksums?

Another methode to detect such thing would be rsync the repo first with a dry-run
and then do a live sync but svnsync is preferred.

--
Regards,
olli
Received on 2012-11-28 22:46:13 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.