release: version 1.1.2 - Add error callback mechanism and comprehensive test suite
Some checks failed
Build RPM Package / Build RPM Packages (CentOS 7, Rocky 8/9/10) (push) Has been cancelled
Some checks failed
Build RPM Package / Build RPM Packages (CentOS 7, Rocky 8/9/10) (push) Has been cancelled
Features: - Add ErrorCallback type for UNIX socket connection error reporting - Add WithErrorCallback option for UnixSocketWriter configuration - Add BuilderImpl.WithErrorCallback() for propagating callbacks - Add consecutive failure tracking in processQueue Testing (50+ new tests): - Add integration tests for full pipeline (capture → tlsparse → fingerprint → output) - Add tests for FileWriter.rotate() and Reopen() log rotation - Add tests for cleanupExpiredFlows() and cleanupLoop() in TLS parser - Add tests for extractSNIFromPayload() and extractJA4Hash() helpers - Add tests for config load error paths (invalid YAML, permission denied) - Add tests for capture.Run() error conditions - Add tests for signal handling documentation Documentation: - Update architecture.yml with new fields (LogLevel, TLSClientHello extensions) - Update architecture.yml with Close() methods for Capture and Parser interfaces - Update RPM spec changelog Cleanup: - Remove empty internal/api/ directory Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
%if %{defined build_version}
|
||||
%define spec_version %{build_version}
|
||||
%else
|
||||
%define spec_version 1.1.1
|
||||
%define spec_version 1.1.2
|
||||
%endif
|
||||
|
||||
Name: ja4sentinel
|
||||
@ -122,6 +122,21 @@ fi
|
||||
%dir /var/run/logcorrelator
|
||||
|
||||
%changelog
|
||||
* Mon Mar 02 2026 Jacquin Antoine <rpm@arkel.fr> - 1.1.2-1
|
||||
- Add error callback mechanism for UNIX socket connection failures
|
||||
- Add ErrorCallback type and WithErrorCallback option for UnixSocketWriter
|
||||
- Add BuilderImpl.WithErrorCallback() for propagating error callbacks
|
||||
- Add processQueue error reporting with consecutive failure tracking
|
||||
- Add 50+ new unit tests across all modules (capture, config, fingerprint, tlsparse, output, cmd)
|
||||
- Add integration tests for full pipeline (TLS ClientHello → fingerprint → output)
|
||||
- Add tests for FileWriter.rotate() and FileWriter.Reopen() log rotation
|
||||
- Add tests for cleanupExpiredFlows() and cleanupLoop() in TLS parser
|
||||
- Add tests for extractSNIFromPayload() and extractJA4Hash() helpers
|
||||
- Add tests for config load error paths (invalid YAML, permission denied)
|
||||
- Update architecture.yml with new fields (LogLevel, TLSClientHello extensions)
|
||||
- Update architecture.yml with Close() methods for Capture and Parser interfaces
|
||||
- Remove empty internal/api/ directory
|
||||
|
||||
* Mon Mar 02 2026 Jacquin Antoine <rpm@arkel.fr> - 1.1.1-1
|
||||
- Change default output from stdout to Unix socket (/var/run/logcorrelator/network.socket)
|
||||
- Update config.yml.example to enable unix_socket output by default
|
||||
|
||||
Reference in New Issue
Block a user