Commit Graph

98 Commits

Author SHA1 Message Date
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
Patrick Di Fazio
cdf8010ae2 fixed dashboard 2026-02-11 00:13:21 +01:00
Patrick Di Fazio
771174c6a9 added raw request handling, enanched attack detection for GET and POSTS, templatized suspicioius activity to fetch from wordlists.json, aligned helm to load new wordlist config, added migration scripts from 1.0.0 to new krawl versions, removed old and unused functions, added test scripts 2026-02-08 16:02:18 +01:00
carnivuth
789d77c784 linted code 2026-02-05 17:57:38 +01:00
carnivuth
7621932602 added task dump krawl data and adjusted configuration files 2026-02-05 17:26:06 +01:00
Patrick Di Fazio
ef2d1c14c8 Merge branch 'dev' into feat/blocklist-api 2026-02-03 14:44:00 +01:00
carnivuth
494f1678f3 lint code 2026-02-03 13:57:46 +01:00
carnivuth
3345ad1ac2 removed old default value 2026-02-03 13:56:48 +01:00
BlessedRebuS
01547dbf8f modified doc 2026-02-02 23:01:25 +01:00
Patrick Di Fazio
3cdb3a360b Merge branch 'dev' into feat/blocklist-api 2026-02-02 22:38:44 +01:00
BlessedRebuS
3c8fa703eb added button style 2026-02-02 22:29:34 +01:00
carnivuth
a33e03563f linted code 2026-02-02 22:06:53 +01:00
carnivuth
c0a60811c5 fixed filename after naming refactor 2026-02-02 22:06:36 +01:00
carnivuth
35c8a90013 addd exports path configuration variable and default values, restored old filename 2026-02-02 14:19:40 +01:00
BlessedRebuS
863fac251d modified dashboard, added ip-api data fetch 2026-02-01 22:43:12 +01:00
carnivuth
09b986f1b0 changed workflow from live computation to scheduled job to support previous structure 2026-01-30 16:13:45 +01:00
carnivuth
5b94142599 linted code 2026-01-30 13:19:37 +01:00
carnivuth
831497f80a linted code 2026-01-30 13:19:37 +01:00
carnivuth
9306fe641e added endpoint for blocklist download api 2026-01-29 23:29:11 +01:00
carnivuth
95dfa53e18 added firewall strategy pattern 2026-01-29 23:28:12 +01:00
carnivuth
b7e26f1735 added api endpoint to list public malicious ips 2026-01-29 23:26:34 +01:00
carnivuth
2e2e4d65d0 linted code 2026-01-29 23:23:52 +01:00
carnivuth
7e74896dfd refactor form for blocklist download 2026-01-29 23:23:52 +01:00
carnivuth
cadf77da44 added endpoint for blocklist download api 2026-01-29 23:22:39 +01:00
carnivuth
639ce9c132 added firewall strategy pattern 2026-01-29 23:22:39 +01:00
carnivuth
04549cc57c added api endpoint to list public malicious ips 2026-01-29 23:22:39 +01:00
Lorenzo Venerandi
b253828cd7 Feat/release 1.0.0 (#63)
* Feat: update Kubernetes manifests for Krawl deployment and improve resource labels

* Feat: update version to 1.0.0 in Helm chart and related files; add timezone to README

* Feat: enhance configuration options for handling malicious IPs and update dashboard secret path

* Fix: standardize boolean value handling in environment configuration
2026-01-29 14:32:10 +01:00
Lorenzo Venerandi
d3caa99ecc Fix/export malicious ip file creation (#62)
* Fix: update EXPORTS_DIR path to ensure correct directory structure

* Fix: remove unused imports and honeypot access check from export task
2026-01-29 13:54:07 +01:00
Lorenzo Venerandi
a778262701 Fix: update EXPORTS_DIR path to ensure correct directory structure (#61) 2026-01-29 12:52:48 +01:00
Lorenzo Venerandi
e93bcb959a Doc/updated documentation (#60)
* added documentation, updated repo pointer in the dashboard, added dashboard link highlighting and mionor fixes

* added doc

* added logo to dashboard

* Fixed dashboard attack chart

* Enhance fake data generation with varied request counts for better visualization

* Add automatic migrations and support for latitude/longitude in IP stats

* Update Helm chart version to 0.2.2 and add timezone configuration option

---------

Co-authored-by: BlessedRebuS <patrick.difa@gmail.com>
2026-01-29 11:55:06 +01:00
Lorenzo Venerandi
39d9d62247 Feat/attack map improvement (#58)
* Enhance geolocation functionality and improve unenriched IP retrieval logic

* Refactor test_insert_fake_ips.py to enhance geolocation data handling and improve IP data structure

* Refactor code for improved readability and consistency in database and geolocation utilities
2026-01-27 17:32:38 +01:00
Lorenzo Venerandi
5aca684df9 Feat/attack map improvement (#57)
* feat: enhance IP reputation management with city data and geolocation integration

* feat: enhance dashboard with city coordinates and improved marker handling

* feat: update chart version to 0.2.1 in Chart.yaml, README.md, and values.yaml

* feat: update logo format and size in README.md

* feat: improve location display logic in dashboard for attackers and IPs
2026-01-27 16:56:34 +01:00
Lorenzo Venerandi
8c76f6c847 Feat/deployment update (#56)
* feat: update analyzer thresholds and add crawl configuration options

* feat: update Helm chart version and add README for installation instructions

* feat: update installation instructions in README and add Docker support

* feat: update deployment manifests and configuration for improved service handling and analyzer settings

* feat: add API endpoint for paginated IP retrieval and enhance dashboard visualization with category filters

* feat: update configuration for Krawl service to use external config file

* feat: refactor code for improved readability and consistency across multiple files

* feat: remove Flake8, Pylint, and test steps from PR checks workflow
2026-01-26 12:36:22 +01:00
Lorenzo Venerandi
130e81ad64 Feat/dashboard improvements (#55)
* fixed external ip resoultion

* added dashboard logic division, filtering capabilities, geoip map, attacker stats

* refactor: replace print statements with applogger for error logging in DatabaseManager

* feat: add click listeners for IP cells in dashboard tables to fetch and display stats

---------

Co-authored-by: BlessedRebuS <patrick.difa@gmail.com>
2026-01-25 22:50:27 +01:00
Patrick Di Fazio
c7fe588bc4 fixed external ip resoultion (#54) 2026-01-25 01:19:30 +01:00
BlessedRebuS
14d616fae3 added ip logging memory improvements, added local ip and public ip exlusion 2026-01-24 23:28:10 +01:00
Lorenzo Venerandi
4addf41a5b Add logging for environment variable overrides in config 2026-01-23 22:26:14 +01:00
Lorenzo Venerandi
4450d3a4e3 Linted code iwht black tool 2026-01-23 22:00:21 +01:00
leonardobambini
4e4c370b72 added site depth limit mechanism (#48)
* added site depth limit mechanism

* modified max pages limit and ban duration seconds

---------

Co-authored-by: Leonardo Bambini <lbambini@Leonardos-MacBook-Air.local>
Co-authored-by: BlessedRebuS <patrick.difa@gmail.com>
2026-01-23 21:33:32 +01:00
Lorenzo Venerandi
223883a781 Configuration override from environment variable (#47)
* Add environment variable override for config fields

Introduces functions to override configuration fields from environment variables, allowing dynamic configuration without modifying YAML files. The environment variable names are generated from field names, and type conversion is handled for int, float, and tuple fields.

* update chart version to 0.1.4

* Update README.md to enhance environment variable configuration details and improve overall clarity
2026-01-23 17:34:23 +01:00
Patrick Di Fazio
ac936978da Merge branch 'dev' into fix/dashboard 2026-01-17 23:09:14 +01:00
BlessedRebuS
59d99484e9 fixed dashboard alignment 2026-01-17 22:43:42 +01:00
Patrick Di Fazio
2dd35234c0 fixed dashboard alignment 2026-01-17 22:41:19 +01:00
carnivuth
9d9a718aec feat:removed manual timezone management, delegate timezone configuration to execution environment
removed code that manages timezone setup from config file, krawl now
obeys to the environment configuration
2026-01-17 18:06:09 +01:00