Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helm Installation Proxy Configuration and SOCKS5 Proxy Support Enhancement #737

Open
symmr opened this issue May 15, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@symmr
Copy link

symmr commented May 15, 2023

This request contains two aspects.

1. Configuring Proxy during installation with helm
1.1. Adding configuration items in values.yaml
For example, please make it possible to set the Proxy as follows:

sender.proxy.enabled: true
sender.proxy.http: http://proxyserver_host_or_address:8080
sender.proxy.https: http://proxyserver_host_or_address:8080

1.2. Updating the Sender Deployment Chart
Please reflect the http and https proxy information specified in 1.1 in the deployment under spec.template.spec.containers.env.

- name: http_proxy
  value: {sender.proxy.http}
- name: https_proxy
  value: {sender.proxy.https}
- name: no_proxy
  value: "snmp-mibserver"

Here, no_proxy is set as a fixed value.
As for the communication from Sender, what I found is addressed to "http://snmp-mibserver/index.csv", but if there are other hosts that may be sent, please add them.

2. Please also enable SOCKS5 proxy
Users using Splunk may adopt a SOCKS5 proxy instead of HTTP.
However requests module currently used in SC4SNMP does not support SOCKS5.
When I actually tried it, I got an error saying "requests.exceptions.InvalidSchema: Missing dependencies for SOCKS support."

This should be resolved by adding the requests[socks] module to the dependencies.

https://requests.readthedocs.io/en/latest/user/advanced/#socks

@omrozowicz-splunk omrozowicz-splunk added the enhancement New feature or request label Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants