- 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>
18 lines
392 B
Plaintext
18 lines
392 B
Plaintext
# 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
|
|
}
|