]> git.99rst.org Git - openwrt-packages.git/commit
acme-common: move nftables rule to hook
authorMichael A Cassaniti <redacted>
Mon, 22 Jun 2026 03:17:52 +0000 (13:17 +1000)
committerToke Høiland-Jørgensen <redacted>
Sat, 4 Jul 2026 15:27:50 +0000 (17:27 +0200)
commitba08c8cb51102dc5575575fb72073170b6ef1a4b
treeeab4778ef4a2e32924e6535a813ab5ab8d8c93e1
parent2f565c0ab14916dc845e8b7f6c26190340870705
acme-common: move nftables rule to hook

The nftables rule in acme-common partially works, but it races against the
acme.sh and uacme client. While the client is performing the renew the rule
is being deleted because the client is run in the background. This change
moves the rule management to the hook instead. While duplicate rules could
be created, the benefits outway the potential costs. It is unknown how many
installations issue/renew multiple certificates.

Signed-off-by: Michael A Cassaniti <redacted>
net/acme-acmesh/files/hook.sh
net/acme-common/files/acme.init
net/acme-common/files/functions.sh
net/uacme/files/hook.sh
git clone https://git.99rst.org/PROJECT