Re: rfc4941bis: temporary addresses as "outgoing-only"?

Gyan Mishra <hayabusagsm@gmail.com> Tue, 11 February 2020 00:26 UTC

Return-Path: <hayabusagsm@gmail.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B6A381208A6 for <ipv6@ietfa.amsl.com>; Mon, 10 Feb 2020 16:26:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 SS7q4hia2lOz for <ipv6@ietfa.amsl.com>; Mon, 10 Feb 2020 16:26:31 -0800 (PST)
Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) (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 3BDC9120071 for <6man@ietf.org>; Mon, 10 Feb 2020 16:26:31 -0800 (PST)
Received: by mail-io1-xd34.google.com with SMTP id s6so9745762iol.9 for <6man@ietf.org>; Mon, 10 Feb 2020 16:26:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PvlYMCAO3AXRd///U/Ei44AvSU+EobQ0CRYG2MmpLag=; b=FptPwPTpuHXWRq+riLf7FAcy7emx9r5vu25whPyptL9SfG4MB26AJh9CVyesSep2Q5 KwzzG6TaZW1B1X/qTGdAplCxckvTsddgsJt1XzjmQaEbF2yjTAD9ByEipvn60FMshbWm nCS+N16VaGxA9ML4hA3xdNkTumr7ULY+GaxDZR2A3vcjZV4k96D6w6Fu372owiErVbaE TCLuohmIKy6AURVuMDmUrX4ULwxulkoiYPg0wbszUclHBoqMw6yaXdspcQA0T656R4iD O7oGE0xUpXkasFsx1WSEbPAnm5fr4BGXjamhP+tl8yB6jtFbubCwLXYgCAwA7UiMPubq DFwg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PvlYMCAO3AXRd///U/Ei44AvSU+EobQ0CRYG2MmpLag=; b=JiOFggT0X4re9BGBF9ErTTBU5/i9q2wbwiO++Zj1oXcYNcd2bBbzG5ge7QT9HilElD idzqiJKEdMTejrZCEdBzLek0g/TALsFSWxK1qILqDofXEKfivIkodOiMH60uj8T+ka03 vfSXvs2atYdbubS8/2v4APJX/w4qWfi7GXxMSSvO0Zw/wKfQk5tjMa1JFdk8NMZ2HUJD K+FUpAPAd5s+2klDFn4OuT3JHtN1utYvpt63IH1/7koSte/7JuXqfHiaTdLj26ymw1/K 181/DvykiRxZpeaKUZ8sVyOeGbjCA/Xoj81J3ANAB3c9GELp6L0/2iQml9nwqQsOUx2P GY+w==
X-Gm-Message-State: APjAAAU/8fiWlkG2gXjThPgvvrLtw1xu2E6NIiW2FRAAx6n2fhf0m7tG pCZIhg/GLZ4skYoY6hXu8LiSID2k2m74YQZEH9y8cA==
X-Google-Smtp-Source: APXvYqx9Lgbg1JcezSZqzIdcpqzHCZv9QN7c0hElBufhqMZP94seSCyi2E+B0CS7bJ8ArNG1/m1BstZhnvKsd/tPVWc=
X-Received: by 2002:a02:a38a:: with SMTP id y10mr12354160jak.55.1581380790497; Mon, 10 Feb 2020 16:26:30 -0800 (PST)
MIME-Version: 1.0
References: <3217323b-3d8b-bf75-b5b0-ffdd01ee1501@si6networks.com> <CABNhwV0thfs+iARfN-Z45FEeyrJQtsi2AxVGAouf7KQy1TPXYQ@mail.gmail.com>
In-Reply-To: <CABNhwV0thfs+iARfN-Z45FEeyrJQtsi2AxVGAouf7KQy1TPXYQ@mail.gmail.com>
From: Gyan Mishra <hayabusagsm@gmail.com>
Date: Mon, 10 Feb 2020 19:25:28 -0500
Message-ID: <CABNhwV1FhmbUwi5HQRNDuaX8sXYAKMnugb+_S=d-uOxcgQzzqw@mail.gmail.com>
Subject: Re: rfc4941bis: temporary addresses as "outgoing-only"?
To: Fernando Gont <fgont@si6networks.com>
Cc: "6man@ietf.org" <6man@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000045b775059e41e8b1"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/hlFO1p-i07XH6TL5si5gVyqjQtw>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Feb 2020 00:26:34 -0000

On Mon, Feb 10, 2020 at 7:17 PM Gyan Mishra <hayabusagsm@gmail.com> wrote:

>
>
> On Mon, Feb 10, 2020 at 11:12 AM Fernando Gont <fgont@si6networks.com>
> wrote:
>
>> Folks,
>>
>> Since we are at it, I wonder if rfc4941bis should say anything about the
>> use of temporary addresses for incoming connections. (see
>>
>> https://tools.ietf.org/html/draft-gont-6man-address-usage-recommendations-04#section-4.3
>> ).
>> (e.g., "an implementation MAY....")
>>
>> Particularly for connection-oriented protocols, hosts that prevent
>> incoming connections on temporary addresses reduce exposure even when
>> their temporary addresses become "exposed" by outgoing sessions.
>>
>> i.e., if the model is that temporary addresses are employed for outgoing
>> connections, unless a host uses temporary-only, there's no reason to
>> receive incoming connections on temporary addresses. (e.g., browsing the
>> web or sending email should not be an invitation for folks to e.g.
>> port-scan you).
>>
>> The caveats here are:
>>
>> 1) If a host does temporary-only, these are the only addrs you have, and
>> hence they should allow incomming connections
>>
>> 2) It could be easily done for connection-oriented protocols such as
>> TCP, but not so easily (if at all possible) for e.g. connectionless
>> protocols.
>>
>>
>> As noted in
>>
>> https://tools.ietf.org/html/draft-gont-6man-address-usage-recommendations-04#section-4.3
>> , *in theory* there are other ways in which the same effect could be
>> achieved... so one could certainly argue that this policy should not be
>> enforced on the addresses, but rather we should have a more appropriate
>> API that could allow apps to e.g. bind() subsets of all the available
>> addresses.
>>
>> Thoughts?
>
>
>
>   I agree it below makes sense excerpt from the bottom of that section.
> So with temporary address enabled are you stating that the “stable” address
> is what we want to use but based on OS implementations they may not always
> be the case due to lack of API support.  Is the issue with default source
> address selection used which may differ from OS to OS and in that case is
> it possible the temporary address could be bound to services thus exposing
> the host to attacks.  Kind of defeats the purpose of having a temporary
> address.
>
> It really sounds like we desperately need API development.
>
> Binding services only to stable addresses provides a clean separation
>    between addresses employed for client-like outgoing connections and
>    server-like incoming connections.  However, we currently lack an
>    appropriate API for nodes to be able to specify that a socket should
>    only be bound to stable addresses.
>
>
>> I think that most client mobile devises in an enterprise use “client
>> like” and SOHO
>
>         user at home typically is peer2peer “server like”,  so the home
users connected to broadband internet would have privacy exposure issues
with “server like” setup.

>

>> Thanks!
>>
>> Cheers,
>> --
>> Fernando Gont
>> SI6 Networks
>> e-mail: fgont@si6networks.com
>> PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492
>>
>>
>>
>>
>> --------------------------------------------------------------------
>> IETF IPv6 working group mailing list
>> ipv6@ietf.org
>> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>> --------------------------------------------------------------------
>>
> --
>
> Gyan  Mishra
>
> Network Engineering & Technology
>
> Verizon
>
> Silver Spring, MD 20904
>
> Phone: 301 502-1347
>
> Email: gyan.s.mishra@verizon.com
>
>
>
> --

Gyan  Mishra

Network Engineering & Technology

Verizon

Silver Spring, MD 20904

Phone: 301 502-1347

Email: gyan.s.mishra@verizon.com