Commit Graph

26 Commits (a076c28a306d9f9c9e30e3e9a7b4c37e6a18dc5c)

Author SHA1 Message Date
Yasen Pramatarov a076c28a30 Cleanup expired IP entries 2025-01-03 18:08:59 +02:00
Yasen Pramatarov f4c008c65f Gets blacklisted ips 2025-01-03 18:07:34 +02:00
Yasen Pramatarov 13947e2099 Functions to add/remove from blacklist 2025-01-03 18:06:02 +02:00
Yasen Pramatarov 0a17b947d7 Bypass whitelisting if blacklisted 2025-01-03 18:02:44 +02:00
Yasen Pramatarov 528f4829af Check if blacklisted 2025-01-03 17:58:19 +02:00
Yasen Pramatarov 65417f7d92 Defines the blacklist table 2025-01-03 17:51:30 +02:00
Yasen Pramatarov 020d0ee22d Adds known bad IPs and networks 2025-01-03 17:49:36 +02:00
Yasen Pramatarov 68f2353c97 Adds blacklist table 2025-01-02 17:46:28 +02:00
Yasen Pramatarov db97101113 Typos fix 2024-12-29 17:35:15 +02:00
Yasen Pramatarov 589abf2731 Enhances remove from whitelist 2024-12-22 17:21:24 +02:00
Yasen Pramatarov 45d4fbb377 Clean up spaces 2024-12-21 17:18:53 +02:00
Yasen Pramatarov 9b8f92f2eb Enhances add to whitelist 2024-12-21 17:14:31 +02:00
Yasen Pramatarov 8d0518c7ff Fixes sqlite syntax 2024-12-21 17:11:15 +02:00
Yasen Pramatarov d15c6d6f1f Fixes SQL 2024-12-20 17:05:45 +02:00
Yasen Pramatarov 76f4e0e3c8 Prepare for logging 2025-01-03 17:02:49 +02:00
Yasen Pramatarov 0d05d66c0f Default whitelist IPs on table createion 2024-12-17 16:41:23 +02:00
Yasen Pramatarov db6dabedec Remove old type whitelist 2024-12-16 16:39:06 +02:00
Yasen Pramatarov bc1089be21 Fixes whitelisting in db 2024-12-12 16:16:48 +02:00
Yasen Pramatarov a0747cfbc8 Adds whitelist table 2024-12-12 16:11:41 +02:00
Yasen Pramatarov 0f72f3bea4 Renames ratelimit table 2024-12-11 16:08:55 +02:00
Yasen Pramatarov 38e4b002c8 Adds comments 2024-12-11 16:00:13 +02:00
Yasen Pramatarov 645e98cd6a Clear extra spaces 2024-12-10 15:56:58 +02:00
Yasen Pramatarov a31939cb87 Skip rate limiting for whitelisted 2024-12-10 15:56:18 +02:00
Yasen Pramatarov 08394be35e Ratelimit whitelist add/remove 2024-12-09 15:44:00 +02:00
Yasen Pramatarov c78951da60 Initial code for ratelimiter whitelist 2024-12-09 15:43:10 +02:00
Yasen Pramatarov 626fc4ba2b Adds rate limiter class 2024-12-06 15:25:15 +02:00