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

Add --proxy argument #24

Open
mboman opened this issue Jul 1, 2018 · 1 comment
Open

Add --proxy argument #24

mboman opened this issue Jul 1, 2018 · 1 comment

Comments

@mboman
Copy link

mboman commented Jul 1, 2018

Description

Would be great if a proxy-server could be specified using command argument/configuration file. My experience with using environment variables has been a hit-n-miss (not always working).

Versions

  • otx-misp: 1.4.2
  • PyMISP: 2.4.93
  • MISP: 2.4.92
  • Python (Python 2 will not be supported): 3.4.8
  • Operating system: RHEL 7.5

Traceback or error

@CriimBow
Copy link

You just need to have theses values in your environment: http_proxy and https_proxy.
Try this :

export http_proxy=http://proxy.myproxy.com
export https_proxy=https://proxy.myproxy.com

If you are using sudo don't forget to add -E option : sudo -E

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

No branches or pull requests

2 participants