Justin Maggard 
							
						 
					 
					
						
						
							
						
						993a4adbbc 
					 
					
						
						
							
							ssdp: improve debug logging  
						
						 
						
						
						
						
					 
					
						2014-03-05 13:56:50 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						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  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						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  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						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  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						005cb0bd30 
					 
					
						
						
							
							Fix uninitialized access when adding multicast membership.  
						
						 
						
						... 
						
						
						
						Thanks Keith for pointing this out. 
						
						
					 
					
						2014-02-18 10:39:43 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						a3252bd2dd 
					 
					
						
						
							
							minissdp: Use struct ip_mreqn for multicast membership if it's available.  
						
						 
						
						
						
						
					 
					
						2014-02-03 15:02:30 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						a21bbe557d 
					 
					
						
						
							
							Fix a couple file descriptor leaks.  
						
						 
						
						
						
						
					 
					
						2014-01-16 13:11:54 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						e00d462a75 
					 
					
						
						
							
							Add debug messages when sending ssdp:alive/ssdp:byebye packets.  
						
						 
						
						
						
						
					 
					
						2013-10-22 18:56:07 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						07441e4e9a 
					 
					
						
						
							
							Silently ignore YOUKU-NOTIFY SSDP packets.  
						
						 
						
						
						
						
					 
					
						2013-06-10 22:43:03 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						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  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						1c748c1d5a 
					 
					
						
						
							
							* Consolidate client detection code.  
						
						 
						
						... 
						
						
						
						* Add forced sorting support for Panasonic devices. 
						
						
					 
					
						2013-03-18 05:37:46 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						11998204e2 
					 
					
						
						
							
							* Code reformatting.  
						
						 
						
						
						
						
					 
					
						2013-02-04 20:23:49 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						1de4ef8bc1 
					 
					
						
						
							
							* Add configuration option to specify the user to run as.  
						
						 
						
						
						
						
					 
					
						2012-07-18 18:58:26 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						ccc32409c5 
					 
					
						
						
							
							* Change some --with options to --enable, and move ROOTDEV_* definitions to config.h.  
						
						 
						
						
						
						
					 
					
						2012-07-17 07:37:55 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						f0c7768533 
					 
					
						
						
							
							* Add a flag to tell ParseNameValue() to store empty XML elements.  
						
						 
						
						
						
						
					 
					
						2012-07-10 21:12:10 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						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  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						ba7e33a062 
					 
					
						
						
							
							* Add support for user-configurable log level settings.  
						
						 
						
						
						
						
					 
					
						2012-02-14 18:25:39 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						cefe05677d 
					 
					
						
						
							
							* Use proper SSDP TTL of 4, instead of 1.  
						
						 
						
						
						
						
					 
					
						2012-02-13 22:39:54 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						08172a4ed2 
					 
					
						
						
							
							* Enhance error checking in some additional places as required by the latest UPnP CTT.  
						
						 
						
						
						
						
					 
					
						2012-01-21 01:00:26 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						757eacc236 
					 
					
						
						
							
							* Finalize version 1.0.22.  
						
						 
						
						
						
						
					 
					
						2011-08-25 01:27:56 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						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  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						052aa2613a 
					 
					
						
						
							
							* Fix memory leak in client detection code for a couple devices.  
						
						 
						
						
						
						
					 
					
						2011-08-10 00:40:26 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						0b3295b701 
					 
					
						
						
							
							* Use MiniSSDPd if it is available. (Thanks Thomas Bernard)  
						
						 
						
						
						
						
					 
					
						2011-07-22 23:03:38 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						eff8bf22db 
					 
					
						
						
							
							* Fix FF/REW of AVI files on Samsung Series B TV's.  
						
						 
						
						
						
						
					 
					
						2011-07-11 20:01:42 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						f6e3e0e8c1 
					 
					
						
						
							
							* Only ignore bad source port SSDP requests if the strict DLNA flag is set.  
						
						 
						
						
						
						
					 
					
						2011-06-23 18:12:39 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						4daad1291e 
					 
					
						
						
							
							* Fix a potential crash during parsing of SSDP alive packets.  
						
						 
						
						
						
						
					 
					
						2011-05-03 06:14:25 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						9a9270cecf 
					 
					
						
						
							
							* Fix some issues reported by cppcheck.  
						
						 
						
						
						
						
					 
					
						2011-05-02 23:50:52 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						ceeb9479be 
					 
					
						
						
							
							* Use more appropriate log levels for a couple messages.  
						
						 
						
						
						
						
					 
					
						2011-04-12 20:55:32 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						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  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						fa056f590e 
					 
					
						
						
							
							* Ignore SSDP M-SEARCH packets from interfaces not in our list.  
						
						 
						
						
						
						
					 
					
						2011-03-15 02:20:58 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						8e0fcd56f9 
					 
					
						
						
							
							* Complete/clarify license information.  
						
						 
						
						
						
						
					 
					
						2010-11-11 23:48:14 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						346ff6e293 
					 
					
						
						
							
							* Add M3U/PLS music playlist support.  
						
						 
						
						
						
						
					 
					
						2010-01-13 21:15:26 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						f3d9805d7b 
					 
					
						
						
							
							* Fix a potential buffer overflow in ProcessSSDPRequest().  
						
						 
						
						
						
						
					 
					
						2009-10-09 01:13:07 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						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  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						27696edf6f 
					 
					
						
						
							
							* Move SSDP and TiVo beacon notifications to a separate thread.  
						
						 
						
						
						
						
					 
					
						2009-06-03 20:47:48 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						c10c913b30 
					 
					
						
						
							
							* Some fixes for the UPnP Device Validator.  
						
						 
						
						
						
						
					 
					
						2009-05-19 23:43:51 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						82e48067eb 
					 
					
						
						
							
							* Get a lot more picky about M-SEARCH requests, so we can comply with UPnP.  
						
						 
						
						
						
						
					 
					
						2009-05-15 02:43:17 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						5a08b7e275 
					 
					
						
						
							
							* Some minor DLNA conformance fixups.  
						
						 
						
						
						
						
					 
					
						2009-05-14 22:13:06 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						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  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						45f294b404 
					 
					
						
						
							
							* Use our own logging mechanism instead of syslog/printf.  
						
						 
						
						
						
						
					 
					
						2009-02-20 10:21:23 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						7e30949498 
					 
					
						
						
							
							* Code cleanup.  
						
						 
						
						
						
						
					 
					
						2009-01-31 00:25:03 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						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  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Maggard 
							
						 
					 
					
						
						
							
						
						f557f8ea77 
					 
					
						
						
							
							Initial checkin  
						
						 
						
						
						
						
					 
					
						2008-10-23 17:30:45 +00:00