ssdp-responder v2.0
The drop privs release.
Changes
- Add support for
-c NAME
to overridessdpd
UUID cache file - Add support for
-d URL
to override the UPnP description URL, a
single%s
is supported to be replaced with the interface address - Add support for
-m NAME
to override themanufacturer
in the
defaultdescription.xml
- Add support for
-M URL
to override themanufacturerURL
in the
defaultdescription.xml
- Add support for
-p URL
to override thepresentationURL
in the
defaultdescription.xml
, a single%s
is supported - Add support for
-P FILE
to override the default PID file location
defaultdescription.xml
, a single%s
is supported - Add support for
-u UUID
to use a custom UUID, useful when the
built-in micro HTTP server is disabled - Add support for
-w
to disable built-in micro HTTP server, useful
when other, more capable, web servers are available. Make sure to
have the alternate web server running on port 1901 to serve the file
/description.xml
, see also-d URL
above, which details the
location of the UPnP description URL - Increased debug messages in
ssdp_init()
, for troubleshooting - Add support for dropping root privileges after initial setup. The
usedssdp
is searched for first, with fallback tonobody
- Add support for an initial retry interval at startup, in case ssdpd
is started before any interface has been configured. Configurable
retry count using-R NUM
command line option - Add support for an IP address monitor using Linux netlink interfaces
coming and going at runtime. Meaning,-R NUM
is unused on Linux.
For this to work,ssdpd
must start as root or haveCAP_NET_RAW
Fixes
- Fix #11: periodic busy loop causing intermittent 100% CPU load
- Fix invalid
<UDN>uuid:uuid:...</UDN>
indescription.xml
- Add
Date:
andServer:
to HTTP header in micro HTTP server - Add support for HTTP HEAD requests to micro HTTP server
- Handle case when
/etc/os-release
does not haveVERSION_ID
fall
back to useVERSION_CODENAME
- Don't overwrite CPPFLAGS from the command line
- Portability fix to
utimensat()
replacement function