24 Commits
Author SHA1 Message Date
Justin Maggard 1a9b32ee7a Wrap up version 1.3.3. 2023-05-31 01:25:59 -07:00
Justin Maggard 9bd58553fa upnphttp: Fix chunk length parsing 2023-05-31 00:41:07 -07:00
Justin Maggard b4dd1e28f9 locale: Improve Dutch translation
I am a native Dutch speaker and attached a patch to improve the Dutch
translations. Especially one is important as it was a Swedish text,
instead of Dutch.

Manuel Bilderbeek
2023-05-31 00:31:08 -07:00
Justin Maggard c7a1c900ab upnpsoap: Error out earlier on certain SQLi attempts 2023-05-31 00:28:21 -07:00
Justin Maggard 0a6e10e821 Wrap up version 1.3.2 2022-08-29 22:42:54 -07:00
Justin Maggard f140859351 upnphttp: Improve DNS rebinding attack protection
Detect invalid IP addresses in the Host field and reject as needed.
2022-08-29 22:36:53 -07:00
Justin Maggard f35304a5d2 build: Fix libexif test 2022-08-29 22:36:53 -07:00
Justin Maggard cfb775682b build: Add buildroot packaging for static build 2022-02-11 00:37:42 -08:00
Justin Maggard 45a0b5fd56 Wrap up version 1.3.1 2022-02-11 00:31:31 -08:00
Justin Maggard 3c49d66d82 process: avoid negative number of children
The number_of_children child connections number becomes negative (-1) at
server startup due to signal handlers treatments on minidlna.c init().

Opening the webserver status page with no clients connected the opening
connection shows -1 even if client list show 0 for all in the columns.

When connecting the first client, its own connections column goes to 1
and total goes to 0, and so on always one count behind.

Simply allow: number_of_children-- only if not 0

From SF user negan07
2022-02-11 00:30:04 -08:00
Justin Maggard 5c4895a09b build: support gettext 0.20
support compiling if gettext 0.20 or later is found

AM_GNU_GETTEXT_REQUIRE_VERSION overwrites AM_GNU_GETTEXT_VERSION if
autoreconf supports it, so legacy systems are still supported.

From SF user CvH
2022-02-11 00:30:04 -08:00
Justin Maggard 6e18db1a12 upnphttp: Make the :8200 http page automatically refresh
The ReadyMedia :8200 http page reports scanning progress. Why not make it
automatically refresh?

From SF user gharris999
2022-02-11 00:30:04 -08:00
Justin Maggard 696b2c3e1d tivo: Fix multiple definitions of sqlite3 plugin struct 2022-02-10 23:51:28 -08:00
Justin Maggard c21208508d upnphttp: Protect against DNS rebinding attacks
Validate HTTP requests to protect against DNS rebinding.
2022-02-10 23:51:28 -08:00
Justin Maggard 8d8d04785b build: Fix configure error on some platforms
Fixes libid3tag and libavformat detection errors.
2022-02-10 23:51:28 -08:00
Justin Maggard b4e55102af minissdp: Harden SSDP request parsing
Avoids a potential crash from malformed header.
2022-02-10 23:51:28 -08:00
Justin Maggard 109d63cb11 Wrap up version 1.3.0 2020-11-24 10:53:50 -08:00
Justin Maggard e31c420e27 locale: Add missing translation string to ru.po 2020-11-24 10:53:50 -08:00
Justin Maggard 256d271201 clients: Add webOS TV 3.5 FLAC support
webOS TV 3.5 needs a sepcial FLAC mime type.
2020-11-18 14:45:11 -08:00
Justin Maggard 42646c99e0 upnpsoap: Add "path" SortCriteria support
Useful for manual sort overrides, to sort by filename.
2020-11-18 14:45:11 -08:00
Justin Maggard a668daa9da upnphttp: Downgrade "HTTP Connection closed unexpectedly"
Lots of clients trigger this during normal operation.
2020-11-18 14:45:11 -08:00
Justin Maggard 347aafa6d7 Fix some build warnings when building with musl 2020-11-18 14:45:11 -08:00
Justin Maggard 379b66ca95 Use $USER instead of $LOGNAME for default friendly_name
Using $USER in the friendly name will display which user minidlna is
running as on the clients, which can be helpful for detecting problems.
Using $LOGNAME on the other hand will display "root" as the username if
minidlna was started using the init script, regardless of which user
minidlna is currently running as.

Originally added by Benoît Knecht <benoit.knecht@fsfe.org>
2020-11-18 14:45:11 -08:00
Justin Maggard 0763719f27 tagutils: Fix spurious warnings with ogg coverart
Silences common "Vorbis coverart too long" / "Vorbis
METADATA_BLOCK_PICTURE too long" warning messages.
2019-12-09 21:34:44 -08:00