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

How to use behind proxy #3

Closed
seldem opened this issue May 7, 2019 · 1 comment
Closed

How to use behind proxy #3

seldem opened this issue May 7, 2019 · 1 comment

Comments

@seldem
Copy link

seldem commented May 7, 2019

This is not an issue but howto question. I have been trying to use this module inside MISP. Our server is behind a proxy and everything works except modules including PyPDNS. How can I define our proxy settings somewhere in your code. Please help. I could not get response from MISP groups, they are too busy.

@Rafiot
Copy link
Member

Rafiot commented May 7, 2019

Right now, it should work if you pass the env variables HTTP_PROXY and HTTPS_PROXY : https://2.python-requests.org/en/master/user/advanced/#proxies

But I'll add an option to pass it as parameter to the class (no timeline yet, but feel free to do a PR).

@Rafiot Rafiot closed this as completed Jul 14, 2022
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