Commit Graph

650 Commits

Author SHA1 Message Date
Yat Ho 542febeb95
miniupnpc: bump CMake version to 3.14 2024-05-13 16:21:28 +08:00
Thomas Bernard ae311e4b84
appveyor.yml: also build python module source tar.gz and upload it 2024-05-09 18:22:12 +02:00
Thomas Bernard 83b5dfbc4f
Makefile: also build python wheel and source tgz 2024-05-09 18:22:05 +02:00
Thomas Bernard f3513a9c65 miniupnpcmodule.c: 2024 2024-05-09 17:11:42 +02:00
Thomas Bernard 0e9d26f163 miniupnpcmodule.c: fix typo 2024-05-09 17:09:55 +02:00
Thomas Bernard 54d25615e8 JavaBridgeTest.java: follow UPNP_GetValidIGD() changes 2024-05-09 16:57:13 +02:00
Thomas Bernard 2b4c0c5ca2
miniupnpcmodule.c: follow UPNP_GetValidIGD() changes 2024-05-09 16:01:54 +02:00
Thomas Bernard c0a50ce33e
miniupnpc: distinguish between not connected IGD and connected to a private IP
fixes #732
2024-05-08 17:37:17 +02:00
Thomas Bernard 2edbc62c50
addr_is_reserved(): debug log 2024-05-08 16:52:41 +02:00
Thomas Bernard 48e5fd5dfa
update miniupnpc/Changelog.txt 2024-05-08 15:59:41 +02:00
Thomas BERNARD ecb25c3bbb
Merge pull request #723 from bozheng1988/master
upnpc: Add -f option to delete multiple port redirections
2024-05-08 15:57:54 +02:00
Hennadii Stepanov f70623c652
Fix macro expression that guards `snprintf` for Windows
Otherwise, the `snprintf` is still wrongly emulated for the following
cases:
 - mingw-w64 6.0.0 or new with ucrt
 - mingw-w64 8.0.0 or new with iso c ext
2024-04-20 16:35:06 +01:00
imEgo d0aca478d4 upnpc.c: Add -f option to upnpc program (delete multiple port redirections) 2024-04-03 20:50:56 +08:00
fanquake cb2026239c
build: add MINIUPNPC_GET_SRC_ADDR to CMake build
This mirrors the autotools build.
2024-03-22 14:03:54 +00:00
Thomas Bernard d4d5ec7d48 miniupnpc version 2.2.7 2024-03-20 00:27:28 +01:00
Jiwoo Park a424ee24f7
Don't add executable targets when UPNPC_BUILD_SAMPLE is OFF 2024-03-15 23:54:13 +09:00
Thomas Bernard 417ddcc3d3
miniupnpcstrings.h.cmake: use PROJECT_VERSION
that change was forgotten in ac5e908881

fixes #704
2024-02-03 12:10:26 +01:00
Thomas Bernard 85c95a463b
upnpc.c: move usage printing to a specific function
to stderr when there is an argument error.
to stdout with --help/-h
2024-01-27 00:35:03 +01:00
Thomas BERNARD c42892f387
Merge pull request #690 from Self-Hosting-Group/upnpc_fix_and_complete_check_of_the_number_of_options_required
upnpc: Fix and complete check of the number of options required
2024-01-26 01:41:25 +01:00
Self-Hosting-Group b44ab26b28 upnpc: Fix and complete check of the number of options required 2024-01-21 21:16:01 +01:00
Self-Hosting-Group 39543ed3ca miniupnpc: Exit with 1 if no UPnP devices found with upnp-listdevices 2024-01-21 21:10:59 +01:00
Thomas Bernard b334253fa6
setup*.py: 2024 2024-01-15 00:30:01 +01:00
Self-Hosting-Group e165af32ae upnpc: Show hint to use IPv6 (option -6) for pinhole commands
Control points that have not been authenticated and authorized as defined in IGDv2 SHOULD use their IPv6 GUA when calling this action.
http://upnp.org/specs/gw/UPnP-gw-WANIPv6FirewallControl-v1-Service.pdf
2024-01-13 10:10:13 +01:00
Thomas Bernard 93b44ed36d upnpc.c: Usage: / Notes: / Options: 2024-01-08 00:09:32 +01:00
Thomas Bernard ed5b0ad4f3
upnpc.c: reformat usage 2024-01-07 23:56:24 +01:00
Thomas Bernard 78afeed634 upnpc: update printed "banner" 2024-01-07 23:55:30 +01:00
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