Erik Slagter, on 05 May 2014 - 11:39, said:
[Authed streaming wasn't working when OpenWebif port != 80]
This issue (well, more like minor detail imho) has been fixed in the streamproxy. It will fetch the OpenWebIf listening port from the enigma config now.
This means no more ugly workarounds are necessary (at least on OpenPLi). The OpenWebIf doesn't have to bind to [::1]:80 or 127.0.0.1:80 if a port other than 80 is being used for the webif.
My personal opinion on this topic is:
There never has been any reason to have the Webif listen on any but the standard port in the first place.
The only reasons to use a non-standard port are
- the (poor) security aspect of obfuscation
and
- to allow multiple servers of the same kind on the one and only outside IPv4 address.
Obfuscation however doesn't help to make the plain-text auth of http safe enough to open it to the outside world, which is why nobody with a sane mind would ...
Inside the LAN machines use to have unique (local) IPv4 addresses, removing the use for different ports to allow multiple servers of a kind.
So actually, I could as well remove the choice for the http-port from the OpenWebif plugin entirely and I normally would, but I bet some moron would revert this or would at least start to claim that $Other_Image using a forked/older version of OpenWebif was much safer because the WebIf port can be chosen there ...