fix(ja4ebpf): split bpf2go generate into Ja4Tc + Ja4Ssl, fix RPM systemd-rpm-macros
- 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>
This commit is contained in:
7
old/services/sentinel/.env.example
Normal file
7
old/services/sentinel/.env.example
Normal file
@ -0,0 +1,7 @@
|
||||
# sentinel configuration — DO NOT COMMIT real values
|
||||
# Copy to .env and fill in for local development
|
||||
JA4SENTINEL_INTERFACE=eth0
|
||||
JA4SENTINEL_PORTS=443,8443
|
||||
JA4SENTINEL_BPF_FILTER=
|
||||
JA4SENTINEL_FLOW_TIMEOUT=30
|
||||
JA4SENTINEL_PACKET_BUFFER_SIZE=1000
|
||||
Reference in New Issue
Block a user