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 d458f1a222
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
|
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 53e8185725 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
|
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
|
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
|
c7d7efd230
|
fix realloc failure issues detected thanks to cppcheck
|
2015-02-08 10:23:22 +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
|
ed962213e8
|
miniupnpd/pf/obsdrdr.c: check that USE_PF is defined
also fix a warning
|
2014-04-16 09:59:49 +02:00 |
Thomas Bernard
|
60e129d131
|
miniupnpd/pf: delete_redirect_and_filter_rules() now take internal address into account
|
2014-03-06 14:24:10 +01:00 |
Thomas Bernard
|
acc149ee99
|
miniupnpd/pf: fix add_filter_rule2() by adding internal address
|
2014-03-06 14:23:13 +01:00 |
Thomas Bernard
|
65b776f1ed
|
miniupnpd/pf: add clear_filter_rules() for testing
also add a --clear / -c argument to testobsdrdr programm
|
2014-03-06 14:21:39 +01:00 |
Thomas Bernard
|
5512d022ac
|
miniupnpd/pf/obsdrdr.c: add UNUSED() when necessary
|
2014-02-28 21:28:12 +01:00 |
Thomas Bernard
|
9d23b88cef
|
miniupnpd/pf: replace delete_filter_rule()
now use delete_redirect_and_filter_rules()
|
2014-02-28 21:26:52 +01:00 |
Thomas Bernard
|
37208eecae
|
miniupnpd/pf/obsdrdr.c: improve documentation
|
2014-02-28 21:22:52 +01:00 |
hashiz
|
1efb4cc03c
|
* fix incorrect filter port in pf redirect.
|
2014-02-28 11:28:07 +09:00 |
Thomas BERNARD
|
fa87b3aff7
|
miniupnpd: attempt to compile for OS X/pf
|
2013-12-16 13:03:54 +01:00 |
Thomas Bernard
|
ad95793e93
|
Add UNUSED(arg) macro to remove unused argument warning.
|
2012-05-01 11:49:23 +02:00 |
Thomas Bernard
|
f934bf5d17
|
Start to code IPv6 "pinhole" for pf
Also update tests in miniupnpd/pf/
|
2012-04-18 22:53:51 +02:00 |
Thomas Bernard
|
88fc495942
|
remove // comment
|
2012-03-11 09:47:10 +01:00 |
Shawn Landen
|
5c224accbf
|
remove trailing whitespace from miniupnpd
|
2012-02-29 17:48:41 -08:00 |
Thomas Bernard
|
874283b36f
|
Anchor name (PF) is now configurable through the config file with anchor=
|
2012-02-03 13:14:10 +01:00 |
Thomas Bernard
|
b30d2f8edc
|
Support for OpenBSD 5.0
.onrdomain field was added in ps with OpenBSD 5.0.
Add PFRULE_HAS_ONRDOMAIN
|
2012-01-20 23:00:37 +01:00 |
Thomas Bernard
|
0d96346588
|
Adding miniupnpd
|
2011-09-28 21:13:20 +02:00 |