Commit Graph

159 Commits

Author SHA1 Message Date
Lorenzo Venerandi
442b1ceb13 feat: increase view button SVG size for improved visibility across tables 2026-03-04 14:00:58 +01:00
Lorenzo Venerandi
67cfdb52e3 code linted 2026-03-04 13:55:25 +01:00
Lorenzo Venerandi
5f1fedab3d feat: add sort_order parameter to access log retrieval for flexible timestamp sorting 2026-03-04 13:55:10 +01:00
Lorenzo Venerandi
8321164514 feat: enhance view request button with tooltip and SVG icon for better UX 2026-03-04 13:50:33 +01:00
Lorenzo Venerandi
ddc5dcade3 feat: add copy to clipboard functionality and update button styles in raw request modal 2026-03-04 12:37:55 +01:00
Lorenzo Venerandi
a385381dbd feat: add log_id to suspicious activities for detailed request viewing 2026-03-04 12:37:42 +01:00
Lorenzo Venerandi
911628fe61 fix: correct logic for flagging stale IPs for reevaluation based on last_seen timestamp 2026-03-03 19:45:36 +01:00
Lorenzo Venerandi
6dc9cfe502 feat: enhance database retention logic to preserve suspicious access logs and linked IPs 2026-03-03 19:16:27 +01:00
Lorenzo Venerandi
36df289a5e feat: enhance database retention logic to use configurable retention period and delete stale IPs 2026-03-03 19:03:40 +01:00
Lorenzo Venerandi
f3ec4f8420 fix: update stale IP reevaluation logic to flag IPs last seen over 30 days ago 2026-03-03 18:58:06 +01:00
Lorenzo Venerandi
e1c1b4d953 chore: update Dockerfile and requirements for Python 3.13, enhance error handling in config and tracker modules 2026-03-01 21:52:27 +01:00
BlessedRebuS
049e70972b fixed user different_user_agents statement 2026-03-01 18:56:07 +01:00
Lorenzo Venerandi
991dca6a9d code linted 2026-03-01 18:02:22 +01:00
Lorenzo Venerandi
ed4fe0dcfb feat: Add IP filtering to attack types pagination and detail views 2026-03-01 18:01:19 +01:00
Lorenzo Venerandi
214c83a852 fix: Adjust different user agents count for attacker and good crawler scores 2026-03-01 17:45:46 +01:00
Lorenzo Venerandi
fbc757f0a6 feat: Enhance logging configuration to support dynamic log levels 2026-03-01 17:36:29 +01:00
Lorenzo Venerandi
43d3b96364 fix: Improve stale IP flagging logic to support forced rescan 2026-03-01 17:36:15 +01:00
Lorenzo Venerandi
8fc2d47e96 feat: Add detailed IP information view and refactor IP insight template
- Introduced a new partial template `_ip_detail.html` for displaying comprehensive IP details, including activity, geo & network information, reputation, and access history.
- Updated `ip_insight.html` to include the new `_ip_detail.html` partial, streamlining the code and enhancing maintainability.
- Enhanced CSS styles for improved layout and responsiveness, including adjustments to the radar chart size and the introduction of a two-column grid layout for IP details.
- Refactored JavaScript for loading attack types charts to support multiple instances and improved error handling.
2026-03-01 17:00:10 +01:00
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