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
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
98cc9f1b43
miniupnpd.init.d.script: also run ip6tables_init/ip6tables_removeall scripts
...
for support of IPv6
see https://miniupnp.tuxfamily.org/forum/viewtopic.php?t=2338
2023-01-21 13:00:03 +01:00
Thomas Bernard
f4a739d730
miniupnpd version 2.3.2
2023-01-20 00:25:03 +01:00
Thomas Bernard
62e2ea175f
miniupnpd/Changelog.txt: Fix NFTables again (RULE_HANDLE using more than 32 bits)
...
see #582
2023-01-15 18:43:09 +01:00
Thomas Bernard
904dda47ed
nftnlrdr_misc.c: replace nftnl_rule_get_data() usage with specific nftnl_rule_get_*() functions
...
nftnl_rule_get_u32()
nftnl_rule_get_u64()
nftnl_rule_get_str()
closes #641
should fix #582
2023-01-14 19:18:37 +01:00
Thomas Bernard
67ea8c8bc3
nftnlrdr_misc.c: debug message about proto_min_reg/proto_min_val
2023-01-14 19:16:40 +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
Thomas Bernard
207cf440a2
minissdpd version 1.6.0
2022-10-22 20:44:00 +02:00
Thomas Bernard
d62a36c054
minissdpd/getifaddr.c: symbolic link from ../miniupnpd/getifaddr.c
2022-10-22 20:29:30 +02:00
Thomas Bernard
e5c9f72195
minissdpd: fix error message
2022-10-22 20:15:26 +02: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
2eecb06eb0
fix workflows triggers
2022-10-21 21:41:05 +02:00
Thomas Bernard
a1535b0488
2022
2022-10-21 21:36:05 +02:00