Commit Graph

624 Commits

Author SHA1 Message Date
Self-Hosting-Group c91689cfcd Use the HTTPS-enabled URL of the project website and a small update to
the Python client library description.
2024-01-04 15:09:42 +01:00
Thomas Bernard c8b2e1a619 add a comment about ignoring 713 SpecifiedArrayIndexInvalid
see #682
2024-01-04 02:56:13 +01:00
Thomas BERNARD c6fc63ead0
Merge pull request #682 from Self-Hosting-Group/upnpc_do_not_show_the_normally_occurring_error_713
upnpc: Do not show the normally occurring error 713
2024-01-04 02:53:55 +01:00
Thomas Bernard fc9d39b012
Makefile.mingw: listdevices-*.exe => upnp-listdevices-*.exe
Commit ed16f24 was incomplete.

fixes #685
2024-01-04 02:12:48 +01:00
Thomas Bernard faad29d730 miniupnpc version 2.2.6 2024-01-04 01:30:01 +01:00
Thomas Bernard 32c0fda01c upnpc.c: 2023 => 2024 2024-01-04 01:23:27 +01:00
Thomas Bernard 3c7b8c0cc3 upnpc.c: improve usage text 2024-01-04 01:19:58 +01:00
Thomas Bernard 7761f03b94
update miniupnpc/Changelog.txt 2024-01-04 01:19:12 +01:00
Thomas Bernard a6aa371166
minisoap.c: Content type with charset=utf-8
UPnP Device Architecture 1.0 (3.2.1 p48)
CONTENT-TYPE
Required. Must be text/xml. Should include character coding used, which must be “utf-8”.

UPnP Device Architecture 1.1 (3.2.1 p75)
CONTENT-TYPE
REQUIRED. Field value MUST be “text/xml; charset="utf-8" ”
2024-01-04 01:13:31 +01:00
Self-Hosting-Group 847380967c upnpc: Do not show the normally occurring error 713
SpecifiedArrayIndexInvalid when listing port mappings with -l.
2024-01-01 21:36:28 +01:00
Benoit Maricau 9698973600 minissdpc.c: fix memory allocation error
No room allocated for end of strings ("\0")
2023-07-14 14:04:39 +02:00
Thomas Bernard a765292fd7
upnpc.c: Rewrite usage 2023-06-29 11:49:11 +02:00
Thomas Bernard 1865947a57 fix and complete error messages for errors 7xx 2023-06-27 01:12:36 +02:00
Thomas Bernard ad5a6def8a 2023 2023-06-16 00:46:19 +02:00
Thomas Bernard ed16f24eec listdevices => upnp-listdevices 2023-06-16 00:40:35 +02:00
Thomas Bernard b557fdf4db
miniupnpc: Make User-Agent compliant. 2023-06-16 00:38:07 +02:00
Thomas Bernard 16eafed1c8 CMakeLists.txt: doesn't build minihttptestserver under windows 2023-06-13 00:37:03 +02:00
scribam daa90d3c5e miniupnpc: allow _WIN32_WINNT override 2023-06-12 13:53:58 +02:00
Thomas Bernard 58837ef586
miniupnpc version 2.2.5 2023-06-12 01:20:36 +02:00
Thomas Bernard 51fa714bbb
upnpc.c: proceed with UpdatePinhole for most CheckPinholeWorking errors 2023-06-12 01:18:59 +02:00
Thomas Bernard e663006e68
upnpc.c: GetListOfPortMappings NewStartPort 0 => 1
that's no point in listing port mappings with port from 0 to 65535,
1 to 65535 is OK ;)
2023-06-05 09:15:53 +02:00
Thomas Bernard 5861f92425
upnpc.c: CheckPinholeWorking is optional
Error 602 should be returned if it is not implemented

see #658
2023-05-30 00:29:15 +02:00
Thomas Bernard cd703d4cd0
upnperrors.c: add 60x errors from UPnP Device Architecture 2023-05-30 00:28:04 +02:00
scribam 836fba4684 cmake: define _NETBSD_SOURCE for NetBSD 2023-04-29 17:11:24 +02:00
Thomas Bernard 8ced59d384
2022 => 2023 2023-01-26 23:53:58 +01:00
Thomas Bernard ec57d80849
2022 => 2023 2023-01-26 23:49:41 +01:00
Thomas Bernard b10c247fb1
upnpc.c: prevent warning with gcc 10 and 11
src/upnpc.c:153:37: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 6 [-Wformat-truncation=]
  153 |                 snprintf(index, 6, "%d", i);
      |                                     ^~
src/upnpc.c:153:36: note: directive argument in the range [0, 2147483647]
  153 |                 snprintf(index, 6, "%d", i);
      |                                    ^~~~

Somehow the static analyser fails to recognize that 0 <= i < 65536

see #643
2023-01-26 23:44:26 +01:00
Thomas Bernard 014c9df8ee cmake use CMAKE_INSTALL_INCLUDEDIR 2023-01-04 22:49:35 +01:00
Thomas Bernard deea33c2b9 cmake: install of external-ip.sh
see #637
2023-01-04 22:48:57 +01:00
Thomas Bernard 12f7201abe cmake: install man page
fixes #637
2023-01-04 22:42:10 +01:00
Thomas Bernard b9bbab490a cmake: install listdevices / upnpc-static / upnpc-shared
see #637
2023-01-04 22:33:19 +01:00
scribam ea67c29b64 miniupnpc: update cmake project version 2022-10-21 23:45:35 +02:00
Thomas Bernard 7d1d8bc386
miniupnpc version 2.2.4 2022-10-21 23:05:29 +02:00
Thomas Bernard aa7e399604
miniupnpc: make test with CMake
fixes #531
2022-10-21 22:49:49 +02:00
Thomas Bernard fef6d4d17c
miniupnpc/testminiwget.sh / testupnpreplyparse.sh: allow to define executables 2022-10-21 22:45:46 +02:00
Thomas Bernard ac5e908881
miniupnpc/CMakeLists.txt: use project VERSION/DESCRIPTION/HOMEPAGE_URL 2022-10-15 17:36:28 +02:00
Thomas Bernard 89ac1d6bf6
miniupnpc: add URL in generated miniupnpc.pc 2022-10-15 17:29:40 +02:00
Thomas Bernard 9350846757
miniupnpc: add Homepage url, version and desc in miniupnpc.pc generated by CMake build 2022-10-15 17:29:40 +02:00
Thomas Bernard 5a398006b9
miniupnpc/CMakeLists.txt: generate and install miniupnpc.pc
fixes #574
2022-10-15 17:29:39 +02:00
mmyjona 72d3183e2d
fix netbsd build 2022-09-15 04:51:57 -07:00
fanquake b62ae38f3c
build: use lowercase x in _WIN32_WINNT define
For consistency with all other usages of `_WIN32_WINNT` throughout the
code, and to match the mingw-w64 headers.
2022-09-10 10:44:30 +01:00
fanquake d66ff5e488
build: add distfile to miniupnpc make clean target 2022-08-31 12:50:47 +01:00
fanquake d40daa6f22
build: respect CFLAGS in makefile.mingw
Similar to the other Makefile.
2022-07-27 15:52:37 +01:00
Thomas Bernard 6d59337a57 MS VS project: upnpc-shared.exe for exe using the .dll 2022-05-15 16:38:15 +02:00
Abdullah 9ae617b232
Fix capitalisation of GitHub (#608)
* Fixed capitalisation of GitHub
2022-05-06 09:18:23 +02:00
Biswapriyo Nath 9e99c44adb
cmake: Fix static library name in mingw
This corrects the static library name to libminiupnpc.a.
Otherwise 'lib' is prepended twice, like liblibminiupnpc.a.
2022-04-01 20:41:28 +05:30
Zahary Karadjov 689d1fdd04 Fix the build on NixOS
On NixOS, the lsb_release command returns strings such as "NixOS"
and "22.04" (with the quotes included). This leads to compilation
problems because the updateminiupnpcstrings.sh scripts ends up
creating a C file with the following content:

The fix is to simply strip the quotes from the lsb_release output.
2022-03-21 19:37:25 +02:00
Thomas Bernard 51f185fd13
upnpc.c: use of @ to replace local lan address
example :
$ upnpc-static -a @ 9999 9999 TCP

fixes #532
2022-02-20 00:27:34 +01:00
Sergey Ponomarev af812c8775
Refine LICENSE so github can understand it ;)
see #592
also replace project specific files to symbolic link
2022-02-19 18:38:48 +01:00
Sergey Ponomarev 1479881003 minixml.c sync sources
In the commit a0573e2518
was fixed a buffer overflow in the minixml.c but it wasn't copied to upnpc-async.
To make comparison simpler the header was also synced
2022-01-27 11:29:16 +02:00