You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jean-Louis Huynen 0547cd33e0
chg: [repo] archiving repository
3 years ago
conf.sample fix: remove type 8: from sample 4 years ago
.gitignore new [dev] .gitignore + fmt 4 years ago
LICENCE new: [dev] initial commit 4 years ago chg: [repo] archiving repository 3 years ago
balboa.go fix: usage 4 years ago
go.mod fix: [dev] first working version 4 years ago
go.sum new: [dev] initial commit 4 years ago

Archiving analyzer-d4-balboa

This repository is now archived - to interface D4 with Balboa, the prefered tool is d4-core generic unix socket exporter.


Ingests Type 8 Passive DNS and writes into a linux socket for balboa to consume


go get

Configuration files

  • balboa_socket: path to the UNIX socket
  • redis: path to the d4 redis server
  • redis_queue: uuid of the analyzer's redis queue


$analyzer-d4-balboa -c conf.sample

Send PassiveDNS data to d4

# passivedns -i eth0 -l /dev/stdout | d4-amd64l -c conf.d4server

Query Balboa GraphQL server

Once you launched the analyzer, pick one of the domains listed in its output and query Balboa (serving here on

curl \
-H 'Content-Type: application/json' \
--data '{"query" : "query{ entries(rrname: \"\", limit: 1) { rrname rrtype rdata time_first time_last sensor_id count } } "}'