Thomas Bernard
|
a799837371
|
fix get_redirect_rule_by_index() for OpenBSD >= 7.4
see https://github.com/miniupnp/miniupnp/pull/796#discussion_r1907994368
fixes #796
|
2025-01-09 01:47:30 +01:00 |
|
Thomas Bernard
|
b2ab395adb
|
miniupnpd/Changelog.txt: update according to c578c18dbc5bcb5341e0161b23ee204f43bd9374
|
2025-01-09 01:46:16 +01:00 |
|
Thomas Bernard
|
19a03c7c89
|
(c) 2024
|
2024-06-22 18:54:16 +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
|
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
|
bfd51459fe
|
pfpinhole.c: 2024
|
2024-01-15 00:50:55 +01:00 |
|
Thomas Bernard
|
0206bc0051
|
obsdrdr.c: fixes to 6e8b02b715407846b16ecde572c1b6d0d2d8287a
two missing `break` statements, a missed goto and a missed return -1
see https://github.com/miniupnp/miniupnp/pull/674#issuecomment-1877957466
|
2024-01-06 20:12:17 +01:00 |
|
Thomas Bernard
|
d135bd3f6d
|
move definition of release_ticket() to rtickets.h
|
2023-12-30 00:30:06 +01:00 |
|
Thomas Bernard
|
6e8b02b715
|
obsdrdr.c: replace a few goto by break
see https://github.com/miniupnp/miniupnp/pull/674
|
2023-12-30 00:23:30 +01:00 |
|
Thomas Bernard
|
ee89fb5fa3
|
obsdrdr.c: check errors of inet_ntop()
|
2023-12-29 23:59:28 +01:00 |
|
Michael Nickerson
|
b16787cd5f
|
Fix for OpenBSD 7.4
Fixes a change made in OpenBSD 7.4
|
2023-12-07 19:12:11 -05:00 |
|
Thomas Bernard
|
2ede47be46
|
pf/obsdrdr.c: better document PFRULE_INOUT_COUNTS and PF_NEWSTYLE
|
2022-05-18 08:34:16 +02:00 |
|
Thomas Bernard
|
a255df2488
|
Dont create nat rule for Port Triggering, but a pass rule
should fix #529
|
2022-05-18 08:32:42 +02:00 |
|
Thomas Bernard
|
c0d3a17650
|
pf: Use private WAN IP for NAT in double NAT setups
fixes #598
|
2022-02-19 20:19:34 +01:00 |
|
Tim Gates
|
341d0f51a2
|
docs: fix simple typo, decription -> description
There is a small typo in miniupnpd/commonrdr.h, miniupnpd/ipf/ipfrdr.c, miniupnpd/pf/obsdrdr.c.
Should read `description` rather than `decription`.
|
2020-12-10 05:26:04 +11:00 |
|
Thomas Bernard
|
563576878c
|
Merge branch 'pf-nat-rules'
|
2020-06-06 19:39:08 +02:00 |
|
Thomas Bernard
|
26c46e5a49
|
improve upnp_get_portmapping_number_of_entries()
|
2020-06-04 00:27:49 +02:00 |
|
Thomas Bernard
|
eaf23f0d10
|
fix bug introduced in d458f1a2223469e47081da
dev is also used in pfpinhole.c and should be global
|
2020-06-03 23:15:28 +02:00 |
|
Thomas Bernard
|
f97367c87d
|
miniupnpd/p: delete_nat_rule()
also clear_nat_rules()
|
2020-05-30 00:32:29 +02:00 |
|
Thomas Bernard
|
e3395f12fc
|
miniupnpd/pf: minor changes
|
2020-05-21 02:24:59 +02:00 |
|
Thomas Bernard
|
2cf50c57fa
|
miniupnpd/pf: add_nat_rule()
|
2020-05-21 02:24:39 +02:00 |
|
Thomas Bernard
|
abefb6c6d0
|
miniupnpd/pf: fix test
|
2020-05-21 02:21:49 +02:00 |
|
Thomas Bernard
|
d458f1a222
|
minor stuff
|
2020-05-17 23:16:45 +02:00 |
|
Thomas Bernard
|
02e41f7346
|
miniupnpd: BSD: allow to build from another directory
$ cd miniupnpd
$ mkdir build
$ cd build
$ ../configure && make
|
2020-05-11 23:30:19 +02:00 |
|
Thomas Bernard
|
3f04f7992c
|
miniupnpd/pf: disabled setting dst address in rule by default
see #433
was introduced by 53e81857252eb6504e878295c04e607a7c4c061e to fix #231
|
2020-04-12 19:30:37 +02:00 |
|
Blink
|
05e09f9e6d
|
fix build for macos
|
2020-03-21 17:38:46 +08:00 |
|
Thomas Bernard
|
dec239d340
|
pfpinhole.c: fix includes
|
2019-09-02 02:03:41 +02:00 |
|
Thomas Bernard
|
6e5a88098d
|
fix file headers (=>2018)
Signed-off-by: Thomas Bernard <miniupnp@free.fr>
|
2018-07-06 14:16:49 +02:00 |
|
Pali Rohár
|
cd7284785b
|
miniupnpd: Add function delete_filter_rule() also for PF and Linux Netfilter
It is needed for STUN implementation.
|
2018-05-19 13:31:02 +02:00 |
|
Thomas Bernard
|
53e8185725
|
miniupnpd/pf: set dst address in rule if use_ext_ip_addr is set
fixes #231
|
2018-04-12 11:36:12 +02:00 |
|
Thomas Bernard
|
ef94635100
|
miniupnpd: time() => upnp_time()
I had forgotten some
see #288
|
2018-03-14 00:09:42 +01:00 |
|
Thomas Bernard
|
da64fd85cb
|
pass ext_if_name arg to add_pinhole()
should fix #228
|
2017-03-13 11:47:21 +01:00 |
|
Thomas Bernard
|
2c02ef2b7b
|
right printf format in testobsdrdr.c and tespfpinhole.c
|
2017-03-13 11:37:43 +01:00 |
|
Thomas Bernard
|
8c5e90db3a
|
do not delete/re-add pf rule if the desc/label is unchanged
|
2016-02-15 18:48:23 +01:00 |
|
Thomas Bernard
|
7112203428
|
pf/obsdrdr.c: add_timestamp_entry()
|
2016-02-12 16:35:46 +01:00 |
|
Thomas Bernard
|
bdac007771
|
add update_portmapping() / update_portmapping_desc_timestamp() functions
|
2016-02-12 15:01:30 +01:00 |
|
Thomas Bernard
|
be124b6508
|
add find_pinhole() to pf/ code also
see #188
|
2016-01-18 22:46:30 +01:00 |
|
Thomas Bernard
|
c7d7efd230
|
fix realloc failure issues detected thanks to cppcheck
|
2015-02-08 10:23:22 +01:00 |
|
Thomas Bernard
|
e283270274
|
miniupnpd/pf/pfpinhole.c: reduce log verbosity
also remove a "argument not used" warning
|
2014-12-10 09:46:57 +01:00 |
|
Mike Gelfand
|
920845b107
|
Use built-in __APPLE__ macro instead of MACOSX
GCC and Clang on Mac OS have a built-in __APPLE__ macro. Use it instead of
manually-defined MACOSX.
|
2014-06-15 04:14:43 +03:00 |
|
Thomas Bernard
|
b9c20cecab
|
miniupnpd/pf/pfpinhole.c: use label to store pinhole description
|
2014-05-15 23:27:51 +02:00 |
|