Package Details: miniupnpd-nft-git 2.3.4.r15.ge0fd153-1

Git Clone URL: https://aur.archlinux.org/miniupnpd-nft-git.git (read-only, click to copy)
Package Base: miniupnpd-nft-git
Description: Lightweight UPnP IGD daemon with nftables support
Upstream URL: https://miniupnp.tuxfamily.org
Licenses: BSD
Conflicts: miniupnpd
Provides: miniupnpd
Submitter: sorz
Maintainer: sorz
Last Packager: sorz
Votes: 4
Popularity: 0.000001
First Submitted: 2019-01-18 07:57 (UTC)
Last Updated: 2024-01-07 17:36 (UTC)

Latest Comments

sorz commented on 2024-01-07 17:37 (UTC)

@fsvm88 fixed, thanks.

fsvm88 commented on 2024-01-06 13:13 (UTC)

In order to be able to start the program properly the systemd unit (now?) also requires CAP_SETPCAP in the list of CapabilityBoundingSet= , otherwise dropping/transferring capabilities for the spawned threads will fail with "capng_apply() failed" at start,

sorz commented on 2022-08-18 16:39 (UTC)

@xnor Upstream puts these scripts to /etc/miniupnpd on Makefile.linux_nft. Maybe they are meant to be edit by user?

I'm not sure what's the "right way" to use these scripts. On nft_init.sh, it hard-coded very common chian-names like "forward", "prerouting", install them to the system and set the policy. It is likely conflicting with user's existing nft rules. (They also put "# Add other rules here" on the script.)

xnor commented on 2022-08-18 14:51 (UTC) (edited on 2022-08-18 14:51 (UTC) by xnor)

A couple of issues:

  • The nft shell scripts should be moved to /usr/lib/miniupnpd.
  • The service file executes the nft_init.sh script (ExecStartPre) without the required parameters (see miniupnpd_functions.h), resulting in the default table/chain names being used instead of those in miniupnpd.conf
  • Same issue with nft_flush.sh (ExecStopPost)

sorz commented on 2022-02-06 18:18 (UTC) (edited on 2022-02-06 18:19 (UTC) by sorz)

Since #584 was merged (on 2021-12-02), miniupnpd no longer create nft tables & chains during daemon startup.

I added the scripts which upstream provided for manipulating nft to systemd.service file under ExecStartPre/ExecStopPost. But you may choose modifying your nft config directly rather than relying on these scripts.

lafr4nc3 commented on 2020-05-08 00:41 (UTC) (edited on 2020-05-08 00:43 (UTC) by lafr4nc3)

build with pikaur fails:
==> Starting build()...
Makefile.linux_nft:133: /check.mk: No such file or directory
make: *** No rule to make target '/check.mk'. Stop.
==> ERROR: A failure occurred in build().
Aborting...

sorz commented on 2019-04-17 12:08 (UTC)

@cgx fixed, thanks.

cgx commented on 2019-04-16 12:17 (UTC) (edited on 2019-04-16 12:22 (UTC) by cgx)

build with pikaur fails:

==> Entering fakeroot environment...

==> Starting package()...

sed -i -e "s/^uuid=[-0-9a-f]*/uuid=(genuuid||uuidgen||uuid) 2>/dev/null/" miniupnpd.conf

strip miniupnpd

install -d /home/user/.cache/pikaur/build/miniupnpd-nft-git/pkg/miniupnpd-nft-git/usr/bin

install miniupnpd /home/user/.cache/pikaur/build/miniupnpd-nft-git/pkg/miniupnpd-nft-git/usr/bin

install -d /home/user/.cache/pikaur/build/miniupnpd-nft-git/pkg/miniupnpd-nft-git/etc/miniupnpd

install netfilter_nft/scripts/nft_init.sh /home/user/.cache/pikaur/build/miniupnpd-nft-git/pkg/miniupnpd-nft-git/etc/miniupnpd

install netfilter_nft/scripts/nft_removeall.sh /home/user/.cache/pikaur/build/miniupnpd-nft-git/pkg/miniupnpd-nft-git/etc/miniupnpd

install netfilter_nft/scripts/nft_flush.sh /home/user/.cache/pikaur/build/miniupnpd-nft-git/pkg/miniupnpd-nft-git/etc/miniupnpd

install netfilter_nft/scripts/nft_delete_chain.sh /home/user/.cache/pikaur/build/miniupnpd-nft-git/pkg/miniupnpd-nft-git/etc/miniupnpd

install --mode=0644 -b miniupnpd.conf /home/user/.cache/pikaur/build/miniupnpd-nft-git/pkg/miniupnpd-nft-git/etc/miniupnpd

install -d /home/user/.cache/pikaur/build/miniupnpd-nft-git/pkg/miniupnpd-nft-git/etc/init.d

install linux/miniupnpd.init.d.script /home/user/.cache/pikaur/build/miniupnpd-nft-git/pkg/miniupnpd-nft-git/etc/init.d/miniupnpd

install -d /home/user/.cache/pikaur/build/miniupnpd-nft-git/pkg/miniupnpd-nft-git/usr/share/man/man8

install --mode=0644 miniupnpd.8 /home/user/.cache/pikaur/build/miniupnpd-nft-git/pkg/miniupnpd-nft-git/usr/share/man/man8

gzip -f /home/user/.cache/pikaur/build/miniupnpd-nft-git/pkg/miniupnpd-nft-git/usr/share/man/man8/miniupnpd.8

rm: cannot remove '/home/user/.cache/pikaur/build/miniupnpd-nft-git/pkg/miniupnpd-nft-git/etc/miniupnpd/miniupnpd_functions.sh': No such file or directory

==> ERROR: A failure occurred in package().

Aborting...

edit: also same failure with pkgbuilder