Commit Graph

106 Commits

Author SHA1 Message Date
ad44e2732f Add guard it the callback-env var is set over env, that there is no modifications because of the port variable 2026-02-10 18:32:01 +01:00
a65bbe985e Update Language files and reformat that all thave the same indentation 2026-02-10 18:29:50 +01:00
01bc815bde Make CALLBACK_URL and secret configurable through the env 2026-02-10 17:00:59 +01:00
337d199143 Simplify the connector and jail.local cunstruction with a unified function for all connectors 2026-02-10 15:50:32 +01:00
8f9399196e UpdateDefaultSettings now checks CheckJailLocalIntegrity as first and returns error if not managed by Fail2ban-UI 2026-02-09 22:33:13 +01:00
90b287f409 Check jail.local state and warn user if it is not fail2ban-UI managed, disable automatic jail.local migration because it is only testing 2026-02-09 19:56:43 +01:00
e8592d17e6 Bump version of fail2ban-UI 2026-02-09 14:08:48 +01:00
1a2df7b252 Add default chain and default BantimeRndtime settings and make configurable through the settings page 2026-02-08 19:43:34 +01:00
5f14da5934 Improve ban events search search through all db-entries and also implement pagination to load more events 2026-02-03 14:31:52 +01:00
b3e32fd5c1 Implement version check on load, if the footer has data-update-check=true,it fetches /api/version and sets the version badge. No request is made when update check is disabled. 2026-02-02 20:46:55 +01:00
f00c1c1b22 When address is empty, detail is explicitly set to an empty array to clear any existing detail items in pfSense 2026-01-28 14:31:58 +01:00
63ee6a40d7 When address is empty we explicitly send an empty detail array to clear any existing items if last IP 2026-01-28 13:59:53 +01:00
fd1f26a1a6 Autocreate alias if not exist on PFSense and enhance the alias IP function 2026-01-28 13:25:54 +01:00
76b5a332de Fixed the getAliasByName function to resolve the 400 Bad Request error. 2026-01-28 13:05:01 +01:00
210e694137 Fix PFSence integration and add also GET-modify-PATCH patterns 2026-01-28 12:52:41 +01:00
90d4ff4e9a Refactor sendEmail function and add support for multiple SMTP auth methods (LOGIN, PLAIN, CRAM-MD5) and TLS verification option, fix syntax error in sendSMTPMessage function 2026-01-22 19:34:05 +01:00
9f700dcefb Remove deprecations with email distribution to remote hosts, this is not used anymore since f2b-ui sends the mails 2026-01-21 19:23:42 +01:00
ca31e02e29 Implement backend logic and routes for multi-line pharsing also enhanced key-pharsing 2026-01-21 18:45:23 +01:00
03631eaed8 Add hint for local path mount requirements 2026-01-21 18:12:34 +01:00
9dd7c9bc52 Implement additional env variable to hide loginpage if desired 2026-01-20 19:03:47 +01:00
de92a640e2 Implement on context cancellation for ssh processes to prevent zombies 2026-01-19 23:45:02 +01:00
d64eb3db95 Add optional OIDC authentication with Keycloak, Authentik, and Pocket-ID support 2026-01-19 22:09:54 +01:00
b561c94e20 Enhanced Filter Debug page with inline editing and improved SSH filter testing 2026-01-16 11:39:51 +01:00
3e5f3dbec6 Fix time format-desc to match Fail2ban's format 2026-01-14 22:38:20 +01:00
44da16977c Implemented a real-time console log streaming via WebSocket for debugging purposes. Users can enable console output in settings to view application logs directly in the web interface. 2026-01-14 21:47:17 +01:00
325ddc2733 Added basic OPNsense integration, and fixed PfSense API by changing from X-API-Key and X-API-Secret headers to only x-api-key header (lowercase as specified in v2 API docs) 2026-01-14 17:44:56 +01:00
4abc22d6fe Fixed the 'Manually Block / Test' endpoint returning a 500 error. The handler didn't validate the integration configuration before attempting the test. 2026-01-14 16:37:11 +01:00
b5e8324762 Added manual block section and BanIP method to for all connectors, like the UnbanIP functionallity 2026-01-07 16:14:48 +01:00
ad6f86146d implemented bind address environment variable. 2025-12-30 17:08:20 +01:00
99dd77e375 use SplitN to only split on the first colon to preserving IPv6 addresses 2025-12-30 16:40:57 +01:00
6e24485810 convert boolean values to Python boolean literals in UpdateDefaultSettings function 2025-12-30 16:13:36 +01:00
ad12bc0db9 dynamically include curl option to when self-signed https certificates are used 2025-12-30 15:55:57 +01:00
7525f38e25 don't show restart banner for local connectors, they only reload, not restart 2025-12-30 12:47:57 +01:00
489db1658c add missing banaction and banactionAllports loading to settings 2025-12-30 12:31:15 +01:00
11c312b11b fixed recurring IPs now only count bans, not unbans 2025-12-30 11:35:32 +01:00
f5128e1b51 Fix ssh connector and rewrite the get jail function, to get all in only one ssh-connection, instead of one for every jail (speed-up), add missing translations 2025-12-30 10:46:44 +01:00
84a97eaa96 Fix loading wrong filter problem, implement creation and deletion of filters and jails, fix some css mismatches, update the handlers and routes 2025-12-30 01:10:49 +01:00
b9d8f1b39a Cleanup the fal2ban restart trigger functions, and improove error handling 2025-12-17 19:16:20 +01:00
d44f827845 Fix remote SSH jail.local pharsing 2025-12-17 12:28:26 +01:00
7b5c201936 Implement unban events and API and also add it to the Recent stored events, as well some cleanups 2025-12-16 22:22:32 +01:00
53bb0eb79d Implement X-Callback-Secret for validating API requests 2025-12-15 23:16:48 +01:00
c57322e38d Implement geoIP and whois lookups directly from fail2ban-UI 2025-12-15 21:50:19 +01:00
3ad4821cb7 Implementing WebSocked Support for immediately ban-messages 2025-12-15 20:12:41 +01:00
5163e4f1f4 Make default jail state configurable 2025-12-15 18:57:50 +01:00
94242a6ba1 Implement jails migration if there are old jails in the jail.local file, before adding the f2b server to f2b-UI 2025-12-06 15:32:28 +01:00
8268e37651 In test filters also priorize .local filters over .conf filters and return always also the explicit used filter path in results 2025-12-06 13:11:15 +01:00
f23d202e0d Added function if reload fails after enabling any jail, all jails enabled in that request are automatically disabled 2025-12-05 23:54:21 +01:00
284ba26888 Reimplement Logpath Tester with fail2ban variable resolution and real-path joining 2025-12-05 23:21:08 +01:00
fe51f29d6b maintain filters and jails in a local file for overriding the .conf file per node 2025-12-05 16:47:05 +01:00
a6ada67e7a added X close buttons to all modals, and a new servers button to the server manager 2025-12-05 14:44:42 +01:00