Re: [ietf-privacy] [Tzdist] [saag] Fwd: WGLC for draft-ietf-tzdist-service-05

Lester Caine <lester@lsces.co.uk> Mon, 02 February 2015 08:54 UTC

Return-Path: <lester@lsces.co.uk>
X-Original-To: ietf-privacy@ietfa.amsl.com
Delivered-To: ietf-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 99CA71A0075 for <ietf-privacy@ietfa.amsl.com>; Mon, 2 Feb 2015 00:54:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=unavailable
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B7FwrLYjih-R for <ietf-privacy@ietfa.amsl.com>; Mon, 2 Feb 2015 00:54:39 -0800 (PST)
Received: from mail4.serversure.net (mail4-2.serversure.net [217.147.176.214]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 91BD71A006B for <ietf-privacy@ietf.org>; Mon, 2 Feb 2015 00:54:35 -0800 (PST)
Received: (qmail 11085 invoked by uid 89); 2 Feb 2015 08:54:33 -0000
Received: by simscan 1.3.1 ppid: 11079, pid: 11082, t: 0.0911s scanners: attach: 1.3.1 clamav: 0.96/m:52/d:10677
Received: from unknown (HELO ?10.0.0.8?) (lester@rainbowdigitalmedia.org.uk@86.189.147.37) by mail4.serversure.net with ESMTPA; 2 Feb 2015 08:54:33 -0000
Message-ID: <54CF3B49.5040705@lsces.co.uk>
Date: Mon, 02 Feb 2015 08:54:33 +0000
From: Lester Caine <lester@lsces.co.uk>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
MIME-Version: 1.0
To: saag@ietf.org, ietf-privacy@ietf.org
References: <CADZyTkkLu6qQ9LCqDkTHA9o+-YVvQuaUp33kqkAt=PRaQS-Jew@mail.gmail.com> <CADZyTkkCrvTam_ba7Tq6A-cHAVZn+ktKqwWsr_PNQaz2jyTkUQ@mail.gmail.com> <874mr9aucv.fsf@alice.fifthhorseman.net> <54CBC609.4010309@lsces.co.uk> <87egqcq827.fsf@alice.fifthhorseman.net> <54CC8F13.6060808@cs.ucla.edu> <54CC9DB3.6040500@lsces.co.uk> <54CD5886.7020409@cs.ucla.edu> <04F56E6866304E628CA1C45B@cyrus.local> <54CE9AC3.5060501@cs.ucla.edu>
In-Reply-To: <54CE9AC3.5060501@cs.ucla.edu>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/ietf-privacy/3eORb7p4wNLPM-hUCnIv3MdfRKE>
Cc: Time Zone Data Distribution Service <tzdist@ietf.org>
Subject: Re: [ietf-privacy] [Tzdist] [saag] Fwd: WGLC for draft-ietf-tzdist-service-05
X-BeenThere: ietf-privacy@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Internet Privacy Discussion List <ietf-privacy.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf-privacy>, <mailto:ietf-privacy-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf-privacy/>
List-Post: <mailto:ietf-privacy@ietf.org>
List-Help: <mailto:ietf-privacy-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf-privacy>, <mailto:ietf-privacy-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Feb 2015 08:54:40 -0000

On 01/02/15 21:29, Paul Eggert wrote:
>> it does make sense to provide a
>> "full set of tz data" option in the protocol to allow clients to get
>> the entire
>> set of current data without exposing which specific time zone(s) they are
>> actually interested in (which would also remove the need for them to
>> use etags).
> 
> Yes.  Although clients could omit etags, my guess is that it'd be OK in
> most cases privacy-wise to use them, so long as the etags are global
> (one per tz database version, e.g., "tz2015a") rather than
> per-server-and-database-version (e.g.,
> "tz2015a-04F56E6866304E628CA1C45B").  That way, etags should provide
> little tracking info.  A bonus is that a client could switch servers
> without having to re-get the tz database from the new server.

A debate on how an etag is generated on another list implies that is
should include a hash of the data, but I am sure that the spec does not
require that and allows a fully defined etag? The strong/weak element
could come into play where the 'style' of data is an addition, but every
reply with a  'tz2015a' head would contain the same core data (ignoring
backzone problem). I'm not sure if that is necessary if the request
identifies the correct style required, but either way the tag itself is
generic world wide and can be accepted when a different server has to be
accessed for any reason.

In the context of the 'changedsince', asking for 'latest' where one is
currently using 'tz2014j' will return a new packet with 'tz2015a' while
asking for 'changedsince=tz2014j' will return just the differences. If
'latest' returns a complete data dump then the local machine has to work
out if there are any changes which require further work, while the
difference set if sent as a simple list of TZid's allows the client to
ignore any update they are not using id's from. It is up to them if they
download a 'full dump', just the TZid's that have changed, or only the
one's they are using.

For embedded devices asking for a simple 'expand' etag will give them a
'same' message until the version changes. If there is a version change,
but it does not affect the content of this particular packet then one
could say that they don't need to do anything, but given that this is
such a rare occurrence, simply downloading again is fine. If the client
does need to know if the next transition has changed then that is best
handled locally. For this action I don't see that downloading a complete
data set is necessary at all? Since the cache mechanism will time out at
regular intervals, even the etag mechanism will give a reply when
nothing has changed?

-- 
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk