2342 Commits

Author SHA1 Message Date
Thomas Bernard
a54f25a9e8 remove Pragma: no-cache (which is HTTP 1.0) 2024-06-08 22:09:46 +02:00
Thomas Bernard
5a5b311784 fix simpleUPnPcommand() prototype 2024-06-05 02:01:57 +02:00
Thomas Bernard
70f253be54 remove Pragma: no-cache which is HTTP 1.0 only 2024-06-05 01:49:55 +02:00
Thomas Bernard
c4bd33b409
miniupnpc.c: cleanup as only HTTP 1.1 is used
see #745
2024-06-05 01:47:27 +02:00
Thomas Bernard
eb052df803
miniwget.c: remove miniwget2() as only HTTP 1.1 is used
see #745
2024-06-05 01:47:27 +02:00
Thomas Bernard
a441e4ea12
Normalize header to "Connection: close"
As seen in RFC2616 HTTP/1.1

see #745
2024-06-05 01:47:21 +02:00
Thomas Bernard
1a6360c0ea
update Changelog
see 1f3b8462f0dd0997895dacbd867e581ce252975e
2024-06-05 01:47:20 +02:00
Thomas BERNARD
27d13ca9be
Merge pull request #749 from scribam/github-actions
update actions in github workflows
2024-06-03 00:00:49 +02:00
scribam
331985984d update actions in github workflows 2024-05-31 09:29:02 +02:00
Thomas Bernard
52357a7d1c
pcpserver.c: fix "mapping removed" message for IPv6 pinhole
fixes #743
2024-05-30 01:40:37 +02:00
Thomas Bernard
fbe0b19dcb Merge branch '731-ipv6-routable-address'
fixes #731
2024-05-30 01:21:09 +02:00
Thomas Bernard
5fcf0c281f
upnpc.c: return error status when SetPinholeAndTest/RemovePinhole fail
fixes #740
2024-05-26 01:02:13 +02:00
Thomas Bernard
d5abf2add8 minissdpc.c: 2024 2024-05-16 02:13:38 +02:00
Thomas Bernard
1f3b8462f0
miniupnpc: IPv6. Try first with site-local then link-local
fixes #703
2024-05-16 02:06:20 +02:00
Thomas Bernard
8ddd8634d4
miniupnpd: add abstract from UPNP UDA 2.0 about IPV6
The standard mandates which IPv6 address to use in Location:

see #703
2024-05-16 01:50:00 +02:00
Thomas BERNARD
3cc44af00a
Merge pull request #733 from miniupnp/appveyor-py312
appveyor.yml: build for python 3.12 as well and add source distribution file
2024-05-13 20:11:40 +02:00
Kyle Altendorf
086f900070
use macOS 11 as intel deployment target 2024-05-13 13:01:21 -04:00
Thomas Bernard
38b533048b pip install setuptools 2024-05-13 18:52:35 +02:00
Thomas Bernard
13774b9680
appveyor.yml: build for python 3.12 as well 2024-05-13 18:43:22 +02:00
Thomas BERNARD
add6ced1e9
Merge pull request #717 from altendky/pypi_upload
add pypa/gh-action-pypi-publish
2024-05-13 18:30:57 +02:00
Thomas Bernard
ff7d718bad Merge commit '542febeb95c066ed3b0bb0de6057979b6eccfb17'
see https://github.com/miniupnp/miniupnp/pull/742
2024-05-13 18:22:36 +02:00
Thomas BERNARD
43621c330d
Merge pull request #736 from altendky/patch-3
add Universal2 'arch'
2024-05-13 17:51:02 +02:00
Yat Ho
542febeb95
miniupnpc: bump CMake version to 3.14 2024-05-13 16:21:28 +08:00
Self-Hosting-Group
fc5c72d177 miniupnpd: Fix RemoteHost filtering support not enabled on linux 2024-05-10 16:44:11 +02:00
Kyle Altendorf
95340186f2
Update miniupnpc_wheels.yml 2024-05-10 09:26:33 -04:00
Kyle Altendorf
91707d1a14
Merge branch 'master' into patch-3 2024-05-09 12:59:49 -04: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
Kyle Altendorf
3b46490be3
Update miniupnpc_wheels.yml 2024-05-09 12:06:17 -04:00
Kyle Altendorf
071ed97ba2
add Universal2 'arch' 2024-05-09 12:01:49 -04:00
Kyle Altendorf
fcee51a5bf
intel: [macos-12] 2024-05-09 11:49:56 -04: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
Kyle Altendorf
8a468034c0
Update miniupnpc_wheels.yml 2024-05-09 09:51:53 -04:00
Thomas Bernard
3ab526b665
IGD_V2: Send byebye before sending the intial ssdp:alive
fixes #697

http://upnp.org/specs/gw/UPnP-gw-WANIPConnection-v2-Service.pdf
p9:
1.2 Changes since WANIPConnection:1

Upon startup, UPnP IGD DCP MUST broadcast an ssdp:byebye before sending the initial
ssdp:alive onto the local network. Sending an ssdp:byebye as part of the normal start up process
for a UPnP device ensures that UPnP control points with information about the previous device
instance will safely discard state information about the previous device instance before
communicating with the new device instance.
2024-05-08 19:30:50 +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
Thomas Bernard
752507ed51 upnppinhole.c: 2024 2024-05-08 15:38:02 +02:00
Thomas Bernard
13184df7c1 ipv6: prefer globally routable addresses 2024-04-29 01:27:26 +02:00
Thomas Bernard
65ad337f70
miniupnpd: find_ipv6_addr() avoid fc00::/7 if possible
fc00::/7 = RFC4193 Unique Local IPv6 Unicast Addresses
2024-04-29 01:21:09 +02:00
Thomas Bernard
69638d0100 Merge branch '725-lease-file-ipv6' 2024-04-25 08:41:44 +02:00
Thomas BERNARD
9a575da242
Merge pull request #727 from hebasto/240420-mingw-snprintf
Fix macro expression that guards `snprintf` for Windows
2024-04-21 14:29:39 +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
Thomas Bernard
74c5568d15 print empty string instead of null in ipv6 lease file
see #725
2024-04-18 00:58:45 +02:00
imEgo
d0aca478d4 upnpc.c: Add -f option to upnpc program (delete multiple port redirections) 2024-04-03 20:50:56 +08:00
Thomas BERNARD
db6f9968fe
Merge pull request #721 from fanquake/cmake_add_MINIUPNPC_GET_SRC_ADDR
build: add MINIUPNPC_GET_SRC_ADDR to CMake build
2024-03-23 21:33:04 +01:00