Files
ja4-platform/tests/integration

Tests d'intégration — ja4-platform

Architecture de test

Chaque stack lance deux containers Docker :

  • platform : serveur web (Apache/nginx/varnish/hitch) + agent ja4ebpf (eBPF CO-RE)
  • clickhouse : base ClickHouse locale avec le schéma complet

Le générateur de trafic envoie 300 requêtes HTTPS et vérifie que la chaîne complète fonctionne : TC ingress (L3/L4) → uprobe SSL (L7) → http_logs_raw → MV → http_logs.

Stacks disponibles

Stack Serveur TLS Backend
apache Apache httpd + mod_ssl + mod_http2
nginx nginx + HTTP/2
nginx-varnish nginx (TLS) Varnish (-p feature=+http2)
hitch-varnish hitch (TLS offload, ALPN h2) Varnish (-p feature=+http2)

Commandes

# Stack unique (Rocky Linux 9)
make test-apache
make test-nginx
make test-nginx-varnish
make test-hitch-varnish

# Toutes les stacks (Rocky Linux 9)
make test-all-stacks

# Matrice multi-distro (el8 / el9 / el10)
make test-matrix
make test-matrix MATRIX_STACKS=nginx,nginx-varnish MATRIX_DISTROS=el9

Matrice de compatibilité

Stack el8 (AlmaLinux 8) el9 (Rocky Linux 9) el10 (AlmaLinux 10)
apache