Re: [tram] IPv4 and IPv6 allocations

Oleg Moskalenko <mom040267@gmail.com> Wed, 19 February 2014 20:45 UTC

Return-Path: <mom040267@gmail.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 6711C1A022E for <tram@ietfa.amsl.com>; Wed, 19 Feb 2014 12:45:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.75
X-Spam-Level:
X-Spam-Status: No, score=-1.75 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=no
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 EFel_tJLoEkM for <tram@ietfa.amsl.com>; Wed, 19 Feb 2014 12:45:26 -0800 (PST)
Received: from mail-pd0-x22b.google.com (mail-pd0-x22b.google.com [IPv6:2607:f8b0:400e:c02::22b]) by ietfa.amsl.com (Postfix) with ESMTP id 13D051A01DB for <tram@ietf.org>; Wed, 19 Feb 2014 12:45:25 -0800 (PST)
Received: by mail-pd0-f171.google.com with SMTP id g10so856856pdj.16 for <tram@ietf.org>; Wed, 19 Feb 2014 12:45:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=ZLwCZjS9a5Zxrb1dADnelG8oinpD5Zog90gizpm8r2Y=; b=IeRVotiZAIjSC1dRafYXfo+3r2fQm9AchN1nu8BjcYGGYwJRbT91r2Hgqsz2TYt3ju ys5fDkoKkf/PS//V3H0AXU69XTIdhkbM6vohGOfkfM9S6iTwuhMMLBFWfIGJXf1/KgR3 mePIO0LgibU5B8jxuS5jP1PWvKLMkwMpzmIcy1t9rbjSkLFG8ngQdFudndU/0RUJRiZQ 0owcWjb6fzkoRLY+Wq6KjmqLQF/SIIu28IyeqQCHnrVEx48ieMbOHHkwB+O9eXqZLEbP Nfc9GcSGnWG9ARD737F9cL1MIfOTzXiaPMJMSyTRkLOnYvdqrJ/J00pdzS/MiWe1/bxl qR1g==
X-Received: by 10.67.24.1 with SMTP id ie1mr4567457pad.133.1392842722829; Wed, 19 Feb 2014 12:45:22 -0800 (PST)
Received: from ?IPv6:2001:4998:effd:600:c463:449a:4040:cb60? ([2001:4998:effd:600:c463:449a:4040:cb60]) by mx.google.com with ESMTPSA id tu3sm8818730pab.1.2014.02.19.12.45.21 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 19 Feb 2014 12:45:21 -0800 (PST)
References: <CAJjP_Q9qQ-o=q+UVo=3Q2w2mnUpOG=ihPiGDMRPfrDNhzpiTNg@mail.gmail.com> <5304D0CA.9020201@viagenie.ca> <E836DCC6-A996-4201-A160-C9B2CC60B830@cisco.com> <5304DF60.7020200@viagenie.ca> <C7690C6E-9B85-4F0F-920B-446263D34D06@cisco.com> <5304E60F.1020807@viagenie.ca> <5304E9AE.5070202@viagenie.ca> <93BEDDC39A54294B9E78C7860516FA4724AA3FB7@AZ-US1EXMB06.global.avaya.com> <CAJjP_Q9F7bbP_ag3ask5v-ikR1Jh4vBUHuB7J+XQxZsUnzG3dQ@mail.gmail.com> <E38E346C-2AEE-4524-B99D-832337B6B678@cisco.com> <53050EBC.3040903@viagenie.ca> <74E1C6E2-E63E-4AB0-B085-30350A6B467C@gmail.com> <530513CF.7000502@viagenie.ca>
Mime-Version: 1.0 (1.0)
In-Reply-To: <530513CF.7000502@viagenie.ca>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Message-Id: <311FB4A0-7671-4EA2-A0B5-10F035AFEFA0@gmail.com>
X-Mailer: iPhone Mail (10B350)
From: Oleg Moskalenko <mom040267@gmail.com>
Date: Wed, 19 Feb 2014 12:45:21 -0800
To: Simon Perreault <simon.perreault@viagenie.ca>
Archived-At: http://mailarchive.ietf.org/arch/msg/tram/ZrThodV6NfA3J-7qbz3rmEW2B24
Cc: "tram@ietf.org" <tram@ietf.org>
Subject: Re: [tram] IPv4 and IPv6 allocations
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: <http://www.ietf.org/mail-archive/web/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: Wed, 19 Feb 2014 20:45:27 -0000

I d suggest to allocate both families ONLY when ipv4+ipv6 are used in the requests, then it will 100% compatible and non-resource-wasting.

Sent from my iPhone

On Feb 19, 2014, at 12:27 PM, Simon Perreault <simon.perreault@viagenie.ca> wrote:

> Le 2014-02-19 15:18, Oleg Moskalenko a écrit :
>> If the client explicitly requested an ip family - why the server must waste resources and allocated a useless (possibly) socket of a different family ?
> 
> Right. So:
> 
> No REQUESTED-ADDRESS-FAMILY: allocate both, IPv4 goes first
> REQUESTED-ADDRESS-FAMILY = IPv4: allocate only IPv4
> REQUESTED-ADDRESS-FAMILY = IPv6: allocate only IPv6
> REQUESTED-ADDRESS-FAMILY = IPv4+IPv6: allocate both, order doesn't matter
> 
>> The server resources must be taken into account, too.
> 
> Right. And single-stack servers too. And local security policy.
> 
> But seriously, just provision your TURN server with a /96 and let it go
> wild. :)
> 
> Simon
> -- 
> DTN made easy, lean, and smart --> http://postellation.viagenie.ca
> NAT64/DNS64 open-source        --> http://ecdysis.viagenie.ca
> STUN/TURN server               --> http://numb.viagenie.ca
> 
> _______________________________________________
> tram mailing list
> tram@ietf.org
> https://www.ietf.org/mailman/listinfo/tram