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:
17
old/services/sentinel/packaging/logrotate/ja4sentinel
Normal file
17
old/services/sentinel/packaging/logrotate/ja4sentinel
Normal file
@ -0,0 +1,17 @@
|
||||
# Logrotate configuration for ja4sentinel
|
||||
# Install to: /etc/logrotate.d/ja4sentinel
|
||||
|
||||
/var/log/ja4sentinel/*.log {
|
||||
daily
|
||||
missingok
|
||||
rotate 7
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
create 0600 root root
|
||||
sharedscripts
|
||||
postrotate
|
||||
# Send SIGHUP to ja4sentinel to reopen log files
|
||||
/bin/systemctl reload ja4sentinel 2>/dev/null || true
|
||||
endscript
|
||||
}
|
||||
Reference in New Issue
Block a user