9 ms·
No U PNP
- phoronixrly 5y agoThe issue I always had with DLNA is that I found its implementations and apecifically controllers and renderers rather wonky: - Open-source controllers are unstable and with terrible UX when they manage to discover the renderers and servers. Closed source controllers all seemed suspicious to me, esp. on Android. - Renderers all support different media formats, some support sutitles, others not at all... Don't get me wrong, I marvel at the engineering thought that went into designing the spec, however adoption was never up to par IMO. I'd love to be proven wrong that this is no longer the case, however the defeatist tone of TFA makes me doubt this... On the issue with NAT-PMP, PCP, IGD, I am somewhat jaded. I use OpenWrt and XMPP. For my home use this setup works hassle-free and file transfers and calls just work. (IoT is in a different vlan, cut off from the internet). However I doubt setting this up is not really something the average consumer would do. Maybe only if pirating as Torrent clients, too have very good support for the protocol.
- jcrawfordor 5y agoAbsolutely, I'm not sure that I sufficiently covered in the post on DLNA specifically that... a lot of DLNA implementations sucked. Windows Media Center had a pretty high level of polish, but it was sort of surprisingly limited in terms of features and the original, XP-era implementation was such that it felt awkwardly disconnected from the normal operating system (I think launching WMC caused the session host to start a whole new shell session?). Basically every other DLNA implementation was a mess in some way or another. I've owned around three devices with DLNA browsers/renderers over the years and all three have had serious stability or UX problems. And this is all sort of beside the fact that Microsoft's incomplete implementation lead to Twonky and Plex as competitors, both of which had their own problems and sort of muddied the waters on the whole thing. The HP Home Servers shipped with WMC, Plex, and Twonky all running by default! You can imagine how confusing that could be to deal with. It's hard to say why exactly this was, other than that I think Microsoft sort of heavily pushed DLNA support in embedded devices like HD-DVD and Blu-Ray players but there was no real quality enforcement, so a lot of vendors put in a token effort. The fact that the DLNA spec was relatively complex is presumably another reason, and lead to a lot of rework of the same ideas over the following years.
- karmahunter1234 5y ago> And this is all sort of beside the fact that Microsoft's incomplete implementation lead to Twonky and Plex as competitors, both of which had their own problems and sort of muddied the waters on the whole thing. The HP Home Servers shipped with WMC, Plex, and Twonky all running by default! You can imagine how confusing that could be to deal with. I haven't looked into twonky and plex, but are they even trying to solve the same problem that DLNA aimed to do? My understanding is that neither of those have submitted anything to standardizing bodies like IETF or ISO so far, but maybe there is no need for such as the content is being streamed directly from the internet.
- jcrawfordor 5y agoMy general understanding is that Twonky Media was originally developed specifically to be a DLNA-compliant solution. Plex was not, but had DLNA support added as a bolt-on feature to the server. Plex had better UX than Twonky but I don't think any of the Plex clients ever functioned as controllers, so Plex wasn't quite "real" DLNA in the sense that Twonky was, it was more of like a compatibility solution to allow embedded DLNA clients to access your media in Plex (I believe this still works but... don't have any DLNA clients around, so who knows). Twonky was "first-class" DLNA but never felt very high quality and didn't survive to the modern era. While UPnP was accepted as an ISO standard and by extension DLNA was very ISO-standards based, I think the ISO angle tends to be a distraction... the meaningful authority on DLNA, including the specifications and certification, was always the DLNA incorporation itself (a non-profit partnership of its promoters). Many DLNA implementations predated ISO acceptance of UPnP A/V on which its based, and the way to get the specifications was not by paying a hefty sum to ISO but by paying an even heftier sum (membership dues) to DLNA Inc. So DLNA was an "open standard" compared to e.g. Plex that does not intend to be a multi-vendor ecosystem, but it was not as "open" as you would hope which was no doubt a factor in its limited adoption... some device vendors like Logitech and Sony bet on it pretty heavily in hardware products but it probably would have seen more of a software ecosystem if the specs were easier to obtain. This is of course not dissimilar to many other "open standards" like USB (controlled far more by USB-IF than by any other standards body). Of course USB versions are typically submitted to general standards bodies like IEC, but when there's already a domain-specific organization promulgating standards usually the only reason it gets submitted to general standards bodies is for compliance purposes, e.g. it's not unusual for government customers to require that things be standardized through ISO (which is basically the origin story of POSIX). In the case of USB I think IEC acceptance is mostly driven by safety regulations in some countries that require electrical interconnects to be approved by a recognized standards body. I'm far from an expert in this field, this is just what I've observed about the interaction between implementation groups and general standards bodies.
- cookiengineer 5y agoThe issue with UPNP is not that it's misunderstood. The issue is that somebody implementing it has to pay hundreds of bucks to read the ISO. Nobody cares about ISOs in the web world, everything that's not an RFC will never receive well penetrated adoption. On the other hand printers are working on your smartphones but not on your Linux desktop. Ever thought why that is? The reason is an outdated resolve concept that needs lots of (possibly going wrong) manual configuration just to get a Multicast DNS-SD resolution feature going. It's such a hardcore fail when considering that the goal for zerconf and DNS-SD was to ease things up, and on Linux it made things worse because of config fatigue.
- oshiar53-0 5y agoI wonder how I can finally make it work on a Linux desktop
- forty 5y agoI'm under the impression that mDNS / DNS-SD worked out of the box on Ubuntu at least, for printers (I'm not sure, maybe installing avahi manually is needed if it's not there by default, but I wouldn't call that "a lot of manual configuration")
- jcrawfordor 5y agoAvahi often seems like a mixed bag. Sometimes it Just Works, but other times it doesn't---one of the big pain points of zero-configuration systems has always been opacity and difficult troubleshooting. For example, it's not at all unusual for well-meaning consumer network appliances to monitor and interfere with IGMP ("IGMP snooping"), ostensibly for performance reasons, but then unintentionally break mDNS. It can be very hard to figure out that that's what's happening when your printer just isn't showing up. In general distributed systems tend to be a pain to troubleshoot, but especially so the zero-configuration efforts since they often try excessively hard to be completely invisible.
- tux3 5y agoIf I had a network appliance configured to do any sort of nebulous network optimization, I'd start to suspect it any time anything doesn't work Coffee too cold? Teapot protocol should have used QUIC.
- cyounkins 5y ago> I am actually somewhat skeptical of the security advantages of disabling UPnP for this purpose. The concern is usually that malware on a machine in the local network will use UPnP to map inbound ports... For me the concern is not malware but crappy/insecure software proudly exposing itself on the internet. Many IP cameras will use UPnP to make their web interface publicly accessible. Because of the long history of opening router ports, seeing a random open port on my public IP was quite surprising. If you haven't recently, check your own public IP in Shodan.io . The cameras I've used run crappy web interfaces that almost certainly do not get security updates. If an attack was successful on the camera, from there the attacker would have access to my internal network.
- addingnumbers 5y agoOne of the interesting points he makes is that forwarding ports with IGDP is a small part of UPnP's functionality. By equating the two and discarding all of UPnP's other local service discovery features, for fear of IGDP specifically, perhaps we are throwing the baby out with the bathwater.
- tinus_hn 5y agoDisabling upnp on your router does not prevent your devices from using it amongst themselves. The only service advertised by the router is the part you don’t want anyway.
- addingnumbers 5y agoThat's not entirely true, a router with a full PnP stack would listen to and participate in SSDP discover queries, enabling more discoverable services per host. Only one service can listen on port 1900 for DISCOVER queries, but a SSDP-capable router can cache NOTIFY messages from services that can't listen, and reply to queries for them itself with the same record. It's admittedly a weak point to make in the context of consumer gear, though. Last I checked, even router OS's with sprawling functionality like OpenWRT and PFsense don't offer SSDP relaying as a supported feature. If you spent less than $200 on your router, there is probably no difference between disabling all of its UPnP capability and disabling IGDP specifically.
- infologics 5y agoI really like reading through a post that can make people think. Also, many thanks for permitting me to comment! http://infocampus.co.in/ui-development-training-in-bangalore.html http://infocampus.co.in/ui-development-training-in-bangalore... https://www.firstenquiry.com/ui-development-training-in-bangalore https://www.firstenquiry.com/ui-development-training-in-bang... http://infocampus.co.in/web-designing-training-in-bangalore.html http://infocampus.co.in/web-designing-training-in-bangalore.... http://infocampus.co.in/web-development-training-in-bangalore.html http://infocampus.co.in/web-development-training-in-bangalor... http://infocampus.co.in/courses/reactjs-training-in-marathahalli-bangalore/ http://infocampus.co.in/courses/reactjs-training-in-marathah... https://www.firstenquiry.com/reactjs-training-in-bangalore https://www.firstenquiry.com/reactjs-training-in-bangalore http://infocampus.co.in/angularjs-training-in-bangalore.html http://infocampus.co.in/angularjs-training-in-bangalore.html http://infocampus.co.in/angulartwo-training-in-bangalore.html http://infocampus.co.in/angulartwo-training-in-bangalore.htm...
- globular-toast 5y agoThis was interesting and I was definitely confused about the difference between UPnP and port forwarding. I gathered that UPnP was something "more" than just port forwarding and it had something to do with DLNA, but this cleared that up for me. On my network zeroconf/service discovery is still a thing. I won't be using cloud services for anything that can be done locally. As someone who grew up in a world of TCP/IP everything (or at least I thought so; that's certainly all I learnt), it's interesting to know it wasn't always the case. Even though we learn about the various layers of network architecture I think too many people still consider IP to be the only possible solution at that layer. With IPv6 there is a certain elegance to it, I suppose (address any device from anywhere in the world), but it's completely unnecessary for local traffic when you think about it. On the "DLNA is dead" note. As someone who has only recently got into the whole network attached media player thing, what are "current" solutions to the problem of "multiple players, multiple controllers, multiple sources"? Basically I want to have multiple speaker systems and use my phone to play stuff from my local music collection.
- andybak 5y ago> the short life and quick death of DLNA. Surprising number of recently updated repos that match the search term "DLNA": https://github.com/search?o=desc&q=dlna&s=updated&type=Repositories https://github.com/search?o=desc&q=dlna&s=updated&type=Repos...
- astura 5y agoYeah, it's news to me that DLNA is dead considering I use it regularly.
- jcrawfordor 5y agoThe DLNA organization dissolved in 2017. It's still possible to get products DLNA certified via an authorized third party lab, and DLNA products still exist and work, but it's pretty clear that it doesn't have an ongoing future at this point. For the most part, the consumer need it fit has gone away and so have the DLNA hardware devices that were expected to be it's main adoption driver (mostly HD-DVD and Blu-Ray players which are no longer common). The Xbox One shipped with only partial DLNA support, a good indication that it's main champion Microsoft has lost interest. Other principal backers Intel and Sony haven't really pushed it since even before 2017.
- the8472 5y agoWhat UPnP/PCP implementations lack is a one-time authorization workflow. There should be a list of pending requests in the router's web interface with a unique token for each request. The next time a device wants to open the same mapping it'll have to issue to pass the same token again or require reauthorization.