Denis Leroy
53804c3db3
Fix bug in returning IGD LAN address
2015-12-11 16:59:38 +01:00
Thomas Bernard
ba05a5aefe
compilation fix
2015-11-17 10:08:34 +01:00
Thomas Bernard
87fbbd0e5b
define INADDR_LOOPBACK when needed
...
fixes #161
2015-11-17 10:08:01 +01:00
Thomas Bernard
be9ab60dea
2014=>2015 :)
2015-11-05 12:36:33 +01:00
Thomas Bernard
372ad64bb5
update Changelog.txt files
2015-11-05 12:04:26 +01:00
Thomas Bernard
3c18a3ef02
Merge branch '2015_10_strprintf_fixes'
...
see PR #157 : String handling fixes
2015-10-26 11:46:41 +01:00
Thomas Bernard
06417600f8
miniupnpc.c: simpleUPnPcommand2() C++ => C comments
...
also reindentation, move declaration of soapbodylen up
vim stuff :)
2015-10-26 11:44:40 +01:00
Thomas Bernard
899ccb9575
ssdpDiscoverDevices() set error
2015-10-26 11:35:09 +01:00
Thomas Bernard
bbbbb0c95a
minisoap.c: make soapPostSubmit() return -1 for errors
2015-10-26 11:27:10 +01:00
Thomas Bernard
cc3eefd912
still trying to fix stuff for appveyor
...
https://ci.appveyor.com/project/miniupnp/miniupnp
2015-10-26 11:04:47 +01:00
Thomas Bernard
42461f4e41
I don't know what is wrong with appveyor, this is another try to get things working
2015-10-26 10:48:45 +01:00
Thomas BERNARD
53367cf85a
fix/update Makefile so it is possible to build universal binaries on OS X
...
use such commandline :
LDFLAGS="-arch ppc64 -arch ppc -mmacosx-version-min=10.4" CFLAGS="-arch ppc64 -arch ppc" make
2015-10-25 22:24:33 +01:00
Wladimir J. van der Laan
fb02299fff
More accurate checking while writing buffer in simpleUPnPcommand2
...
Account exactly for bytes when building buffer in simpleUPnPcommand2.
The margin of 100 is not guaranteed to always be enough. When long
parameters are passed in, it was possible to overflow the buffer.
2015-10-25 21:48:00 +01:00
Wladimir J. van der Laan
4c90b87ce3
Check snprintf result
...
Verify that the buffer size was large enough to write the output,
raise an error condition if not.
2015-10-25 21:13:23 +01:00
Thomas BERNARD
f4b173d3b9
chmod +x setup*.py
...
+ add a few python build dir to .gitignore
2015-10-25 19:52:54 +01:00
Thomas BERNARD
121e1be10b
Support of older Python 2.
...
tested with Python 2.3.5 under OS X 10.4.11
2015-10-25 19:49:03 +01:00
Thomas Hipp
3c78e9c78c
miniupnpc: fix while-loop condition
2015-10-09 15:18:08 +02:00
Thomas Bernard
128c8ba7e8
PORT => SSDP_PORT
2015-10-08 18:08:43 +02:00
Thomas Bernard
45a4347809
increments API_VERSION to 15
2015-10-08 17:59:55 +02:00
Thomas Bernard
f407d5a7ee
formatting
2015-10-08 17:48:04 +02:00
Thomas Bernard
d4af610c51
Merge branch 'master' into local_port
...
Conflicts:
miniupnpc/miniupnpc.c
miniupnpc/miniupnpc.h
miniupnpc/miniupnpcmodule.c
miniupnpc/upnpc.c
2015-10-08 17:42:45 +02:00
Thomas Bernard
be410fded8
2014 => 2015
2015-10-08 17:01:12 +02:00
Thomas BERNARD
3fc23c3b88
fix miniupnpc compilation under OS X 10.4 (darwin 8)
2015-10-01 23:37:05 +02:00
Thomas Bernard
85d43c6e96
Mention a buffer overflow vulnerability in Changelog.txt
...
Credit : "Discovered by Aleksandar Nikolic of Cisco Talos"
2015-10-01 11:26:58 +02:00
Thomas Bernard
146164a5ca
Merge remote-tracking branch 'rat4/patch'
2015-09-20 17:32:04 +02:00
Pavel Vasin
7a99b7c1d1
miniupnpc/CMakeLists.txt: add new source files
2015-09-19 02:15:31 +03:00
Thomas Bernard
d8dc8ff95b
miniupnpc: update MSVC project file
2015-09-18 18:12:19 +02:00
Thomas Bernard
6092fdb4f8
miniupnpc: fix Win32 build, both MinGW and MSVC
2015-09-18 18:11:56 +02:00
Pavel Vasin
1315c47353
install upnpdev.h
...
It's required by miniupnpc.h
2015-09-18 04:43:30 +03:00
Pavel Vasin
3a6e41f516
miniupnpc/CMakeLists.txt: fix missed renaming of declspec.h
2015-09-16 18:59:12 +03:00
Thomas Bernard
d2d913e304
minissdpc.c: remove "comparaison btw signed and unsigned" Warnings
2015-09-16 14:55:42 +02:00
Thomas Bernard
f6d84e6705
fix a few warnings (WIN32)
2015-09-16 00:31:34 +02:00
Thomas Bernard
b7b8711dd2
iphlpapi.h is needed for Win32
2015-09-16 00:19:43 +02:00
Thomas Bernard
c4df1c9e83
try to fix win32/MinGW link
2015-09-16 00:12:43 +02:00
Thomas Bernard
e1344f74aa
removed unused variable under win32
2015-09-16 00:12:35 +02:00
Thomas Bernard
92294994a1
Makefile.mingw: add upnpdev.c / minissdpc.c
2015-09-16 00:08:52 +02:00
Thomas Bernard
c9af50b644
Makefile.mingw: fix dependencies
2015-09-16 00:01:54 +02:00
Thomas Bernard
79cca974a4
igd_desc_parse.c: fix buffer overflow
2015-09-15 15:32:33 +02:00
Thomas Bernard
e5ed3a7019
miniupnpc/Makefile: improve readability
2015-09-04 18:15:15 +02:00
Thomas Bernard
3b417915cb
miniupnpc: jnaerator-0.11 => jnaerator-0.12
2015-09-04 18:15:07 +02:00
Thomas Bernard
b6668e628d
changes java sample according to change of upnpDiscover()
...
should have been included in 1da63faa4f
2015-09-04 18:15:07 +02:00
Thomas Bernard
26960a8a25
miniupnpc/testminiwget.sh: fix for OS X mktemp
2015-09-04 17:47:11 +02:00
Thomas Bernard
46f4679508
miniupnpc.c: clean #define's
2015-09-04 17:37:11 +02:00
Thomas Bernard
6728b12965
dont define _XOPEN_SOURCE with FreeBSD
2015-09-04 12:16:16 +02:00
Thomas Bernard
2889f0a6ca
miniupnpc: don't compile with -ansi
2015-09-04 10:22:34 +02:00
Thomas Bernard
d6700c5d1f
_XOPEN_SOURCE=600 instead of _POSIX_C_SOURCE=200112L
2015-08-31 00:10:33 +02:00
Thomas Bernard
f68edea0fa
miniupnpc/minissdpc.c: tries to fix compilation issue with FreeBSD 10.2
...
see #151
2015-08-29 11:05:32 +02:00
Thomas Bernard
b7654b557f
comments / param.h
2015-08-28 14:32:14 +02:00
Thomas Bernard
e5eabdb3d7
strncasecmp for WIN32
2015-08-28 14:29:20 +02:00
Thomas Bernard
ead5afaaeb
miniupnpc: update Changelog / dependencies / comments
2015-08-28 14:23:38 +02:00
Thomas Bernard
2400d2f8d2
Merge branch 'refact_ssdpc'
...
Conflicts:
miniupnpc/miniupnpc.c
was because of aba8c3f3d7
2015-08-27 22:29:53 +02:00
Thomas Bernard
d0c8154d74
miniupnpc.c: add minissdpd and discovered devices list
2015-08-27 22:22:35 +02:00
Thomas Bernard
cdccc0290d
minissdpc.c: avoid unix socket leak in getDevicesFromMiniSSDPD()
2015-08-27 10:03:22 +02:00
Thomas Bernard
aba8c3f3d7
miniupnpc.c: use unsigned long for IP_MULTICAST_TTL with win32
...
fixes 1da63faa4f
for win32
2015-08-26 18:47:27 +02:00
Thomas Bernard
cdb23ff377
python module: change UPnP_discover() invocation
...
fixes #148
2015-08-17 16:22:03 +02:00
Thomas Bernard
fd8e8e7593
miniupnpc: Also accept "Up" as ConnectionStatus value
2015-08-16 22:10:48 +02:00
Konstantin Tokarev
a95c501959
Use MINISSDPC_* error codes instead of UPNPDISCOVER_*.
2015-08-04 14:15:56 +03:00
Konstantin Tokarev
353f101655
Moved SSDP discovery code into minissdpc.c
2015-08-03 20:09:26 +03:00
Konstantin Tokarev
fd65c0a9df
Moved UPNPDev definition to separate header.
2015-08-03 20:09:26 +03:00
Thomas Bernard
b55ecd70ef
miniupnpc: mem leaks fixes.
2015-07-30 01:10:03 +02:00
Thomas Bernard
d9b25c25c0
miniupnpc: declspec.h => miniupnpc_declspec.h
2015-07-30 00:03:58 +02:00
Thomas Bernard
1da63faa4f
miniupnpc: add ttl argument to upnpDiscover() functions
...
increments API_VERSION to 14
2015-07-23 22:44:37 +02:00
Thomas Bernard
20efc8f03e
2015
2015-07-23 22:44:03 +02:00
Thomas Bernard
507c664706
miniupnpc/Changelog.txt: update
2015-07-23 19:16:20 +02:00
Konstantin Tokarev
7ccbdb6511
Report more error kinds from minissdpc functions.
2015-07-23 16:23:39 +03:00
Konstantin Tokarev
f29b026f38
Use /var/run/minissdpd.sock as default socketpath in connectToMiniSSDPD().
2015-07-23 16:22:54 +03:00
Konstantin Tokarev
cffba15387
Split getDevicesFromMiniSSDPD into 4 steps to allow reuse of local socket.
...
It allows allows client application to use event loop instead of blocking
in read() while waiting for server reply.
2015-07-23 16:22:23 +03:00
Konstantin Tokarev
2c56ffceeb
Fixed typo in setsockopt invocation which sets TTL.
2015-07-23 12:40:42 +03:00
Thomas Bernard
af2ec81f14
Merge branch 'read_usn'
2015-07-22 23:50:44 +02:00
Thomas Bernard
963eefcae5
miniupnpc.c: dont break if USN is not set
...
USN is mandatory, but don't break if the packet don't follow the standard and misses USN: header
2015-07-22 23:46:44 +02:00
Thomas Bernard
bfc7c4f042
listdevices.c: print both ST: and USN:
2015-07-22 23:37:40 +02:00
Thomas Bernard
151b16a1ed
miniupnpc.c: set multicast TTL to 2 by default
2015-07-22 15:00:01 +02:00
Konstantin Tokarev
eb74f5c886
Read USN from SSDP messages.
2015-07-22 12:08:52 +03:00
Thomas Bernard
d456889b52
miniupnpc: renamed declspec.h in order to avoid conflicts
2015-07-21 12:39:40 +02:00
Thomas Bernard
5aa2181336
testigddescparse.c: check fread() return value
2015-07-21 12:02:10 +02:00
Thomas Bernard
6db99a1a40
use mktemp properly ?
...
-t option to put in /tmp dir
2015-07-16 17:16:52 +02:00
Thomas Bernard
904399cd62
=> (c) 2015
2015-07-16 17:16:09 +02:00
Thomas Bernard
a3179fb284
Check malloc/calloc return values
2015-07-15 18:10:10 +02:00
Thomas Bernard
e516851a40
miniupnpc/listdevices.c: call WSAStartup()
...
fixes #135
2015-07-15 14:52:10 +02:00
Thomas Bernard
e0999ace78
miniupnpc: Check malloc/calloc return values
...
fixes #136
2015-07-15 14:48:57 +02:00
Vladimir Sapronov
ce56baf81e
Moving to setuptools to enable wheel
2015-07-08 09:21:35 -04:00
Thomas Bernard
27e2aa3841
miniupnpc: update getDevicesFromMiniSSDPD() to process longer minissdpd responses
2015-06-16 17:33:59 +02:00
Thomas Bernard
eec3f12012
miniupnpc: minor code/comments modifications
2015-06-11 14:28:35 +02:00
Thomas Bernard
76f52c81de
fixes 5c6a140098
2015-06-09 17:20:30 +02:00
Thomas Bernard
a2adfcd05d
miniupnpc/miniupnpc.c: don't wait several times for the timeout in upnpDiscoverDevices()
2015-05-22 12:44:38 +02:00
Thomas Bernard
0bf168d306
miniupnpc.c: minor comment reformatting
2015-05-22 12:27:38 +02:00
Thomas Bernard
fce3099080
miniupnpc/listdevices.c: add -l option to search for several dev types
2015-05-22 12:26:54 +02:00
Thomas Bernard
5c6a140098
miniupnpc: add searchalltypes param to upnpDiscoverDevices()
...
increase API_VERSION to 13
2015-05-22 12:25:51 +02:00
Nevo Hed
94a5af0c15
Allow user to explicitly specify local (source) port
...
See https://github.com/miniupnp/miniupnp/issues/119
- Replace the sameport parameter to the upnpDiscover* functions
- Added constants UPNP_LOCAL_PORT_ANY(0) & UPNP_LOCAL_PORT_SAME(1). The
value "1" was chosen for presumed backwards compatability with the
previous "sameport" parameter (assuming usesr would have set to 1 if
they wanted same port)
- Can be specified with "-z" to the test programs "upnpc" & "pymoduletest.py"
2015-05-12 19:05:48 -04:00
Nevo Hed
f11b8b2a0d
Init accepts multicastif, minissdpdsocket, discoverdelay
...
+ Created initialize for the UPnP class. Initializer accepts named
arguments to override defaults.
+ multicastif & minissdpdsocket ars strduped and thus freed in the dealloc
(tho could/should they be native py objects instead?)
+ The pymoduletest.py test has been modified to support these but I only
tested multicastif & discoverdelay.
2015-05-06 13:12:43 -04:00
Nevo Hed
82969aec1d
Wrong field mapped for minissdpdsocket
2015-05-05 13:16:10 -04:00
Thomas Bernard
9b9c7dfe1d
upnpc: output version on the terminal
2015-04-30 10:34:22 +02:00
Thomas Bernard
c7943b6db3
upnpc.c: output Version on the terminal
...
fixes #115
2015-04-30 10:31:53 +02:00
Thomas Bernard
1df576c72e
miniupnpc: update Changelog.txt
2015-04-27 18:02:41 +02:00
Thomas Bernard
e501f5625d
minissdpc.c: Fix uninitialized dev->scope_id
2015-04-24 22:58:46 +02:00
Thomas Bernard
1e7d13f34f
improve -r command
...
fixes #104
2015-04-24 22:55:37 +02:00
sanderjo
a0614ecfb3
add optional parameter <external_port> to option -r
2015-04-24 19:24:20 +02:00
Thomas Bernard
d00db100c1
_BSD_SOURCE => _DEFAULT_SOURCE
...
with glibc 2.20+ _BSD_SOURCE is deprecated in favor of _DEFAULT_SOURCE
use both to please everyone
fixes #107
2015-04-23 12:40:54 +02:00
Mike Gelfand
5de2bcb561
Fix MINIUPNP_STATICLIB being lost in CMake configuration
2015-04-21 14:28:23 +03:00
Thomas Bernard
46533e6f6c
pymoduletest3.py: python3 version of the test program
2015-02-16 22:59:13 +01:00
Thomas Bernard
c7d7efd230
fix realloc failure issues detected thanks to cppcheck
2015-02-08 10:23:22 +01:00
Thomas Bernard
e280c3dd3a
miniupnpc/upnpcommands.c: minor fix to UPNP_GetStatusInfo()
...
*uptime = 0; instead of the useless uptime = 0;
2015-02-06 11:39:39 +01:00
Thomas Bernard
557fd71fb1
miniupnpc: check realloc() return
2015-02-06 11:39:16 +01:00
Maks Naumov
81dc08d290
Fix setsockopt() for IPV6_MULTICAST_IF
...
32bit: sizeof(&ifindex) == sizeof(void *) == 4
64bit: sizeof(&ifindex) == sizeof(void *) == 8
As a result, it is "ifindex" oob acces on 64bit platforms.
2015-01-21 16:44:36 +01:00
Thomas Bernard
f795af5f54
2014 => 2015
2015-01-20 14:12:10 +01:00
Thomas Bernard
a30bdc5e71
miniupnpc/Makefile: install-static target
2015-01-07 10:23:59 +01:00
Thomas Bernard
3875d61c9e
miniupnpc/upnpc.c: avoid printing imaginary error when using -u
2015-01-01 19:40:44 +01:00
Thomas Bernard
6eef80dab0
miniupnpc.h: UPNP_GetIGDFromUrl() doc
2015-01-01 19:39:47 +01:00
Thomas Bernard
3a3072ee8c
miniupnpc/upnpc.c: call WSACleanup()
2014-12-01 10:33:00 +01:00
Thomas Bernard
c72591e72e
miniupnpc/miniupnpc.c: fix compilation under WIN32
2014-12-01 10:31:50 +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
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
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
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
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
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
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
Thomas Bernard
00fd13abe5
miniupnpc/Makefile: fix dependencies
2014-11-01 11:40:15 +01:00
Thomas Bernard
63964448b6
miniupnpc: add testportlistringparse
2014-11-01 11:18:26 +01:00
Thomas Bernard
a80c87fb8d
remove need of sys/queue.h or bsdqueue.h in upnpreplyparse.c/.h
2014-10-27 17:38:26 +01:00
Thomas Bernard
5973d53736
miniupnpc/Makefile: fix installation of man page
2014-10-25 22:04:10 +02:00
Thomas BERNARD
c68c435827
Merge pull request #39 from rofl0r/master
...
get rid of bsd sys/queue.h dependency
2014-10-25 21:56:33 +02:00
Thomas Bernard
28e3bda6dd
miniupnpc/connecthostport.c: fix for compilation with SunOS
2014-10-06 14:42:28 +02:00
Thomas Bernard
0436d03757
miniupnpc/upnpc.c: use remoteHost arg of DeletePortMapping
2014-09-11 16:31:36 +02:00
Thomas Bernard
05cc5daf14
update Changelog.txt files
2014-09-06 10:37:08 +02:00
Thomas Bernard
658c5bd0dc
miniupnpc/Makefile: clean minihttptestserver
2014-09-06 10:36:58 +02:00
Thomas Bernard
c7b0c20502
miniupnpc/miniupnpcmidule.c: fix for both python2 and python3
2014-09-06 10:01:15 +02:00
Mr. Snow
f3fb046e45
Repair python3 build under Homebrew Python 3.4 with OSX 10.9.
2014-09-06 09:58:31 +02:00
Thomas Bernard
626cd2cd6c
miniupnpc/miniwget.c: define MIN only when not defined by system headers
2014-08-26 20:48:34 +02:00
Jason Huntley
000f9be7fd
Dynamic build fails
...
Dynamic build fails as a result of undefined reference for UPNP_AddAnyPortMapping and UPNP_DeletePortMappingRange
2014-07-29 11:07:43 -04:00
Thomas Bernard
f8cb84e393
miniupnpc/igd_desc_parse.c: Fix parsing of IGD:2 root descriptions
...
fixes #083
2014-07-01 15:03:34 +02:00
Thomas Bernard
bd4de468ad
update Changelog.txt
2014-07-01 15:03:08 +02:00
Thomas Bernard
78d32ba012
Merge remote branch 'mikedld/remove-macosx-macro'
2014-06-16 10:54:03 +02:00
Mike Gelfand
c08833f9e8
Use _WIN32 instead of WIN32 to check for Windows
...
MinGW defines both _WIN32 and WIN32 (and may even be the only compiler
doing so). Microsoft and Intel compilers only define _WIN32. Use the
common one to eliminate the need in defining WIN32 explicitly.
2014-06-15 09:37:13 +03:00
Mike Gelfand
920845b107
Use built-in __APPLE__ macro instead of MACOSX
...
GCC and Clang on Mac OS have a built-in __APPLE__ macro. Use it instead of
manually-defined MACOSX.
2014-06-15 04:14:43 +03:00
Thomas Bernard
ebd7138cc0
miniupnpc/Makefile: Add test executables to clean target
2014-06-10 11:55:03 +02:00
Thomas BERNARD
011e7e7acd
Merge pull request #77 from mikedld/miniupnp-staticlib
...
Rename STATICLIB macro to resolve natpmp/miniupnp conflict
2014-06-02 18:54:33 +02:00
Thomas Bernard
e222e50b24
miniupnpc: Compile with GNU/Hurd and GNU/kFreeBSD
2014-06-02 17:13:52 +02:00
Mike Gelfand
2e4011ce33
Rename LIBSPEC macro to resolve natpmp/miniupnp conflict
...
Same macro name is used in both natpmp and miniupnp libraries so it's
impossble to link one statically and another dynamically. This patch
renames the macro to have library-specific name.
2014-06-01 13:35:13 +03:00
Mike Gelfand
f6774e3316
Rename STATICLIB macro to resolve natpmp/miniupnp conflict
...
Same macro name is used in both natpmp and miniupnp libraries so it's
impossble to link one statically and another dynamically. This patch
renames the macro to have library-specific name.
2014-06-01 13:22:35 +03:00
Thomas Bernard
1213033912
=> 2014
2014-05-20 00:25:35 +02:00
Thomas Bernard
126bf58d23
miniupnpc: add more info to python packages
2014-05-20 00:24:59 +02:00
Thomas Bernard
de96dd47d5
update Changelog.txt files
2014-05-15 10:42:08 +02:00
Arran Cudbard-Bell
0490d16221
Don't print garbage values on failure
2014-05-13 21:50:16 +01:00
Arran Cudbard-Bell
b9362f32a7
Add support for IGD2 AddAnyPortMapping and DeletePortMappingRange
...
Added python bindings for both AddAnyPortMapping and DeletePortMappingRange
2014-05-13 21:50:07 +01:00
Arran Cudbard-Bell
be9584d156
Fix formatting in areas the next commit will touch
2014-05-13 21:49:51 +01:00
Thomas Bernard
242aceceb4
miniupnpc/CMakeLists.txt: install portlistingparse.h upnpreplyparse.h
...
Was in Makefile, but forgotten in CMakeLists.txt
Fixes #68
2014-04-17 12:53:11 +02:00
Thomas Bernard
c2b3c70f3d
miniupnpc/listdevices.c: improve output
2014-04-14 18:11:01 +02:00
Thomas Bernard
c2273b584e
miniupnpc: API_VERSION incremented to 11
2014-04-14 17:48:50 +02:00
Thomas Bernard
4e44ef642a
Merge branch 'master' into search_all
...
Conflicts:
miniupnpc/miniupnpc.c
2014-04-14 17:32:27 +02:00
Thomas BERNARD
1576c07058
use bigger buffers for minissdpd responses
2014-04-12 10:06:53 +02:00
Thomas Bernard
0a46cb1616
miniupnpc/minihttptestserver.c: small improvements
2014-04-01 17:24:19 +02:00
Thomas Bernard
1c451f31bc
miniupnpc/minihttptestserver.c: Have fun with favicon ;)
2014-04-01 16:47:57 +02:00
Thomas Bernard
a4b29d2c3c
miniupnpc/minihttptestserver.c: use sigaction() instead of signal()
...
now accept() is interrupted by signals
2014-04-01 16:47:00 +02:00
Thomas Bernard
acbe15c5ea
miniupnpc: fix exported symbols in OS X dynlibs
...
fixes #63
2014-03-14 09:21:11 +01:00
Thomas Bernard
7fb5fe5dcb
miniupnpc/upnpcommands.h: explain UPNP error codes
2014-02-17 16:52:53 +01:00
Thomas Bernard
8ffaa91b2d
upnpc.c: 2013 -> 2014
2014-02-05 18:32:47 +01:00
Thomas Bernard
cd5cb6e48e
removed unused stuff
2014-02-05 18:32:29 +01:00
Thomas Bernard
f354f73238
miniupnpc/connecthostport.c: handle EINPROGRESS after connect()
2014-02-05 18:31:28 +01:00
Thomas Bernard
4d62c19c29
send ssdp:all requests to MiniSSDPD correctly
2014-02-03 16:40:42 +01:00
Thomas Bernard
b7a4f8d696
minixml.c: now handle XML comments
2014-02-03 11:28:31 +01:00
Thomas Bernard
ab7865ae99
miniupnpc.c: translate comment from French to English :)
2014-01-31 15:20:15 +01:00
Thomas Bernard
b36900b3e9
miniupnpc/Makefile: fix clean target
2014-01-31 15:19:38 +01:00
Thomas Bernard
02f137700f
APIVERSION = 10
2014-01-31 15:00:09 +01:00
Thomas Bernard
bf3a91ba83
miniupnpc.c: added upnpDiscoverDevice()
2014-01-31 14:59:21 +01:00
Thomas Bernard
66bd0cce2d
APIVERSION = 10
2014-01-31 14:58:40 +01:00
Thomas Bernard
7ef1687d72
Merge branch 'master' into search_all
2014-01-31 14:40:22 +01:00
Thomas Bernard
b72a782ab0
VERSION 1.9
2014-01-31 14:32:26 +01:00
Thomas Bernard
28cab3e219
miniupnpc: added argument remoteHost to UPNP_GetSpecificPortMappingEntry()
...
increment API_VERSION to 10
2014-01-31 14:32:00 +01:00
Thomas Bernard
223398ee0e
fix miniupnpc/testupnpreplyparse.c
2014-01-27 16:29:35 +01:00
Thomas Bernard
a79cd61fc8
fix miniupnpc.def
2014-01-27 16:29:13 +01:00
Thomas Bernard
fd065f7c75
Makefile.mingw: removed -enable-stdcall-fixup
2014-01-27 16:28:50 +01:00
Thomas Bernard
af085e8276
miniupnpc: added test cases for XML parsing
2014-01-27 16:27:51 +01:00
Thomas Bernard
18d54e2ae0
miniupnpc.c: MX cannot be 0
2013-12-13 12:50:25 +01:00
Thomas Bernard
370d568715
Merge branch 'master' into search_all
2013-12-13 12:46:09 +01:00
Thomas Bernard
b6ecae893c
upnpc.c: --help and -h arguments
...
fixes #037
2013-12-09 10:25:27 +01:00
Thomas Bernard
81f57226eb
upnpcommands.c: fixes potential null dereference. Fix #046
2013-12-09 09:31:05 +01:00
Thomas Bernard
3ae6b969a3
testminiwget.sh: fix comment (it now works with dash)
2013-12-09 09:31:04 +01:00
Thomas Bernard
6e20b2af61
miniupnpc.c: UPNP_GetValidIGD() now checks for ExternalIpAddress
2013-12-09 09:31:04 +01:00
Thomas Bernard
3a87aa2f10
miniwget.c: fixed potential buffer overrun
2013-12-09 09:31:04 +01:00
Thomas Bernard
b0c66c01e2
miniupnpc: define MAXHOSTNAMELEN if not already done
2013-12-09 09:31:04 +01:00
Karl Hiramoto
2ae481b969
some libc implementations don't define struct ip_mreqn
...
define it here if CFLAG passed with -DNEED_STRUCT_IP_MREQN
I found this issue cross compiling for ARM using eclibc in the
https://www.yoctoproject.org/ build system.
2013-11-15 10:42:27 +01:00
rofl0r
aaf8b028a2
upnpreplyparse.h: always use internal bsdqueue.h
2013-07-05 12:00:04 +02:00
rofl0r
e86867da8b
postlistingparse.h: always use included bsdqueue.h
2013-07-05 11:55:23 +02:00
rofl0r
e901773530
install bsdqueue.h, so an installed version of upnpreplyparse.h can find it
2013-07-05 11:54:20 +02:00
Thomas Bernard
63ece30b87
update upnpreplyparse to allow larger values (128 chars instead of 64)
...
also add testcase
2013-06-06 23:41:23 +02:00
Thomas Bernard
9b193b0546
comment unused function...
2013-05-14 23:11:43 +02:00
Thomas Bernard
a8b1851522
testminixml.c: remove warnings
2013-05-14 23:10:06 +02:00
Thomas Bernard
59d98199c5
miniupnpc: validate upnpreplyparse.c code with "make check"
2013-05-14 23:09:42 +02:00
Thomas Bernard
0f401fe2d5
Update upnpreplyparse.c to take into account "empty" elements
2013-05-14 23:05:08 +02:00
Thomas Bernard
4cd6295119
Changelog for cc165a7aa3
2013-05-14 23:02:47 +02:00
Maciej Małecki
cc165a7aa3
Fix Solaris (SmartOS) build
...
* On Solaris `fd_set` is defined in `sys/select.h`.
* `libsocket`, `libnsl` and `libresolv` are required.
This makes it build cleanly if `MINIUPNPC_SET_SOCKET_TIMEOUT` is forced
to `false` (as tested on Joyent's SmartOS).
2013-05-03 07:40:26 +02:00
Thomas Bernard
1a2984c1d8
miniupnpc: Fix testminiwget.sh for BSD
...
Fixes #33
2013-04-27 17:50:02 +02:00
Thomas Bernard
e371359050
added miniupnpc/apiversions.txt
2013-03-29 15:46:25 +01:00
Thomas Bernard
2b2efd4459
miniupnpc: Fixed Makefile for *BSD
2013-03-23 10:08:43 +01:00
Thomas Bernard
3f1aaef49a
miniupnpc: Update Makefile to use JNAerator version 0.11
...
fix #29
2013-03-11 11:23:08 +01:00
Thomas Bernard
3e885191c0
miniupnpc.c: MX cannot be 0
2013-02-20 17:08:07 +01:00
Thomas Bernard
91602e129d
miniupnpc.c: change upnpDiscoverDevice() to stop when devices are
2013-02-20 17:07:18 +01:00
Thomas Bernard
cb054ef580
miniupnpc.c: add upnpDiscoverAll() function
2013-02-20 17:04:53 +01:00
Thomas Bernard
09d5473c54
miniupnpc.c: reindent upnpDiscover()
2013-02-20 16:29:28 +01:00
Thomas Bernard
2b9c014394
miniupnpc.c: improve debug output in upnpDiscoverDevices()
2013-02-20 16:12:35 +01:00
Thomas Bernard
f9ea7ad372
upnpDiscover() => upnpDiscoverDevices()
2013-02-18 00:46:09 +01:00
Thomas Bernard
9f1a9a91e6
test: patch upnpDiscover() in order to allow to detect all UPnP devices on the network
2013-02-16 10:48:56 +01:00
Thomas Bernard
d06140277b
Adding listdevice program
2013-02-16 10:25:10 +01:00
Thomas Bernard
01ec54aec3
Update Changelog.txt files
2013-02-11 11:40:01 +01:00
Michał Górny
a3e8540cd0
Fix killing the test server.
...
The '%1' argument seems to be non-POSIX and does not work well with
dash. Store the forked PID instead, and use it directly to kill the
server.
2013-02-11 10:59:36 +01:00
Thomas Bernard
d50eaf3c52
to upper case
2013-02-09 16:32:57 +01:00
Thomas Bernard
44bff51403
miniupnpc/.gitignore: add miniupnpc.h.bak
2013-02-09 16:32:32 +01:00
Thomas Bernard
803899514e
use DESTDIR for install targets
...
fix #026
thanks to rofl0r
2013-02-09 16:17:23 +01:00
Thomas Bernard
370bf72e72
miniupnpc.h changed version to 1.8
2013-02-06 15:50:37 +01:00
Thomas Bernard
49f38310fa
miniupnpc: prepare version 1.8 !
2013-02-06 14:57:49 +01:00
Leah X Schmidt
5e5847facc
distclean target
2013-01-27 22:42:52 +01:00
Leah X Schmidt
89755b36aa
fix gitignore
2013-01-27 22:42:30 +01:00
Leah X Schmidt
184d79bf59
fix typo in makefile
2013-01-27 22:42:14 +01:00
Leah X Schmidt
b74bb40780
Make miniupnpc jar file build on win32
2013-01-27 22:41:33 +01:00
Thomas Bernard
3e5aedae7f
miniupnpc/miniupnpc.c: #define strdup to please MSVC
2012-10-16 18:53:28 +02:00
Thomas Bernard
d6c4e55e68
miniupnpc/Changelog.txt: update
2012-10-16 18:51:58 +02:00
Nikolay Orlyuk
ea7b76b46c
miniupnpc: added HAVE_IPV6 and LIBDIR
2012-10-16 08:04:05 +03:00
Jardel Weyrich
a8b4fa53ba
Fix include guards that were missed in 95d5c0bf39
.
2012-10-09 19:00:31 -03: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
18ea17b95e
Add -e option to upnpc program (set description for port mappings)
2012-08-30 12:38:27 +02:00
Thomas Bernard
d148904d2b
update/fix changelogs
2012-08-29 09:59:06 +02:00
Thomas Bernard
0aea9dc0fb
Try to handle scope id in link local IPv6 URL under MS Windows
2012-08-29 09:58:39 +02:00
Thomas Bernard
f9c6d4709e
Fix a memory link in UPNP_GetValidIGD()
2012-08-29 09:57:38 +02:00
Christopher Foo
0c652db9dd
miniupnpc: Supports Python 3
2012-08-28 21:25:00 -04:00
Thomas Bernard
ad744bd6a5
miniupnpc: Disable HAS_IP_MREQN on DragonFly BSD
2012-07-20 10:09:40 +02:00
Thomas Bernard
06484ed6d7
miniupnpc: GetUPNPUrls() now inserts scope into link-local IPv6 addresses
2012-06-28 21:05:50 +02:00
Thomas Bernard
b8953b8414
miniupnpc/connecthostport.c: include netinet/in.h
2012-06-28 21:03:10 +02:00
Thomas Bernard
18c973d9fc
upnpc: yead 2012 in (c) :)
2012-06-28 21:02:37 +02:00
Thomas Bernard
19adf87029
minor things
2012-06-24 00:56:24 +02:00
Thomas Bernard
c585986d2f
miniupnpc: parseURL()/miniwget() : IPv6 addresses scope
2012-06-24 00:55:31 +02:00
Thomas Bernard
0e85a91784
#define MINIUPNPC_GET_SRC_ADDR enables receivedata() to get scope_id
2012-06-24 00:52:51 +02:00
Thomas Bernard
9c884d3848
miniupnpc: increment API_VERSION to 9
2012-06-24 00:49:09 +02:00
Thomas Bernard
40c0c8d356
miniupnpc/Makefile: add validateminiwget to clean; and minor things
2012-06-24 00:47:50 +02:00
Thomas Bernard
8c22bf187d
miniupnpc: More error return checks in upnpc.c
2012-06-24 00:44:22 +02:00
Thomas Bernard
5e05f913e6
fixed miniupnpc/CMakeLists.txt
2012-06-20 23:13:03 +02:00
Thomas Bernard
5d3dc1a290
miniupnpc/portlistingparse.c: removed a unused argument warning
2012-06-20 23:11:59 +02:00
Thomas Bernard
f63cbf0935
miniupnpc: Improvements in testminiwget.sh
2012-06-20 23:11:36 +02:00
Thomas Bernard
aefb519168
disable HAS_IP_MREQN for Solaris (__sun)
2012-06-11 22:06:22 +02:00