148 Commits

Author SHA1 Message Date
Thomas Bernard
6bd49eb215 Salva Peiró 2016-03-02 00:18:55 +01:00
Thomas Bernard
b238cade9a minissdpd: Fix broken overflow test (p+l > buf+n) thanks to Salva Piero 2016-03-01 19:15:11 +01:00
Thomas Bernard
3dfbeccee9 improve testminissdpdnotif.sh script 2016-01-18 00:19:50 +01:00
Thomas Bernard
fd4b4049e7 handle SIGTERM as well 2016-01-18 00:19:32 +01:00
Thomas Bernard
68404435b6 Fixes b8d1d79224abfdb3a05874237395aadd156986d2 2016-01-17 20:19:26 +01:00
Thomas Bernard
eea61f81c3 improve printresponse() to consume all buffer bytes 2016-01-17 19:36:11 +01:00
Thomas Bernard
b8d1d79224 handle socket close 2016-01-17 18:06:07 +01:00
Thomas BERNARD
3fd57ddbb4 fix usage string + vim config 2016-01-17 18:02:57 +01:00
Thomas Bernard
9e24d3cccb minissdpd: add a notification mode. Bump to version 1.5
fixes #139
2016-01-13 16:14:02 +01:00
Thomas Bernard
78ab294de9 testminissdpd.sh: allow to specify the network interface on command line 2016-01-13 16:14:02 +01:00
Thomas Bernard
6d6ae918e3 minissdpd.c: improve syslog 2016-01-13 16:14:02 +01:00
Thomas Bernard
da9403af2f use 'enum request_type' for minissdpd request types 2016-01-13 16:14:02 +01:00
Thomas Bernard
eca7b7aabb minissdpd.c: set BOOTID.UPNP.ORG to start timestamp 2016-01-13 16:14:02 +01:00
Thomas Bernard
cb3d0798aa minissdpd: validatecodelength 2015-09-10 15:32:25 +02:00
Thomas Bernard
0d7dd1c7cd validateminissdpd 2015-09-09 17:18:49 +02:00
Thomas Bernard
0422023a17 fix for GNU mktemp 2015-09-04 18:35:16 +02:00
Thomas Bernard
eb9098d7ac minissdpd/testminissdpd.sh: fix to work with OS X 2015-09-04 18:24:39 +02:00
Thomas Bernard
15e7285c2a minissdpd: fix includes for old systems 2015-09-04 18:24:09 +02:00
Thomas Bernard
8ec33b7691 add -f command line option to filter for a specific device type
fixes #138
2015-08-06 16:07:33 +02:00
Thomas Bernard
6ddb505f68 minissdpd: disable multicast loop 2015-08-06 16:07:07 +02:00
Thomas Bernard
8e5d55a7e8 minissdpd: Version 1.4 2015-08-06 15:20:39 +02:00
Thomas Bernard
aefeada189 minissdpd: added command 0 (version) 2015-08-06 15:20:30 +02:00
Thomas Bernard
1c84e560ac minissdpd: add "make check" 2015-08-06 12:21:56 +02:00
Thomas Bernard
02a4050ae8 Merge commit '1542d55a2cfc2152fb1d450a101edb7ea2639695' 2015-07-30 00:11:02 +02:00
Thomas Bernard
4cad722f38 testminissdpd.c: store result of write() 2015-07-29 23:50:08 +02:00
Yuriy M. Kaminskiy
1542d55a2c minissdpd: Fix compiler warning
Same as a93028913cfe024f3d04e1c216116b1a66af4134 for miniupnpd
2015-07-26 16:26:00 +03:00
Thomas Bernard
ed4a01d2d6 minissdpd: set multicast TTL to 2 by default and configurable
fixes #140
2015-07-21 17:40:51 +02:00
Thomas Bernard
07cc6215b5 minissdpd/getifaddr.c: fix strncpy() call 2015-07-16 17:15:36 +02:00
Thomas Bernard
81d03ad41d DECODELENGTH_READ 2015-07-15 18:11:27 +02:00
Thomas Bernard
edd7c7bbdc minissdpd/testminissdpd.c: Better HexDump
also improved comments and debug output
2015-06-16 14:35:08 +02:00
Chocobo1
0077441cae Use system default C compiler instead of hardcoding to gcc 2015-06-10 17:52:02 +08:00
Thomas Bernard
a43beeccf1 fix minor typo 2015-05-27 15:31:49 +02:00
Thomas Bernard
55752518f0 minissdpd/README: update README 2015-05-27 11:01:13 +02:00
Thomas Bernard
4f51356fc3 minissdpd/testminissdpd.c: add compatibility with old minissdpd versions 2015-05-27 10:49:06 +02:00
Thomas Bernard
a48fbe86f2 minissdpd/testminissdpd.c: improve large buffer support
update 122617e5a627e9b06b26764c3dc72bc11acb0b52
2015-05-27 10:48:05 +02:00
Thomas Bernard
210851edc2 minissdpd/testminissdpd.c: minor comment/log changes 2015-05-27 10:41:37 +02:00
ted shroyer
122617e5a6 Update test for to support larger buffer size 2015-05-26 14:32:39 -05:00
ted shroyer
72f09b6582 Using setting for unix socket response buffer size
On networks with about 200 upnp devices, search type 3 (all) truncates the full response.  Adding a configuration setting that allows for building minissdpd to have a larger buffer for the response.
2015-05-26 14:31:18 -05:00
ted shroyer
0c2ea99a32 Add setting for unix socket response buffer size
On networks with about 200 upnp devices, search type 3 (all) truncates the full response.  Adding a configuration setting that allows for building minissdpd to have a larger buffer for the response.
2015-05-26 11:50:14 -05:00
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