[homenet] Firewall hole punching [was: About Ted's naming architecture...]

Juliusz Chroboczek <jch@irif.fr> Tue, 22 November 2016 19:47 UTC

Return-Path: <jch@irif.fr>
X-Original-To: homenet@ietfa.amsl.com
Delivered-To: homenet@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6FB9B1294AA for <homenet@ietfa.amsl.com>; Tue, 22 Nov 2016 11:47:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 tm9ML78jiMJL for <homenet@ietfa.amsl.com>; Tue, 22 Nov 2016 11:47:47 -0800 (PST)
Received: from korolev.univ-paris7.fr (korolev.univ-paris7.fr [IPv6:2001:660:3301:8000::1:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 531E4129430 for <homenet@ietf.org>; Tue, 22 Nov 2016 11:47:47 -0800 (PST)
Received: from potemkin.univ-paris7.fr (potemkin.univ-paris7.fr [IPv6:2001:660:3301:8000::1:1]) by korolev.univ-paris7.fr (8.14.4/8.14.4/relay1/56228) with ESMTP id uAMJlhAN018403 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 22 Nov 2016 20:47:45 +0100
Received: from mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [81.194.30.253]) by potemkin.univ-paris7.fr (8.14.4/8.14.4/relay2/56228) with ESMTP id uAMJlfNN009662; Tue, 22 Nov 2016 20:47:41 +0100
Received: from mailhub.math.univ-paris-diderot.fr (localhost [127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTP id 3FD36D795F; Tue, 22 Nov 2016 20:47:41 +0100 (CET)
X-Virus-Scanned: amavisd-new at math.univ-paris-diderot.fr
Received: from mailhub.math.univ-paris-diderot.fr ([127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id idHaNefja5oo; Tue, 22 Nov 2016 20:47:40 +0100 (CET)
Received: from trurl.irif.fr (col75-1-78-194-40-74.fbxo.proxad.net [78.194.40.74]) (Authenticated sender: jch) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTPSA id CA0F7D7ACD; Tue, 22 Nov 2016 20:47:39 +0100 (CET)
Date: Tue, 22 Nov 2016 20:47:41 +0100
Message-ID: <87oa17i9eq.wl-jch@irif.fr>
From: Juliusz Chroboczek <jch@irif.fr>
To: Markus Stenberg <markus.stenberg@iki.fi>
In-Reply-To: <2EEB3CCD-3C25-4844-95B5-DDE31F982EA2@iki.fi>
References: <871syc54d1.wl-jch@pps.univ-paris-diderot.fr> <CAPt1N1=eXRBh6UqGGqUSK9cH_jY5MvPcE4MFZUPe2Z48LF7bkA@mail.gmail.com> <87lgwj504t.wl-jch@irif.fr> <CAPt1N1kDCMDBEpt7QYhHtPYjaMJAzw8G81=2y2f=y0ZProeCPA@mail.gmail.com> <13675.1479346312@dooku.sandelman.ca> <3B35AF68-4792-4B2A-8277-A7B49206581F@google.com> <74143607-B81E-4D4C-89D3-4754E0DA7DE1@jisc.ac.uk> <790beb67-a62e-b7dc-b64e-a3fcecfbdb12@mtcc.com> <87zikrihl7.wl-jch@irif.fr> <2EEB3CCD-3C25-4844-95B5-DDE31F982EA2@iki.fi>
User-Agent: Wanderlust/2.15.9
MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue")
Content-Type: text/plain; charset="US-ASCII"
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (korolev.univ-paris7.fr [IPv6:2001:660:3301:8000::1:2]); Tue, 22 Nov 2016 20:47:45 +0100 (CET)
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (potemkin.univ-paris7.fr [194.254.61.141]); Tue, 22 Nov 2016 20:47:43 +0100 (CET)
X-Miltered: at korolev with ID 5834A0DF.001 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)!
X-Miltered: at potemkin with ID 5834A0DD.003 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)!
X-j-chkmail-Enveloppe: 5834A0DF.001 from potemkin.univ-paris7.fr/potemkin.univ-paris7.fr/null/potemkin.univ-paris7.fr/<jch@irif.fr>
X-j-chkmail-Enveloppe: 5834A0DD.003 from mailhub.math.univ-paris-diderot.fr/mailhub.math.univ-paris-diderot.fr/null/mailhub.math.univ-paris-diderot.fr/<jch@irif.fr>
X-j-chkmail-Score: MSGID : 5834A0DF.001 on korolev.univ-paris7.fr : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000
X-j-chkmail-Score: MSGID : 5834A0DD.003 on potemkin.univ-paris7.fr : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000
X-j-chkmail-Status: Ham
X-j-chkmail-Status: Ham
Archived-At: <https://mailarchive.ietf.org/arch/msg/homenet/VVmFKJs93hx_4ygDm7IYVwScWuI>
Cc: homenet@ietf.org
Subject: [homenet] Firewall hole punching [was: About Ted's naming architecture...]
X-BeenThere: homenet@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: IETF Homenet WG mailing list <homenet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/homenet>, <mailto:homenet-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/homenet/>
List-Post: <mailto:homenet@ietf.org>
List-Help: <mailto:homenet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/homenet>, <mailto:homenet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Nov 2016 19:47:49 -0000

>> (I see that hnet-full in OpenWRT/LEDE installs a thing called
>> "minimalist-pcproxy", but I have no idea what it does and whether it
>> handles multiple edge routers correctly.)

> It does.

Excellent.

> Downside with it is that it is based on essentially non-IETF stuff (my
> expired draft) [...]  (as plain PCP proxy specified in the PCP WG is not
> up to the multiprefix part of the task, and is also overly complex).

Thanks for the info.  I'll try to grok when I next have some hacking time.

>> [PCP] actually makes sense

> Does it?

Assuming you want to allow hole punching, PCP makes sense.  Whether you
want to allow hole punching in the first place is a separate discussion.

> Now that I have thought about it more, I do not control all devices in
> my home that well to start with (hello, embedded things that talk IP),
> and I am not that keen to allow them to punch holes in
> firewall. Obviously, they can do call-home anyway

Uh-huh.  I don't see how punching holes in the firewall is worse than
allowing access to the Global Internet.

> (if they are not on a restricted access subnet at any rate)

Exactly.  All my untrusted devices, I mean, my one untrusted device lives
on a dedicated VLAN which is carefully firewalled.

> - ohybridproxy (only really scalable and sensible IPv6 rdns source that
>   I am aware of, given nodes talk mdns)

Noted, thanks for the opinion.  I still don't understand how it works (who
gets port 53?  how are data from multiple links merged?), but I intend to
do my homework.

-- Juliusz