Skip to content

Fingerprints and enrichment Since v0.2 ​

Two kinds of data make records easier to judge. TLS fingerprints name the client program. Enrichment adds the network, place and device behind an address.

Before you begin ​

  • Role: operator with access to every application sets the databases. Reading the results needs no special role.
  • Databases are per node. Each node picks up a changed file within about a minute. The files are not part of backups.

TLS fingerprints ​

JA3 and JA4 are on every HTTPS traffic record and event (tls.ja3, tls.ja4). Envoy computes them on every HTTPS listener. Plain HTTP requests have none, and neither do records written before the upgrade. JA4H (http.ja4h) is shown only when the bot module computed it.

JA4H licence

JA4H is licensed by its authors for non-commercial use only (see the component register in the repository). The product passes the field through and does not depend on it. It is the first thing to drop if a commercial licence is not obtained.

Set up enrichment ​

Enrichment adds to each new record: AS number and organisation, continent, region, city (client.asn, client.as_org, client.continent, client.region, client.city), device type, browser and operating system (parsed from the user agent by our own parser), referer host and path extension. It runs when the record is stored, not in the request path. No coordinates are stored. Records written before enrichment was set up stay empty in these fields; there is no backfill.

text
1. Open System > Settings > Country database > Traffic and event enrichment.
2. Enter the ASN database file and the City database file (absolute paths).
3. Select Preview changes, then Apply.
sh
waap geoip update --asn -out /var/lib/waap/asn.mmdb
waap geoip update --city -out /var/lib/waap/city.mmdb
waap settings set enrichment -m "turn on enrichment" asn_database=/var/lib/waap/asn.mmdb city_database=/var/lib/waap/city.mmdb
waap geoip status
yaml
enrichment:
  enabled: true
  asn_database: /var/lib/waap/asn.mmdb
  city_database: /var/lib/waap/city.mmdb

The download commands fetch the free DB-IP "IP to ASN Lite" and "IP to City Lite" databases. They are monthly files and are never bundled, so repeat the download monthly. waap geoip status lists the three databases and whether enrichment is on.

Attribution

The DB-IP data is licensed CC BY 4.0. "IP data by DB-IP.com", with a link to https://db-ip.com, must be shown wherever its results are shown. The Analytics footer and waap geoip status carry it. Keep it if you export or republish results.

Settings reference ​

SettingWhat it doesDefaultAllowed valuesApplies in
Enrich traffic and events (enrichment.enabled)Add network, place, device, browser, referer and extension data to each record. Off also drops device, browser and referer fields.truetrue, falseeach node
ASN database file (enrichment.asn_database)MMDB file with AS numbers and organisations.noneabsolute patheach node; empty: no AS data
City database file (enrichment.city_database)MMDB file with continent, region and city.noneabsolute patheach node; empty: no continent, region or city (the country database still gives the country)

Troubleshooting ​

AS, city or device columns are empty ​

  • Cause: enrichment is off or has no database, or the records were written before it was set up.
  • Check: waap geoip status.
  • Fix: set the database paths. New records are enriched; old records stay empty.