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
c14788a13a
miniupnpd: fixes ExecuteSoapAction() for missing " around SOAPAction
2014-11-28 14:29:24 +01:00
Thomas Bernard
2b233cdf69
miniupnpc-libevent.c: add double quotes (") around SOAPAction
2014-11-28 14:28:17 +01:00
Thomas Bernard
c9e71676a8
miniupnpc-libevent/Makefile: add /usr/local/include and /usr/local/lib
2014-11-28 14:26:21 +01:00
Thomas Bernard
33a5ebf367
miniupnpd/upnpsoap.c: make WANAccessType easier to configure
2014-11-27 13:25:45 +01:00
Thomas Bernard
4cae31c948
miniupnpc.c: dont use if_indextoname() under MS Windows
...
fixes #85
2014-11-27 12:59:12 +01:00
Thomas Bernard
725632f27d
miniupnpc: Add linksys_WAG200G_desc.xml to test
2014-11-26 12:39:43 +01:00
Thomas Bernard
8325b715d3
miniupnpc-libevent: handle error cases
2014-11-25 23:51:59 +01:00
Thomas Bernard
b642e74124
miniupnpc-libevent.c: upnpc_conn_close_cb() only in DEBUG mode
2014-11-25 23:50:56 +01:00
Mike Gelfand
c490b42547
Fix _POSIX_C_SOURCE definition
...
Current code makes use of `snprintf` function defined in C99 standard
but _POSIX_C_SOURCE is set to "1" which is not correct. To access C99
definitions, this macro should be set to at least "200112L".
Also, `strncasecmp` function is being used but corresponding <strings.h>
header is not being included in miniwget.c.
Changes have been tested on FreeBSD 10.1 amd64 with default compiler
(Clang).
2014-11-19 17:06:14 +03:00
Thomas Bernard
d4bf4c7572
miniupnpc-libevent: add upnpc_get_status_info()
2014-11-18 10:31:59 +01:00
Thomas Bernard
3690785a79
miniupnpc/miniupnpc.c: accept all versions of urn:schemas-upnp-org:service:WANCommonInterfaceConfig: service
2014-11-18 00:01:48 +01:00
Thomas Bernard
b6896d5c08
miniupnpc-libevent: WIN32 => _WIN32
2014-11-17 20:33:11 +01:00
Thomas Bernard
d44d16a688
igd_desc_parse.c: define printIGD() only in DEBUG
2014-11-17 20:32:41 +01:00
Thomas Bernard
6e8106688c
miniupnpc: validate igd_desc_parse
2014-11-17 20:31:11 +01:00
Thomas Bernard
fa414c5bb6
allow to build miniupnpc-libevent with MacPorts
2014-11-17 17:29:52 +01:00
Thomas Bernard
7264fa53a9
miniupnpc-libevent: remove unecessary files
2014-11-17 17:29:24 +01:00
Thomas Bernard
bd8ba03b54
miniupnpc-libevent: try with several M-SEARCH requests
2014-11-17 11:15:18 +01:00
Thomas Bernard
eefb134e09
miniupnpc/listdevices.c: add -m option
2014-11-17 10:54:09 +01:00
Thomas Bernard
e60c3a8ce5
Merge branch 'master' into search_all
...
Conflicts:
miniupnpc/apiversions.txt
2014-11-17 10:29:29 +01:00
Thomas Bernard
3065bc570f
miniupnpc-libevent: use service type from root description
2014-11-17 10:22:34 +01:00
Thomas Bernard
37cb73329a
Added miniupnpc-async and miniupnpc-libevent
2014-11-17 10:21:30 +01:00
Thomas Bernard
cbd262749f
miniupnpc-libevent/upnpc-libevent.c: detect local IP address and use it
2014-11-14 12:39:58 +01:00
Thomas Bernard
3bf2398903
miniupnpc-libevent: add upnpc_delete_port_mapping()
2014-11-14 12:39:15 +01:00
Thomas Bernard
8d5a9d72da
miniupnpc/receivedata.c: zero src_addr to silence valgrind
2014-11-13 14:53:50 +01:00
Thomas Bernard
8b22c4d7f4
miniupnpc/receivedata.c: clean up comments
2014-11-13 14:52:58 +01:00
Thomas Bernard
b6438f2f72
miniupnpc: API_VERSION 11
2014-11-13 11:28:20 +01:00
Thomas Bernard
04b7126079
miniupnpc: fix LIBSPEC => MINIUPNP_LIBSPEC
2014-11-13 11:05:09 +01:00
Thomas Bernard
9325bacbfc
Merge branch 'master' into search_all
...
Conflicts:
miniupnpc/.gitignore
miniupnpc/Makefile
miniupnpc/miniupnpc.c
2014-11-13 11:02:28 +01:00
Thomas Bernard
e8a9db9fb1
miniupnpc-libevent/upnpc-libevent.c: various
2014-11-13 10:47:55 +01:00
Thomas Bernard
60cc52fee9
miniupnpc-libevent.c: various cosmetic issues
2014-11-13 10:22:05 +01:00
Thomas Bernard
b4895f2247
miniupnpc-libevent.c: clean up
2014-11-13 10:21:17 +01:00
Thomas Bernard
eef94da7e0
miniupnpd/upnpreplyparse.c: fix DisplayNameValueList()
2014-11-12 17:05:15 +01:00
Thomas Bernard
b33f4b343a
Adding miniupnpc-libevent
2014-11-12 16:56:35 +01:00
Thomas Bernard
255dc2c083
miniupnpc-async/testasync.c: AddPortMapping OK output :)
2014-11-07 13:13:09 +01:00
Thomas Bernard
30b9acd087
miniupnpc-async: reduce output when not compiled with -DDEBUG
2014-11-07 13:12:48 +01:00
Thomas Bernard
4a15b5dec0
miniupnpc-async/testasync.c: fix small bug
2014-11-07 13:12:15 +01:00
Thomas Bernard
da448fbc14
Add .gitignore
2014-11-07 13:07:22 +01:00
Thomas Bernard
bfab1e2094
miniupnpd/upnputils.c: sockaddr_to_string() includes scope in IPv6 addresses
2014-11-07 12:54:33 +01:00
Thomas Bernard
8271eb91b3
Adding miniupnpc-async
2014-11-07 12:32:20 +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
edfd211276
miniupnpc/miniupnpc.c: simplified function GetUPNPUrls()
2014-11-05 07:09:42 +01:00
Thomas Bernard
55fc3e4c3c
miniupnpc: use #define UPNP_VERSION_STRING "UPnP/1.1"
2014-11-05 06:34:51 +01:00
Thomas Bernard
80268b203c
miniupnpc/upnpreplyparse.c: Fix compiling with DEBUG
...
DEBUG only enabled code was forgotten in commit a80c87fb8d
2014-11-05 06:32:43 +01:00
Thomas Bernard
c333c3218d
miniupnpc/msvc/miniupnpc.vcproj: remove bsdqueue.h
2014-11-01 22:10:55 +01:00
Thomas Bernard
06bf746cc2
miniupnpc: remove bsdqueue.h
2014-11-01 11:41:31 +01:00