Ivan Shapovalov
2f851743e0
miniupnpd: Makefile: generate dep-files during compilation
...
Implement the "Auto-Dependency Generation"[1] writeup by Paul D. Smith
and generate dep-files at the compilation time instead of requiring a
separate preprocessor pass. This removes the `depend` target as it is
not needed anymore.
[1]: https://make.mad-scientist.net/papers/advanced-auto-dependency-generation/
2024-09-30 16:08:15 +02:00
Ivan Shapovalov
2c889950f0
miniupnpd: Makefile: include other binaries objects in $(ALLOBJS)
2024-09-30 00:18:48 +02:00
Ivan Shapovalov
77d14e391f
miniupnpd: Makefile: do not override _FORTIFY_SOURCE
if defined
2024-09-04 06:29:13 +02: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
c8476e6f16
miniupnpd.init.d.script: support nftables
...
fixes #594
2022-02-19 23:49:18 +01:00
Thomas Bernard
7634920f3c
Makefile.linux_nft: fix DEPFLAGS and make install
2021-09-30 23:20:52 +02:00
Thomas Bernard
ddf328845a
keep memory of ./configure parameters
2020-06-03 23:54:24 +02:00
Thomas Bernard
a04d6d405d
miniupnpd/Makefile.linux_nft: update CFLAGS / LDFLAGS
2020-05-10 20:00:50 +02:00
Thomas Bernard
e166f541e8
=> 2020
2020-05-10 20:00:37 +02:00
Thomas Bernard
388d93d678
minipnpd: move check target to check.mk
2020-05-07 01:02:48 +02:00
Thomas Bernard
ea90d39892
miniupnpd: update linux makefiles
2020-05-07 00:34:44 +02:00
Thomas Bernard
125030132e
genconfig.sh -> configure
2020-05-02 18:26:45 +02:00
Thomas Bernard
ce9cf89f07
Makefile.linux_nft: fix depends
2019-10-06 22:41:47 +02:00
Thomas Bernard
49d3b57441
miniupnpd: Add --version commandline option
...
fixes #370
2019-10-05 22:44:31 +02:00
Paul Chambers
75bdb777cf
rework nft-specific globals, create & destroy tables/chains at init & shutdown
2019-09-30 00:12:08 -07:00
Paul Chambers
d5773600f9
add --firewall=<name> to genconfig.sh & tweak Makefiles to match
2019-09-28 22:17:51 -07:00
Thomas Bernard
81e0d83403
build doc with Doxygen
2019-09-24 11:57:27 +02:00
Paul Chambers
8a56bb50cf
add 'dox' make target for nftables, which generates docs using doxygen. Also modify the uuid in the installed copy of miniupnpd.conf, not the pristine local copy that is under revision control.
2019-09-17 18:22:11 -07:00
Sven Auhagen
00ff23c428
This commit fixes IPv4 and adds IPv6 pinhole to nftables.
...
Signed-off-by: Sven Auhagen <sven.auhagen@voleatech.de>
2019-06-12 23:09:20 +02:00
sorz
031915f856
Install nftables scripts
2019-01-18 16:21:25 +08:00
Thomas Bernard
11785205f1
Merge remote-tracking branch 'Lochnair/fix_nftables' into travis-ci-nftables
2018-07-15 12:59:25 +02:00
Thomas Bernard
d84e004849
Fix upnpstun.o dependencies
2018-07-06 14:16:07 +02:00
Nils Andreas Svee
5262990d8e
miniupnpd: support newer libnftnl versions
2018-07-01 23:50:12 +02:00
Pali Rohár
4f53b322fd
miniupnpd: Add function perform_stun() for detecting external IP address and restrictive NAT via STUN protocol
...
It automatically unblock selected UDP ports for incoming responses and after finishing ports unblock is removed.
2018-05-19 13:31:08 +02:00
yangfl
82ec7bc3df
miniupnpd: Add options for netfilter scripts
2018-03-16 23:57:39 +08:00
Thomas Bernard
f8c122034c
remove dependency on libnfnetlink
...
fixes #110
still allow to use libnfnetlink by defining USE_LIBNFNETLINK
if you really want/need to
2015-04-26 16:15:41 +02:00
Tomofumi Hayashi
40871bb4cc
Add libmnl flags in Makefile.linux_nft.
2015-03-18 15:27:57 +09:00
Tomofumi Hayashi
dcf218c452
Initial commit to support nftables.
2015-03-11 21:10:25 +09:00