Thomas Bernard
83b5dfbc4f
Makefile: also build python wheel and source tgz
2024-05-09 18:22:05 +02: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
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
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
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
7f189988a0
version 2.3.6
2024-03-20 00:41:25 +01:00
Thomas Bernard
6ce3b2eeda
2024 ;)
2024-03-20 00:37:33 +01:00
Thomas Bernard
7a3e256eb9
Merge branch 'master' of github.com:miniupnp/miniupnp
2024-03-20 00:28:27 +01:00
Thomas Bernard
d4d5ec7d48
miniupnpc version 2.2.7
2024-03-20 00:27:28 +01:00
Thomas BERNARD
7333d00fa0
Merge pull request #718 from altendky/update_pip_for_wheel_build
...
update pip for wheel build
2024-03-20 00:12:21 +01:00
Thomas BERNARD
fe806bc652
Merge pull request #720 from jimmy-park/fix-exe-target
...
cmake: don't add executable targets when `UPNPC_BUILD_SAMPLE` is `OFF`
2024-03-20 00:11:39 +01:00
Thomas Bernard
daaaa60ce9
fix upnp_get_portmapping_number_of_entries() prototype ;)
2024-03-19 23:32:36 +01:00
Thomas Bernard
177c3ad915
Merge branch 'issue-663'
...
see https://github.com/miniupnp/miniupnp/pull/672
2024-03-19 23:12:03 +01:00
Jiwoo Park
a424ee24f7
Don't add executable targets when UPNPC_BUILD_SAMPLE is OFF
2024-03-15 23:54:13 +09:00
Kyle Altendorf
8139341a39
update pip for wheel build
2024-03-12 21:03:17 -04:00
Kyle Altendorf
f9b2857dce
build miniupnpc wheels in ci ( #640 )
...
* add miniupnpc_wheels_yml
* cp --recursive --verbose cloned/miniupnpc source
* --dereference
* reduce legibility to -RLv for macOS
* try qemu for linux aarch64
* use macos-latest for macOS ARM64 and cross build
* only setup qemu for linux
* skip install test for macos arm64 since we are cross building
* force all CIBW_ARCHS
* skip install test for all arm since we are cross building
* copy in actions
* setup for windows exclusion before merge
* add 3.12
* update from upstream
* macos arm runners, supposedly
* checkout before local actions
* cloned/
* _MACOS
* multiple cibuildwheel pins
* more cloned/
* exclude macos arm 3.7-3.9 due to python unavailability from github actions
* yup
* actions/setup-python@v5
* update pip
* maybe actually use qemu for linux arm
* oops
* more explicit in docker
* -m
* hmm
* aarch64
* aarch64 _and_ arm64
* ...
* try calling out os/arch labels for the runner
* Revert "try calling out os/arch labels for the runner"
This reverts commit 51f1f43e6b11b83433eb297a1ba0a15ef9e06702.
* add copyright and license notices
* exclude windows, cleanup
2024-03-13 01:09:47 +01:00
Thomas Bernard
4a041ccfda
Changelog for https://github.com/miniupnp/miniupnp/pull/672
2024-03-13 00:14:27 +01:00
Thomas Bernard
ef5a1e1abc
testnftnlrdr.c: comments + debug output
2024-03-13 00:14:27 +01:00
Thomas Bernard
1bde68cc9e
nftpinhole.c: fix get_pinhole_info() to return the description
...
see #663
2024-03-13 00:14:27 +01:00
Thomas Bernard
358f430924
nftpinhole.c: update_pinhole() uses strchr() instead of strsep
2024-03-13 00:14:27 +01:00
Thomas Bernard
c3f1a2cb30
always nul terminate string after strncpy()
...
see #663
2024-03-13 00:14:27 +01:00
Thomas Bernard
215091b546
nftpinhole.c: fix get_pinhole_info() and log inet_ntop() errors
2024-03-13 00:14:26 +01:00
Thomas Bernard
90fb7801eb
netfilter_nft: rule_t: have src/dst/nat addresses and ports
...
instead of guessing if it is remote host / external or internal address...
2024-03-13 00:14:20 +01:00
Thomas Bernard
25206a7a3f
testnftpinhole: call init_redirect() / shutdown_redirect()
2024-03-13 00:12:52 +01:00
Thomas Bernard
b3b5dd16d2
more tests in testnftpinhole.c
2024-03-13 00:12:52 +01:00
Thomas Bernard
80d628fa59
netfilter_nft: improve testnftpinhole.c to test find_pinhole()
2024-03-13 00:12:51 +01:00
Thomas Bernard
2e7bfb1e31
netfilter_nft: change debug output for add_pinhole()
2024-03-13 00:12:51 +01:00
Thomas Bernard
e2be9e1571
add comments to rule_set_filter6() and rule_set_filter_common()
2024-03-13 00:12:51 +01:00
Thomas Bernard
4c68985304
netfilter_nft/nftnlrdr_misc.c: comments and warning in parse_rule_payload()
2024-03-13 00:12:51 +01:00
Thomas Bernard
424f5c259f
fix find_pinhole()
...
see #663
2024-03-13 00:12:51 +01:00
Thomas Bernard
025f0f502b
NFT: check inet_pton() errors in find_pinhole()
2024-03-13 00:12:50 +01:00
Thomas Bernard
4dda6d8820
update (c) lines
2024-03-12 00:37:21 +01:00
Thomas Bernard
0648118563
build for python 3.11 as well
2024-03-06 00:37:10 +01:00
Thomas Bernard
e086a24c88
Do not upload .egg to PyPI anymore
...
https://blog.pypi.org/posts/2023-06-26-deprecate-egg-uploads/
2024-03-05 22:53:36 +01:00
Thomas Bernard
9292d251ac
Changelog for https://github.com/miniupnp/miniupnp/pull/711
...
NFTables: add upnp_nftables_family_split option to use NFPROTO_IPV4/IPV6
instead of the generic NFPROTO_INET
thank you @svenauhagen
2024-03-05 22:52:20 +01:00
Thomas Bernard
ba68624f55
Merge remote-tracking branch 'svenauhagen/feature/nftablesinit'
...
fixes #710
https://github.com/miniupnp/miniupnp/issues/710
https://github.com/miniupnp/miniupnp/pull/711
2024-03-05 00:33:12 +01:00