Commit Graph

70 Commits

Author SHA1 Message Date
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
2ce9c0095d Reorganize the whole javascript part as seperate files, for better maintainabillity 2025-12-05 14:30:28 +01:00
fb4796de59 Update Languages-files for default settings description 2025-12-04 21:33:50 +01:00
def440611a Dedublicate banner stuff and add missing init-vars for banactions 2025-12-04 20:36:23 +01:00
0f2a3a1e32 Add missing banaction_allports setting to update settings function 2025-12-04 19:57:58 +01:00
13704df994 restructure jail.local default config functions, make banactions configurable 2025-12-04 19:42:43 +01:00
366d0965e3 Fix case if a jail have a custom filter set, that isn't the same name as the jail is 2025-12-03 21:02:48 +01:00
cd7a814cda Refactor jail.local and jail.d management 2025-12-03 20:43:44 +01:00
66465d0080 Raw implement lotr-idea 2025-12-01 23:25:54 +01:00
35937c47ed Add documentation for callback-URL, move css for fail2ban-ui into seperate file. Fix some settings-options 2025-12-01 18:11:08 +01:00
ac0f634236 PORT environment variable always takes priority over database settings. Lock UI, when defined 2025-12-01 14:26:19 +01:00
272e112ac9 Add docker compose example and update the documentation to it 2025-12-01 13:26:42 +01:00
65b56b3461 add advanced ban actions 2025-11-30 13:26:09 +01:00
493b79537d Fix Last seen date/time pharsing of Recurring IPs overview 2025-11-22 14:34:49 +01:00
b43d443b2f Add a tiny border at the bottom of the geo stats count 2025-11-22 13:43:07 +01:00
e3d0d34fab Remove dublicated print in new modern mail-template 2025-11-22 13:22:15 +01:00
fd76427cc5 Make alertmail as well multilingual, implement a new more modern mailtemplate. Preserve the old as classig, as option over env 2025-11-22 13:09:54 +01:00
2fcc30b1b6 First steps to implement a advanced-actions function to block recurring offenders before fail2ban 2025-11-18 15:02:50 +01:00
5044a589ca Fix filter debug pharsing, add normalizion and write temp-files to check with fail2ban-regex 2025-11-18 09:25:15 +01:00
59e3a5e74f Fix z-index and improove modal - over modal handling 2025-11-17 21:38:01 +01:00
2456162b75 Add serverID to all events to sort per fail2ban instance, update language 2025-11-17 20:24:46 +01:00
3af93f3237 Implement filtering for ban event-history, simple aggregation and insights 2025-11-17 13:29:50 +01:00
b261a2e92e Add basic whois and logs modal to view stored events from local db 2025-11-17 10:29:48 +01:00
2dd62b63e9 replace base64 payload bash -c with a stdin via here-doc to prevent false pharsing 2025-11-14 11:44:23 +01:00
4b41078542 fix Fail2ban Callback URL update also on ssh/agent servers 2025-11-14 11:20:18 +01:00
a24e0779d2 switch to toast instead of alert messages, implement serverIDs and restart tracking for every remote-server 2025-11-14 10:22:44 +01:00
bff920e5b3 remove unsecure sudo executions on remote systems, insted we use facls new 2025-11-14 09:41:43 +01:00
10779e7cea disable hostkeychecking for ssh from containers 2025-11-13 22:47:18 +01:00
f7acfb1600 Remove old - las 5 bans - from the socked query 2025-11-12 21:43:09 +01:00
17f66b8ed4 Update docs for newest features 2025-11-12 19:32:45 +01:00
0134b7de5e Update screenshots and pre-fix the filter-test 2025-11-12 19:09:01 +01:00
3b118cb616 Fix the manage jails functions over ssh, also improve the speed or remote connections 2025-11-12 16:25:16 +01:00
9c3713bb41 Refactor the whole backend to support remote-fail2ban machines over ssh or over a agent-api(needs to be build) 2025-11-12 15:54:59 +01:00
0c1c3f450c limit number of loglines, because jq-limit 2025-07-19 15:02:48 +02:00
fa2faf8067 Refactor whole webUI from Bootstrap to tailwindcss, fixed mobile view, added possibility to search own IP in blocklists by only one click 2025-07-17 16:48:15 +02:00
8c84909c95 workaround for the restart command may fail in container (since fail2ban runs on the host) 2025-02-27 14:03:08 +01:00
2be263a4ff rework the reload function. we must change that to restart, because fail2ban does not apply all changes on reload only 2025-02-26 17:44:13 +01:00