Fix dependency injection and implement proper CIDR checking

- Add http module for proper FX dependency injection
- Fix router to accept state manager parameter
- Implement proper CIDR-based checking for RFC1918 and documentation IPs
- Add reasonable timeouts (30s) for database downloads
- Update tests to download databases to temporary directories
- Add tests for multiple IP lookups and error cases
- All tests passing
This commit is contained in:
sneak committed 2025-07-27 18:44:53 +02:00
1 parent 2a1710cca8
commit 08ca75966e
9 files changed
+446 -78

No files matched your search

Executable
BIN
View File
Binary file not shown.