2025-12-14 19:08:01 +01:00
|
|
|
apiVersion: v1
|
|
|
|
|
kind: ConfigMap
|
|
|
|
|
metadata:
|
|
|
|
|
name: krawl-config
|
|
|
|
|
namespace: krawl-system
|
|
|
|
|
data:
|
2026-01-02 13:39:54 -06:00
|
|
|
config.yaml: |
|
|
|
|
|
# Krawl Honeypot Configuration
|
|
|
|
|
server:
|
|
|
|
|
port: 5000
|
|
|
|
|
delay: 100
|
2026-01-26 12:36:22 +01:00
|
|
|
timezone: null
|
2026-01-02 13:39:54 -06:00
|
|
|
links:
|
|
|
|
|
min_length: 5
|
|
|
|
|
max_length: 15
|
|
|
|
|
min_per_page: 10
|
|
|
|
|
max_per_page: 15
|
|
|
|
|
char_space: "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
|
|
|
|
|
max_counter: 10
|
|
|
|
|
canary:
|
2026-01-26 12:36:22 +01:00
|
|
|
token_url: null
|
2026-01-02 13:39:54 -06:00
|
|
|
token_tries: 10
|
|
|
|
|
dashboard:
|
|
|
|
|
secret_path: null
|
|
|
|
|
api:
|
|
|
|
|
server_url: null
|
|
|
|
|
server_port: 8080
|
|
|
|
|
server_path: "/api/v2/users"
|
|
|
|
|
database:
|
|
|
|
|
path: "data/krawl.db"
|
|
|
|
|
retention_days: 30
|
|
|
|
|
behavior:
|
2026-01-26 12:36:22 +01:00
|
|
|
probability_error_codes: 0
|
|
|
|
|
analyzer:
|
|
|
|
|
http_risky_methods_threshold: 0.1
|
|
|
|
|
violated_robots_threshold: 0.1
|
|
|
|
|
uneven_request_timing_threshold: 0.5
|
|
|
|
|
uneven_request_timing_time_window_seconds: 300
|
|
|
|
|
user_agents_used_threshold: 2
|
|
|
|
|
attack_urls_threshold: 1
|
|
|
|
|
crawl:
|
|
|
|
|
infinite_pages_for_malicious: true
|
|
|
|
|
max_pages_limit: 250
|
|
|
|
|
ban_duration_seconds: 600
|