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

Rui Cruz <rui.cruz@ieee.org> Fri, 07 December 2012 13:39 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 7435121F86B9 for <ppsp@ietfa.amsl.com>; Fri, 7 Dec 2012 05:39:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.597
X-Spam-Level:
X-Spam-Status: No, score=-103.597 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_FONT_SIZE_LARGE=0.001, HTML_MESSAGE=0.001, 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 31qoIPmylY1e for <ppsp@ietfa.amsl.com>; Fri, 7 Dec 2012 05:39:23 -0800 (PST)
Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by ietfa.amsl.com (Postfix) with ESMTP id 087EB21F86EB for <ppsp@ietf.org>; Fri, 7 Dec 2012 05:39:22 -0800 (PST)
Received: by mail-wi0-f174.google.com with SMTP id hm9so1368239wib.13 for <ppsp@ietf.org>; Fri, 07 Dec 2012 05:39:21 -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=ZTtYhYeaS10xtYFQ31Xnfae3EtPpFAvNtPa8gwnV9TA=; b=lslrwSH+iZ6y7AtNCKAuvDq5czfcvhAgSmcrEtA+iNsxmrX+6aAU0t1vNV0Ya4Cmj6 cQ2twEVIpwfFldr3c9agEudxc7mjb8LC1wcFicSi4foltIaeoRq9i7SW9pKmWB7P8ZDG pHbNebvbIJXetqJZLWJ1Zm6GUgJd43AZNy035JjfgDU7SSfM8mUTbl3YZN3mSkQfEieN keUCgm4lwnplV6is0TBngCk9RLf4e5jDf6XCty6B6feb5PVtGPTrbWAhkcTBFPhpdUlW z2Kp/+KvwzPD3FKZrKrgXWLRp9sJiOC5EHXfRLtkGqjstTjfpZFNZ/ny6GmoFgrdBYWw AxLw==
Received: by 10.216.194.142 with SMTP id m14mr2025970wen.108.1354887561379; Fri, 07 Dec 2012 05:39:21 -0800 (PST)
Received: from airia.casa (89-180-19-168.net.novis.pt. [89.180.19.168]) by mx.google.com with ESMTPS id en20sm15685759wid.4.2012.12.07.05.39.19 (version=SSLv3 cipher=OTHER); Fri, 07 Dec 2012 05:39:20 -0800 (PST)
Sender: Rui Cruz <rui.cruz@ieee-pt.org>
Content-Type: multipart/alternative; boundary="Apple-Mail=_89BCAFFE-92B2-46A6-A691-663D5FD992F4"
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Rui Cruz <rui.cruz@ieee.org>
In-Reply-To: <50ACCF90.6080308@cs.vu.nl>
Date: Fri, 07 Dec 2012 13:39:17 +0000
Message-Id: <67029FDA-544B-4D28-AC12-A36EDC73957B@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> <35D4DB2A-7468-490C-8147-FA9E5FF69B50@ieee.org> <50ACCF90.6080308@cs.vu.nl>
To: arno@cs.vu.nl
X-Mailer: Apple Mail (2.1499)
X-Gm-Message-State: ALoCoQmY4bjnhOdObCv141H44m6ABxdlMRKmTYKxxJaa5pNZCYMLynL3EebDtdTrCCllcxuQKMdy
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: Fri, 07 Dec 2012 13:39:24 -0000

Hi Arno, All

Please see inline...

*<[:{)
ho ho ho

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 21/11/2012, at 12:56, Arno Bakker <arno@cs.vu.nl> wrote:

> Hi Rui et al,
> 
> please see inline.
> 
> On 14/11/2012 13:36, Rui Cruz wrote:
> 
>> The CONNECT message in the base protocol is restricted to certain
>> conditions.
> 
> IMHO, these restrictions on CONNECT could be lifted to allow it to be used for refreshing registrations, yielding a very simple 1 message protocol.
> 
Perhaps I oversimplified my explanation (in terms of protocol semantics).
 
The protocol, as a matter of fact, only uses one message, i.e., a POST request message, and the corresponding response (it is a request-response protocol).

Each POST carries (as message body)  "action" signals or "information (on status or statistics)" signals. 
For "actions" the Request method name to be used is CONNECT. 
For "information" the Request method name to be used is STAT_REPORT.
Responses to requests correspond to "Status-Codes" and may carry a Response body with the results of the corresponding requested "actions" or the acknowledge of reception of the "information". 

From that, it is not logic to send an "action" request just to provide "status/statistic" information.

> 
>>> 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.
> 
> Let me phrase it differently: Can you build a PPSP-based YouTube that securely uses this property-based peer selection? If not, the draft should make it clear that property-based selections can only be safely used under specific conditions.
You are mentioning a completely different type of approach in terms of access to contents. 
Youtube allows anyone to individually receive the stream (in some rare exceptions allowing to download the content). 
But to upload contents, users are required to be registered, and consequently authenticated, before being able to upload. And even so, contents may be banned if some specific conditions are met.

In a P2P environment with a Tracker service, if the tracker is able to filter peers from a swarm, based on location properties, the selection is not done under "specific conditions" but just on network topology properties, independently of the possible "malicious intentions" of some of the peers in the swarm. 

But if the properties of peers are related with activity or capabilities, then I agree with you that a selection based on those properties would only be considered "safe" if the requesting peers are trusted and well known.

We can add these concerns to the draft document.  
> 
> CU,
>    Arno
> 
> _______________________________________________
> ppsp mailing list
> ppsp@ietf.org
> https://www.ietf.org/mailman/listinfo/ppsp