Commit Graph

269 Commits

Author SHA1 Message Date
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
fad4f71fce Merge pull request #106 from BlessedRebuS/feat/add-search-bar
Feat/add search bar
2026-02-28 18:48:04 +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
Lorenzo Venerandi
4194c4585b fix: update container name to 'krawl' in deployment.yaml 2026-02-28 15:35:48 +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
486d02fbd4 feat: add deployment strategy type as Recreate in multiple deployment files 2026-02-26 17:10:14 +01:00
Lorenzo Venerandi
9d1eb51129 Merge pull request #100 from BlessedRebuS/fix/config-defaults
Fix/config defaults
2026-02-23 21:02:02 +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
d1395c5017 fix: reset dashboard secret_path to null for default configuration 2026-02-23 20:42:25 +01:00
Lorenzo Venerandi
3e1d4c8f36 Merge pull request #99 from BlessedRebuS/feat/improved-map
Feat/improved map
2026-02-23 12:32:14 +01:00
Lorenzo Venerandi
ad3bc579a3 chore: update chart version to 1.0.9 2026-02-23 12:01:41 +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
560701fa50 Merge pull request #97 from BlessedRebuS/doc/iptables-integration
added iptables and nftables integration
2026-02-23 11:34:48 +01:00
BlessedRebuS
8c81dccc3b added iptables and nftables integration 2026-02-23 01:23:49 +01:00
Patrick Di Fazio
69e82fc030 Merge pull request #96 from BlessedRebuS/feat/add-fail2ban-integration
added fail2ban integration
2026-02-23 00:30:54 +01:00
BlessedRebuS
12c8154ce4 added fail2ban integration 2026-02-23 00:21:46 +01:00
Patrick Di Fazio
fa7772737f Merge pull request #95 from BlessedRebuS/fix/helm-wrong-quote
fix: remove unnecessary quotes from backups.enabled in configmap.yaml
2026-02-22 22:37:39 +01:00
Lorenzo Venerandi
c3811fd318 fix: remove unnecessary quotes from backups.enabled in configmap.yaml 2026-02-22 22:35:44 +01:00
Lorenzo Venerandi
620a4ce52b Merge pull request #94 from BlessedRebuS/fix/new-ip-reevaluation
Fix/new ip reevaluation
2026-02-22 18:46:56 +01:00
Lorenzo Venerandi
4d4d93ad80 linted code 2026-02-22 18:45:56 +01:00
Lorenzo Venerandi
329310a3ef chore: bump version to 1.0.8 for krawl-chart 2026-02-22 18:42:44 +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
Longhi Matteo
a876601122 Merge pull request #92 from BlessedRebuS/feat/update-suspicious-pattern
feat: update Helm chart version to 1.0.7 and refine suspicious patterns
2026-02-22 16:54:56 +01:00
Lorenzo Venerandi
0a5d62f17c feat: update Helm chart version to 1.0.7 and refine suspicious patterns 2026-02-22 16:53:09 +01:00
Patrick Di Fazio
8daa257fa4 Merge pull request #91 from BlessedRebuS/feat-migration-scripts-init
Feat: migration scripts at startup, small variables refactoring
2026-02-22 16:29:32 +01:00
Lorenzo Venerandi
b500b22041 code linting 2026-02-22 16:27:59 +01:00
Lorenzo Venerandi
57fa0ae5a3 feat: update chart version to 1.0.6 in Chart.yaml 2026-02-22 16:24:40 +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
Lorenzo Venerandi
df98eca066 Merge pull request #90 from BlessedRebuS/fix/backup-job-enabled-flag
Add parameter to disable backup
2026-02-22 16:04:40 +01:00
carnivuth
d9d7766929 linted code 2026-02-22 16:01:46 +01:00