From owner-freebsd-security@FreeBSD.ORG Wed May 14 06:07:43 2003 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD37E37B401 for ; Wed, 14 May 2003 06:07:43 -0700 (PDT) Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EADC43F85 for ; Wed, 14 May 2003 06:07:42 -0700 (PDT) (envelope-from colin.percival@wadham.ox.ac.uk) Received: from piii600.wadham.ox.ac.uk ([81.103.196.4]) by mta03-svc.ntlworld.comESMTP <20030514130740.LQOY11246.mta03-svc.ntlworld.com@piii600.wadham.ox.ac.uk>; Wed, 14 May 2003 14:07:40 +0100 Message-Id: <5.0.2.1.1.20030514135429.01dec350@popserver.sfu.ca> X-Sender: cperciva@popserver.sfu.ca X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Wed, 14 May 2003 14:07:38 +0100 To: Peter Pentchev , Colin Percival From: Colin Percival In-Reply-To: <20030514090629.GA81399@straylight.oblivion.bg> References: <5.0.2.1.1.20030514085255.01df92a0@popserver.sfu.ca> <200305130104.25177.michaelnottebrock@gmx.net> <5.0.2.1.1.20030514085255.01df92a0@popserver.sfu.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: FreeBSD Security Subject: Re: xdelta files for security patches X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2003 13:07:44 -0000 At 12:06 14/05/2003 +0300, Peter Pentchev wrote: >When I read this thread yesterday, I was going to suggest taking a look >at the rsync code. Still, it sounds like your code is much simpler than >the rsync algorithm described at http://rsync.samba.org/tech_report/. >This is probably a good thing :) Rsync solves a problem much harder than binary diffs -- rsync constructs half-blind binary diffs. The old and new files are on different machines, so rsync uses a clever statistical sampling trick to locate large common sections which the two files share. xdelta uses the same method, but when we have both files in the same place we can do much better by using a suffix sort. Colin Percival