Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fail2ban still depends on iptables #25163

Closed
peci1 opened this issue Oct 18, 2024 · 2 comments
Closed

fail2ban still depends on iptables #25163

peci1 opened this issue Oct 18, 2024 · 2 comments

Comments

@peci1
Copy link
Contributor

peci1 commented Oct 18, 2024

Maintainer: @erdoukki
Environment: git

Description:
fail2ban still depends on iptables instead of firewall4.

It seems there are nftables configs installed with it, so it should be easy to switch the dependency. However, downstream users will need to manually re-specify their actions.

@BKPepe
Copy link
Member

BKPepe commented Oct 18, 2024

Several packages, including fail2ban are still using iptables for various reasons:

    1. The guy who added the package no longer use it / do not have time to look at it
      In the case of fail2ban, a recent commit in this repository, which is relevant, is from last year, and upstream is releasing a new version.
      This could be a solution: someone from the community steps in as a volunteer tries to keep it up-to-date or sends a pull request to use nftables.
    1. Package is no longer maintained in upstream (not relevant for this package), downstream
      Solution for this: rather remove those packages, which are out of date and not maintained in upstream.

This issue is somehow duplicated to #16818, where you can find a list of packages that are still using iptables, and as you can see, it is a quite a shortlist. Any help is appreciated.

@BKPepe BKPepe closed this as completed Oct 18, 2024
@peci1 peci1 changed the title fail2ban still depends in iptables fail2ban still depends on iptables Oct 18, 2024
@peci1
Copy link
Contributor Author

peci1 commented Nov 16, 2024

I think the problem is just the declared dependency. fail2ban already provides nftables-based actions. So the only thing that is needed (AFAIK) is to drop the iptables dependency in OpenWRT. Is this a good way to proceed? Should I prepare a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants