Closed supermamie closed 4 years ago
Hello,
According to this post on the forum
Which post ?
It may be possible to adapt the default configuration when the app is installed/upgraded ?
Yes, seeing the actual configuration provieded by the app, I agree that there are a lot of improvement to do. I'll try to do something on this side.
Which post ?
Oops, here : https://forum.yunohost.org/t/fail2ban-genere-des-milliers-de-lignes-davertissements/11389
Note that the configuration can be made in a separate generated file, not specially in the main one. (On my server I have all my modifications in a specific file)
Oops, here : https://forum.yunohost.org/t/fail2ban-genere-des-milliers-de-lignes-davertissements/11389
Ah yes I didn't see this. Thanks for the feedback.
A fix should be available here: https://github.com/YunoHost-Apps/monitorix_ynh/pull/18
Note that the configuration can be made in a separate generated file, not specially in the main one. (On my server I have all my modifications in a specific file)
As described here ?
A fix should be available here: #18
I made a little comment about the list
config.
And another one : for the « default » jails, can we be sure that they are really here ?
As described here ?
Yes exactly, I used the monitorix doc to do it on my side, but this is exactly this.
Should be fixed in testing
As described here ?
FWIW, the docs seem to be here: https://github.com/YunoHost-Apps/monitorix_ynh/blob/master/doc/ADMIN.md#custom-config
According to this post on the forum, the default conf bother some people. It may be possible to adapt the default configuration when the app is installed/upgraded ? I used
sudo fail2ban-client status | grep 'Jail list:' | sed 's/.*Jail list://' | sed 's/,//g'
to have the list of jails and manually ordered them, but it could be done automatically with some pre-determined jails. Something like :This is just my conf, tho order can be improved and the default jails that I removed can be added back The logic should be : test for every jail if it exist, if not, remove it from the config. All jails not listed goes to the Apps category
Is it something doable ?