Add SOCKS5 and SOCKS5H proxy support to ACLK by stelfrag · Pull Request #21831 · netdata/netdata

cubic-dev-ai[bot]

cubic-dev-ai[bot]

cubic-dev-ai[bot]

- Introduced support for SOCKS5 and SOCKS5H proxies in ACLK communication.
- Enhanced proxy negotiation logic for more robust handling of HTTP and SOCKS proxy connections.
- Improved memory handling for sensitive data like proxy credentials.
- Updated related documentation with detailed explanations on proxy support and configuration.
…ion.

- Eliminated redundant proxy-specific conditionals and payloads.
- Replace `freez` with `aclk_sensitive_free` for proxy passwords.
- Enhance SOCKS5/SOCKS5H proxy negotiation logic with proper cleanup handling.
- Address scenarios with and without proxy credentials for HTTP proxy connections.
- Update error codes and logs to better reflect proxy negotiation failures.
- Improve documentation to clarify SOCKS5/SOCKS5H proxy support and security considerations.

@stelfrag

@stelfrag

@stelfrag stelfrag marked this pull request as ready for review

March 1, 2026 20:55