Would it be possible to sort all entries then display a page at a time rather than just sorting within a page?
Could we save the list as a file?
Fail2ban Log Filters
Have the jails also show *.local as well as *.conf files. At present if you have both it only displays the content of the .local file whixh is useful for editing, but self made .local files without a .conf file don’t show at all
Filter Action Jails
After viewing/editing a jail, could there be options such as Add, Reload, Start, Stop?
These would use the fail2ban-client command options.
Thanks for the heads up! I have missed this post, sorry!
This should be fixed now. Are you still seeing the issue?
We have a restart button on the index page—isn’t that good enough?
Alright, that’s correct—and still the case. We don’t sort across all pages since that would require proper server-side handling. I’ll need to look into it, but it won’t be easy to implement. Still, since it’s a fairly general API function, it could be worth it.
And yes, you can export the data by clicking the magnifying glass icon at the top right of the page and then the download button—but it only applies to the current page.
Could all the data be retrieved when the jail log is viewed and the pagination be managed by the client (e.g like datatables.net) ? I appreciate some jails may end up with lots of rows though…
We have to use server-side pagination because loading too much data at once could crash the page. So, sorting and downloading data should also be handled by the server. Currently, since you can only view one page at a time, downloads also need to be done per page.
Probably should be renamed to Reload rather than Restart?
Yes, that is good enough. At the time I was wanting to reload a modified jail, not do a full stop/start implied by Restart.
Saving the list as a file has lost some importance to me, I was thinking to find the blocks of IPs that cause a lot of trouble and permanently block them, but too many other things to do with life.
Displaying the list fully sorted is still something I would appreciate.