# Fail2ban wish list

**URL:** <https://forum.virtualmin.com/t/fail2ban-wish-list/122258>\
**Category:** Blue Skies\
**Created:** [August 22, 2023, 5:55am UTC](https://forum.virtualmin.com/t/fail2ban-wish-list/122258 "2023-08-22T05:55:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Randomz](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/r/839c29/32.png) [@Randomz](https://forum.virtualmin.com/u/Randomz)\
**Post date:** [August 22, 2023, 5:55am UTC](https://forum.virtualmin.com/t/fail2ban-wish-list/122258/1 "2023-08-22T05:55:21Z")

</div>

**Fail2ban Jail Status.**

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.

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [October 21, 2023, 5:56am UTC](https://forum.virtualmin.com/t/fail2ban-wish-list/122258/2 "2023-10-21T05:56:19Z")

</div>

Closed on October 21, 2023, 5:56am UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![Ilia](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/ilia/32/10185_2.png) [@Ilia](https://forum.virtualmin.com/u/Ilia)\
**Post date:** [June 15, 2025, 7:43am UTC](https://forum.virtualmin.com/t/fail2ban-wish-list/122258/3 "2025-06-15T07:43:01Z")

</div>

Hello,

Thanks for the heads up! I have missed this post, sorry!

> [@Randomz](#):
>
> **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

This should be fixed now. Are you still seeing the issue?

> [@Randomz](#):
>
> **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.

We have a restart button on the index page—isn’t that good enough?

> [@Randomz](#):
>
> **Fail2ban Jail Status.**  
> 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?

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.

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [June 15, 2025, 8:07am UTC](https://forum.virtualmin.com/t/fail2ban-wish-list/122258/4 "2025-06-15T08:07:31Z")

</div>

Opened on June 15, 2025, 8:07am UTC



---

<div class="post-metadata">

**Author:** ![stevepburgess](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/stevepburgess/32/16626_2.png) [@stevepburgess](https://forum.virtualmin.com/u/stevepburgess)\
**Post date:** [June 15, 2025, 12:57pm UTC](https://forum.virtualmin.com/t/fail2ban-wish-list/122258/5 "2025-06-15T12:57:22Z")

</div>

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](http://datatables.net)) ? I appreciate some jails may end up with lots of rows though…

---

<div class="post-metadata">

**Author:** ![Ilia](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/ilia/32/10185_2.png) [@Ilia](https://forum.virtualmin.com/u/Ilia)\
**Post date:** [June 15, 2025, 7:19pm UTC](https://forum.virtualmin.com/t/fail2ban-wish-list/122258/6 "2025-06-15T19:19:10Z")

</div>

> [@stevepburgess](#):
>
> 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](http://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.

It’s possible to implement, but it won’t be easy.

---

<div class="post-metadata">

**Author:** ![Randomz](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/r/839c29/32.png) [@Randomz](https://forum.virtualmin.com/u/Randomz)\
**Post date:** [June 17, 2025, 2:54am UTC](https://forum.virtualmin.com/t/fail2ban-wish-list/122258/7 "2025-06-17T02:54:32Z")

</div>

> [@Ilia](#):
>
> This should be fixed now. Are you still seeing the issue?

This does work now.

> [@Ilia](#):
>
> We have a restart button on the index page—isn’t that good enough?

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.
