Re: [ppsp] Request: draft-cruz-ppsp-base-tracker-protocol as WG item

Rui Cruz <rui.cruz@ieee.org> Wed, 14 November 2012 12:36 UTC

Return-Path: <rui.cruz@ieee-pt.org>
X-Original-To: ppsp@ietfa.amsl.com
Delivered-To: ppsp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2A72D21F85ED for <ppsp@ietfa.amsl.com>; Wed, 14 Nov 2012 04:36:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.488
X-Spam-Level:
X-Spam-Status: No, score=-102.488 tagged_above=-999 required=5 tests=[AWL=0.510, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_53=0.6, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IgsOXB-eNlAL for <ppsp@ietfa.amsl.com>; Wed, 14 Nov 2012 04:36:38 -0800 (PST)
Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by ietfa.amsl.com (Postfix) with ESMTP id 9FF5B21F85D1 for <ppsp@ietf.org>; Wed, 14 Nov 2012 04:36:37 -0800 (PST)
Received: by mail-wi0-f172.google.com with SMTP id hj6so402829wib.13 for <ppsp@ietf.org>; Wed, 14 Nov 2012 04:36:36 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to:x-mailer:x-gm-message-state; bh=VciSS6QLGu7+iX5z8tekC/xLh/EII2wnyTsjHzrMeb4=; b=jRE4NVhAiCyDqObr6LoJToDfgFs7GLa38sJkx+/Ik6Glq2wFNsq7Gm4XK5CfNReH2k 1hTAj55IBI+/NsXakUNaM8MzbrLro8It6hFxiUUtLGJcq81PraAyddtumxmVxn7maNfX fLbtGA85BLdJpvCR0xXncRYHP94g4ZNa+bo7Il2HQsuvwZMihDSRrAsiUbXufoQ0Xbct ZYh5mgsMfqlXKcenuon1/OAARVeS+NLb6m+mak1Tmc+4JpSc09w5pmyfXuf30oNbZGOi /k8r/JcZuuDMtOW6bYbkOmU5clgwjKljpzGClUd33bgW2jOcV8ELNj+eMOgzCGQOKWVk ybXw==
Received: by 10.216.195.159 with SMTP id p31mr1615354wen.139.1352896596461; Wed, 14 Nov 2012 04:36:36 -0800 (PST)
Received: from [192.168.1.211] (89-180-167-198.net.novis.pt. [89.180.167.198]) by mx.google.com with ESMTPS id d16sm6373714wiw.8.2012.11.14.04.36.33 (version=SSLv3 cipher=OTHER); Wed, 14 Nov 2012 04:36:35 -0800 (PST)
Sender: Rui Cruz <rui.cruz@ieee-pt.org>
Content-Type: multipart/alternative; boundary="Apple-Mail=_2837975F-7F99-43EB-89BF-86A6BC8CEE88"
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Rui Cruz <rui.cruz@ieee.org>
In-Reply-To: <50A344CA.6060307@cs.vu.nl>
Date: Wed, 14 Nov 2012 12:36:15 +0000
Message-Id: <35D4DB2A-7468-490C-8147-FA9E5FF69B50@ieee.org>
References: <1388AC0A-2E2E-4EE5-8868-688E7BE6E252@cisco.com> <EC14A918-B208-411A-902C-994297E0035C@cisco.com> <50A21BF4.9010102@cs.vu.nl> <52529918-0790-47C2-84D0-A1D11FE14129@ieee.org> <50A344CA.6060307@cs.vu.nl>
To: arno@cs.vu.nl
X-Mailer: Apple Mail (2.1499)
X-Gm-Message-State: ALoCoQkVqXtS54GiHVrdvXSA5+NJ+lqLJmc2e539ZfDhHsiE6VshcXeTaagjpUgCKa3AsOG008da
Cc: Rui Cruz <rui.cruz@ieee.org>, ppsp@ietf.org
Subject: Re: [ppsp] Request: draft-cruz-ppsp-base-tracker-protocol as WG item
X-BeenThere: ppsp@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: discussing to draw up peer to peer streaming protocol <ppsp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ppsp>, <mailto:ppsp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ppsp>
List-Post: <mailto:ppsp@ietf.org>
List-Help: <mailto:ppsp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ppsp>, <mailto:ppsp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 14 Nov 2012 12:36:39 -0000

Hi Arno,

Please see inline.

Regards,

Rui Cruz
rui.cruz@ieee.org

IST/INESC-ID/INOV - Lisbon, Portugal
__________________________________________
ppsp mailing list
ppsp@ietf.org
https://www.ietf.org/mailman/listinfo/ppsp

On 14/11/2012, at 07:14, Arno Bakker <arno@cs.vu.nl> wrote:

> Hi Rui et al.
> 
> please see inline:
> 
> On 13/11/2012 13:18, Rui Cruz wrote:
>> 
>>> p. 13. Why doesn't a peer in SEED mode connect to other peers?
>>> Especially in a world with NAT boxes it may be necessary for seeders
>>> to initiate the connection themselves.
>> Nothing prevents a peer with all content (seed) to connect to other
>> peers. But that is an implementation of the Peer, and the Peer Protocol,
>> not of the Tracker, or the Tracker Protocol.
>> 
> 
> At the moment when peerMode is SEED the tracker appears not to send a peer list (p. 27 at bottom). Please clarify how a seed obtains a peer list, e.g. does PeerNum take priority over peerMode?
Using only the base protocol (the extended protocol provides extra control in this area) the condition you mention might be turned implicit if peerNum is supplied when peerMode is SEED.
I personally have no objection with that condition.
If WG agrees a paragraph can be added to describe it.

> 
> 
>> The STAT_REPORT has two purposes: 1) a status heart-beat (mandatory) for
>> the tracker to keep the peer Registered (facilitating cleaning up of
>> inactive/vanished peers in the swarm); 2) reporting statistic data
>> (optional)
>> 
> 
> For function 1, CONNECT suffices, see p. 17 2nd item. This means that
> STAT_REPORT can be made truly optional. At the moment STAT_REPORT is mandatory ("This request message MUST be sent periodically to the tracker", p. 14.)
The control mechanism on active peers in a swarm,and therefore the capability to provide useful peer lists, needs a periodic status reported from the peers, otherwise the tracker would be just a simple and useless log. 
As such, the STAT_REPORT for periodic status cannot be turned optional. It is the simple mechanism that allows the tracker to provide useful information.

The CONNECT message in the base protocol is restricted to certain conditions. The second item you mention refers to an active peer (already joined in one or in N swarms) requesting to LEAVE the one or the N swarms, or to switch (LEAVE[x] + JOIN[y]) between two swarms. Those conditions either turn the peer inactive (the tracker would delete the peer records) or keep the peer as active but in a different swarm. These actions do not completely replace a periodic status report, in special when the duration of the streaming is high (hours). 

> 
> 
>>> My major concern is security, in particular, when the tracker supports
>>> returning peers based on criteria specified by the client.
>> .....
>>> For a tracker to be able to reply to such queries it must receive this
>>> information somehow.
>> That information can be received by the Tracker in STAT_REPORTs.
>> 
>>> The draft suggests a global trust mechanism, but that is currently not
>>> available. I therefore propose to remove this capability-based peer
>>> selection until that time. Instead, the tracker should always return a
>>> random sample from the peer population.
>> This is an implementation issue of the Tracker service.
>> The tracker protocol itself supports the transfer of the associated
>> information, if desired. The most basic information is just the number
>> of peers to be returned in a list, without reference to any "special"
>> capabilities. The PeerNUM element and attributes are not even mandatory.
>> 
> 
> But if it is currently not possible to implement a tracker service that offers this functionality and is secure in a malicious environment, the support for it should not be in the tracker protocol, IMHO.
I do not agree with your position stating that a (global) trust functionality is "not possible" to be offered.
An implementation of a tracker service can perfectly offer a trust functionality. It might not be "global" but can be offered.
In EU Project SARACEN we have an implementation of a trust/reputation functionality.
Additionally, peer selection criteria (from the tracker) is not restricted to "peer capabilities" (real or fake) but also to network location (the tracker service may use that criterion, independently of the information provided by the peer).

> 
> CU,
>    Arno
> 
> P.S. Typo: There are also references to a Section 8.6 in the draft, which no longer exist.
Thanks, again. We already had noticed that typo, it should be 8.3.