Red Hat Bugzilla – Bug 452541
MT_INTERFACE is a pain
Last modified: 2008-12-20 07:39:34 EST
When changing the configuration of my system (swapping between different Wi-Fi
drivers), then I need to edit the mediatomb.conf file to change MT_INTERFACE.
First, why are the multicast settings setup in the mediatomb startup script?
Couldn't NetworkManager and/or the network-scripts do that?
Secondly, could this be applied to all the internal interfaces by default?
Lennart probably has some better idea on how to avoid the Upnp services to not
show up on the internet.
Finally, at the very least, the mediatomb startup script should fail to start up
if the device mentioned in the configuration file doesn't exist.
The main problem here lies within libupnp, the webserver works on all interfaces
but SSDP stuff only on the specified one, so in the end you have to specify one
of the interfaces, since binding to all or to a number of interfaces is simply
not supported by the library.
We are going to replace libupnp with our own lib, then things like that should
As for the multicast settings - well, I do not care which script does it, as
long as it gets done, if these settings are not applied the server will not
respond to SSDP M-SEARCH requests. You only need the settings if you use UPnP,
so I am not sure where those settings should be done on distribution level.
For the last part, i.e. failing to start on a wrong interface specification: we
could indeed add this check and catch these error cases before passing the
parameter to libupnp.