Commit Graph

2197 Commits

Author SHA1 Message Date
Thomas Bernard 84cd9e6289
upnpsoap.c: ExecuteSoapAction() use memchr() instead of strchr() 2023-12-29 18:22:38 +01:00
Thomas BERNARD a5fd382e95
Merge pull request #666 from ben-31/fix_malloc_error
minissdpc.c: fix memory allocation error
2023-11-15 00:22:28 +01:00
Thomas Bernard 096478dce1 fix getifaddr() error case
see #670
2023-11-14 21:15:58 +01:00
Thomas BERNARD fb5c328a5e
Merge pull request #667 from yangfl/master
Quote paths in nft scripts to prevent word splitting.
2023-08-07 00:50:37 +02:00
yangfl 2c0c73a081 Quote paths in nft scripts to prevent word splitting. 2023-08-07 05:30:41 +08: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 46bcbff321 Do not advertise DeviceProtection if it is disabled 2023-06-29 11:36:49 +02:00
Thomas Bernard e8f8208e24
miniupnpd: Disable DeviceProtection service by default 2023-06-29 02:08:02 +02:00
Thomas Bernard a1ade4532e
fix get_portmappings_in_range() 2023-06-27 01:50:31 +02:00
Thomas Bernard 1865947a57 fix and complete error messages for errors 7xx 2023-06-27 01:12:36 +02:00
Thomas Bernard ad3a610748 error 709 = NoTrafficReceived 2023-06-27 01:12:20 +02:00
Thomas Bernard 3a6feb49c0
configure: http => https 2023-06-27 01:00:07 +02:00
Thomas Bernard 8381867faf
Detect FDSSDP as a microsoft client
fixes 2f2685af97
so FDSSDP.dll (Function Discovery Simple Service Discovery Protocol)
client is properly detected.
2023-06-23 01:08:06 +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 2ffaaba012 upnppermissions.c: fix compilation when DEBUG is defined 2023-06-12 00:04:56 +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
Thomas Bernard f91a32ff02
miniupnpd: enable secure mode by default 2023-05-27 18:42:18 +02:00
Thomas Bernard 19aa26df7e
miniupnpd: add a short list of build-time options in --version output 2023-05-27 11:56:19 +02:00
Thomas Bernard 37c29a3716 miniupnpd: mention PCP in usage 2023-05-27 11:26:45 +02:00
Thomas Bernard 66c4921758
miniupnpd.conf: comments improvement 2023-05-27 11:24:03 +02:00
Thomas Bernard 02da7055fc
option enable_natpmp => enable_pcp_pmp
for backward compatibility, enable_natpmp is stick recognized
2023-05-27 11:21:21 +02:00
Thomas Bernard ab57f7ca3a
miniupnpd.c: improve comments about SETFLAG(ENABLENATPMPMASK) 2023-05-27 11:20:29 +02:00
MoonlightWave-12 49991e00f6
miniupnpd.conf: Update the address of a STUN-server
See: https://stunprotocol.org/

Also: Adding more newlines for better readability.
2023-05-15 01:00:56 +02:00
Thomas Bernard 214deacb11
improve debug output in ProcessSSDPRequest()
see #655
2023-05-11 01:19:22 +02:00
scribam 836fba4684 cmake: define _NETBSD_SOURCE for NetBSD 2023-04-29 17:11:24 +02:00
Thomas Bernard 861298fa24
avoid realloc(p, 0) whose behavior is implementation-defined
fixes #652

see https://github.com/miniupnp/miniupnp/issues/652#issuecomment-1518922139
2023-04-23 11:51:11 +02:00
Thomas Bernard 5ca1a82f7f
zero the permission structure before parsing
should fix #652
2023-04-05 16:03:13 +02:00
Thomas Bernard e439318cf7
miniupnpd 2.3.3 2023-02-17 04:09:33 +01:00
Thomas Bernard 6e8d0fa161
upnppermissions.h: fix build, because #define ENABLE_REGEX is in config.h 2023-02-11 23:53:38 +01:00
Thomas Bernard ec48e04cd5
PinholeVerification(): use memcpy() to compare structures
fix 99fc9941aa
2023-02-11 23:36:56 +01:00
Thomas Bernard 99fc9941aa
Fix PinholeVerification()
see https://miniupnp.tuxfamily.org/forum/viewtopic.php?p=5847
2023-02-04 11:32:29 +01:00
Thomas Bernard f818ff39fe Merge remote-tracking branch 'fanquake/podspec_point_own_repo' 2023-01-31 09:18:24 +01:00
fanquake 9bf639fc91
podspec: point to miniupnp/miniupnp repo
It's not clear to me why this is pointing to a fork of this repository
(which has been marked as archived for nearly 3 years).

I guess this can be updated to point to this repo, or the podspec
removed entirely if there is no interest in maintaining it?
2023-01-30 14:09:13 +00:00
fanquake 197f3d5a1f
ci: remove .travis.yml 2023-01-30 14:06:00 +00:00
Thomas Bernard 72b33d7145
update Changelog.txt ;)
see 7bd0877b8f
2023-01-28 16:43:25 +01:00
Thomas Bernard 8d3986f82c upnppinhole.c: (c)2023 and https 2023-01-28 16:00:47 +01:00
Thomas Bernard 7bd0877b8f
upnp_add_inboundpinhole(): fix updating of leasetime for existing pinholes
upnp_update_inboundpinhole() takes the leasetime as an argument,
not the timestamp (= current_time + leasetime).

That was resulting in havin a timestamp very far in the future

see https://miniupnp.tuxfamily.org/forum/viewtopic.php?p=5840#
2023-01-28 15:58:57 +01:00
Thomas Bernard 57ae40fe10
miniupnpd: reject AddPinhole when InternalPort or RemortePort is empty
https://miniupnp.tuxfamily.org/forum/viewtopic.php?p=5839
2023-01-28 15:49:53 +01:00
Thomas Bernard 5a003a4f56 actions/upload-artifact v2 => v3
https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
2023-01-28 15:12:58 +01:00
Thomas Bernard 9f244fc777 actions/checkout@v2 => actions/checkout@v3 2023-01-28 12:09:35 +01:00
Thomas Bernard d15c15bbcd codeql-action/init / analyze @v1 => @v2
https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/
2023-01-28 12:04:26 +01:00