Hi,
Bug #786929 is about minidlna being unable to bind to network interfaces
and has been unfixed for a long time. Unfortunately, no satisfactory
solution has evolved since. Let me give a try.
Instead of messing with internals of minissdp, I propose outsourcing the
problem to systemd. It provides this feature called "socket activation".
Rather than having minidlna create and bind sockets, have systemd do
this. This is easily done using libsystemd and once we defer this task
to systemd, we can use all the means of customization that systemd
provides (including binding an interface). Doing so also allows binding
a privileged port if desired. I've implemented it in a way that the
feature remains optional. What do you think?
So yeah, this doesn't fix #786929, but it provides a really easy
workaround for any system running systemd without having to set up a
firewall.
Helmut