FS#63952 - sshguard depends on iptables, should have opt_depends instead

Attached to Project: Community Packages
Opened by Clar Fon (lightdark) - Sunday, 29 September 2019, 19:51 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 22 October 2019, 11:44 GMT
Task Type General Gripe
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Right now, sshguard depends on iptables and nothing else. It actually has several different backends, and instead of depending specifically on iptables, it should have optional dependencies for:

* firewalld
* ipset
* iptables
* nftables

As any one of these backends is usable with sshguard.

Additionally, the description of the package should be modified to say that it works with more than just iptables.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 22 October 2019, 11:44 GMT
Reason for closing:  Fixed
Comment by Sébastien Luttringer (seblu) - Monday, 21 October 2019, 15:24 GMT
I agree. I'm using it with only nftables and it works perfectly.

The line following line in service file is not needed too:
ExecStartPre=-/usr/sbin/iptables -N sshguard

Loading...