Commit Graph

48 Commits

Author SHA1 Message Date
e9a653d6e8 clients: restructure client cache 2014-06-09 18:02:03 -07:00
750917f7ea minissdp: fix minor uninitialized access 2014-04-25 17:13:07 -07:00
c6367aa4ce minissdp: fix potential out-of-bounds read 2014-04-11 12:31:32 -07:00
d492b43ef8 Fix various potential illegal access and memory leaks in error conditions. 2014-04-07 11:20:19 -07:00
6e43ab3c06 Introduce THISORNUL macro. 2014-04-07 10:29:56 -07:00
993a4adbbc ssdp: improve debug logging 2014-03-05 13:56:50 -08:00
6cef303fc1 try to ensure proper ownership of db_dir
If user has been set, try to ensure that db_dir is owned by that user.
If that fails, log an error.
2014-02-27 15:47:02 -08:00
4236d53b59 ssdp: add multicast membership as the individual interfaces come up
Previously, this was only done during startup, so interfaces that
came up later wouldn't have been added.
2014-02-26 15:09:21 -08:00
fe7c26da2f ssdp: send a full byebye + alive set when a new interface comes online
If an interface comes online after startup, we really need to send a
complete byebye + alive set on that interface, but we don't want to do
it for other interfaces.  So do it as the interfaces come up, and
skip it for interfaces that existed before the reload.
2014-02-26 15:04:46 -08:00
005cb0bd30 Fix uninitialized access when adding multicast membership.
Thanks Keith for pointing this out.
2014-02-18 10:39:43 -08:00
a3252bd2dd minissdp: Use struct ip_mreqn for multicast membership if it's available. 2014-02-03 15:02:30 -08:00
a21bbe557d Fix a couple file descriptor leaks. 2014-01-16 13:11:54 -08:00
e00d462a75 Add debug messages when sending ssdp:alive/ssdp:byebye packets. 2013-10-22 18:56:07 -07:00
07441e4e9a Silently ignore YOUKU-NOTIFY SSDP packets. 2013-06-10 22:43:03 -07:00
62b6e235b1 Don't require a configured network interface to start up, and add network interface monitoring support on Linux. 2013-05-08 23:52:02 -07:00
1c748c1d5a * Consolidate client detection code.
* Add forced sorting support for Panasonic devices.
2013-03-18 05:37:46 +00:00
11998204e2 * Code reformatting. 2013-02-04 20:23:49 +00:00
1de4ef8bc1 * Add configuration option to specify the user to run as. 2012-07-18 18:58:26 +00:00
ccc32409c5 * Change some --with options to --enable, and move ROOTDEV_* definitions to config.h. 2012-07-17 07:37:55 +00:00
f0c7768533 * Add a flag to tell ParseNameValue() to store empty XML elements. 2012-07-10 21:12:10 +00:00
61fbce18ba * Replace sqlite_int64 with int64_t in many places, to better allow for the possibility of other databases. (Thanks Douglas Carmichael) 2012-06-29 23:14:27 +00:00
ba7e33a062 * Add support for user-configurable log level settings. 2012-02-14 18:25:39 +00:00
cefe05677d * Use proper SSDP TTL of 4, instead of 1. 2012-02-13 22:39:54 +00:00
08172a4ed2 * Enhance error checking in some additional places as required by the latest UPnP CTT. 2012-01-21 01:00:26 +00:00
757eacc236 * Finalize version 1.0.22. 2011-08-25 01:27:56 +00:00
546175743a * Add WAV MIME workaround for Marantz Receivers and Roku SoundBridge.
* Fix bitrate displayed on Microsoft PFS devices.
2011-08-18 23:24:17 +00:00
052aa2613a * Fix memory leak in client detection code for a couple devices. 2011-08-10 00:40:26 +00:00
0b3295b701 * Use MiniSSDPd if it is available. (Thanks Thomas Bernard) 2011-07-22 23:03:38 +00:00
eff8bf22db * Fix FF/REW of AVI files on Samsung Series B TV's. 2011-07-11 20:01:42 +00:00
f6e3e0e8c1 * Only ignore bad source port SSDP requests if the strict DLNA flag is set. 2011-06-23 18:12:39 +00:00
4daad1291e * Fix a potential crash during parsing of SSDP alive packets. 2011-05-03 06:14:25 +00:00
9a9270cecf * Fix some issues reported by cppcheck. 2011-05-02 23:50:52 +00:00
ceeb9479be * Use more appropriate log levels for a couple messages. 2011-04-12 20:55:32 +00:00
07c5fd5dd6 * Add the ability to parse the root description of clients after they send an SSDP NOTIFY.
* Using this new capability, detect Roku SoundBridge clients.
2011-04-09 01:37:11 +00:00
fa056f590e * Ignore SSDP M-SEARCH packets from interfaces not in our list. 2011-03-15 02:20:58 +00:00
8e0fcd56f9 * Complete/clarify license information. 2010-11-11 23:48:14 +00:00
346ff6e293 * Add M3U/PLS music playlist support. 2010-01-13 21:15:26 +00:00
f3d9805d7b * Fix a potential buffer overflow in ProcessSSDPRequest(). 2009-10-09 01:13:07 +00:00
94989f8b15 * Take notifications back out of their own thread, and rely on select timeouts.
* Increment SystemUpdateID as necessary just before processing new HTTP requests.
2009-06-15 22:37:49 +00:00
27696edf6f * Move SSDP and TiVo beacon notifications to a separate thread. 2009-06-03 20:47:48 +00:00
c10c913b30 * Some fixes for the UPnP Device Validator. 2009-05-19 23:43:51 +00:00
82e48067eb * Get a lot more picky about M-SEARCH requests, so we can comply with UPnP. 2009-05-15 02:43:17 +00:00
5a08b7e275 * Some minor DLNA conformance fixups. 2009-05-14 22:13:06 +00:00
bdf2c86075 * Sort out Server description in HTTP headers. This actually makes Windows Media Player recognize a MiniDLNA server also. 2009-05-10 03:24:29 +00:00
45f294b404 * Use our own logging mechanism instead of syslog/printf. 2009-02-20 10:21:23 +00:00
7e30949498 * Code cleanup. 2009-01-31 00:25:03 +00:00
74d73037d0 Lots of changes, but notably:
* MiniDLNA can now pass the DLNA Conformance Test!
 * Dependence on libdlna has been removed, and the ffmpeg libs are used directly.
 * Lots of unused code has been cleaned up.
 * File transfers will now be forked off into a new process, so as not to tie up the server when sending data.
2009-01-22 00:25:20 +00:00
f557f8ea77 Initial checkin 2008-10-23 17:30:45 +00:00