The Backend of LuckTrainingRoadmaps

IP Reputation Aggregation Pipeline (Chapter 24j)

IP Reputation Aggregation Pipeline (Chapter 24j) A data-flow diagram generated by Archify. 01 / Ingest 02 / Parse + Validate 03 / Aggregate 04 / Publish 05 / Enforce + Feedback Threat Intel Feeds · Data-Shield, ET, Spamhaus · 01 / Ingest Threat Intel Feeds Data-Shield, ET, Spamhaus AbuseIPDB API · category 12, needs API key · 01 / Ingest AbuseIPDB API category 12, needs API key Parse + Validate · per-source parser, prefix gate · 02 / Parse + Validate Parse + Validate per-source parser, prefix gate iprep Aggregator · consensus, multi-source bonus · 03 / Aggregate iprep Aggregator consensus, multi-source bonus Whitelist · PSPs, providers, Cloudflare · 03 / Aggregate Whitelist PSPs, providers, Cloudflare reputation.list · categories + meta.json · 04 / Publish reputation.list categories + meta.json OPNsense Publish · URL alias, 4h timer · 04 / Publish OPNsense Publish URL alias, 4h timer Suricata iprep · suricatasc reload, SIGUSR2 · 05 / Enforce + Feedback Suricata iprep suricatasc reload, SIGUSR2 FP Detector · eve.json vs PSP User-Agent · 05 / Enforce + Feedback FP Detector eve.json vs PSP User-Agent raw blocklist downloads sha256-checked bulk list + per-IP lookups optional feed validated entries per-source PSP exclusions filter input scored categories category 1-15 category URL tables same run reload iprep suricatasc / SIGUSR2 eve.json alert stream iprep drops PSP User-Agent match feedback loop Legend primary data async batch data store data flow

Multi-Source Consensus

  • • Feeds: Data-Shield, Emerging Threats, Spamhaus, FireHOL, Tor, blocklist.de, abuse.ch, optional AbuseIPDB
  • • Every category has one feed that writes it and one rule threshold it clears
  • • Each feed is checked on entry count, address space, and minimum prefix length

Two Enforcement Paths

  • • Suricata reloads iprep through suricatasc, falling back to SIGUSR2
  • • OPNsense pulls the same categories as URL table aliases
  • • A 4-hour systemd timer keeps both paths refreshed automatically

Whitelist Is the Safety Valve

  • • Payment processor and game-provider ranges are filtered out before rules are built
  • • The FP detector flags any iprep drop carrying a payment-provider User-Agent
  • • reputation.list.bak plus the rollback script restore the previous known-good file