Commit Graph

159 Commits

Author SHA1 Message Date
ted shroyer f4f21897e2 Update minissdpd.init.d.script 2015-05-18 15:53:17 -05:00
Thomas Bernard c7d7efd230 fix realloc failure issues detected thanks to cppcheck 2015-02-08 10:23:22 +01:00
Thomas Bernard f795af5f54 2014 => 2015 2015-01-20 14:12:10 +01:00
Thomas Bernard f8b6f3e90b minissdpd/Makefile: add asyncsendto.c/.h depends 2014-12-06 12:06:13 +01:00
Thomas Bernard a1065be414 minissdpd: VERSION 1.2 => 1.3 2014-12-05 18:38:23 +01:00
Thomas Bernard af3c6392e5 minissdpd/minissdpd.c: write on non blocking unix socket 2014-12-05 18:37:28 +01:00
Thomas Bernard a4d3546635 minissdpd/minissdpd.c: free service list 2014-12-05 18:36:03 +01:00
Thomas Bernard afe106d768 minissdpd: clean up select(), fix non blocking write 2014-12-05 17:35:34 +01:00
Thomas Bernard b405bdda2b minissdpd: handle ssdp:update messages 2014-12-04 11:41:19 +01:00
Thomas Bernard f43f7ee18f minissdpd/getroute.c: define SA_LEN in all situations 2014-12-01 10:31:13 +01:00
Thomas Bernard 63179a1f7f minisspd: check that peer is from a LAN
Change the list of LAN addresses/interfaces (code taken from miniupnpd)
Check that the peer is from a LAN for each SSDP packet
2014-11-28 17:48:35 +01:00
Thomas Bernard 186c504070 minissdpd: revert "listen on only 1 IPv4 if only 1 interface is specified"
because it prevents broadcast messages to be received
see 7ec7cec59e
and 6d379d54f5
2014-11-28 15:50:06 +01:00
Thomas Bernard 3665f1913d minissdpd: Cosmetic changes 2014-11-28 15:49:32 +01:00
Thomas Bernard ecb382533c minissdpd.c: minor fixes when IPv6 is disabled at compile time 2014-11-06 11:16:20 +01:00
Thomas Bernard 7ec7cec59e minissdpd/openssdpsocket.c: listen on only 1 IPv4 if only 1 interface is specified also when ENABLE_IPV6 is not defined 2014-11-06 11:15:43 +01:00
Thomas Bernard 97c001d464 add use(less ?)ful comments 2014-10-06 14:44:45 +02:00
Thomas Bernard 05cc5daf14 update Changelog.txt files 2014-09-06 10:37:08 +02:00
Thomas Bernard ee5db3e8e4 minissdpd/Makefile: use LDFLAGS when linking binary... 2014-09-06 10:04:23 +02:00
Thomas Bernard 4b39cafeac minissdpd/Makefile: freebsd-glue for Debian/kFreeBSD 2014-06-10 12:01:03 +02:00
Thomas Bernard 6d379d54f5 minissdpd/openssdpsocket.c: listen on only 1 IPv4 if only 1 interface is specified 2014-05-02 09:52:43 +02:00
Thomas Bernard 69dac1ef50 minissdpd/openssdpsocket.c: Fix indentation 2014-05-02 09:51:23 +02:00
Thomas BERNARD 1576c07058 use bigger buffers for minissdpd responses 2014-04-12 10:06:53 +02:00
Thomas BERNARD 2c18850beb testminissdpd.c: test for truncated response 2014-04-12 10:06:32 +02:00
Thomas BERNARD 140ee8d220 minissdpd.c: Initialize pointers to NULL (fix) 2014-04-12 10:05:42 +02:00
Thomas Bernard 7f3fbccbeb testminissdpd: various improvements
more tests.
2014-02-28 20:24:19 +01:00
Thomas Bernard bd83aa90c5 minissdpd: accept request of type 3 with 0 lenght argument 2014-02-28 20:23:51 +01:00
Thomas Bernard dce25a2e27 minissdpd/.gitignore: add listifaces 2014-02-06 10:53:52 +01:00
Thomas Bernard 04752985cc minissdpd.c: Discover devices on the network at startup 2014-02-03 16:52:38 +01:00
Thomas Bernard 178f0b8c4d minissdpd.c: silently ignore EAGAIN, EWOULDBLOCK, EINTR of recv calls 2014-02-03 16:51:25 +01:00
Thomas Bernard 612d0e44fb minissdpd.c: improve comments and logging 2014-02-03 16:50:37 +01:00
Thomas Bernard 2e4d11ba28 minissdpd/listifaces: fix. now compatible with linux and BSD 2014-02-03 16:48:51 +01:00
Thomas Bernard e61a713d02 minissdpd/upnputils.c: removed get_lan_for_peer() 2013-09-07 08:48:40 +02:00
Thomas Bernard a4fd83e968 minissdpd: update upnputils.c/.h 2013-08-19 18:49:09 +02:00
Thomas Bernard f035f57cce minissdpd: Translate README in english 2013-08-19 18:48:59 +02:00
Jardel Weyrich 95d5c0bf39 Rename all include guards to not clash with C99 (7.1.3 Reserved identifiers). 2012-09-20 17:52:51 -03:00
Thomas Bernard d8c98b63b8 minissdpd VERSION 1.2 2012-05-25 00:40:18 +02:00
Thomas Bernard 2e42be246e disable link_ntoa() under Solaris 2012-05-25 00:39:23 +02:00
Thomas Bernard f4529b19d1 prepare version 1.2 release 2012-05-24 18:26:13 +02:00
Thomas Bernard 7f2f0efd55 Set sockets non blocking 2012-05-24 18:21:24 +02:00
Thomas Bernard fe37de7e2c Clean signal handling 2012-05-24 18:17:31 +02:00
Thomas Bernard 489a178865 Improve ProcessInterfaceWatch() under BSD 2012-05-18 16:11:20 +02:00
Thomas Bernard 90001f0703 Improve ProcessInterfaceWatch() under linux 2012-05-16 00:07:39 +02:00
Thomas Bernard 4510da6065 check argument of AddDropMulticastMembership() 2012-05-08 23:11:48 +02:00
Thomas Bernard 29fa82bae4 remove unused argument warning 2012-05-08 23:11:02 +02:00
Thomas Bernard bf0e1c509e Remove a few signed/unsigned compares 2012-05-08 23:10:25 +02:00
Thomas Bernard 0ed9e08792 Clean CLFAGS in Makefile 2012-05-08 23:06:14 +02:00
Thomas Bernard 2b958b85e5 Handle ssdp:update messages and update logging 2012-04-10 00:28:27 +02:00
Thomas Bernard a3600d5e7b Added -ansi to compilation flags 2012-04-10 00:26:48 +02:00
Thomas Bernard f34ab24d99 add set_non_blocking() to upnputils.c/h 2012-04-10 00:17:08 +02:00
Shawn Landen ece31957f9 remove trailing whitespace from minissdpd 2012-02-29 17:52:48 -08:00
Thomas Bernard 2542deb718 keep Changelog.txt files up to date. 2012-01-25 22:40:32 +01:00
Thomas Bernard 04d13c7152 always #include <netinet/in.h> before <arpa/inet.h> 2012-01-20 23:09:40 +01:00
Ville Kallioniemi f9549e86b1 Man page and mac installation fixes.
* fix minissdpd man page not getting installed
* fix miniupnpc man page wasn't installed
* fix minissdpd attempted to install init.d
  file on mac
2011-12-31 12:06:17 -07:00
Thomas Bernard ba27a5b5d9 Replaced hyphens by minus in man pages 2011-10-09 17:50:09 +02:00
Thomas Bernard 7846aaa4c2 minissdpd: daemonize after init
In order to fail launch and return an error to the parent process
if the init fails.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=644509
2011-10-07 11:36:07 +02:00
Thomas Bernard 5e69a32343 minissdpd: set SO_REUSEADDR on SSDP socket.
see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=644511
2011-10-07 11:30:59 +02:00
Thomas Bernard fd96a3ddcd minissdpd: unlink unix socket before binding
see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=644510
2011-10-07 11:29:22 +02:00
Thomas Bernard e667e962ac Added relevant .gitignore files 2011-09-30 09:59:34 +02:00
Thomas Bernard d535e18678 Adding minissdpd 2011-09-28 21:14:08 +02:00