Summary: | www-apps/nextcloud: add fail2ban configuration files | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | A Schenck <galiven> |
Component: | Current packages | Assignee: | Bernard Cafarelli <voyageur> |
Status: | UNCONFIRMED --- | ||
Severity: | enhancement | CC: | flow, galiven, hydrapolic, polynomial-c, sam, web-apps |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
fail2ban filter.d conf for nextcloud
fail2ban jail.d config for nextcloud |
Description
A Schenck
2021-06-07 21:22:38 UTC
Created attachment 714369 [details]
fail2ban jail.d config for nextcloud
I'd be happy with including these with fail2ban if we wanted to go in that direction under e.g. USE=contrib? Good idea, however the log path may probably differ based on where you install nextcloud: logpath = /var/www/localhost/htdocs/nextcloud/data/nextcloud.log (In reply to Tomáš Mózes from comment #3) > Good idea, however the log path may probably differ based on where you > install nextcloud: > > logpath = /var/www/localhost/htdocs/nextcloud/data/nextcloud.log I guess I was imagining a 'has_version(fail2ban)' in pkg_postinst that would tell the user that a configuration was installed and they need to modify the logpath to work for their setup. Alternately, a fail2ban USE flag which would gate whether these files were installed and the message in postinst. fail2ban doesn't appear to be a USE flag anywhere else, so a 'contrib' flag doing the same would make sense too, it would just have to have a local use description. |