Re: [tram] Transport of ICMP errors in TURN

Simon Perreault <sperreault@jive.com> Thu, 27 August 2015 14:23 UTC

Return-Path: <sperreault@jive.com>
X-Original-To: tram@ietfa.amsl.com
Delivered-To: tram@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 657721B2BB7 for <tram@ietfa.amsl.com>; Thu, 27 Aug 2015 07:23:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level:
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
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 DpTXkZHr2mvY for <tram@ietfa.amsl.com>; Thu, 27 Aug 2015 07:23:13 -0700 (PDT)
Received: from mail-oi0-f46.google.com (mail-oi0-f46.google.com [209.85.218.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4BCA51ACD1D for <tram@ietf.org>; Thu, 27 Aug 2015 07:23:13 -0700 (PDT)
Received: by oigk185 with SMTP id k185so6460000oig.2 for <tram@ietf.org>; Thu, 27 Aug 2015 07:23:12 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=K1+bha6X8HPLMe6QuxwPI72sEdzUXZS4fTMmXoKslPU=; b=HRHd/Yr0bgu0KeuCdH5oDFHG1tyoINi21m61tB/iwIbLRhczLXNWKIyzWyhiHGyY9b ljb8WBVluuBZMc6+Z+3rjJW8wt8B8UgMH6E7MHNjUYOoDBWNRCvi9OM/ek6qh4M9DOmR J1fTeokZRSoowWuciq5qPjSYp7RB7dFYYls6vAwWgYSpVH1ijIx+bf7ANPP8FSBZl6Yw eJcCJjZGQ889sq67lQIhFwcHWNPqiSpltN+BZcMyLohVwkKpvx9DegB5+K4YpW+dMkx9 HNBm9PtnlYQeW4r3Sz08HXLAimcdJTXU28yf8cWv8H84DP7BmFBsfAz8LAsOc10idNWt c2RA==
X-Gm-Message-State: ALoCoQns7BUBE92IGwLK0viZU5cE7sgmTjImOs9MOfLvlOFzcKACNmfxiI9dk2bQyGjqkbAtVuLc
X-Received: by 10.202.62.215 with SMTP id l206mr2801535oia.8.1440685392652; Thu, 27 Aug 2015 07:23:12 -0700 (PDT)
Received: from [192.168.1.44] (modemcable164.157-22-96.mc.videotron.ca. [96.22.157.164]) by smtp.googlemail.com with ESMTPSA id cn5sm1376392obb.26.2015.08.27.07.23.11 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Aug 2015 07:23:11 -0700 (PDT)
To: "Cullen Jennings (fluffy)" <fluffy@cisco.com>, "Tirumaleswar Reddy (tireddy)" <tireddy@cisco.com>
References: <55DD94FF.7080400@acm.org> <55DDB133.6090608@jive.com> <A8F8D0A4-C847-4F3E-B5A3-45DA47CB95D9@cisco.com> <913383AAA69FF945B8F946018B75898A478C7C70@xmb-rcd-x10.cisco.com> <44C024B4-CAC6-4E3A-A812-793809449E10@cisco.com>
From: Simon Perreault <sperreault@jive.com>
Message-ID: <55DF1D4D.7010000@jive.com>
Date: Thu, 27 Aug 2015 10:23:09 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0
MIME-Version: 1.0
In-Reply-To: <44C024B4-CAC6-4E3A-A812-793809449E10@cisco.com>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/tram/tVgr1IhEbiwzUx5v311LpQQARnU>
Cc: Marc Petit-Huguenin <petithug@acm.org>, "Pal Martinsen (palmarti)" <palmarti@cisco.com>, "tram@ietf.org" <tram@ietf.org>
Subject: Re: [tram] Transport of ICMP errors in TURN
X-BeenThere: tram@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Discussing the creation of a Turn Revised And Modernized \(TRAM\) WG, which goal is to consolidate the various initiatives to update TURN and STUN." <tram.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tram>, <mailto:tram-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tram/>
List-Post: <mailto:tram@ietf.org>
List-Help: <mailto:tram-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tram>, <mailto:tram-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Aug 2015 14:23:14 -0000

Le 2015-08-27 09:49, Cullen Jennings (fluffy) a écrit :
> 
> A key part of TURN design was that it was not usable for running
> general purpose server that accepted traffic from anyone without
> first identifying who it is that you want to get the traffic from. So
> the client has to tell the TURN server which external hosts can send
> it traffic.
> 
> Receiving ICMP violates this because you would need to accept stuff
> from sources you had not given permission to send you stuff. That
> allows TURN to be used to build generic servers which allows it to
> circumvent firewall policy. One of the reasons we invented TURN
> instead of using one of the other tunnel protocols was to not have
> this problem.

Good point.

That is easily solved by having the TURN server enforce permissions on
the 5-tuple of the ICMP error's encapsulated original packet. Exactly
the same way stateful firewalls do it.

Simon