Commit Graph

141 Commits

Author SHA1 Message Date
Lorenzo Venerandi
ef467b0fd6 fix: enable task to run when loaded for flag-stale-ips 2026-03-01 16:58:10 +01:00
Lorenzo Venerandi
cecdbda1d9 Bundle of static resources instead of external loading 2026-03-01 15:58:32 +01:00
Lorenzo Venerandi
95ab55c428 lint code 2026-03-01 15:57:54 +01:00
Lorenzo Venerandi
7401783847 refactor: optimize database queries by utilizing IpStats for performance improvements 2026-03-01 15:57:40 +01:00
Lorenzo Venerandi
b8f0cc25d0 style: format code for better readability in DatabaseManager class 2026-02-28 19:42:32 +01:00
Lorenzo Venerandi
4900c3dd49 fix: layout improvement after merge 2026-02-28 19:42:15 +01:00
Patrick Di Fazio
82d4757ad1 Merge branch 'feat/dashboard-single-ip-page' into feat/add-search-bar 2026-02-28 18:47:36 +01:00
BlessedRebuS
62bb091926 added search bar feature, refactored the dashboard 2026-02-28 18:43:09 +01:00
Lorenzo Venerandi
368265dea4 feat: update suspicious activity display to show last 10 requests and improve database filtering 2026-02-28 18:12:40 +01:00
Lorenzo Venerandi
3d8178ff0e feat: enhance dashboard with IP category display and improved data tables 2026-02-28 18:04:26 +01:00
Lorenzo Venerandi
d9ae55c0aa feat: add IP insight feature with detailed view and actions
- Updated various tables to include "Actions" column with inspect buttons for IP insights.
- Created a new IP insight template for displaying detailed information about an IP address.
- Implemented JavaScript functions to handle opening the IP insight view and loading data via HTMX.
- Enhanced map markers to include inspect buttons for quick access to IP insights.
- Added styles for the new IP insight page and buttons to maintain UI consistency.
2026-02-28 17:43:50 +01:00
Lorenzo Venerandi
ce713d8072 tweaked map markers 2026-02-28 16:45:07 +01:00
Patrick Di Fazio
e87564f694 Merge pull request #104 from Matthias-vdE/sortable-table
Make attackers table sortable and cleanup time display.
2026-02-28 00:06:34 +01:00
Matthias-vdE
799b5d5164 Make attackers table sortable and cleanup time display.
This update makes the Attackers by Total Requests table sortable by First Seen and Last Seen.

It also changes the way datetimes are being displayed everywhere: Only show the time when the event happened today, show the full datetime when the event happened on another day.
2026-02-27 10:52:05 +01:00
carnivuth
f7416518fe added first version of single ip page breakdiwn 2026-02-26 17:10:14 +01:00
carnivuth
75722051d6 added first version of single ip page breakdiwn 2026-02-26 17:10:14 +01:00
Lorenzo Venerandi
a0b8a65ba6 fix: set default values for exports_path and backups_path in configuration 2026-02-23 20:42:55 +01:00
Lorenzo Venerandi
0fac15a129 feat: enhance IP map visualization with custom pie-chart cluster icons and improved marker handling
- Added custom CSS for pie-chart cluster icons to improve visual representation.
- Implemented a function to create cluster icons using conic gradients based on IP categories.
- Refactored marker creation logic to utilize unique coordinates for overlapping markers.
- Introduced a loading overlay during IP data fetching to enhance user experience.
- Updated map filters to dynamically show/hide markers based on user selection.
- Improved error handling for IP stats fetching and added informative popups.
2026-02-23 12:00:45 +01:00
Lorenzo Venerandi
bbf791a93e added dropdown for selecting number of IPs to display on the map 2026-02-23 12:00:38 +01:00
Lorenzo Venerandi
00376e28df added Leaflet.markercluster CSS and JS files to enhance map functionality 2026-02-23 12:00:22 +01:00
Lorenzo Venerandi
8222dc5eb5 increased maximum page size for all IPs endpoint from 100 to 10000 2026-02-23 12:00:01 +01:00
Lorenzo Venerandi
4d4d93ad80 linted code 2026-02-22 18:45:56 +01:00
Lorenzo Venerandi
b559fd6a84 feat: add task to flag stale IPs for reevaluation 2026-02-22 18:41:50 +01:00
Lorenzo Venerandi
aa49853949 feat: log additional request information for non-suspicious access 2026-02-22 18:36:33 +01:00
Lorenzo Venerandi
9a271cbe68 feat: enhance IP analysis by adding robots.txt parsing and optimizing HTTP method scoring 2026-02-22 18:34:22 +01:00
Lorenzo Venerandi
71adbe2605 feat: refine IP reevaluation logic to include unanalyzed addresses 2026-02-22 17:57:06 +01:00
Lorenzo Venerandi
b500b22041 code linting 2026-02-22 16:27:59 +01:00
Lorenzo Venerandi
8ce8b6b40a feat: implement IP ban and rate-limiting logic in database with migration scripts 2026-02-22 16:23:52 +01:00
Lorenzo Venerandi
db848e7ecb feat: add need_reevaluation column to IpStats and update related logic 2026-02-22 16:05:39 +01:00
Lorenzo Venerandi
2f82d3a3bd feat: implement database migration runner and initialize migrations on startup 2026-02-22 16:05:39 +01:00
carnivuth
d9d7766929 linted code 2026-02-22 16:01:46 +01:00
carnivuth
d8220b2429 added parameter in config file to disable backup job 2026-02-22 16:01:39 +01:00
Lorenzo Venerandi
152682de2c code linted 2026-02-18 00:02:44 +01:00
Lorenzo Venerandi
cccc9cde35 refactor: optimize access log query to count unique entries and improve pagination 2026-02-17 18:13:25 +01:00
Lorenzo Venerandi
846fba631f refactor: streamline memory management by removing unused variables and enhancing cleanup logic 2026-02-17 18:09:35 +01:00
Lorenzo Venerandi
b94cd38b61 refactor: optimize database access and implement retention task 2026-02-17 18:04:09 +01:00
Lorenzo Venerandi
507e3f2667 refactor: remove unused tracking variables and streamline memory stats logging 2026-02-17 17:59:03 +01:00
Lorenzo Venerandi
98a8b3deca removed useless var 2026-02-17 17:51:06 +01:00
Lorenzo Venerandi
e4c4d99f84 refactor: improve honeypot request tracking and documentation 2026-02-17 17:30:35 +01:00
Lorenzo Venerandi
03491d55cc refactor: enhance tracker integration and memory cleanup logic 2026-02-17 15:17:54 +01:00
Lorenzo Venerandi
adb344683a refactor: simplify raw request modal display logic and CSS 2026-02-17 14:56:02 +01:00
Lorenzo Venerandi
34a9802af5 feat: implement auto-tracking for honeypot requests based on attack patterns 2026-02-17 14:46:54 +01:00
Lorenzo Venerandi
c46b6b903d fix: remove radar legend from IP detail template 2026-02-17 14:00:30 +01:00
Lorenzo Venerandi
c023d808c6 linted code 2026-02-17 13:13:06 +01:00
Lorenzo Venerandi
2c7b612587 Removed old monolithic files 2026-02-17 13:12:59 +01:00
Lorenzo Venerandi
7371eca7f5 refactor: clean up HTML template and add redundant route for dashboard 2026-02-17 13:11:40 +01:00
Lorenzo Venerandi
5d38ea45a8 starting full refactor with FastAPI routes + HTMX and AlpineJS on client side 2026-02-17 13:09:01 +01:00
carnivuth
396b9b1710 linted code 2026-02-15 15:10:41 +01:00
carnivuth
815da4300b fixed bug on non existent database dump directory 2026-02-15 15:10:27 +01:00
BlessedRebuS
5703942d2c dashboard fix, added most recurring attack, fixed visualization 2026-02-15 00:54:28 +01:00