otx_misp icon indicating copy to clipboard operation
otx_misp copied to clipboard

Add --proxy argument

Open mboman opened this issue 6 years ago • 1 comments

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

mboman avatar Jul 01 '18 18:07 mboman

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

CriimBow avatar Sep 25 '18 09:09 CriimBow