Skip to content

Architecture

anon edited this page Sep 22, 2025 · 4 revisions

Architecture

  1. Parser
    Reads logs and extracts relevant entries.

  2. State Manager
    Tracks last processed line for incremental updates.

  3. DNS Resolver
    Performs reverse DNS lookups with LRU caching.

  4. IpInfo
    Perform look up IP address information, such as country, ASN and ASO

  5. Reporter
    Builds and sends the daily email report.

  6. SQL Export
    Export the CSV file into an SQL file.

  7. SQL Import
    Import the SQL file into the SQLite database.

Each component is decoupled for easy testing and extension.

Clone this wiki locally