- Use two separate //go:generate directives (Ja4Tc for tc_capture.c, Ja4Ssl
for uprobe_ssl.c) to avoid duplicate LICENSE symbol and multi-file clang issue
- Update loader.go to hold tcObjs/sslObjs separately with correct field names:
UprobeSslSetFd, UprobeSslReadEntry, UretprobeSslReadExit,
KprobeAccept4Entry, KretprobeAccept4Exit
- Add systemd-rpm-macros to all three RPM build stages (el8/el9/el10)
so that %{_unitdir} macro resolves correctly
- RPMs now build successfully for el8, el9, el10
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
31 lines
723 B
YAML
31 lines
723 B
YAML
# Configuration ja4ebpf — stack nginx + varnish
|
|
# TLS terminé par nginx → uprobe sur libssl.so.3 (liée par nginx).
|
|
# Varnish reçoit le trafic HTTP cleartext : pas de SSL_read côté varnish.
|
|
|
|
interface: eth0
|
|
|
|
ssl_probes:
|
|
# nginx lie libssl.so.3 pour la terminaison TLS.
|
|
# L'uprobe SSL_read capture les données HTTP/1.1 et HTTP/2
|
|
# déchiffrées juste avant que nginx les traite.
|
|
- executable: /usr/lib64/libssl.so.3
|
|
symbol: SSL_read
|
|
|
|
clickhouse:
|
|
addr: "clickhouse:9000"
|
|
database: "ja4_logs"
|
|
table: "http_logs_raw"
|
|
username: "default"
|
|
password: ""
|
|
tls: false
|
|
batch_size: 100
|
|
flush_every: "1s"
|
|
|
|
timeouts:
|
|
session_expiry: "500ms"
|
|
slowloris: "10s"
|
|
|
|
log:
|
|
level: "info"
|
|
format: "json"
|