Thomas Bernard
b4d780358f
Makefile.bsd: fix install
...
see https://cgit.freebsd.org/ports/tree/net/miniupnpd/files/patch-Makefile.bsd
2024-09-27 17:50:05 +02:00
Ivan Shapovalov
77d14e391f
miniupnpd: Makefile: do not override _FORTIFY_SOURCE
if defined
2024-09-04 06:29:13 +02:00
Thomas Bernard
d07b0a1a9d
Merge branch '768-fix-nft-parse_rule_nat'
...
fixes #773
fixes #768
2024-08-12 01:15:10 +02:00
Thomas Bernard
db26e82e22
miniupnpd: Hide the PCP nonce in descriptions returned by UPnP
...
should fix #759
2024-07-27 16:06:29 +02:00
Thomas Bernard
0ef0b9b238
miniupnpd: fix "make install" on BSD
...
1. default man directory to /usr/share/man
2. miniupnpd.conf and minupnpd.8 are in $(SRCDIR)
fixes #765
2024-07-27 15:39:51 +02:00
Thomas Bernard
792757fb27
netfilter_nft: Fixes parse_rule_nat()
...
the port for NAT destination is passed in REG2
should fix #768
2024-07-27 15:16:33 +02:00
Thomas Bernard
814e85540d
PCP: Check nonce when renewing IPv6 pinhole
...
fixes #748
2024-07-11 08:56:03 +02:00
Thomas Bernard
b9f21a9cfe
miniupnpd version 2.3.7
2024-06-23 00:32:25 +02:00
Thomas Bernard
0cf7acb0ee
configure: show OS_MACHINE
2024-06-22 21:21:57 +02:00
Thomas Bernard
e113b31c5b
miniupnpd: default NOTIFY interval of 900s minus a random value
...
a comment was forgotten in 9339f0e52c7a1d2024377e7a2446e80b93d334aa
2024-06-22 20:18:12 +02:00
Thomas Bernard
7a9800f234
enable_natpmp => enable_pcp_pmp
...
I forgot some changes in 02da7055fcec0dfd2903ab1e3f7d050f3ffb90e0
2024-06-22 20:17:22 +02:00
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
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
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
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
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
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
Self-Hosting-Group
fc5c72d177
miniupnpd: Fix RemoteHost filtering support not enabled on linux
2024-05-10 16:44:11 +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
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
74c5568d15
print empty string instead of null in ipv6 lease file
...
see #725
2024-04-18 00:58:45 +02: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
daaaa60ce9
fix upnp_get_portmapping_number_of_entries() prototype ;)
2024-03-19 23:32:36 +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