Skip to content

Release/v11.2.2#1681

Merged
osmontero merged 687 commits intov11from
release/v11.2.2
Jan 29, 2026
Merged

Release/v11.2.2#1681
osmontero merged 687 commits intov11from
release/v11.2.2

Conversation

@mjabascal10
Copy link
Copy Markdown
Contributor

@mjabascal10 mjabascal10 commented Jan 29, 2026

This pull request introduces several improvements and refactorings to the agent-manager and agent components, with a focus on reliability, port standardization, dependency management, and enhanced NetFlow support. The most significant changes include updating network ports for gRPC and HTTP services, adding error-handling delays before process termination, and a major refactor of the NetFlow module to support additional NetFlow versions using the goflow2 library.

Network Port Updates and Service Standardization

  • Changed gRPC and HTTP server ports in both agent-manager and related workflow/Docker files: gRPC now listens on port 9000 (was 50051), and HTTP on 9001 (was 8080), updating all relevant code, logs, and Dockerfile EXPOSE statements for consistency. (.github/workflows/installer-release.yml, agent-manager/Dockerfile, agent-manager/agent/utmgrpc.go, agent-manager/updates/updates.go) [1] [2] [3] [4] [5]

Reliability and Error Handling Improvements

  • Added time.Sleep(5 * time.Second) before process exit on critical errors (e.g., database migration, service initialization, collector fetch, gRPC server failures) to ensure error logs are flushed and visible in logs before shutdown. (agent-manager/main.go, agent-manager/agent/collector_imp.go, agent-manager/agent/utmgrpc.go) [1] [2] [3] [4] [5]

NetFlow Module Enhancements

  • Refactored the NetFlow module to support additional NetFlow versions (v5, v9, IPFIX) using the goflow2 library, while maintaining legacy support for older versions via tehmaze/netflow. Introduced a new templateSystem for managing NetFlow templates, and added thread safety via mutexes. Increased UDP buffer size for improved packet handling. (agent/modules/netflow.go, agent/go.mod) [1] [2] [3] [4] [5]

Dependency and Module Management

  • Updated and reorganized Go module dependencies for both agent and agent-manager, including upgrades (e.g., threatwinds/go-sdk to v1.1.8), and added github.com/netsampler/goflow2 to agent for NetFlow enhancements. (agent-manager/go.mod, agent/go.mod) [1] [2] [3] [4] [5]

Agent Usability and Robustness

  • Improved the uninstall process in the agent to attempt stopping the updater service first, with clear user feedback and a short delay to ensure proper sequencing. (agent/main.go)
  • Increased wait times (from 100ms to 200ms) when toggling TLS/port status in modules for more robust hot-reload behavior. (agent/modules/configuration.go, agent/modules/modules.go) [1] [2] [3] [4] [5]

JocLRojas and others added 30 commits November 12, 2025 17:45
Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
# Conflicts:
#	frontend/src/app/shared/constants/alert/alert-field.constant.ts
…hentication-to-backend

# Conflicts:
#	backend/src/main/resources/config/liquibase/master.xml
Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
…e-authentication-to-backend' into backlog/add-oauth2-oidc-corporate-authentication-to-backend
…e-authentication-to-backend' into backlog/add-oauth2-oidc-corporate-authentication-to-backend
Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
…e-authentication-to-backend' into backlog/add-oauth2-oidc-corporate-authentication-to-backend
Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
…e-authentication-to-backend' into backlog/add-oauth2-oidc-corporate-authentication-to-backend
…display

Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…providers.component.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ration.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…dentityProviderService.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
mjabascal10 and others added 25 commits January 26, 2026 18:41
…dule services

Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
…code editor components

Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
…onent

Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
…dling

- Changed gRPC server port to `9000` and HTTP server port to `9001`.
- Updated dependencies for `github.com/bytedance/sonic`, `github.com/threatwinds/go-sdk`, and others in `go.mod`.
- Improved error handling in gRPC and HTTP server initialization with retries and added delays before terminating on failure.
… improve error handling

- Updated dependencies: `github.com/threatwinds/go-sdk`, `github.com/bytedance/sonic`, and others in `go.mod` across multiple plugins.
- Removed unnecessary boolean parameter from `plugins.PluginCfg` calls.
- Added a delay when exiting after geolocation plugin initialization failure.
Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
@mjabascal10 mjabascal10 requested a review from a team January 29, 2026 17:03
@osmontero osmontero merged commit a1d5f19 into v11 Jan 29, 2026
20 checks passed
@osmontero osmontero deleted the release/v11.2.2 branch January 29, 2026 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants