<mal.hub...@bt.com> wrote:
    > I have a home networking question with respect to IPv6 standards, I'm
    > hoping to use you as a sounding board first before I take it to v6ops.

okay.

    > The scenario here is a home / soho network situation where the user
    > wants to host a service, lets say its a webserver, but really could be
    > any hosted application, importantly using IPv6. The router is setup to
    > use SLAAC only.

Understood.  Why is SLAAC important here?

    > The ISP offers IPv6 GUA addressing in a non-stable manor, its "sticky"
    > but at some point in the future it might change (BNG reboot for
    > example), so the user will use DynDNS provider to provide a stable name
    > for their service, this sounds OK so far.

sure, or can use the front-end naming mechanism that this WG is working on.

    > The user has to allow the webserver port, 443 in their router GUI
    > firewall to allow the traffic in, sounds simple enough. Importantly it
    > should be to that webserver device only.

Fair enough.

    > Now the tricky part....

    > Since in this scenario the webserver device is using privacy
    > extensions, it has a bunch of IPv6 GUA addresses and no EUI-64 and
    > - It has Temporary addressing (which will regularly change)
    > - It has a "Permanent" address (which is the one the webserver will want 
to use)

    > Does this sound reasonable and make sense so far ? Cool.

Yes, so an rfc7217 address.

    > In the router GUI the user is presented with a list of "devices" for
    > which the router can open up TCP 443 in the firewall.

How does the router get this list?  This is important.  Is this a list of
names, or a list of addresses?

    > It is reasonable to assume the user does not want to type in the
    > Permanent IPv6 address of the device, as it is poor CX and anyway it
    > will change in the future (possibly due to a network change / BNG
    > restart etc as mentioned)

It seems reasonable that the user is given a list of names.
The names would ideally come from DNS-SD's SRP.

    > Current routers on the market I have come across have either:

    > 1.  Open the port to the current temporary address only which means
    > that inbound connections on the port usually fails right away (if the
    > webserver is not listening on that address) - or fail after the
    > temporary address changes.

that's not useful.

    > 2.  Opens the port to the correct address (by chance)
    > *   - But then fails at some point in the future when the network
    > prefix changes (as router drops the rule when the prefix changes).

Assuming that the prefix change is make-before-break (which we do not clearly
know how to do on the WAN side, I think), then the web server should
configure with the same rfc7212 IID, but a new prefix.

    > 3.  Opens the port to some or ALL addresses currently (& sometimes
    > historically) associated with the mac address of the device  (not great
    > for security - spoofing? )
    > *   But even that sometimes excludes the permanent address

Hmm. How does it know those addresses are all the same device?
If the router can tell, maybe the privacy addresses aren't very private :-)

    > 4.  Opens the port to all addresses on LAN (not great for security at all)

no.

    > *   Basically the routers firewall config gui doesn't know reliably
    > which device address is the permanent one.

    > *   Should there exist a mechanism to signal to the router or the
    > router can accurately learn which of the devices addresses should be
    > used for configuration in the firewall ?

    > Is this a problem - have I missed something - Is it worth fixing ?

Yes, it's worth fixing.
Note that RFC8520 (MUD) could also be used by the web server to announce it's
need.  In particular if the web server is running on a multi-purpose host,
having it configure an extra rfc7217 address JUST for it, and then using
DHCPv6 to communicate it's MUD file would make sense.
The router owner would need to affirm that this is desired communications.
(Yes, there are missing APIs in general-purpose operating systems to make
this happen)

    > Thoughts:
    > This is probably a strange thing for the user to do (but I have had
    > users trying to do it). Its usually fixed for a customer by switching
    > off privacy extensions / using EUI-64 so basically giving the device a
    > single address for the router gui to identify the device by.

Being able to open connections into services, particularly doing so for some
subset of the Internet (your alarm monitoring company, work or mobile access
to you nanny cam, etc) is one of the "killer app" for IPv6 in the home.
So I don't think it's strange, and it has to "just work" for users without
dances.

--
Michael Richardson <mcr+i...@sandelman.ca>, Sandelman Software Works
 -= IPv6 IoT consulting =-

Attachment: signature.asc
Description: PGP signature

_______________________________________________
homenet mailing list
homenet@ietf.org
https://www.ietf.org/mailman/listinfo/homenet

Reply via email to