2375 Commits

Author SHA1 Message Date
Thomas Bernard
ea207a21f6 "Usage:" not "Usage :" 2024-06-22 19:15:10 +02:00
Thomas Bernard
963d2ea07c
improve slightly miniupnpd.conf
see #680
2024-06-22 19:09:07 +02:00
Thomas Bernard
19a03c7c89 (c) 2024 2024-06-22 18:54:16 +02:00
Thomas Bernard
d235793dcb Merge branch 'pr-755'
fixes #755

thank you @rbgarga
2024-06-19 08:38:56 +02:00
Thomas Bernard
f1544a2910 setupmingw32.py: add long_description as well miniupnpc_2_2_8_test2 2024-06-17 00:26:42 +02:00
Kyle Altendorf
e6f83fd7c4
use DESCRIPTION instead 2024-06-17 00:24:59 +02:00
Kyle Altendorf
0f79d3bb87
Update setup.py 2024-06-17 00:24:59 +02:00
Kyle Altendorf
9e90c7c295
twine check wheels 2024-06-17 00:24:59 +02:00
Thomas Bernard
df0498c655
comments about USE_LIBPFCTL 2024-06-17 00:20:37 +02:00
Thomas Bernard
201c31a6cf
fix priv_delete_redirect_rule_check_desc() 2024-06-17 00:20:37 +02:00
Thomas Bernard
622d28fd37
fix tickets
see https://github.com/miniupnp/miniupnp/pull/671#issuecomment-2160247176
2024-06-17 00:20:37 +02:00
Thomas Bernard
2be63c9572
pfpinhole.c: use libpfctl 2024-06-17 00:20:37 +02:00
Thomas Bernard
938e9b19a2
miniupnpd/FreeBSD: use libpfctl 2024-06-17 00:20:32 +02:00
Thomas Bernard
8f8b89aa1e
tests for obsdrdr.c and pfpinhole.c 2024-06-17 00:18:57 +02:00
Thomas Bernard
036ae353b0
obsdrdr.c: use libpfctl 2024-06-17 00:18:56 +02:00
Thomas Bernard
893600d53a
libpfctl: get_redirect_rule() 2024-06-17 00:18:56 +02:00
Thomas Bernard
c2245fdbf5
libpfctl: delete_nat_rule() 2024-06-17 00:18:56 +02:00
Thomas Bernard
a3e70b7733
libpfctl: get_redirect_rule_count() 2024-06-17 00:18:56 +02:00
Thomas Bernard
18ac16469c
libpfctl: init_redirect() 2024-06-17 00:18:56 +02:00
Thomas Bernard
c5e4b875d3
prepare for libpfctl: pr.rule.xxx => RULE.xxx 2024-06-17 00:18:55 +02:00
Thomas Bernard
83e002338f
configure: --uselibpfctl / USE_LIBPFCTL
see #671
2024-06-17 00:18:55 +02:00
Thomas Bernard
c735d2b39a
setupmingw32.py: follow the symbolic link manually if needed
see https://github.com/miniupnp/miniupnp/pull/750#issuecomment-2160833748
2024-06-13 01:18:29 +02:00
Renato Botelho do Couto
066c27054d miniupnpd: Detect Chimera linux 2024-06-11 14:12:53 -05:00
Renato Botelho do Couto
23d9475f45 miniupnpd: Fix date call on BSD date
Chimera linux uses date from BSDs and the parameters are quite
different.  Change it to detect which one is being used and use
appropriate parameters.
2024-06-11 14:12:53 -05:00
Renato Botelho do Couto
7cd75e8f3d miniupnpd: Fix sed call on BSD sed
Chimera linux uses BSD sed and in this implementation -i parameter is
mandatory.  Without passing empty (as '') it ends up renaming original
file using -e prefix since next parameter is -e.
2024-06-11 14:12:53 -05:00
Renato Botelho do Couto
8900a3f7ec miniupnpd: Do not use --mode install parameter
Chimera linux uses install from BSD and it doesn't support --mode
parameter.  Replace it by -m and make it portable.
2024-06-11 14:03:59 -05:00
Renato Botelho do Couto
4cbe48f800 miniupnpd: Let SBININSTALLDIR to be replaced
On Chimera linux it's not allowed to instal any file to /usr/sbin.  Let
this variable to be replaced by environment to make it easy to package
it.
2024-06-11 14:01:13 -05:00
Thomas Bernard
f79ae6738d Add miniupnpc/DESCRIPTION 2024-06-11 10:22:55 +02:00
Thomas Bernard
1f6de54183 miniupnpc_wheels.yml: use environment pypi for upload job
see #616
miniupnpc_2_2_8_test
2024-06-09 00:43:31 +02:00
Thomas Bernard
b55145ec09
miniupnpc version 2.2.8 miniupnpc_2_2_8 2024-06-09 00:16:26 +02:00
Thomas Bernard
16e9dc0323
minissdpd: CACHE-CONTROL must be minimum 1800s 2024-06-09 00:05:42 +02:00
Thomas Bernard
9339f0e52c
miniupnpd: default NOTIFY interval of 900s minus a random value
fixes #698

As advised in UDA:
  Due to the unreliable nature of UDP, devices SHOULD send the entire set
  of discovery messages more than once with some delay between sets e.g. a
  few hundred milliseconds. To avoid network congestion discovery messages
  SHOULD NOT be sent more than three times. In addition, the device MUST
  re-send its advertisements periodically prior to expiration of the duration
  specified in the CACHE-CONTROL header field; it is RECOMMENDED that such
  refreshing of advertisements be done at a randomly-distributed interval
  of less than one-half of the advertisement expiration time.

(CACHE-CONTROL value is minimum 1800 seconds, so the interval should be
less than 900s
2024-06-09 00:04:06 +02:00
Thomas Bernard
e35ef64459 remove Pragma: no-cache (which is HTTP 1.0) 2024-06-08 22:11:47 +02:00
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